[android-developers] Re: I don't see how to do this....

2010-01-06 Thread furby
Aha! Thank you! As soon as I read your response it hit me - I am testing on the emulator, which will always give me a null provider! Which means no matter what I do I am gonna get a null which means I can't get a latitude... Which shows that I have had WAY too much time off of programming between

[android-developers] I don't see how to do this....

2010-01-06 Thread furby
I want to grab the latitude and longitude of a phone without using a mapview (I want to send the location to a server side process from a form) But this code constantly crashes the app : Criteria criteria = new Criteria(); criteria.setAccuracy(Criteria.ACCURACY_FINE); c

[android-developers] Re: KML and Google Map Application

2009-12-01 Thread furby
be used to load that KML file. No idea why, but it works perfectly well this way. 2. The format of the file absolutely has to have the style info in it (You can see a good example of it at the google examples of KML files. Just thought I'd let everyone know about that... On Dec 1, 7:43 am, furb

[android-developers] Re: KML and Google Map Application

2009-12-01 Thread furby
I'm not sure I follow that... On Dec 1, 12:42 am, Chander Pechetty wrote: > 1. Check the KML namespace..."http://www.opengis.net/kml/2.2"; > 2. Is your URL - urlencoded ?  You have to encode your url it has > & ?... > > On Nov 30, 11:43 pm, furby wrote: >

[android-developers] Re: KML and Google Map Application

2009-12-01 Thread furby
my+street+address > geo:0,0?q=business+near+city > > I don't see a url to KML file supported. > > http://developer.android.com/guide/appendix/g-app-intents.html > > Jeffhttp://www.trackaroo.com > > On Nov 30, 10:43 am, furby wrote: > > > I have a KML file th

[android-developers] KML and Google Map Application

2009-11-30 Thread furby
I have a KML file that is being generated on the server side and loaded into the google maps application on Android. The resulting KML file looks like this (Right now it has only one point in it): http://earth.google.com/kml/2.x";> Bridgewater Twp Martinsv TEST -74.03279876709,40.9547996521,0

[android-developers] Re: Map application and KMZ files....

2009-11-20 Thread furby
d it loads that KML into the app and shows it... On Nov 20, 9:55 am, JP wrote: > No you cannot create an overlay that's directly driven from KML/KMZ > file input. > You'll have to do this "by foot", i.e. parse out the input file and > feed the resulting Placemark

[android-developers] Map application and KMZ files....

2009-11-20 Thread furby
Is the map application that comes with Android capable of digesting KMZ files at all? I can start it up with an intent that sends in a KML file with no problem... But every single time I send a KMZ URL to it, it tells me that the file "Contains Errors". Since i have now tried roughly a dozen differ

[android-developers] Re: Mediaplayer and stopping it....

2009-11-18 Thread furby
Works like a charm! Thanks dude! On Nov 18, 2:24 pm, StevePotell wrote: > stop the player in the onPause > > On Nov 18, 2:12 pm, furby wrote: > > > I have a activity which is called from another activity as an > > intent... This activity loads and starts playing a aud

[android-developers] Mediaplayer and stopping it....

2009-11-18 Thread furby
I have a activity which is called from another activity as an intent... This activity loads and starts playing a audio file. All is good - that much works. The activity also has a "stop" button and that stops the audio from playing - that is also fine. But how do I stop the file from playing if th

[android-developers] Re: Imageviews and resizing....

2009-11-09 Thread furby
Never mind - I figured it out. On Nov 9, 2:00 pm, furby wrote: > I'd like to do something rather simple - I'd like to have an image on > the screen and resize it to be bigger when the user clicks on it. > > As it is I have figured out how to respond to a click by making

[android-developers] Imageviews and resizing....

2009-11-09 Thread furby
I'd like to do something rather simple - I'd like to have an image on the screen and resize it to be bigger when the user clicks on it. As it is I have figured out how to respond to a click by making the imageview bigger (It's a simple call to "setMinimumWidth" and "requestLayout"). But that resiz

[android-developers] Not sure where to find out how to do this - the "Busy" spinning icon

2009-11-05 Thread furby
I have been doing searches for this on Google but I am obviously using the wrong words to look for it. How does one go about showing the icon that spins in the upper right hand corner of the screen while something else is going on? I was trying to call it a "Spinner" but that is not exactly what i

[android-developers] Re: Toast - I can't get it to work in Eclipse...

2009-11-04 Thread furby
Thank you! The got my app to display a message to the user! Yay! And you are about to have a customer! On Nov 4, 12:14 pm, Mark Murphy wrote: > furby wrote: > > Perhaps I am going about this the wrong way... it seems like a lot of > > shifting of code around to get a simple mes

[android-developers] Re: Toast - I can't get it to work in Eclipse...

2009-11-04 Thread furby
topic... The Google "Hello Views" tutorial for maps got me this far but neglected to explain how to handle a click on a point On Nov 4, 11:57 am, Mark Murphy wrote: > furby wrote: > > Hmmm Am I putting the onTap handler in the wrong place? I thought > > that it w

[android-developers] Re: Toast - I can't get it to work in Eclipse...

2009-11-04 Thread furby
Hmmm Am I putting the onTap handler in the wrong place? I thought that it would go in the overlay handler On Nov 4, 11:01 am, Mark Murphy wrote: > furby wrote: > > To be sure that you have some idea of what I am talking about, here is > > the code for the entire class

[android-developers] Re: Toast - I can't get it to work in Eclipse...

2009-11-04 Thread furby
(); } protected boolean onTap(int index) { Toast.makeText(HelloItemizedOverlay.this, "TEST", Toast.LENGTH_SHORT).show(); return super.onTap(index); } } On Nov 4, 10:52 am, furby wrote: > It underlines the "makeText" word and when I ask it for suggestions >

[android-developers] Re: Toast - I can't get it to work in Eclipse...

2009-11-04 Thread furby
It underlines the "makeText" word and when I ask it for suggestions all it says is "Rename in file". Which makes me wonder if, perhaps, "makeText' no longer exists in the Toast object? On Nov 4, 10:38 am, Mark Murphy wrote: > furby wrote: > > So I a

[android-developers] Toast - I can't get it to work in Eclipse...

2009-11-04 Thread furby
So I am slowly trying to figure out maps... I want to be able to click on a point and pop up a message. Toast seemed the way to go. So I added an "onTap" handler in my class that extends ItemizedOverlay (the class is called HelloItemizedOverlay) and then tried to grab the Toast example... But I am

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

2009-10-26 Thread furby
That's what it was - thanks a gabillion! On Oct 26, 10:52 am, jgostylo wrote: > 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

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

2009-10-26 Thread furby
I am trying to puzzle out how to get an MD5 fingerprint for accessing google maps from an android app... So far I have figured out how to get keytool to work (The trick on XP is to enclose the entire path to the keystore in quotes since it ends up in the "Documents and Settings" folder). But the

[android-developers] Okay - I am an idiot but I can't get this to work....

2009-10-15 Thread furby
I am tryign to stream youtube videos. Supposedly, the Activity that can be downloaded from http://keyeslabs.com/joomla/index.php/blogs/i-think-im-becoming-an-android/51-polish-your-app-free-embeddable-android-youtube-activity will work for that. It sounds like it's perfect for what I want to do.

[android-developers] Re: Stream youtube to a videoview?

2009-10-13 Thread furby
Anybody? On Oct 13, 8:09 am, furby wrote: > I am sure that this has been discussed before... But I don't seem to > be really grokking it... > > I have a videoview called "tv1" on a form. > I have a bit of code that fires when a button is pressed that looks > lik

[android-developers] Stream youtube to a videoview?

2009-10-13 Thread furby
I am sure that this has been discussed before... But I don't seem to be really grokking it... I have a videoview called "tv1" on a form. I have a bit of code that fires when a button is pressed that looks like this : String uristr = "rtsp://rtsp.youtube.com/youtube/ videos/S2eoCqw

[android-developers] ListView....

2009-09-22 Thread furby
Why does this type of thing always end up being so difficult? I want to have a scrolling list on the screen. Very simple... Except that the Android SDK seems to require that list to be a listview which is implemented in a completely different way from other programming languages... (Slight rant f

[android-developers] Re: Emulator won't finish booting...

2009-09-16 Thread furby
an it work one day and then the next day suddenly stop? On Sep 16, 9:29 am, AJ wrote: > Hi furby, > > Are you starting the emulator with -avd option. If not then create an > avd and start the emulator with -avd option. > > See the following link for more > details.http://d

[android-developers] Emulator won't finish booting...

2009-09-16 Thread furby
I had the 1.5 android emulator starting from Eclipse perfectly nicely until yesterday when it suddenly won't finish booting. I haven't installed anything new (Running it on Windows Vista - i know, uck, but I'm waiting for Win 7 to hurry up), haven't even changed the java code I am trying to ru

[android-developers] Populating Listview....

2009-09-07 Thread furby
I am probably being stupid here because I am a beginner in Android development... But could somebody explain the step by step process of dynamically populating a listview? I have found a few pages that do it by reams and reams of code, but that seems kind of silly to me - I think I must be missing