wei-spring / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Location API error on J2ME phones which do not support Location JSR 179 #409

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please clearly state whether the issue relates to a device/the simulator or
the tools.

Real phone

If related to a device be sure to specify exactly which device with as much
details as possible.

Nokia 2690 J2me phone

What steps will reproduce the problem?
1. Create an app which do not use the Location features.
2.Build you app for j2me and then install it on j2me phone which do not have 
JSR 179(Location API) support
3.

What is the expected output? What do you see instead?

The application should be able to run on j2me phones not supporting location 
api, as app does not use any location features. We see an exception when 
starting the app.

What version of the product are you using? On what operating system?
Codename plugin ver 1.0.24

Please provide any additional information below.

Screenshot of the error is attached.

Original issue reported on code.google.com by nir...@nvsoft.com on 29 Nov 2012 at 2:36

Attachments:

GoogleCodeExporter commented 9 years ago
Assigning to Chen. 
Do you get the exception after invoking the location API or regardless?

Original comment by shai.almog on 29 Nov 2012 at 3:04

GoogleCodeExporter commented 9 years ago
Even if we do not invoke the location API, the exception is raised and the
application is not able to start.

-- 

NVSoft

http://www.nvsoft.com

DISCLAIMER: This e-mail and any attachment(s) is for authorized use by the
intended recipient(s) only. It may contain proprietary material,
confidential information and/or be subject to the legal privilege of the
sender of this email. If you have received this message in error, please
notify the originator immediately and destroy the material in its entirety,
whether electronic or hard copy. If you are not the intended recipient, you
are notified that you are strictly prohibited from retaining, using,
copying, alerting or disclosing the content of this message. Please note
that any views or opinions presented in this email are solely those of the
author and do not necessarily represent those of Net Vigil Software Private
Limited. The recipient should check this email and any attachments for the
presence of viruses. Net Vigil Software Private Limited accepts no
liability for any damage caused by any virus transmitted by this email.
Thank you for your co-operation.

Original comment by nir...@nvsoft.com on 30 Nov 2012 at 5:20

GoogleCodeExporter commented 9 years ago
are you using the MapComponent?

Original comment by cf27...@gmail.com on 2 Dec 2012 at 1:56

GoogleCodeExporter commented 9 years ago
No not using the map component or any features of location API.

Original comment by nir...@nvsoft.com on 3 Dec 2012 at 3:59

GoogleCodeExporter commented 9 years ago
I'll commit the best fix I can think up for this tonight. If this won't work 
then I'm just not sure.

Original comment by shai.almog on 3 Dec 2012 at 4:08

GoogleCodeExporter commented 9 years ago
This should be fixed in the SVN now.

Original comment by shai.almog on 3 Dec 2012 at 7:13

GoogleCodeExporter commented 9 years ago
Thanks Shai, this has fixed the issue.

Original comment by nir...@nvsoft.com on 6 Dec 2012 at 6:35