Michal Krawczyk

Greenhorn
+ Follow
since Oct 15, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Michal Krawczyk

I run my code which I paste above and everything is ok.
Execution result is on the image placed here

Your console says there is a problem with your device. You tried run application once or maybe more?

You can try choose your Android API version 1.6, I know that can help sometimes.
12 years ago
Here is working code:

SearchByAddress.java


view.xml
12 years ago
Hi!
the difference is simple. Latitude/Longitude is double number like 57.126847, LatitudeE6/LongitudeE6 is integer value of Latitude/Longitude multiplied by 1.000.000. When you use GeoPoint you have to give integer parameters (LatitudeE6,LongitudeE6) and then you can't give Latitude/Longitude as a double, so you have to miltiply it by 1.000.000. When you use Location it need double values of Latitude/Longtitude.
I hope you understand what I mean ;) If you have another questions - write! ;)
12 years ago