Re: [android-beginners] Problems accessing location data in emulator

2010-03-20 Thread wahib haq
hey jacobs ! I guess it is sometime a problematic issue. I remember i had same issues when i started working with google maps. well i should recommend you tu give static values using DDMS tool and go to 'location controls' section and give manual decimal values while your emulator is running. If yo

[android-beginners] Still confused with onKeyDown

2010-03-20 Thread Mauricio
I understand onKeyDown should give me the key that was pressed, but how to do that? I mean, if I do something like public boolean onKeyDown(int keyCode, KeyEvent event) { switch (keyCode) { case 97 : // Letter A DoSomething(); break;

Re: [android-beginners] Failure in ActivityLaunch

2010-03-20 Thread Chris Ross
On Mar 20, 2010, at 12:29 AM, TreKing wrote: > Oh no, sorry, I misread your post. Thought you were adding a new Activity. > > In this case, again, posting the actual error you're getting is the best way > to figure out what's wrong. What does the debugger / logcat output tell you? Well, as I

[android-beginners] Android Tutorial 099 (The secret to programming for android)

2010-03-20 Thread Gethin Dawson
You may find yourself lost trying to learn to program for android if you don't know about this document... The problem is that most tutorial books dont talk about it, but you need to understand it thoroughly before you can start programing. Most beginners will waste days or weeks before finally com

[android-beginners] 30 top android apps

2010-03-20 Thread Gethin Dawson
Here are the 30 top android apps for all android phone users. For developers these are the apps that you admire and hope to have something like them in you archives some days... http://bit.ly/8XGOPe -- You received this message because you are subscribed to the Google Groups "Android Beginners"

[android-beginners] App for submitting information

2010-03-20 Thread KE
I'm trying to create a basic app where users can submit information and pictures (preferably taken on the phone, obvs.). Are there any suggestions for tutorials? Thanks! -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and

[android-beginners] onClickListener of a view

2010-03-20 Thread Luca Bedogni
Hi I have the following code: int x = (int)Math.round(Math.random()*200); int y = (int)Math.round(Math.random()*300); View h = new CustomDrawableView(c,x,y); h.setLayoutParams(new ViewGroup.LayoutParams(

[android-beginners] Re: Serial Data Transfer via Bluetooth

2010-03-20 Thread BobG
Thanks Ben... your message was the clue I needed... I put the backport jar file in a dir in the package, went to the package properties and added the jar under 'link external jars', and the bt chat compiled right up. Lots of details need to be right to get this stuff to work, huh? -- You received

[android-beginners] Re: Android sounds

2010-03-20 Thread BobG
If you have a beep.wav file, make a dir in res called raw, put it there. Up near the top of the activity you have public Mediaplayer beep; then in oncreate you have beep=Mediaplayer.create(getBaseContext(),R.raw.beep); and farther down in an ontouch or onsensorchanged or some other event, you say b

[android-beginners] Re: Android tutorial sites

2010-03-20 Thread jarnaud
Hello, you are right, tutorials site are very important for beginners. Here is another resource: a training based on 21 videos covering all the aspects a beginner should learn. http://android.voxisland.com Videos are HD. Enjoy On Mar 19, 12:44 am, Gethin Dawson wrote: > Tutorial sites are very

[android-beginners] Problems accessing location data in emulator

2010-03-20 Thread Sven Jacobs
Hi all, I'm trying to access location data in the emulator but always receive null values :( This is the code: final LocationManager locationManager = (LocationManager) getSystemService( Context.LOCATION_SERVICE ); if ( locationManager == null ) { return; } final Criteria criteria = new Criteri

Re: [android-beginners] selection random string from strings.xml

2010-03-20 Thread Mark Murphy
Ben Orchard wrote: > I have a strings.xml file that takes the following format (in general): > > > > > > > 1 > ans-a01 > > > There are 200+ questions and response sets. I am trying to select a > random one, (say q183) and then use the text in a text view like such:

[android-beginners] Re: Slowing down gesture builder?

2010-03-20 Thread davemac
Did you set the following in your layout file for the GestureOverlayView? android:gestureStrokeType="multiple" I was assuming from your description that to get 2 strokes in you must have set this, but maybe you're doing 2 in a row really fast. - dave On Mar 18, 1:42 pm, Tim wrote: > Thanks Dav