×

Discussion Board

Results 1 to 6 of 6

Hybrid View

  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    14

    How to know from j2me that the device has inbuilt/Integrated GPS?

    Hi all,
    I am stucking with a new problem,and i search for solution but did not get any & i need help on this because i have very small knowledge on this issue.

    I am developing an application which is related on GPS and I need to know first that is the device supports the GPS(i.e. is the device has inbuilt/Integrated GPS)? If it has inbuilt/integrated GSP then have to work through GPS but if not then have to simply FIRE some specified url.

    I have tried with Location API version and if i decide on basis the "microedition.location.version" then my decision becomes worng,because in some devices like N73,the device don't have inbuilt GPS but it supports external GSP through Bluetooth and in that case Location API version's System.getProperty also returns value.
    And i want to know only inbuilt/Integrated GPS and not getting any way to find the solution.

    Please assist me how to trace the inbuilt GPS info form MIDlet?Because i have to work with inbuilt GPS only.

    Thanks to all.

  2. #2
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How to know from j2me that the device has inbuilt/Integrated GPS?

    true, checking ig location api's are available doesnt implicate that an inbuilt gps is available...
    afaik there is no way to check specifically if an integrated gps is available.
    location api wont help with that, its even worse : immagine u have an integrated gps and a bluetooth gps, the only thing u can ask location api is a location, then the api will decide on its own if it will use the integrated or the bluetooth gps... so u wouldnt even be able to specify programmatically which locationProvider to use...

  3. #3
    Registered User
    Join Date
    Sep 2007
    Posts
    14

    Re: How to know from j2me that the device has inbuilt/Integrated GPS?

    Yes, I am agree with you although i have very few knowledge on this topic. So i am seeking help on this. As you, there are no way to know that "Is the device has inbuilt GPS or not?"

    Here are so many good profiles who are also forum champions or Nokia developer. I want to draw their kind attention on regarding this. If there have any way using native method? I mean using Symbian can i get that information(Information on Device's inbuilt GPS). If yes then using native method i can use it into my J2ME apps.

    In anyway i need to know that info. Please suggest me.

    Many Many thanks.

  4. #4
    Regular Contributor
    Join Date
    Sep 2008
    Location
    Ahmedabad
    Posts
    254

    Re: How to know from j2me that the device has inbuilt/Integrated GPS?

    Hi,

    I dont think JNI is supported in CLDC. So even its possible with Symbian C++ you may not be able to use that in J2ME application. Rather than working around for internal GPS you can mention in your product brochure the supported handsets and mention only the handsets having internal GPS.
    Sunil
    Mobile Application Developer

  5. #5
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How to know from j2me that the device has inbuilt/Integrated GPS?

    sunil is actually right...
    there is no way u can call native methods (C++) in J2me....
    there is some framework available which lets a j2me app comunicate with a Symbia app (C++) through internal sockets...
    So u can read information (like battery status etc) in the Symbian app and send this info to ur j2me app...
    This means though developing 2 apps and also for a user that he will have to install both...
    still I am sure u cant get the information u want (inbuilt gps available) in J2me...
    and I am not sure if its possible in C++, but fortunately there is also a Symbian (C++) forum here so u can get ur answer from the experts there...

  6. #6
    Registered User
    Join Date
    Sep 2007
    Posts
    14

    Re: How to know from j2me that the device has inbuilt/Integrated GPS?

    Thanks Sunil & Tiger79 for your kind suggestion.

Similar Threads

  1. J2ME or C++ for VoIP on Mobile
    By sandeepkumar03 in forum VoIP
    Replies: 4
    Last Post: 2009-02-02, 10:28
  2. J2ME or C++ for VoIP on Mobile Phone
    By sandeepkumar03 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2008-11-13, 20:14
  3. How to get device no. from a j2me app.?
    By shreyasbellary in forum Mobile Java General
    Replies: 16
    Last Post: 2008-06-03, 11:13
  4. Can J2ME access the images that save on the device
    By binhtt in forum Mobile Java General
    Replies: 1
    Last Post: 2004-03-09, 21:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×