top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Trying to debug / step through the native contacts API in android

+1 vote

We have an app that sync's its contacts with the native contacts app under a new account/content provider created by our app.

There are a few cases where we are unable to edit or update our app's contacts and receive errors like "Not editable from this app" (4.22) or "unable to edit from this app" (4.1.2)

I've cloned the git source for 4.22 contacts api and have added to my android project from Team - Share Project though i still don't understand how I can step through the native contacts code. I have found 2 places in the code where the above error is called, and I'm wanting to know which case we are hitting to better understand how to resolve the issue

posted Jul 24, 2013 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+3 votes

We using C++ in the media layer and we want to raise the priority of our _AUDIO PROCESSING_ thread, to make sure the audio works well even the CPU is high (totally %98 on an slow Phone).

I have searched on google and find to use _setpriority( PRIO_PROCESS, 0, priority); but _setpriority function is change the process priority instead of the thread.

I know there is Java API to do that, but we need an C++ API. So does there any way to raise an single thread priority from C++ code?

+2 votes

I want to create an alertbox whenever any app creates an camera object. But I am not able to access to activity in frameworks/base/core/java/android/hardware/ to create an alertbox.

Could you help me out how can I capture activity related to camera in frameworks/base/core/java/android/hardware/

+1 vote

Hi, Being a learner. I am here to participate just like other android developer forum to enhance my knowledge regarding Android Programming & I would like to know that "how to debug my database and shared preferences in an android application", which has become difficult to debug. I hope any tech developer help me in resolving this issue.

0 votes

Can anyone suggest the library for Push Notification?