How to use MIDlet platformRequest on Symbian^ 3 devices?
Hello everyone,
In my Java app user selects 'Get full version' from menu, and it opens URL in Nokia Store for app full version. MIDlet uses platformRequest to open URL.
It works fine while testing, both me and QA. It worked on S40, S60 and Symbian^ 3.
But when QA tested it for Symbian^ 3 devices, it failed. They say nothing happens, it doesn't open browser. Obviously there's an exception, platformRequest doesn't work.
What shall I do to make it work? Do I have to add some permissions to JAD file maybe?
How did you solved this for your Java apps for Symbian^ 3?
Re: How to use MIDlet platformRequest on Symbian^ 3 devices?
Check the application settings on the device - refer to similar thread and r2j7 response - [url]http://www.developer.nokia.com/Community/Discussion/showthread.php?230412-platform-request-with-symbian-3-C7-device[/url]
Re: How to use MIDlet platformRequest on Symbian^ 3 devices?
Yes, that's it.
But Nokia QA should do that on their devices when testing!
Is there something I can do as a developer?
And, by the way, they sent additional comment: "...But the issue is not reproduced when installing the application only with the .jar file...."
Re: How to use MIDlet platformRequest on Symbian^ 3 devices?
You can probably show a warning message at the launch of your application asking user to make the required setting changes and then try. This way your application should not fail QA, as you are showing relevant message to the user.
Re: How to use MIDlet platformRequest on Symbian^ 3 devices?
You may try to add the required permissions in the project jad & mf file.
Re: How to use MIDlet platformRequest on Symbian^ 3 devices?
Thank you for the answers.
I'll first try with adding permissions to jad&jar, as it's easier than adding warning to user.
Anyway, I'll inform you about results with QA.
Re: How to use MIDlet platformRequest on Symbian^ 3 devices?
For lot of devices even after adding permissions to jad&jar and signing the build - you will require to educate the End User on the first launch of the App - to give required permissions to the app from app settings on the device. This help you pass thu QA process as well.
Re: How to use MIDlet platformRequest on Symbian^ 3 devices?
dpavko, which exception do you face?
Re: How to use MIDlet platformRequest on Symbian^ 3 devices?
traud, problem is solved by adding required permissions to jad file:
javax.microedition.io.Connector.http, javax.microedition.io.Connector.https
Re: How to use MIDlet platformRequest on Symbian^ 3 devices?
Thanks for the update! Then you had a SecurityExcpetion. I would upgrade not only my MANIFEST.MF but my code as well, to catch that exception which eases debugging.