Android :: Trouble Getting A GPS Fix On My Location

Nov 14, 2010

Recently, my Droid has had trouble getting a GPS fix on my location (using the Maps app that comes with the system). If I try again, it often can find me on the second or third try, but that's too many. Anyone else having this problem? Any fixes?

Android :: Trouble getting a GPS fix on my location


Android :: Trouble With Programmatically Adding Mock Location Data

Sep 27, 2009

I am working on an application that requires an approximate position of the user, so basically i am fine with any relatively recent location data i can get. However I can't seem to get things right using mock location data and would therefore appreciate your help. The method i'm having tries to set mock location data for the gps provider and tries to later retrievie it BUT: locationManager.setTestProviderEnabled("gps", true); seems to fail because i do not get any active location provider from the location manager. When I tried using a mock location provider with addTestProvider and give it my mock location, the LocationManager returns me this mock provider with getProviders(true) but then getLastKnownLocation returns null instead of the provided mock location.

View 4 Replies View Related

Android :: Location Manager Minimum Update Time Overridden / When Location Changes?

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

Android :: Location Manager Does Not Detect Location Correctly

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

Android :: Testing Location Using Network As Location Provider?

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

Android :: Override Enable Location In My Location Overlay

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

Android :: Location Provider / Coarse Location

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

General :: Devices Reporting Wrong Location After Location Spoofing

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

Android :: Trouble Installing The New SDK

Jun 6, 2009

I've installed the newest Android SDK using eclipse's software updates feature to hit the resource at https://dl-ssl.google.com/android/eclipse/.

After installing it, it seems like the SDK is integrated into Eclipse, but when I try to create a new project with a single blank activity in it, I get the following error:

CODE:.................

This is using eclipse version 3.4.2 running on top of Mac OS 10.5.7 on a 32 bit processor.

Is this a misconfiguration on my part? Have I missed a part of the installation?

View 4 Replies View Related

Android :: Specify Intervals For Location Manager To Broadcast Current Location In Android

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

Android :: Android Get Location / Prompt To Enable Location Service If Disabled

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

HTC Desire :: Home Location Fixed Instead Of Current Location

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

HTC Droid Eris :: Wrong Location / Location Unavailable

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

Android :: Trouble Running App On 2.0 Emulator

Nov 4, 2009

Downloaded the new 2.0 sdk the other day, and tried testing my app on 2.0 via the emulator. I am using eclipse, and when i click run, the new emulator runs with my 2.0 avd. but when eclipse tries to install it i get this in the console. Installation error: INSTALL_FAILED_CPU_ABI_INCOMPATIBLE Please check logcat output for more details. the log has this 11-04 18:16:01.818: ERROR/Package Manager(53): Package com.(package).android has mismatched uid: 10025 on disk, 10026 in settings; read messages: 11-04 18:16:01.818: ERROR/PackageManager(53): Read completed successfully: 41 packages, 6 shared uids 11-04 18:16:01.906: WARN/PackageManager(53): Install failed: .apk has native code but none for arch armeabi 11-04 18:16:01.932: WARN/PackageManager(53): Package couldn't be installed in /data/app/com.(packagename).android.apk I can not figure out why it does this. I have searched aimlessly for answer and this is one of my last resorts.

View 9 Replies View Related

Android :: Having Trouble With ES File Explorer

Sep 13, 2010

I've had the E Strong File Explorer for some time but never really used it. So today I wanted to create a special folder for some pictures i downloaded off the web. All the ones I downloaded were put under sdcard/downloads. I created a folder and named it "Cars" and then went to the download folder, copied the pictures, went to the Cars folder and pasted them there. I then think I made a mistake and went to the original pictures in the download folder and deleted them. Now when I open my photo gallery and go to the download folder, i see frames for the pics but no picture. And when I try and open them I just get a black screen. When I go back in the file explorer, I'm able to go to the "cars" folder, click on a picture, choose image from the drop down menu, and then I can view it. So what did I do wrong and is it fixable?

View 9 Replies View Related

Android :: App Is Getting - Trouble Processing - Error

Aug 10, 2010

My android app was running ok under Eclipse, then I tried to add some GridView sample code from some online examples and now it will not build/run anymore.

I keep getting the major error:

CODE:..

Attempt to include a core VM class in something other than a core library.

I have never put anything to do with 'SocketFactory' in any of my code. I searched all of my code and can't find any code that I did that contains the SocketFactory.class.

I deleted my xml's and classes that I was working on that had to do with the GridView and reverted back to the code I had before, when it was running - but now I continue to get the above error. I even try to use 'Clean' but the error continues. Does anyone know what I should do about this error?

View 1 Replies View Related

Android :: Having Trouble With Zooming In Webview

May 27, 2010

I'm new to android. I'm using webview in scrollview to display my local html page (html has text only). I created two buttons for zoomin and zoomout using behind function zoomIn() & zoomOut() respectively. These functions work fine. The problenm is, when I zoom in, some of the text goes out from both top and bottom and it doesn't appear when I scroll.

View 1 Replies View Related

Android :: Trouble In Thread Backgorund

Feb 12, 2010

i'm developing an Android application and i have a problem running a new thread in background.But when thread.start() is called the UI remains blocked. I thinks this shouldn't happen becasue is a new thread.

View 1 Replies View Related

HTC Desire HD :: Trouble With Downloading From Android Market

Oct 31, 2010

I have just bought a Desire HD, and it refuses to download from the Market. I select an app and it says 'Starting download and goes no further. Is it something I am doing, or is there a problem with the market? I have never managed to download anything so it could be something I am doing

View 7 Replies View Related

Android :: Users Have Trouble Upgrading My App In Market

Oct 12, 2009

I've had more than one user say they have trouble when they "upgrade" new versions of my app in Android Market. One woman says it takes her several "days" to successfully do it (I presume that means multiple attempts spread out over time).Can this be on my end? I upgrade my database on each rev - basically I retreive the user data and stick it in the new database that ships with my app. But I think the complaint is about something different. Has anyone else received comments about anything similar? I am concerned people uninstall my app just because of this issue,

View 4 Replies View Related

Android :: Trouble Debugging Application On Device

May 19, 2010

On Mon, May 17, 2010 at 3:17 AM, evilmonkey <sheng...@gmail.com> wrote: > Are there any way to fix this problem?

View 2 Replies View Related

Android :: OnPause / OnResume Activity Trouble

Mar 14, 2010

I have a small test application I am working on which has a timer that updates a textview to countdown from 100 to 0. That works fine, but now I am trying to pause the application if the user presses the back button on the phone and then restart the timer from where they left off when they reopen the app.

From the Log.v() prints I see that the _timer_time_remaining variable has the correct number of seconds stored when onPause is called, but it is set back to 0 when onResume starts. Why does the variable get reset? I thought that the application would continue to run in the background with the same values. Am I missing something? This is all declared in a class that extends Activity.

View 2 Replies View Related

HTC EVO 4G : Clicked Update Location But It Says My Location Is Unavailable

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

How To Change SDK Location - Eclipse Not Allow To Submit New Location

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

Android :: Want API Method [android.location " Pack ] To Get Location Name?

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

Android :: Google Calendar Trouble - Some Events Not Showing Up

Apr 28, 2010

I am using the gmail calendar and put my events in. For some reason not all events are showing up in my phone. 10 events in one of my calendar are on my gmail calendar and only a couple are showing up on my phone.

View 1 Replies View Related

Android :: Trouble Setting Photos With Contacts Contract

Nov 3, 2009

I'm happily retrieving contact photos with the new Contacts Contract APIs and cursor.getBlob, but I'm having great trouble working out how to set a contact photo.

I believe I have the right URI (at least, it works for retrieving the photo), but it just won't work for updating or adding one.

Here's my best bet:

ByteArrayOutputStream bytes = new ByteArrayOutputStream(); bitmap.compress(Bitmap.CompressFormat.JPEG, 90, bytes);

Uri uri = Uri.withAppendedPath( ContactsContract.Contacts.CONTENT_URI, friendId ); uri = Uri.withAppendedPath( uri, ContactsContract.Contacts.Photo.CONTENT_DIRECTORY);

// eg: content://com.android.contacts/contacts/6/photo

ContentValues values = new ContentValues();

values.put(ContactsContract.CommonDataKinds.Photo.PHOTO, bytes.toByteArray()); values.put(ContactsContract.CommonDataKinds.Photo.MIMETYPE, ContactsContract.CommonDataKinds.Photo.CONTENT_ITEM_TYPE );

context.getContentResolver().insert(uri, values);

And here's my exception:

java.lang.UnsupportedOperationException: Unknown uri: content://com.android.contacts/contacts/6/photo at com.android.providers.contacts.LegacyApiSupport.update (LegacyApiSupport.java:914) at com.android.providers.contacts.ContactsProvider2.updateInTransaction (ContactsProvider2.java:2924) at com.android.providers.contacts.SQLiteContentProvider.update (SQLiteContentProvider.java:139) at com.android.providers.contacts.ContactsProvider2.update (ContactsProvider2.java:1923) at android.content.ContentProvider$Transport.update (ContentProvider.java:180) at android.content.ContentProviderNative.onTransact (ContentProviderNative.java:195) at android.os.Binder.execTransact(Binder.java:287) at dalvik.system.NativeStart.run(Native Method).

View 3 Replies View Related

Android :: PopupWindow With GridView - Trouble With Inflating View

Nov 11, 2009

I am having an issue while trying to use a GridView in a PopupWindow. On my Activity's onCreate method, I am inflating a gridview from xml as follows:

CODE:.........

Would like this GridView to popup on a button click. Also inside of my activity's onCreate,

I have:

CODE:...........

On button click, I am throwing a ClassCastException from GridView.onMeasure(int, int).

View 1 Replies View Related

Android :: How To Suppress Spinner Double Clickable Trouble?

Mar 13, 2010

How to suppress Spinner double clickable problem of Android.Try launch any application that having Spinner.Then double tap it.It will show context menu twice.

View 1 Replies View Related

Android :: Users Are Having Trouble Downloading Upgrades To Paid Apps

Feb 20, 2009

I'm getting some messages from my users that when they go to download an upgrade for my paid app, it just sits and downloading forever and does nothing.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved