[android-developers] Re: GPS accuracy reliability

2010-07-14 Thread jgostylo
drpickett: When I say I demand a certain accuracy from the GPS what I mean is that when it reports a location I call getAccuracy and if it is not good enough I throw away the result. Maybe I should just be more lenient on the accuracy from a network location. All of this and people have only

[android-developers] Re: GPS accuracy reliability

2010-07-10 Thread jgostylo
In answer to some questions. I am setting up the network location finder and the GPS location finder using 2 separate LocationListeners. I have some logic that determines what the user has activated so I only listen to gps if the have gps enabled and so forth. From my user feedback it seems

[android-developers] GPS accuracy reliability

2010-07-09 Thread jgostylo
This is a general question about GPS accuracy reporting based on feedback from my user community. My app has an issue where many players get bounced all over kingdom come when using GPS to get a signal. I had this issue with my G1 on occasion but not on my Nexus One. I am talking hundreds of

[android-developers] determining if phone is rooted

2010-06-04 Thread jgostylo
I have an Android game where location is very important to the rules. There have been a bunch of cheaters and I have spent a long time closing off the ways that they exploit the system to cheat. One way they have been cheating is using a location spoofing app. I tried shutting that off by seeing

[android-developers] Table being pushed outside window

2010-05-24 Thread jgostylo
The issue is that the table I am making extends itself off the right side of the dialog window. It seems like it only does this when one of the components in the table is a textview with enough text to cover multiple lines. Someone suggested that I try using a gridview instead of a table layout

[android-developers] Changing Launch activity seems to not work on Update

2010-04-26 Thread jgostylo
For a new update I am changing the start-up workflow for the application. Part of this is setting the android.intent.category.LAUNCHER from one activity to another in my manifest. When I run an update from what is on the market to what I download from my website the application starts in the

[android-developers] Re: Changing Launch activity seems to not work on Update

2010-04-26 Thread jgostylo
mmur...@commonsware.com wrote: jgostylo wrote: For a new update I am changing the start-up workflow for the application.  Part of this is setting the android.intent.category.LAUNCHER from one activity to another in my manifest. When I run an update from what is on the market to what I

[android-developers] Looking for definitive location finding logic

2010-03-31 Thread jgostylo
I am looking for a tutorial that explains the logic for fast, robust location finding. Basically I am sick of Google Maps finding my location so incredibly fast and accurately while my own application struggles to get a location. I would be fine with pseudo code responses and I will explain what

[android-developers] Re: Looking for definitive location finding logic

2010-03-31 Thread jgostylo
Sorry, one last thing. Getting an incorrect location is just as bad a not getting a location for me. That is why I am not currently considering getLastKnownLocation. If I am mistaken about the usefulness of getLastKnownLocation that would also be helpful. If the user was on the North side of

[android-developers] Re: Looking for definitive location finding logic

2010-03-31 Thread jgostylo
wrote: jgostylo wrote: Now it occurs to me that it may be possible to iterate through my list of providers and do requestLocationUpdates for all providers at once. Is this a viable option or can you only listen to one provider at a time? AFAIK it is a viable option, but: -- Use unique

[android-developers] Activity restart crash after OS kills it

2010-03-08 Thread jgostylo
This is what I am doing: Activity SplashScreen is the launching activity for my app. It sends a request to my server and gets back a user data it then uses to populate a user object which is a static object. Once it has that it calls the MyMapView activity and finishes itself. A force close

[android-developers] Re: Activity restart crash after OS kills it

2010-03-08 Thread jgostylo
if the Bundle had that kind of information when the app returned. Jake On Mar 8, 12:24 pm, Mark Murphy mmur...@commonsware.com wrote: jgostylo wrote: This is what I am doing: Activity SplashScreen is the launching activity for my app.  It sends a request to my server and gets back a user

[android-developers] Re: Memory Leak in my map overlay

2010-01-11 Thread jgostylo
). On Jan 10, 8:21 am, jgostylo jgost...@gmail.com wrote: I have been banging away at this one for weeks and I feel like I have exhausted my research capabilities.  I am hoping that someone will see my error in the code posted below.  The code is completely functional doing everything I need

[android-developers] Memory Leak in my map overlay

2010-01-10 Thread jgostylo
I have been banging away at this one for weeks and I feel like I have exhausted my research capabilities. I am hoping that someone will see my error in the code posted below. The code is completely functional doing everything I need, but there is a major memory leak. When I try to track memory

[android-developers] Re: ADC2 Results Post

2009-11-05 Thread jgostylo
Congratulations Dan! It looks like your app is pretty good. I did not get to review any apps worth while but I assume there were some pretty good ones out there. My app The Great Land Grab ended up in the top 50%. Interesting to see that there was a top 25% rating. I believe I was also hurt

[android-developers] Re: ADC2 Results Post

2009-11-05 Thread jgostylo
It sounds like winning e-mails go to the spam box, losing e-mails get sent to the inbox. Probably spam rules to weed out bogus contest junk mail. On Nov 5, 5:02 pm, Klaus Kartou kar...@gmail.com wrote: Just checked the spam folder too... Gigbox also made it to the next round...nice :D

[android-developers] Re: adc 2 Second Round

2009-10-28 Thread jgostylo
If Google tells you that posting about it means instant disqualification then I don't think it would be worth the risk considering only the people moving forward would know. But I see your point. News like that would almost certainly leak if not from the people advancing to the next round and

[android-developers] Re: Getting key for maps....

2009-10-26 Thread jgostylo
I think the issue is that you need to replace the [password]s with 'android' (without the quotes). Unless I am mistaken, that is the password for the debug keystore. On Oct 26, 8:45 am, furby wookie...@gmail.com wrote: I am trying to puzzle out how to get an MD5 fingerprint for accessing

[android-developers] language/region combinations in Europe

2009-09-30 Thread jgostylo
I was wondering if anyone had compiled a list of all the language/ region combinations that are relevant to Android in Europe. Maybe I am going about this the wrong way. I am trying to set a server connection string based on where the user is from (North America, Europe, Russia, China). I am

[android-developers] Sometimes get a blank screen on app restart

2009-09-20 Thread jgostylo
My application flow usually works like this: Splashscreen calls user agreement Success from user agreement makes Splashscreen call MapActivity in MapActivity's onWindowFocusChanged(boolean hasFocus) { if (hasFocus firstStart) // firstStart is static boolean //start another activity to

[android-developers] Limit EditText to alpha-numeric characters

2009-08-15 Thread jgostylo
I have been searching through the InputFilter documentation trying to find a good way to do what I want. I want to create an edittext that only allows alpha-numeric characters. I don't think any of the InputText pre-made filters do this. I was looking at creating my own filter using

[android-developers] Re: Reliable Http Request needed

2009-08-14 Thread jgostylo
For my purposes it looks like changing servers helped out as well as increasing my timeouts to 25 seconds. My game allows for that kind of latency. On Aug 5, 7:47 am, jgostylo jgost...@gmail.com wrote: I guess as a follow up I would like to say that what is thrown seems to always

[android-developers] Reliable Http Request needed

2009-08-05 Thread jgostylo
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

[android-developers] Re: Reliable Http Request needed

2009-08-05 Thread jgostylo
I guess as a follow up I would like to say that what is thrown seems to always be a SocketTimeoutException. My read timeout is 10 seconds and my connection timeout is 15 seconds. There is never a case where the server would take more than 2 or 3 seconds to process a request.

[android-developers] Overlay ConcurrentModificationException

2009-06-26 Thread jgostylo
I am trying to integrate a third party location finding service into my app and I am using the results of the location to place an overlay onto my map. The answer to this question is not use MyLocationOverlay. I am moving away from that for non-GPS accuracy reasons. When the third party

[android-developers] Re: Handler for map panning

2009-04-28 Thread jgostylo
. The MapController does not appear to have anything I could use to do this. On Apr 27, 8:29 pm, jgostylo jgost...@gmail.com wrote: I have searched this group extensively and have not found the answer to my issue. I have a lot of server data being loaded into overlays and I want to create

[android-developers] Re: Handler for map panning

2009-04-28 Thread jgostylo
I am getting the panning recognition to work by overriding dispatchTouchEvent for MapView. I think I will just have to separate out the tasks and do the same thing for the zoom control On Apr 28, 6:03 am, jgostylo jgost...@gmail.com wrote: Ok, I just tried to Override onDraw() in the MapView

[android-developers] Handler for map panning

2009-04-27 Thread jgostylo
I have searched this group extensively and have not found the answer to my issue. I have a lot of server data being loaded into overlays and I want to create the overlays as the user pans. Ideally it would wait for the user to stop panning before it started loading the data. What is the best

[android-developers] Re: Animated Map Overlay

2009-02-18 Thread jgostylo
Ok, delving deeper into the source code I have come up with a solution, though I feel like it is the poor man's solution. Overlay has two draw methods. The one that handles animations is this one: public boolean draw(Canvas canvas, MapView mapView, boolean shadow, long when) In my extended

[android-developers] Animated Map Overlay

2009-02-17 Thread jgostylo
I am trying to make a map overlay animated much like MyLocationOverlay does. Currently the only things that I can see to make animated are Views but Overlays don't extend View functionality. My next thought was to try to lodge a View into the overlay, but the redundancy makes it seem like this

[android-developers] Re: Launching Activity from Overlay onTap

2009-02-11 Thread jgostylo
This works for me just fine.  I want to launch the browser on a URL that's associated with where they tapped: container.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(uri))); Works fine.  So the problem must be with finding your activity.  -T Thanks Tim! Your words helped me push

[android-developers] Launching Activity from Overlay onTap

2009-02-10 Thread jgostylo
I am wondering if I am going about this problem the correct way. I am making an app that places overlays on top of google maps. When you click on the overlay it should launch a dialog type window that will give you options on what to do with that overlay. Currently the method I am trying to

[android-developers] starting Activity in Overlay onTap (dup post?)

2009-02-10 Thread jgostylo
I apologize if this is a duplicate post. I tried posting this over an hour ago and there is no indicator that it posted. I am attempting to launch a dialog type window when I click an Overlay that has been placed on google maps. I thought the way I would do this was Override the onTap()

[android-developers] starting Activity in Overlay onTap (dup post?)

2009-02-10 Thread jgostylo
I apologize if this is a duplicate post. I tried posting this over an hour ago and there is no indicator that it posted. I am attempting to launch a dialog type window when I click an Overlay that has been placed on google maps. I thought the way I would do this was Override the onTap()