[android-beginners] Re: getting my current location

2009-11-30 Thread Neilz
have got that wrong. Any further advice would be greatly appreciated. I think one of the issues here is my inexperience in using the IDE and the way in which run time errors can be viewed and trapped. Cheers, On Nov 27, 4:55 pm, Neilz neilhorn...@googlemail.com wrote: Hi. As you

[android-beginners] Re: Screen Size

2009-11-28 Thread Neilz
Well copied! I've been playing with all the different emulator types. What real life devices use the 640 * 480 screen size? For common mobile development, is it something we need to worry too much about? On Nov 26, 8:34 am, Marton Kodok pentiu...@gmail.com wrote: •

[android-beginners] Re: getting my current location

2009-11-27 Thread Neilz
Hi. As you are using Eclipse, you can use the Android plug in, and the build in Emulator Control, to load up your KML file and manually send location updates to the emulator. You find it at Window-Show View- Other-Android-Emulator Control. That should get you going. To debug: import

[android-beginners] Cannot install packages on new phone

2009-10-20 Thread Neilz
Hi all. I've been developing for a few weeks now, and testing them on a friend's phone (HTC Magic). I never had any problems. Today my new phone arrived (HTC Hero) and now I can't install my packages. I get the error There is a problem parsing the package. I have set it to allow packages from

[android-beginners] Re: Cannot install packages on new phone

2009-10-20 Thread Neilz
9:28 AM, Neilz neilhorn...@googlemail.com wrote: Hi all. I've been developing for a few weeks now, and testing them on a friend's phone (HTC Magic). I never had any problems. Today my new phone arrived (HTC Hero) and now I can't install my packages. I get the error There is a problem

[android-beginners] Re: Cannot install packages on new phone

2009-10-20 Thread Neilz
Thanks Richard, I saw that and wasn't sure if it was referring to the Android software. So, it says 1.5. Where does that leave me?! On Oct 20, 7:37 pm, RichardC richard.crit...@googlemail.com wrote: [menu] Settings About Phone Firmware version -- RichardC On Oct 20, 6:16 pm, Neilz

[android-beginners] Checking if marker is displayed

2009-09-07 Thread Neilz
Hi. If you have added a marker to your map, is there a way to check if it is currently within the area displayed to the user? For example they may have moved the map so that the marker isn't currently shown. Thanks. --~--~-~--~~~---~--~~ You received this message

[android-beginners] Re: Map overlays

2009-09-03 Thread Neilz
if there's already a quick way to do it :-) On Aug 31, 9:46 am, Neilz neilhorn...@googlemail.com wrote: Hi all. If I add two (or more) overlays (markers) to my map, is there a way I can calculate the center point between the two, and set the zoom accurately so that the map is displayed with all my

[android-beginners] Map overlays

2009-08-31 Thread Neilz
Hi all. If I add two (or more) overlays (markers) to my map, is there a way I can calculate the center point between the two, and set the zoom accurately so that the map is displayed with all my markers shown? Many thanks. --~--~-~--~~~---~--~~ You received this

[android-beginners] Re: Help with Activites

2009-08-19 Thread Neilz
Thanks for the replies. Two more questions... 1) When the activity is started from the main activity, I would want the user to click a button to indicate they have finished, and to return to the initial activity again. What's the best way to ensure that the original one is displayed as before?

[android-beginners] Help with Activites

2009-08-18 Thread Neilz
Where do all the activities go? What I mean is... My app contains a list. When I click on an item, I fire up a new activity. Potentially I could do the same again, and again. Are all these activities still running? If so, how can I switch between them, or view a list of which activities are

[android-beginners] Using DDMS to send location updates

2009-08-14 Thread Neilz
Hi all. I'm playing around with maps, and getting locations. I'm trying to use the Eclipse DDMS screen to send location updates to the emulator. In particular, I have followed some of the tips at this tutorial: http://www.devx.com/wireless/Article/39239/1954 The emulator is receiving a location

[android-beginners] Using SQLLite with Android

2009-08-14 Thread Neilz
Hi again. Can I assume that... 1) When I'm testing apps with the emulator, the database will always need to be created from scratch? If so, is there a way to persist the data so that the next time you start up, it will be there? 2) On a real world device, once the database gets created it will

[android-beginners] Re: Using SQLLite with Android

2009-08-14 Thread Neilz
Thanks Mark. And will the onboard flash of the device persist? On Aug 14, 2:01 pm, Mark Murphy mmur...@commonsware.com wrote: Neilz wrote: Hi again. Can I assume that... 1) When I'm testing apps with the emulator, the database will always need to be created from scratch? Only if you

[android-beginners] Re: Using DDMS to send location updates

2009-08-14 Thread Neilz
Anyone got any tips with this, or should I promote myself to the 'advanced' forum? On Aug 14, 10:14 am, Neilz neilhorn...@googlemail.com wrote: Hi all. I'm playing around with maps, and getting locations. I'm trying to use the Eclipse DDMS screen to send location updates to the emulator

[android-beginners] Keypad helpers

2009-08-13 Thread Neilz
Hi all. I have an EditText widget which is described as follows: EditText android:id=@+id/xcord android:numeric=decimal android:layout_width=fill_parent android:layout_height=wrap_content / When my EditText

[android-beginners] Re: Keypad helpers

2009-08-13 Thread Neilz
solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 13, 5:07 am, Neilz neilhorn...@googlemail.com wrote: Hi all. I have an EditText widget which is described as follows: EditText                 android:id=@+id/xcord

[android-beginners] Re: Hello MapView tutorial

2009-07-22 Thread Neilz
Well I can't get this working. I've gone as far as step 6 of the tutorial, where it says You can actually run this now, but all it does is allow you to pan around the map. So my class is very simple: public class HelloMapView extends MapActivity { LinearLayout linearLayout;

[android-beginners] Re: Hello MapView tutorial

2009-07-21 Thread Neilz
Here's my Logcat output... there is an error, but it doesn't mean very much to me! 07-21 08:39:03.489: WARN/dalvikvm(728): Class resolved by unexpected DEX: Lcom/test/android/stuff/HelloMapView;(0x43597748):0x192368 ref [Lcom/google/android/maps/MapActivity;] Lcom/google/android/maps/

[android-beginners] Hello MapView tutorial

2009-07-20 Thread Neilz
Hi all. I've worked my way through all the tutorials, and the Maps one is now the only one I can't get working. http://developer.android.com/guide/tutorials/views/hello-mapview.html I've followed the instructions, but when the application starts up I get the following message: Sorry! The

[android-beginners] Re: Hello MapView tutorial

2009-07-20 Thread Neilz
Yes, everything is in place as specified in the tutorial. On Jul 20, 4:34 pm, Jack Ha jack...@t-mobile.com wrote: Did you obtain the Maps Api key and insert that in android:apiKey in the layout file? Also make sure that your application has requested the INTERNET permission. --

[android-beginners] Re: Hello Tutorials - Gallery Example

2009-07-17 Thread Neilz
capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jul 16, 2:21 pm, Neilz neilhorn...@googlemail.com wrote: Hi Jack, thanks for your response. It still doesn't compile... what is the method obtainStyledAttributes ()? This doesn't resolve. On Jul 16, 4:15 pm, Jack Ha

[android-beginners] Re: Hello Tutorials - Gallery Example

2009-07-17 Thread Neilz
Could have been ;-) On Jul 17, 10:18 pm, Yusuf T. Mobile yusuf.s...@t-mobile.com wrote: Jack's version works for me without adding the c. to obtainStyledAttributes. But if I move the ImageAdapter class out of the HelloGallery class, then I need to add c.. Perhaps that's what you did?

[android-beginners] Re: Hello Tutorials - Gallery Example

2009-07-16 Thread Neilz
represent those of T-Mobile USA, Inc. On Jul 16, 6:30 am, Neilz neilhorn...@googlemail.com wrote: Hi all. I tried this example (http://developer.android.com/guide/ tutorials/views/hello-gallery.html) and found the compilation problems which having done some searching I see that many other

[android-beginners] Hello Views Tutorial

2009-07-15 Thread Neilz
Hi all, stage 2 of my initiation and I'm on the HelloViews tutorials. http://developer.android.com/guide/tutorials/views/index.html Do I have to create each of these with an entirely new Eclipse project? Or is there a clean way to put another Activity class into an existing project (like the

[android-beginners] Hello Android app

2009-07-14 Thread Neilz
Hi all, I am experienced with Java and with Eclipse, so I thought it would be a breeze getting this running. I followed the tutorial to the letter, but when I come to run the app, I get what looks like a default emulator which just says 'Android' in the middle of the screen - no sign of my

[android-beginners] Re: Hello Android app

2009-07-14 Thread Neilz
Ah - I see it now! I'm confused as to why it takes that long though - is it trying to emulate a real phone from the 90s?! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group,