This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin for Android App Development and have Peter Sommerhoff on-line!
See this thread for details.
Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

GPS vs. MAP applications?  RSS feed

 
Ranch Hand
Posts: 110
Android Java Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which type of applications are easy to implement and covers large range of applications.

I know advantages and drawbacks of both.
Their is many map applications today like blackberrymap, googlemap etc.
 
Bartender
Posts: 20360
112
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The two are more complementary than they are opposite. It's quite common to use GPS to obtain a position that can then be used on a map.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use following code to get the Latitude and Longitude:

I use WTK2.5.2 run it. .I am getting alert exception: java.lang.classnotfoundexception: location.
please help me run this code . Thanks alot
 
Rancher
Posts: 42974
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSR-179 (which is where the javax.microedition.location package is defined) is not part of the CDC or CLDC; you'll need to add it manually to whatever environment you intend to use if it's not pre-installed (as it apparently isn't in your environment).
 
minh hai
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:JSR-179 (which is where the javax.microedition.location package is defined) is not part of the CDC or CLDC; you'll need to add it manually to whatever environment you intend to use if it's not pre-installed (as it apparently isn't in your environment).



I'm a newbie so you can instruct specific than for me? Thanks your help
 
Ulf Dittmer
Rancher
Posts: 42974
76
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can find the Specification, javadocs and reference implementation somewhere around here. That should allow you to compile the code.

How to use it in the emulator or in an actual device, I have no idea.
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!