Android :: How Can Check If Returned Location Is Reliable
Jan 4, 2010
I know how to get the calculated GPS position via getLastKnownLocation (). As tests show, this function really always returns the last known location, so it doesn't matter if there is a gps fix available.
How can i check if the returned location is reliable? I tried it with getAccurracy(), but this function even returns a accurracy although no gps fix is availavle (anymore). Is there a possibility to get gps dop values? Used SDK is 1.6.
View 5 Replies
Jul 11, 2010
I know that the GPS altitude data isn't particularly reliable, so I looked for alternatives. This looks like a good solution I found here: But the value returned is not what I expected: -1.79769313486231E+308 I'm not sure what I'm supposed to do with this figure...
View 2 Replies
View Related
Mar 31, 2010
I am working on an app that fetches localized data from the Web based on the user's long/lat. Currently I am querying the system for the best enabled provider [my criteria defines best basically as most precise--not sure if this is the best idea for my application, as at the point where I fetch data it really doesn't matter if the user is here or 3 miles from here.].. But anyhow, I'm curious as to what is most reliably the fastest Location provider? Network or GPS? My app hangs a bit "Acquiring your location" on my loading screen and I'd like to cut this wait time down as much as possible.
View 17 Replies
View Related
Jun 23, 2010
In my Android app I am calling a URL for fetching images and that URL is also fetched dynamically. Sometimes what happened is that the server returns the path of the image but actually there is no image so can we put some kind of validation.
View 2 Replies
View Related
Sep 16, 2010
I have writeen a program to check the location from GPS module and I need to get a signal once two minutes. So, I use the function
> requestLocationUpdates(mLocationPrivider, 1000*120, 0,mLocationListener);
View 3 Replies
View Related
May 24, 2010
How can I check for GPS support in-App to add a feature for those with Location services enabled?My concern is, I know I'd have to specify the tag in the manifest to declare that the app uses location services, but I still want the app to function for those without. I just want to check and, if the service is available, use it; otherwise just ignore that one feature.
View 1 Replies
View Related
Aug 27, 2010
My application needs to perform some activities in background (like interacting with the network and check the location and some other stuff), having or not the main activity visible. Which is the best way to achieve this? Should I write a service for each kind of job? Or just one service that performs everything? I am aware that I will need to launch threads / asynctasks in any case because the service runs on the same thread of the UI, but maybe having several services is a more clear and readable structure.
View 7 Replies
View Related
Mar 1, 2012
I wanna background service which is looking every minute for the location.
So I created a service and created a broadcast receiver connected to the alarm service.
That works generally fine.
Now I wanna check the Location in that Service, I have a Service which is looking first for "gps" and if not available then for "network" location. That works fine!
Now my confusing case: If I am at home and connected to the WLAN the Location is found every minute and give me an notification in android bar all is fine!
But if I am on street and go around it doesnt work. The Service is just running when I touch the screen and make it active, then the service starts and gives me the location.
Why the service just works at street when I have the screen active? And at home in my WLAN it works always even the screen is not active.
View 1 Replies
View Related
Jun 24, 2010
I'm about to return my phone because of LED backlight issues. Is there anyway to check the phone to see if it was a refurb? I know for windows phones, I'm able to check within the system binaries to see if it's a refurbish unit. I was wondering if there's any secret menu or location to check this information.
View 9 Replies
View Related
Jun 3, 2010
I have a .Net Web Service which returns a single integer value. When i call upon it from my application, no value is returned. Nothing at all really happens. I set up breakpoints and watched it's progress and it seems the problem is coming from when i get to this line:androidHttpTransport.call(SOAP_ACTION, envelope);
I have a hunch that my URL string is the problem. I've tried replacing the "localhost" in my URL string with my local and network ip with no luck. Whenever i replace the localhost with the ip in my browser i get Server Cannot Access or Unable to Connect pages. Does anyone know a solution to this problem?
View 2 Replies
View Related
Mar 29, 2010
In my application during downloading of images, for some of the images i got the error like
D/skia (374): --- decoder->decode returned false
View 2 Replies
View Related
Jul 6, 2010
I'm writing a Music application and I have already gotten the album arts. However, they came up in various sizes. So, how do I standardized the size of the returned bitmap ?
View 1 Replies
View Related
Dec 12, 2009
How do I get a refund for a purchased app on a returned phone?I purchased a Samsung moment on Tuesday, December 1st and in my exuberance purchased Docs to Go Pro 2 for $10 during the one week sale. I ended up returning the phone a week later due to the phone calling 9111 when i unlocked it and the BATTERY life being NO WHERE NEAR good enough.Is there any way I can get a refund for the money I spent?What about if i go get a Hero now? would the app download for free due t my Google account and Google checkout?Any help would be appreciated.
View 1 Replies
View Related
Apr 3, 2010
I have this code on my Android phone.
URI uri = new URI(url);
HttpPost post = new HttpPost(uri);
HttpClient client = new DefaultHttpClient();
HttpResponse response = client.execute(post);
I have a asp.net webform application that has in the page load this
Response.Output.Write("It worked");
I want to grab this Response from the HttpReponse and print it out. How do I do this?
I tried response.getEntity().toString() but it just seems to print out the address in memory.
View 2 Replies
View Related
May 21, 2009
I've got the following row xml file which consists of CheckboxView and TextView;
CODE:............
When the app run, i'm unable to "tick" any of the check boxes...
View 2 Replies
View Related
Apr 15, 2010
I'm trying to get a LiveFolder implementation working, but I can't seem to be able to. I'm able to create the ContentProvider and the items show up nicely. However, I can't seem to be able to return a proper Intent in the Cursor from my ContentProvider to launch my activity.
Relevant bits of my code:
CODE:.................
From the provider (this is how I create the Intent I pass in the LiveFolders.INTENT column):
CODE:...................
When I click on an item I get an "Application not installed on your phone" error. Logcat says:
CODE:..................
Basically, for some reason, the Intent I return in the cursor is passed as the data of the actual intent that it tries to fire, which has a VIEW action. Why is this happening?
View 2 Replies
View Related
Oct 27, 2009
For my current application I collect images from different "event providers" in Spain.
However, when downloading images from salir.com I get the following logcat output: 13970 Gallery_Activity
I Fetching image 2/8 URL: http://media.salir.com/_images_/verticales/a/0/1/0/2540-los_inmortale... 13970 ServiceHttpRequest
I Image [url] fetched in [146ms] 13970 skia D --- decoder->decode returned false
Searching for that error message didn't provide much useful results.
View 4 Replies
View Related
Jul 15, 2010
I have a list and i want to check is the view is returned so i can call loadingAnimation.start() to make a imageview insite listview animate
Let me tell you what i mean.. code...
View 1 Replies
View Related
Aug 5, 2009
I'd like to know if there is already a way to know from a given set of markers, the zoom I should apply to the map or do I have to do it my self? (this depends on the resolution so i expected to find it in MapView because it knows its boundaries.
View 4 Replies
View Related
Sep 23, 2010
I am getting following encoded html as a json response and has no idea how to decode it to normal html string, which is an achor tag by the way.
View 2 Replies
View Related
Sep 20, 2010
In android, most event listener methods return a boolean value. What is that true/false value mean ? what will it result in to the subsequence events ?class MyTouchListener implements OnTouchListener {@Override public boolean onTouch(View v, MotionEvent event) {logView.showEvent(event);return true;}Regarding to the above example, if return true in onTouch method,I found every touch event(DOWN,UP,MOVE,etc) has been captured according to my logView. On the contrary,if return false, onely the DOWN event been captured. So it's seemd that return false will prevent the event to propagate. Am I correct ?Furthermore, in a OnGestureListener, many methods have to return a boolean value too. Do they have the same meaning ?
View 3 Replies
View Related
Mar 8, 2010
TelephonyManager.getNetworkType() returns one of the constant values.It appears that the constant values have an integer order, by possible bearer link speed.I know using constant values used in the following manner is generally bad,however could one use this to determine a basic cutoff for application functionality and have it work between API levels? (in API-v1 there was nothing above 0x03)if( telephonyManager.getNetworkType() > TelephonyManager.NETWORK_TYPE_EDGE ) return "3G! party on!";else if( telephonyManager.getNetworkType() > TelephonyManager.NETWORK_TYPE_UNKNOWN )}
View 1 Replies
View Related
Oct 8, 2010
I think it's a common problem. I'd like to sell my apps, but my country is not supported for merchants already. Do you know a reliable app store where I can sell apps?
View 4 Replies
View Related
Nov 1, 2010
Suppose you have a download service that downloads files asynchronously. For each download intent received it will put the URL of the file to download and the start ID into a job queue and return START_REDELIVER_INTENT. A worker thread then processes that list and calls stopSelf with the start ID it just processed. My question is: If the service's process gets killed and the service restarted, will the service receive all the intents (with the URLs) it hasn't called stopSelf on before it was killed or does the service receive the last intent only? It seems the API docs are ambiguous on this.
The docs say
"if this service's process is killed while it is started [...], then it will be scheduled for a restart and the last delivered Intent re- delivered to it again [...]", indicating that only the last intent gets redelivered (which would be terrible in this use case), but they also say "The service will [...] be re-started if it is not finished processing all Intents sent to it (and any such pending events will be delivered at the point of restart)."
View 4 Replies
View Related
May 21, 2010
Was updating my apps to back up in TiBa to install SS when I noticed Google Voice updated. From channelog:
Quote:
View 3 Replies
View Related
May 17, 2010
Just ordered my Motorola Droid (yay!) - should be in my hands tomorrow.
I am absolutely going to use my Google Voice for texting (hey, its free). I'm considering using it as my primary number too.
My question: How reliable is Google Voice w/ texting and calls? Any reason NOT to go ahead this route?
I was always going to use it for text (I understand they are instant now), but for ease of communicating w/ my friends and family I'm also considering giving out my number for calls as well.
View 49 Replies
View Related
Mar 23, 2010
Even with small hands, I make a lot of mistakes with the touch keyboard. Maybe I'm not used to it yet (only had the phone for 4 days) but is there a FREE app for a better keyboard?
View 13 Replies
View Related
Sep 2, 2010
Check for system updates doesn't check.
View 9 Replies
View Related
Aug 5, 2009
I have a game in development that makes http calls to my server. The server handles some database interaction and returns some XML for the game to parse. The issue is that the connection seems very unreliable. I believe my server is in part to blame for this because it can be somewhat unresponsive at times, but the frequency is MUCH greater when communicating with the phone than with a browser on a computer. I also notice that it gets worse when 3G is not available for the phone and it is on the edge network. Is there any way to code my app to make it more robust? Do I need to retry calls X times on failures?
Here is the code I am using now:
CODE:...................
View 3 Replies
View Related
Sep 23, 2010
GV was working well for me for several months. But in the last month, most of the GV calls that I've made have not gone through. I use it mostly from the desktop and when I start a call my phone usually does not ring.
View 3 Replies
View Related