Ovi app behaves differently than locally compiled version (Digia Remote Camera)
I am trying to send email from my N9 without user intervention. After failing over and over I decided to try to find an open source app that did it so that I could examine the source code. The one I chose was Digia's example of a Remote Camera: [URL="http://store.ovi.com/content/275567"]http://store.ovi.com/content/275567[/URL].
I obtained the source from [URL="https://gitorious.org/remote-camera"]https://gitorious.org/remote-camera[/URL], opened it in QtCreator (latest stable version but I can't remember the version number). After answering the questions about creating files for Harmattan, etc., I compiled it without problems.
I was then rather disappointed to find that when I ran it on my N9 that I got exactly the same message in the console as I had with my own code. The message was from the send function and said that it could not find the default account.
When I installed the binary from the Ovi store it worked perfectly.
So what am I missing?
Re: Ovi app behaves differently than locally compiled version (Digia Remote Camera)
I posted this same question to a forum at Digia and quickly got a very helpful reply. Look at that thread for the details: [url]https://qt-project.org/forums/viewthread/23626/[/url].
The short answer is that it does work when used by the actual user, just not when running as the developer user. So the trick is to install it then launch it from the mobile's own UI.