[android-beginners] Re: Question about requestLocationUpdates()

2009-05-27 Thread Mark Murphy
> 1. After making this call, does it actually wait for the location > provider(gps in the above example) to complete the location update > THEN call the listener you give it? In other words, if I'm in my > locationListener() because the above call sent us there, will the > information be current?

[android-beginners] Question about requestLocationUpdates()

2009-05-27 Thread D.
Hello, I have two questions regarding this call: Example Call: locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, locationListener); 1. After making this call, does it actually wait for the location provider(gps in the above example) to complete the location update THEN c

[android-beginners] [android-beginners]GPS Application

2009-05-27 Thread Ashish Dhiman
Hi All, As iam new in java but iam trying to build an GPS application.i need a little help for that. The problem is: i have two classes command.java and positioninfo.java. i want to call requestLocationUpdates(LocationManager.GPS_PROVIDER, 1l, 1f, *command.this*) API in command class but i need

[android-beginners] Re: how to change Widget layout when screen is opend

2009-05-27 Thread Rotem Or
thank you Alan it was realy helpfull On May 27, 2009 5:01 AM, "Alan Cassar" wrote: Yes there is. You can design 2 different layouts, one for horizontal and one for vertical. Under res folder, create folder layout-port and place your portait layout.xml file. create also layout-land and when you

[android-beginners] vertical scrolling TableLayout

2009-05-27 Thread solid
I have a TableLayout that I am trying to set as scrolling vertical but the android framework is ignoring all of the scroll related attributes. At runtime I add a bunch of TableRow objects but like I said, the fill the table until they are off the screen. --~--~-~--~~~--

[android-beginners] Re: Android on Ubunty 9.04

2009-05-27 Thread Mina Shokry
Without changing anything, I tried it again today and it works. thanks you all! On May 26, 1:37 pm, Sean Hodges wrote: > Mina, > > Wonglik's instructions worked for me, on Ubuntu 9.04, 64bit. > > You may have forgotten to check the execute flag on both files: > > cp /etc/udev/rules.d/50-android

[android-beginners] Re: SDL init failure, reason is: No available video device

2009-05-27 Thread David Turner
One possibility is that the emulator is a 32-bit program that expects to use the 32-bit libX11 shared library. You might want to install this if you run on a 64-bit system. On Wed, May 27, 2009 at 11:52 PM, David Turner wrote: > then it means the emulator could not find your X11 library (libX11.

[android-beginners] Re: SDL init failure, reason is: No available video device

2009-05-27 Thread David Turner
then it means the emulator could not find your X11 library (libX11.so.6) through dlopen(). this is really weird, what kind of setup are you using ? On Wed, May 27, 2009 at 7:43 AM, arunjith g wrote: > hi > I have no enviornment variable as SDL_VIDEODRIVER. Im running the emulator > in a ubuntu

[android-beginners] Android emulator starts with a dialog promoting what is the HOME

2009-05-27 Thread Meryl Silverburgh
Hi, Why sometimes when I start Android emulator starts with a dialog promoting what is the HOME? How can I make that dialog goes away? And how can I reset the android emulator so that the dialog appears again? I have tried starting the emulator with '-wipe-data', that does not prompt me back that

[android-beginners] Re: Receiving Changes to the Phone state

2009-05-27 Thread Chris Spicer
Hi Zsolt, I had understood that by prefixing my BroadcastReceiver with '.', Android would look in my default namespace (i.e. I'd get "com.technicana.customercontact." for free). Is this correct? I am wondering whether my complete lack of any activity or service in my manifest is preventing thin

[android-beginners] Re: very urgent

2009-05-27 Thread Nicholas Radford
Nope, but the developer documents at http://Android.com has good documentation, and has some tutorials on database access. Again, better subjects for your emails please. On May 27, 2009 12:53 PM, "sahil mehta" wrote: Hello. I am Sahil here i am developing my application in android. and i wa

[android-beginners] How to set the width of Dialog Box?

2009-05-27 Thread swati shamkuwar
Hi In my project i want to set the width for dialogBox DialogBox is containing 4 textView and 4 spinner items with one Button. So i want to set the width as one textView and one spinner item will place horizontally. Any suggestions will welcome with code. Thanks in advance -Android beginner --~

[android-beginners] Re: how to change Widget layout when screen is opend

2009-05-27 Thread Alan Cassar
Title: signature Yes there is. You can design 2 different layouts, one for horizontal and one for vertical. Under res folder, create folder layout-port and place your portait layout.xml file. create also layout-land  and when you create a new layout inside this folder, it will automatically be

[android-beginners] very urgent

2009-05-27 Thread sahil mehta
Hello. I am Sahil here i am developing my application in android. and i want to create database for that but i dont know how to create the database... i know the methods openorcreate() open and dbhelper and all but i dont know how to use them in project so i need the code which create the data

[android-beginners] Re: very very urgent need

2009-05-27 Thread ayush
there is an excellent example of how to read and write to a txt file on android in the following book - The Busy Coder's Guide to Android Development by Mark Murphy. it covers all aspects of this topic and is very easy to understand. it'll also serve as a good reference for other aspects of androi

[android-beginners]

2009-05-27 Thread Pushpa H
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubs

[android-beginners] XmlReader with InputSource encoding issue

2009-05-27 Thread RTX
XmlReader with InputSource crash when xml encoding is "windows-1255" what can i do i tried to set inputSource.SetEncoding(cp1255) then it gives me unknown encoding i know its probebly a java thing and not android but i will be happy to get help here --~--~-~--~~~-

[android-beginners] how to change Widget layout when screen is opend

2009-05-27 Thread RTX
please any help will be welcome im stuck with vertical widget that looks like hell on horizontal what event is being fierd when screen is being opend i can probebly change the images by the code in there if i would only knew what event is fired and what filter do i need but im sure there is a

[android-beginners] Re: Where are the table layout sample files?

2009-05-27 Thread Sean Hodges
Check out table_layout_10.xml: http://developer.android.com/guide/samples/ApiDemos/res/layout/table_layout_10.html It uses a table containing TextView's and Button's. Basically, you want a series of TableRow views, containing the Button views inside (each View becomes a new cell).

[android-beginners] Re: very very urgent need

2009-05-27 Thread Sean Hodges
Abdelkarim, Take a look at the developer guide for information on data storage, including files: http://developer.android.com/guide/topics/data/data-storage.html There is a tutorial on reading/writing files in Android here: http://www.anddev.org/working_with_files-t115.html As an aside-note: t

[android-beginners] Re: can we use "adb install" or other else command to install all of .apk in a Dir once?

2009-05-27 Thread Sean Hodges
Luke, Perhaps you could run "adb install" across the directory contents? e.g. find ~/Desktop -name "*.apk" -execdir adb install {} \; On Tue, May 26, 2009 at 7:47 AM, Luke wrote: > > Greetings, > As the tittle. > Thx > > > > --~--~-~--~~~---~--~~ You received

[android-beginners] Re: very very urgent need

2009-05-27 Thread abdelkarim bezi
hi Aakash Patel thank you i'd like an example explaining how to access file and read data from it.(all th procedure) thank you. 2009/5/27 Aakash Patel > > How is your application accessing an external resource on the computer > like that? That is not possible. > > On May 26, 4:02 pm, abdelkarim