Android :: Location Convert Possible Bug
May 14, 2009
I'm getting an illegal argument exception when trying to convert a coordinate in degrees:minutes :seconds .decimal format with the minute value is 59 and the seconds is greater than 0. I think the function compares seconds and they must be less than 59, where they should be less than 60. Here is the error with the coordinate: 05-13 22:27:57.071: ERROR/AndroidRuntime(3924): Caused by: java.lang.IllegalArgumentException: coordinate=30:26:59.5644 05-13 22:27:57.071: ERROR/AndroidRuntime(3924): at android.location .Location. convert (Location. java:249)
View 2 Replies
Aug 12, 2010
I know this is a very noobish question -- but what is the best way to convert a GeoPoint to a Location on the Android platform.
View 1 Replies
View Related
Oct 26, 2010
I'm developing a mapping app using Eclipse 3.5.I'm setting the minimum update period with the LocationManager's requestLocationUpdates method, via a configuration activity. When I set the property I see in Logcat that the system process sets the value OK.When I actually send a new location from the DDMS emulator control and the location changes on the map view, I see that the system process then sets the minimum time to zero.Below is a capture of the system's log messages. You can see that I'm setting the period to 32 seconds, then 16, then, after I've sent a simulated location change the system sets it to zero.The map responds to location changes to location changes instantly even if they are sent only a couple of seconds apart.
View 1 Replies
View Related
Sep 17, 2010
In my application I have to fetch the current location. First it correctly fetches the location. But we are moving from the current location to some other location. It shows the previous address. It is not updating the location. My code is: locManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE); locListener = new MyLocationListener();locManager.requestLocationUpdates(LocationManager .GPS_PROVIDER ,0,0,locListener); location = locManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);if(location != null){latitude = location.getLatitude();longitude = location.getLongitude();} Please find the mistake and when i launch first time it is not working on second time itself it is working so check this thing also.
View 1 Replies
View Related
Jan 27, 2010
I have an application which uses the network as the location provider (rather than GPS eg.), however I can't seem to figure out how to send the emulator test coordinates. In DDMS I would usually send coordinates in the Emulator Control tab.Is there a place to simulate coordinates derived from the cell phone network provider?
View 6 Replies
View Related
Mar 4, 2010
I want to override the method enableMyLocation() in MyLocationOverlay class, in order to implement my own positioning algorithm to get latitude/longitude, and then plot them onto a MapView. I figured out how to do that, but now I'm stuck because I dont know what Canvas to pass when I call the method drawMyLocation().
Here is the MyLocationOverlay class
View 4 Replies
View Related
Jun 25, 2009
The way we are retrieving locations from our Android phones is to 1st get a Coarse Location followed by a Fine Location. This is for the case where the user may be inside a building initially and unable to track satellites. After we get our coarse location we transition to a fine location to track satellites. This method has been working fine for several months. We recently upgraded to 1.5 and our mapping application, to my recollection continued to work.For the past couple of days we have not been able to get a coarse location and we are receiving a status message in the onStatusChange callback of.We have re- installed previous versions our code that used 1.1 and we are receiving the same status message of .TEMPORARILY_UNAVAILABLE. Other than the obvious description of the constant, we can find no meaningful information.
View 2 Replies
View Related
Mar 15, 2013
Recently all my android devices think they are in Spain when I am at home in Toronto.
I think this was caused when I ran a location spoofing program on only one of my devices, one of the locations I set it to was Spain (among others).
I've tried clearing the data for the Network Location apps, changing the SSID on my router with no luck.
The only way it shows the correct location is when I go outside and run Google maps long enough to get a GPS fix. But when I go back inside I am back in Spain!
The devices this is affectingGalaxy Nexus with my google account
Nexus 7 with my google account
Galaxy S3 with my google account
Galaxy S2 without my google account
View 2 Replies
View Related
Apr 2, 2010
Is there any way to specify the time intervals that the Location Manager broadcasts the current location?
I am using a method called startListening:
CODE:.....................
View 5 Replies
View Related
Aug 12, 2010
I've found bits and pieces of this answer scattered through other posts, but I wanted to record it here for others.How can I simply request the user's GPS and/or Network location and, if they haven't enabled the service, prompt them to do so?
View 1 Replies
View Related
Nov 14, 2010
How could I fix the location which appears on the clock on the home screen and serves as weather forecast location? I am not living near a big city listed on the weather location list and when at home, the current location usually is indicated some dozen miles away from my home. This could be a cosmetic problem, but in the Alps (where I am living) weather a short distance away can be quite different from where you are.
Besides that, it would be nice to know the weather at home while beeing abroad.
View 3 Replies
View Related
Jul 2, 2010
i've had my phone about 3 weeks now. up until last week, the htc weather widget would update to my current location. when i was home, it would show the town i live in. i also had the google internet option to use my location and this would also work perfectly until last sunday.now, the weather location was stuck on miami no matter where i went (as far north as west palm beach) and the internet shows up 'location unavailable'. i have found out that the gps is picking up where i am in goggle maps but it seems that the cell towers are not as far as weather and internet location are concerned. i have tried all of the obvious settings.i did a factory reset and now my weather says ft lauderdale which is closer to me but still not my town. it does not update (manually either) as i move. the internet location still says location unavailable although for a fleeting minute after the factory reset, it DID locate me....then it was gone so i called verizon, they didn't have a clue. then i took it to the store and it turns out EVERY phone the tech tried in the store had the same problem, including his. he told me it was a google problem and there was nothing he could do about it. i felt if i tried explaining how that would make it a verizon problem as well, it would be a losing battle
View 7 Replies
View Related
Jun 7, 2010
I am having problems with the quick search feature. I did a random search for Mcdonalds and a map pulls up that is no where around me. I clicked update location but it says my location is unavailable. I have GPS enabled and my navigation app works just fine.
View 1 Replies
View Related
May 10, 2013
today i was trying to open my old workspace projects by Eclipse but the old projects used old SDK path n so when i try to change my SDK location the eclipse not allow me tho submit my new location how i can solve this problem
View 1 Replies
View Related
May 5, 2009
Is there any API method{[android.location " pack ] to get location name? did not find related method to to retrieve location name for given GeoPoint(lat,lon); I wanted to keep list of location names for particular GeoPoints (lat,Lon) in journey. can this be achievable in Android to calculate the name of location from lat .
View 4 Replies
View Related
Jul 19, 2010
I checked and loading up my maps application or another app that I've written that uses the location API finds me almost immediately - this, on the other hand, leaves me waiting forever without a single update. And yeah - I checked my permissions in AndroidManifest :)
View 1 Replies
View Related
Jul 5, 2010
I created a application using ADOBE AIR and now i want this application to deployed in ANDROID OS enabled mobile phone but i am not able to convert .swf file to .apk Can any one please help me out how i can convert .swf to .apk
View 2 Replies
View Related
Jun 16, 2010
Is there an app that exists that I can convert files right on my phone? For example, a .jpg into a .png file?
View 1 Replies
View Related
Aug 1, 2010
Has anyone tried the app VLC Stream and Convert? VLC Stream & Convert v0.4.28 Application for Android | Multimedia. It looks promising as a streaming option but I can't work out how to set it to actually stream videos to the phone. It's working as a remote (so VLC is working correctly) but there are no instruction available on how to configure streaming.
View 49 Replies
View Related
Aug 25, 2010
Can anyone tell me how to convert my M4a files into MP3? I am using an IMAC which is becoming a major problem in syncing with my Droid X. Additionally, I am using DoubleTwist and am finding several bugs. Does anyone recommend a different music player? B Tunes? I need to convert the files into mp3 as it appears that Droid X only can read mp3 files and can not read AAC files.
View 3 Replies
View Related
Dec 8, 2009
I need 1 app to convert WMA to Mp3 and add album art? I just cant get music from my laptop to my Hero with album art. I have tried several programs with no luck.
View 4 Replies
View Related
Mar 18, 2009
i want to convert recorded AMR sound into mp3 or WAV within my activity, is there any method or package i can use? i am using this activity for recording: Intent intent = new Intent MediaStore.Audio. Media. RECORD _SOUND _ ACTION); startActivityForResult(intent, SELECT_AUDIO); this gives me amr content uri but my question is , how can i get the mp3/wav uri? i posted this question long ago but still no solution, please help me as i am really stuck on this.
View 5 Replies
View Related
Dec 3, 2009
I created a Android Project in 1.5. Now i want to convert itinto Android SDK2.0. How can i convert this?I tried to convert by click the project properties & changed the Target from Android1.5 to Android2.0 But the R.java is delted automatically when i changed the target Any one know about this?
View 3 Replies
View Related
Jun 10, 2010
Im wondering which app you guys use, when converting both (DVD ISO'S & XVID) to fit on your Xperia X10 - So that it's seen in full screen ?
View 11 Replies
View Related
Jun 16, 2009
I need to convert from XML to Wbxml for Client-Server Communication using AirSynC (Microsoft Exchange Active Sync Protocol). I found XML to WBXML parsers available in ../dalvik/libcore/xml/src/ main/java/org/kxml2 but there was no official documentation regarding these apis. Inbuilt Google IM Application available in ../packages/apps/IM makes use of separate XML<-->WBXML parsers instead of using existing org.kxml2 package listed above and makes use of Native call for SynCML Tag Table mapping.
View 6 Replies
View Related
Apr 11, 2010
In anticipation of a new HTC Incredible soon, I opened a gmail account. I have exported 12 years of calendar, thousands of contacts, notes, and tasks from a PC palm desktop. It created a .dba file, which gmail does not recognize. How can i convert it to .csv or whatever? I was able to easily import ~1000 contacts from my Mac address book.
View 2 Replies
View Related
Feb 24, 2009
I have a Android app. It receives videos in .flv format which is unplayable by the Android phone. I was wondering how to convert the file to MP4. I could use FFMPEG, but I do not know how I would get it onto the phone, and how it would work on multiple phones if it was compiled for a single one.
View 8 Replies
View Related
Dec 20, 2009
Is there a way to convert a free app to a paid for ? Does not look like this option is available in the "upload an Application" page. What are the options ?
View 6 Replies
View Related
Mar 4, 2009
From what I learn, a developer cannot convert his FREE app to a PAID app. I was looking out for some alternative ways to make this happen. I have an app with about 10K users. Users have their data stored inside the application. Lets call the existing FREE version com.my app I would like to sell my app for $10. How do I go about it? If I create a new application, it does not accept com.my app since it says I already have an app on the store with the same name. Create a new app: com.paid my app does not help because how do the existing 10K users get their data from FREE version (my app) to PAID version (paid my app)
View 10 Replies
View Related
Jul 23, 2010
Is there any way to convert J2ME applications into Android applications? The only way I have come across is using microemulator which if I used to convert J2ME app that uses Camera or Bluetooth APIs doesn't work.
View 6 Replies
View Related