[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 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 returned. > > On W

[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." 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 error "the application

[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 wrote: > i'm not getting any answer :(( plz some one say something :( im really > confused now > > On Aug 31, 1:26 pm, omnitial wrote: > >

[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 wrote: > < able to publish apps on the Android Market?>> >         its simple 15 mins max. > < the apps once registered as a developer and a Google checkout > merchant?>> > No.u just need to agree to the terms and conditions > > > > On Tue, Aug 25, 2009 at 5:11 P

[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 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 > current

[android-developers] ADC 2 Submission site is now open

2009-08-24 Thread cadlg
The ADC 2 Submission site is not open: Here's the link: https://www.google.com/accounts/ServiceLogin?service=androiddeveloper&passive=true&nui=1&continue=http%3A%2F%2Fmarket.android.com%2Fadc&followup=http%3A%2F%2Fmarket.android.com%2Fadc

[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 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

[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 reque

[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 reque