[android-developers] Re: my Eclipse stuck while running emulator

2011-02-03 Thread Jak
I was running into the same issue...The emulator just stopped and I had to force close it...after digging for a while, I discovered if I do not use the snapshot capability when I create the AVD's they work fine...Running Ubuntu 10.10 with helios rev 1 and ADT 9.0. I also do not have the Honeyco

[android-developers] Re: Contact Picking on Motorola Cliq (1.5)?

2009-12-29 Thread jak.
Hello Suzanne, I'm glad to hear that there is a fix in the works for this bug. Are you aware that there is also a bug when using the create intent? Intent(Intent.ACTION_INSERT,Contacts.People.CONTENT_URI); This does allow me to create a new contact, but the result it sends back to my onActivityR

[android-developers] Re: Safe way to get the My Contacts Group?

2009-11-19 Thread jak.
I'm a little worried about using the literal string 'System Group: My Contacts' to find the group. Can this differ on certain devices or locales? > String where = ContactsContract.Groups.ACCOUNT_NAME + " =='" + toAcct > + "' AND " + ContactsContract.Groups.TITLE + "=='System Group: My > Contacts'"

[android-developers] ContactsContract.Data RAW_CONTACT_ID vs. CONTACT_ID

2009-11-18 Thread jak.
ContactsContract.Data.RAW_CONTACT_ID vs. ContactsContract.Data.CONTACT_ID Can anyone please explain how these two IDs are different. I'm having very strange merge issues when I try to add contacts programmatically, (phone numbers that I mean to set to one contact, end up in another for example)

[android-developers] Re: HTC Hero Contacts ACTION_INSERT intent returns no result

2009-11-17 Thread jak.
} return null; } On Nov 13, 3:10 pm, Mark Murphy wrote: > jak. wrote: > > On every other device when: resultCode == RESULT_OK  it's safe to > > assume that data contains the uri for the newly created contact. > > However on the Hero they return RESULT_OK, y

[android-developers] Re: Copy protection bug statuses

2009-11-16 Thread jak.
It seems to me that these two Issues are identical. We submitted our app with copy protection turned on. We would now like to turn it off (so people with rooted and developer devices can download it), but we don't want to cause crashes on all of our users on Android 1.5. Am I missing something h

[android-developers] Re: Safe way to get the My Contacts Group?

2009-11-16 Thread jak.
I've noticed that if you query the groups database with only the Account name selected: i.e.: String where = ContactsContract.Groups.ACCOUNT_NAME + " =='" + toAcct + "'"; The first record returned is the "System Group: My Contacts" group (at least that's the case on my Droid). Can we assume that t

[android-developers] Safe way to get the My Contacts Group?

2009-11-16 Thread jak.
Hello, I'm adding a new contact using the 2.0 ContactsContract APIs and I was just wondering if this is a safe way to get the "My Contacts" group to set the group membership for my new contact. Or is there a better more standard way to get it? I'm using the literal string "System Group: My Contac

[android-developers] HTC Hero Contacts ACTION_INSERT intent returns no result

2009-11-13 Thread jak.
I'm using this intent to let the user create a contact: intent = new Intent(Intent.ACTION_INSERT,Contacts.People.CONTENT_URI); this.startActivityForResult(intent, CREATE_CONTACT_REQUEST); I use the result of this intent to know uri for the new contact they created. This works on every android dev

[android-developers] Re: Working with the new ContactContracts API

2009-11-05 Thread jak.
er.java:287) > > > > > On Nov 5, 4:41 pm, Dmitri Plotnikov wrote: > > > > > Hi Richard, > > > > > > Regarding photos: are you setting the IS_SUPER_PRIMARY flag on your > > Photo > > > > > row?  The notion of "super-prim

[android-developers] Re: Working with the new ContactContracts API

2009-11-04 Thread jak.
me) >         .build()); > > ops.add(ContentProviderOperation.newInsert(Data.CONTENT_URI) >         .withValueBackReference(Data.RAW_CONTACT_ID, 0) >         .withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE) >         .withValue(StructuredName.DISPLAY_NAME, "Some Body&qu

[android-developers] Working with the new ContactContracts API

2009-11-02 Thread jak.
Hello, I'm currently working on porting our Android app to 2.0 but I'm having a rather hard time figuring out what is required to interact with the new Contacts API. I'm using reflection to decide whether the new API is available, if it is I attempt to use the new features, otherwise I fall back t

[android-developers] Re: Updating ListView on Gallery item select disables focus

2009-02-24 Thread jak.
Nice post btmura, Thank you! I have a similar problem with the Gallery widget loosing focus. I'm dynamically loading images from the internet with an image adapter. Whenever I fetch a new set of pages and tell the image adapter to update itself, the focus in the gallery jumps away. When I move fo