[android-beginners] ongoing battle with activity life cycle

2008-04-14 Thread hal
I have a home button in my menu that takes me back to the first page. However, the first page also loads a ton of junk from a db when it is created, which is frighteningly slow. Is there some way to check if it is already created and resume that old one instead of creating a new Activity? --~--~--

[android-beginners] Re: About com.google.android.gtalkservice.

2008-04-14 Thread Analdin Judy
If u cant understand my question please leave it.please dont hurt by words. --~--~-~--~~~---~--~~ 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

[android-beginners] Re: the best site about girl & boy sex. have alook...

2008-04-14 Thread tim jones
On Mon, Apr 14, 2008 at 8:29 PM, dfffw <[EMAIL PROTECTED]> wrote: > > http://www.funlovegirls.xx BS spam reported --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, sen

[android-beginners] Fwd: putting custom class into extra

2008-04-14 Thread Zalunin Pavel
hey i've activity PropertiesActivity i wanna start this activity from another activity (using startSubActivity) and put my class Class (implements Serializable) into extra when i do Intent intent = new Intern(this, PropertiesActivity.class); intent.putExtra("whiter4bbit.classes.Class", classInsta

[android-beginners] putting custom class into extra

2008-04-14 Thread Zalunin Pavel
hey i've activity PropertiesActivity i wanna start this activity from another activity (using startSubActivity) and put my class Class (implements Serializable) into extra when i do Intern intern = new Intern(this, PropertiesActivity.class); intern.putExtra("whiter4bbit.classes.Class", classInsta

[android-beginners] Re: Webpage Interaction - File Uploads

2008-04-14 Thread Bryan.paul
I just found this and thought others interested might benefit from it: http://getablogger.blogspot.com/2008/01/android-how-to-post-file-to-php-server.html It shows both the webserver and android end to uploading a file. Any other input is still appreciated, although this appears to be what I was

[android-beginners] Adding file to emulator

2008-04-14 Thread Fikre
I'm trying to add a kml file, and a properties file, to the location folder under /data/misc/location/myLoc. The files appear are copied to the emulator, however when when i restart the emulator the files, and the folder i created aren't there anymore. Am i missing something? --~--~-~--~

[android-beginners] Webpage Interaction - File Uploads

2008-04-14 Thread Bryan.paul
I have been reading a lot of documentation, and I'm looking to start building my application very soon. However, I'm not sure how I want to handle a key aspect of it, and I want to get it straightened out before I get too far in the development process: I want users to be able to upload a file fr

[android-beginners] Code for Accelerometer

2008-04-14 Thread marioneil
Does anyone have any sample code that shows how to use the accelerometer in a sample application? I have currently setup openintents SensorSimulator. But i dont have any idea how the apis are used in the samples (Moving Pyramid ) they have provided. http://code.google.com/p/openintents/wiki/Sens

[android-beginners] Re: Accessing XML views in the code

2008-04-14 Thread Carlo Brualdi
You access XML Views by their ids, so if your TextView has the "tv1" id attribute, you can use the standard way to access and modify it: TextView tv = (TextView) findViewById(R.id.tv1); and than.. tv.setText("New text"); On Apr 14, 3:58 pm, Bernardo <[EMAIL PROTECTED]> wrote: > Hello everyone,

[android-beginners] Re: problems with determining selection on ListView items

2008-04-14 Thread Agus
Whenever selection changes the selectionChanged() of ListView is called. Override the class ListView and override that method. Agus. On 4/14/08, WildLuka <[EMAIL PROTECTED]> wrote: > > hi, > > How am I supposed to determine whether an item in a listview has been > selected ? I have extended t

[android-beginners] How to find businesses in a 1 mile radius from current location.

2008-04-14 Thread VRao
Hi How to find businesses in a 1 mile radius from current location. I know we can use Geocoder or GmmGeocoder for this. But both are not working for a specified radius. Can anyone give examples for this? --~--~-~--~~~---~--~~ You received this message because you

[android-beginners] Accessing XML views in the code

2008-04-14 Thread Bernardo
Hello everyone, I was trying to build an app for Android and got through the official tutorials... most of them use UI's created by a XML file... My question is: how do I access a view that has been created through a XML file at runtime? example: I create a TextView with "Original text" as it's

[android-beginners] problems with determining selection on ListView items

2008-04-14 Thread WildLuka
hi, How am I supposed to determine whether an item in a listview has been selected ? I have extended the BaseAdapter class and the methods getSelectedItemId() and getSelectedItemPosition() are not truly reliable as they return 0 even though no selection has been made, thus pointing to the very f

[android-beginners] Re: Eclipse Europa 3.3 on Win. XP

2008-04-14 Thread OkaMthembo
ps - After deleting the old Eclipse installation, he did re-install! :) Pointed out for brevity. On Mon, Apr 14, 2008 at 10:40 AM, OkaMthembo <[EMAIL PROTECTED]> wrote: > Hi guys, > > I finally solved my problem and thought i'd share. A friend came over and > he deleted my old Eclipse installatio

[android-beginners] Re: Eclipse Europa 3.3 on Win. XP

2008-04-14 Thread OkaMthembo
Hi guys, I finally solved my problem and thought i'd share. A friend came over and he deleted my old Eclipse installation folder from C:/Program Files. He then put the path to my jdk1.6 installation directory in the PATH environment variable. He also moved the Eclipse Europa executable to the Java