Re: [android-developers] Re: Compression of files kept in Assets folder and in res\raw folder.

2014-03-23 Thread sushant sharma
This sounds something I need. I will try the same and update the thread. Thanks Leonid. On Mon, Mar 24, 2014 at 11:33 AM, Leo wrote: > Sure, you can access your entire apk from within NDK and native code, but > it'll be a little bit harder than from java. > > 1. You need to include libzip into

Re: [android-developers] Re: Compression of files kept in Assets folder and in res\raw folder.

2014-03-23 Thread Leo
Sure, you can access your entire apk from within NDK and native code, but it'll be a little bit harder than from java. 1. You need to include libzip into your project and compile it together with your own C++ code. 2. Pass the full path to your apk file from Java to C++ method 3. Open APK with l

[android-developers] How to find outgoing call is answered

2014-03-23 Thread Arun Kumar K
Hi, I am developing a small application. *i don't know how to find My outgoing call is answered or not. *If any one knows please tell me.. -- *Regards* *Arun* -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

Re: [android-developers] Re: Compression of files kept in Assets folder and in res\raw folder.

2014-03-23 Thread sushant sharma
Thanks for the reply Leonid. This is close to what I am looking for. What is problem is that I want to access the file from the native code. >From the java code, I would have used the asset manager itself. These are my requirements: 1) I want to access the file through the native code. 2) prefera

[android-developers] How to inject mock objects in Android?

2014-03-23 Thread Yuvi
Hi, I am facing issue while unit testing : // Service class that have to be tested. class FooService extends Service{ public static FooService sFooService; private Bar mBar = new Bar(); //Other private objects @Override protected void onCreate() { sFooSer