On Wed, May 18, 2011 at 5:10 AM, souissi haythem <[email protected]>wrote:

> > I do not believe that SDK applications can successfully receive this
> permission.
> >
> So maybe i can do it with NDK application??
>

No, you can't.  The NDK does not give you any more functionality (actually
much less) than the SDK.

Also this is an abuse of Instrumentation -- that class is not for you to
instantiate, it is the base class for writing instrumentation test cases.
 What you are doing is as odd as new Activity() or new Service().

-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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

Reply via email to