IntelliJ Java IDE
The moose likes Android and the fly likes java.lang.Integer error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "java.lang.Integer error" Watch "java.lang.Integer error" New topic
Author

java.lang.Integer error

Naishadh Parmar
Greenhorn

Joined: Jun 02, 2011
Posts: 24

Hey guys,
I get this error:
"Class File Editor

Source not found
The source attachment does not contain the source for the file Integer.class.
You can change the source attachment by clicking Change Attached Source Below:

(Button)Change attached Source ....."

for this code:

In Eclipse IDE.
Please help
Chrobione Robinson
Greenhorn

Joined: Dec 06, 2011
Posts: 7


This is where your issue is....location.getLongitude() returns a double.

Instead of figuring out how to get the double to a int the better question what are you trying to feed that needs an int value?
Naishadh Parmar
Greenhorn

Joined: Jun 02, 2011
Posts: 24

the b.setPixel() method needs two ints, one X and other y
 
 
subject: java.lang.Integer error
 
Threads others viewed
it doesn't shows location details
how to use distanceBetween built in methog
it doesn't give me the country name
how to add a google search option
it doesn't change the longitude & latitude
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture