Thursday, September 30, 2010

[android-developers] Re: Problem with reading contacts on Samsung Galaxy Europa

actually it does show me a list (calling ACTION_VIEW or ACTION_PICK)
using ContactsContract.Contacts.CONTENT_URI. but we wanted to call the
samsung's native contacts activity which is named something like
PhoneBookTopMenuActivity. Also i noticed that instead of the two
actions i;ve mentions they are using this activity with filters
action=main; category=launcher which is odd right?

On Sep 30, 3:42 pm, Zarah Dominguez <zarah.doming...@gmail.com> wrote:
> Yeah, hope we get feedback soon.  Mark Murphy referred me to this:http://code.google.com/p/android/issues/detail?id=10143
>
> Hi Mike,
>
> How did you handle this on your end?
>
> -Zarah.
>
> On Sep 30, 1:04 pm, mikedroid <michan...@gmail.com> wrote:
>
>
>
> > yes im having this problem also hope they can check it soon
>
> > On Sep 28, 12:45 am, Zarah Dominguez <zarah.doming...@gmail.com>
> > wrote:
>
> > > Hi Alberto,
>
> > > Sorry, I only saw this thread again today.
>
> > > I wasn't able to launch the Phonebook, I just added a small bit of
> > > code to check if there is someone who can receive the phonebook
> > > intent.
>
> > > PackageManager pkgMgr = getPackageManager();
> > > List<ResolveInfo> list = pkgMgr.queryIntentActivities(new
> > > Intent(Intent.ACTION_VIEW,Contacts.CONTENT_URI),
> > > PackageManager.MATCH_DEFAULT_ONLY);
> > > if (list.isEmpty()){
> > >         // I just remove the menu item to access the phonebook
> > >         menu.removeItem(R.id.app_menu_contacts);
>
> > > }
>
> > > Maybe you can try this approach also.
>
> > > Hope this helps,
> > > Zarah.
>
> > > On Aug 28, 3:36 am, Albert <albert8...@googlemail.com> wrote:
>
> > > > Hi Zarah,
>
> > > > I have reports of the app launching a blank screen but not crash. I am
> > > > getting aSamsungSpica this week but you have already stated that it
> > > > works there so that won't be of any use. For my app is wan't so
> > > > critical so I just instructGalaxySusers to insert those details
> > > > manually. The best is probably to contactSamsungdevelopment
> > > > department and find out what mess they have done and from there find a
> > > > suitable solution.
>
> > > > If you ever find a solution, please let me know.
>
> > > > Alberto
>
> > > > On Aug 23, 10:20 am, Zarah Dominguez <zarah.doming...@gmail.com>
> > > > wrote:
>
> > > > > Hi Alberto,
>
> > > > > I saw this on theGalaxySalso.  I have tested the app on theGalaxy
> > > > > Spica (i5700), it is working perfectly.  But when I tested the app on
> > > > > theGalaxyS, the app crashes.
>
> > > > > I haven't found a solution yet, but this is what I found from Logcat:
> > > > > 08-23 17:14:30.394: INFO/ActivityManager(2244): Displayed activity
> > > > > com.android.contacts/
> > > > > com.sec.android.app.contacts.PhoneBookTopMenuActivity: 452 ms (total
> > > > > 452 ms)
>
> > > > > Versus what is seen from the emulator:
> > > > > 08-23 17:18:08.533: INFO/ActivityManager(52): Displayed activity
> > > > > com.android.contacts/.DialtactsContactsEntryActivity: 348 ms (total
> > > > > 348 ms)
>
> > > > > Looks like theGalaxyShas a different way of handling intents for
> > > > > the Phonebook.
>
> > > > > If you find a solution, please let me know also.
>
> > > > > Thanks!
> > > > > -Zarah
>
> > > > > On Aug 12, 7:06 pm, Albert <albert8...@googlemail.com> wrote:
>
> > > > > > I have an user from my app that has reported this issue on aSamsung
> > > > > >GalaxyS. Do you know why it's happening? Did you find a solution?
>
> > > > > > -Alberto
>
> > > > > > On Aug 6, 1:46 pm, Alok Kulkarni <kulsu...@gmail.com> wrote:
>
> > > > > > > yeah it is only happening on that deviuce. But i have found a different
> > > > > > > solution to it which i will put up here tomorrow.
>
> > > > > > > On Wed, Aug 4, 2010 at 12:51 PM, dan raaka <danra...@gmail.com> wrote:
> > > > > > > > Is this happening only on Europa ?
>
> > > > > > > > -Dan
>
> > > > > > > > On Wed, Aug 4, 2010 at 12:26 PM, Alok Kulkarni <kulsu...@gmail.com> wrote:
>
> > > > > > > >> Hi , i am using
> > > > > > > >> startActivityForResult(intent,PICK_CONTACT);
> > > > > > > >> Its working on Android 1.5 to 2.1 except for the 2.1 deviceSamsung
> > > > > > > >> Europa..On that device , i am not able to read thecontacts, its returning
> > > > > > > >> empty result.
> > > > > > > >> here is the link i referred for the code
> > > > > > > >>http://www.droidnova.com/use-intents-to-start-other-activities,76.html
> > > > > > > >> Is thr something i m missing ?
> > > > > > > >> --
> > > > > > > >> You received this message because you are subscribed to the Google
> > > > > > > >> Groups "Android Developers" group.
> > > > > > > >> To post to this group, send email to android-developers@googlegroups.com
> > > > > > > >> To unsubscribe from this group, send email to
> > > > > > > >> android-developers+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > > > > > > >> For more options, visit this group at
> > > > > > > >>http://groups.google.com/group/android-developers?hl=en
>
> > > > > > > >  --
> > > > > > > > You received this message because you are subscribed to the Google
> > > > > > > > Groups "Android Developers" group.
> > > > > > > > To post to this group, send email to android-developers@googlegroups.com
> > > > > > > > To unsubscribe from this group, send email to
> > > > > > > > android-developers+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > > > > > > > For more options, visit this group at
> > > > > > > >http://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment