[android-developers] Re: onActivityResult called before setResult

2009-09-02 Thread cadlg
Yes, check the launch mode of your activity in your Manifest. On Sep 2, 11:12 am, Dianne Hackborn hack...@android.com wrote: Look at the log.  You are probably starting the activity with NEW_TASK (or the activity's launch mode is singleTask ot singleInstance), in which case no result can be

[android-developers] Re: Problem in simple Code SQLite

2009-09-01 Thread cadlg
Have you checked the value of db before the call to openOrCreateDatabase ? On Sep 1, 12:56 am, Bharath B.G. bharath.ml...@gmail.com wrote: Hi, I am very new to SQLite, i referred some books regarding coding in SQLite n went straight for coding But while i run my simple code i am getting

[android-developers] Re: about adc2 app

2009-08-31 Thread cadlg
Why would it be invalid ??? It doesn't make any sense. If the app works as expected, the only downside I see is the APK size. On Aug 31, 8:10 am, omnitial omnit...@gmail.com wrote: i'm not getting any answer :(( plz some one say something :( im really confused now On Aug 31, 1:26 pm,

[android-developers] Re: What is the approx time taken to register as a developer and to be able to publish apps on the Android Market?

2009-08-25 Thread cadlg
On Aug 25, 5:43 am, for android forandr...@gmail.com wrote: What is the approx time taken to register as a developer and to be able to publish apps on the Android Market?         its simple 15 mins max. Do we need to wait for any approval from google to be able to publich the apps once

[android-developers] Re: More efficient way to get the resource id of a drawable from its name than using getResources().getIdentifier()

2009-08-24 Thread cadlg
Anybody ? On Aug 21, 6:10 pm, cadlg carlos@gmail.com wrote: I have some image names stored in a database, but the images themselves are in the /res/drawable folder of the application. I need to assign these images to some views at runtime, and I'm currently doing it this way

[android-developers] More efficient way to get the resource id of a drawable from its name than using getResources().getIdentifier()

2009-08-21 Thread cadlg
I have some image names stored in a database, but the images themselves are in the /res/drawable folder of the application. I need to assign these images to some views at runtime, and I'm currently doing it this way: //-- public static final

[android-developers] Re: How to pick the mobile phone number of a contact using an Intent

2009-08-20 Thread cadlg
anybody ? On Aug 19, 5:27 pm, cadlg carlos@gmail.com wrote: Hello friends. I'm using this code to pick a contact:          Intent i = new Intent(Intent.ACTION_PICK, People.CONTENT_URI);           startActivityForResult(i, PICK_CONTACT_FROM_LIST); And this to read the phone numbers

[android-developers] How to pick the mobile phone number of a contact

2009-08-19 Thread cadlg
Hello friends. I'm using this code to pick a contact: Intent i = new Intent(Intent.ACTION_PICK, People.CONTENT_URI); startActivityForResult(i, PICK_CONTACT_FROM_LIST); And this to read the phone numbers of the picked contact: protected void onActivityResult(int

[android-developers] How to pick the mobile phone number of a contact using an Intent

2009-08-19 Thread cadlg
Hello friends. I'm using this code to pick a contact: Intent i = new Intent(Intent.ACTION_PICK, People.CONTENT_URI); startActivityForResult(i, PICK_CONTACT_FROM_LIST); And this to read the phone numbers of the picked contact: protected void onActivityResult(int