Which 'contact information' format has the broadest support for mobile phone QR code scanners? - mobile-phones

vCard? mecard? hCard?
Is there a de facto standard at this point? I've never personally owned a 'smartphone' -- is there a format that's supported 'out-of-the-box' for either iphone, android or blackberry?
edit:
found this discussion from last
year. Any thoughts?
this reader appears to be multiplatform and uses mecard
mecard spec

hCard is a vcard that supports html in data. Mecard, is a very lite version of vcard. One line with important info. vCard, is a format to exchange contacts data. Allot of version there.

turns out vCard, although verbose, has the broadest support.
Mecard is a de facto (read: avoid at all costs) standard

Related

Reading Powerpoint SmartArt in Java

I found Apache POI doesn't support reading SmartArt component.
(Am I right?)
So I tried Aspose.Slides and it worked.
But the trial version has critical restriction.
(can't get text has length over 5 characters)
Can anybody help?
You can read SmartArt with docx4j/pptx4j.
To see how it is represented, upload your sample pptx to webapp.docx4java.org/OnlineDemo/PartsList.html then click through into the /ppt/diagrams parts.
There is also a document Creating SmartArt with docx4j, though please note this is an advanced topic (and you are largely on your own).
#Shinbop,
I have observed your requirements and suggest you to please try using latest Aspose.Slides for .NET 18.11 on your end using valid Aspose.Slides license while using API. If you use API without license, it shall pose certain restrictions including limited text extraction from shapes inside presentation. You can please visit this official documentation section link concerning to SmartArt shapes.
I am working as Support developer/ Evangelist at Aspose.

XML Schema format file: pain.008.002.02

Has anyone ever run across pain.008.002.02 format? It is an ISO standard used in Germany used for direct debit transactions. The problem I have is that although I had found documentation that talks about it, I did not actually find the XML Schema (pain.008.002.02.xsd) for it, which would be very useful in generating java bindings. Otherwise I will need to do this manually, which is simply hell. Does anyone know where I could find it? Its not on the ISO page with all the other formats. If the file has to be bought (I run in to places which could point to this), such information would also be very useful.
After hours and hours of searching, I found it in the ebics archive:
http://www.ebics.de/index.php?id=77 at the bottom of the page "Anlage3_Archiv_V2_5.zip"
Ebics is the official "Electronic Banking Internet Communication Standard" from the Deutsche Kreditwirtschaft.
I would download the SEPA Explorer, install it and then look in the install folder (SEPAExplorerV2\XSDFiles) for what you need (pain.008.002.02.xsd is in there).
Already generated Java bindings for the XSD you're looking for are in the Open Banking Tools (LGPL) here.

Comparison sheet for switch to Orion

I can't find a resource that clarifies the programming differences between Polaris and Orion versions. I've been googling for a few days now.
Probably you already read this article written by Jukka Niiranen
The Next Dynamics CRM User Experience: Orion
I think Gemini release will bring (at least) the possibility to use Xrm javascript with the new forms (actually is really a shame to don't be able to pre-fill a field or to do some show/hide logic) and provide the xml definition that will replace the ribbon.
I'm not sure if there is such a document yet. Before we start with Orion, we have to pass Gemini, first. And given the inconsistency between road maps and reality this far, it could as well be that Orion will be known as CRM-2014.

Text to Speech (TTS) software for Scripts WAV or MP3 ouput

I asked this question on SuperUser, but it's fallen on deaf ears. Hopefully I can get more of an audience here.
I'm looking for a low cost (or Free) solution like ScriptVox only with a better engine. That is, to read in a script and assign characters to voice. I've read the post here but even with those I'd have to concatenate wav files. It's not that I don't love Audacity, but it is time consuming. I am halfway thinking of writing my own, but I'm sure there has to be a solution out there. Any suggestions?
I would use Microsoft's Text-to-Speech engine. They have a simple example on how to do exactly what you're looking for:
http://msdn.microsoft.com/en-us/library/ms717065(v=vs.85).aspx
With that sample code, you can speak some text and have it dumped to a WAV file. From there, if you need to convert to a format such as MP3, you can use FFMPEG.
Brad's answer is pretty terrific, as it contains exactly what you're looking for. However, it's missing one fundament you'd expressed a preference for in the question errata: an implementation in C#.
Here's a full tutorial to gain access to the Speech API in managed code. With full credit to Blake Niemyjski and the appropriate teams at Microsoft, here's the salient bits, because the linkback to the original article is dead and this appears to be borrowed from Microsoft directly:
The following link (Giving Computers a Voice) will lead you to a
Microsoft site that will show you how to create a project and get a
basic text to speech application up and running in VB .Net or c# in no
time!
SAPI
SAPI is the speech API that gives applications access to speech
recognition and text-to-speech (TTS) engines. This article focuses on
TTS. For TTS, SAPI takes text as input and uses the TTS engine to
output that text as spoken audio. This is the same technology used by
the Windows accessibility tool, Narrator. Every version of Windows
since XP has shipped with SAPI and an English TTS engine.
TTS puts user's ears to work. It allows applications to send
information to the user without requiring the user's eyes or hands.
This is a very powerful output option that isn't often utilized on
PCs.
Three steps are needed to use TTS in a managed application:
Create an interop DLL
Since SAPI is a COM component, an interop DLL is needed to use it from
a managed app. To create this, open the project in Visual Studio.
Select the Project menu and click Add Reference. Select the COM tab,
select "Microsoft Speech Object Library" in the list, and click OK.
These steps add this reference to your project and create an
Interop.SpeechLib.dll in the same folder as your executable. This
interop DLL must always be in the same folder as your .exe to work
correctly.
Reference the interop namespace
Include this namespace in your application. In C#, add "using
SpeechLib;"; iIn VB, add “Imports SpeechLib”.
call Speak()
Create a SpVoice object and call Speak():
Visual C#
SpVoice voice = new SpVoice();
voice.Speak("Hello World!", SpeechVoiceSpeakFlags.SVSFDefault);
Visual Basic
voice = New SpVoice
voice.Speak("Hello World!", SpeechVoiceSpeakFlags.SVSFDefault)
I feel Brad's answer led me to the correct solution here (thus, he's more deserving of credit than I), but this should be the last piece you were missing. You should now be able to replicate the WAV-file writing from the C++ solution in managed code, and from there, transcode into your desired format.
If having the program access internet is acceptable, then you could use iSpeech.
You can use their API, but unfortunately it is limited to 200 uses/day.
Their API also allows appending format=(wav|mp3) following a query, allowing you to get your sound in both desired formats.
http://en.wikipedia.org/wiki/Comparison_of_speech_synthesizers
That's all I've got.
Google translate uses eSpeak http://support.google.com/translate/

Parse DICOM files in VC++

How can I parse DICOM files in VC++? How to edit the DICOM tags?
If possible, it is better to use some already existing libraries such as MergeCom (not free) or DCMTK. They handle all kinds of conditions such explicit VR, implicit VR, parsing of nested sequence items etc. Take a look at this link regarding the basic structure of a dicom file: Introduction DICOM single file format.
For editing the DICOM file, remember that you might have update the group length tag also. Also, its going to be quite tricky if you want to validate the edited value as there are so many VRs and different IODs have different mandatory and optional tags. So I suggest again to use the existing libraries if possible.
Are you looking for any library that would do it for you? Or you want to write your own? Try DCMTK if you want the first.
Try GDCM, it is even wrapped in C#. It uses CMake, so generation of Visual Studio file is easy.
Ref:
http://gdcm.sf.net
As other people suggested there are many 3rd party library available. Although many are paid but nobody will stop you from using trial versions :)
MergeCom (C version, Java Version) Windows/Linux, This is the best one , You will get a lots of sample along with library to learn.
http://www.mergecom3.com/
DCMTK
http://dicom.offis.de/dcmtk
DVTK
http://www.dvtk.org/
Imebra
http://imebra.com/
GDCM
http://gdcm.sourceforge.net/wiki/index.php/Main_Page
There are a lot more, needed is you start work on one :)
As posted before, there are many free libraries who would gladly do it for you.

Resources