Re: [android-developers] startService with explicit intent is not working to start framework service.

2015-04-29 Thread Rashmi
Thank you -- 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+unsubscr...@googlegroups.com For more

[android-developers] startService with explicit intent is not working to start framework service.

2015-04-28 Thread Rashmi
Hi, I have added MyService in android/framework/base/services/ space and registered that service in AndroidManifest.xml of android/frameworks/base/core/res/. Calling startService() of MyService, from test application is working fine with implicit intent. But explicit is not working with

Re: [android-developers] startService with explicit intent is not working to start framework service.

2015-04-28 Thread rashmi ks
Custom build of Android On Tue, Apr 28, 2015 at 11:35 PM, Justin Anderson magouyaw...@gmail.com wrote: Are you writing this for a rooted device or for a custom build of Android? On Tue, Apr 28, 2015, 7:10 AM Rashmi rashmi@gmail.com wrote: Hi, I have added MyService in android/framework

[android-developers] Can't create handler inside thread that has not called Looper.prepare()

2014-02-26 Thread Rashmi
Hi, I am binding from service1 in app1 to service2 in app2 through aidl. In service2 to I have defined the aidl stub api's which has some handler. If I tried to access the service2 api through binder from service1, I am getting the following exception java.lang.RuntimeException: Can't create

[android-developers] android.os.TransactionTooLargeException on applyBatch()

2013-07-02 Thread Rashmi
Hi, In my application, I am executing applyBatch() on contacts database to insert huge contacts. Calling applyBatch() with 490 operations at a time. But the insertion is failing with 'android.os.TransactionTooLargeException'. Reduced the operation size to 200. Still I am getting the same

[android-developers] Android Market app on ICS emulator

2012-02-08 Thread Rashmi
Hi, I am trying to get android market application on ICS emulator. I followed the steps given in the following link http://blog.varunkumar.me/2010/11/how-to-install-android-market-in-google.html I am able to get market icon on emulator, but not able to login to Google account and it is giving the

[android-developers] NetworkManagementSocketTagger(393): untagSocket(51) failed with errno -2

2012-01-04 Thread Rashmi
Hi, I am trying to download the application from Browser on ICS emulator and getting the following error with download unsuccessful. 01-04 05:27:54.446: I/DownloadManager(393): Initiating request for download 41 01-04 05:27:54.476: D/dalvikvm(155): GC_CONCURRENT freed 386K, 34% free

[android-developers] validating the certificate of apk

2011-09-14 Thread Rashmi
Hi, How does the android system will check the valid certificate while installing an apk. How does it generates the signature and Where does it will store the signature of the apk installed. Please let me know about how to validate the certificate and signature before installing the apk. Thanks,

[android-developers] application/json MIME type in Download Provider

2011-08-08 Thread Rashmi
Hi, I am working on froyo 2.2 for downloading apk from server and install the apk. For this I need download url as input, which I will be passing to Download provider to download the apk. But, along with download url as input I need some more information. So now I am getting the JSON object from

Re: [android-developers] application/json MIME type in Download Provider

2011-08-08 Thread Rashmi
Thanks for the response. My concern is, as Download Provider is already establishing the Http Connection and handling all the exceptions, I need not to do it for the second time. But this Download Provider is not supporting JSON MIME type and ending with 'no handler found' message. When I add

Re: [android-developers] application/json MIME type in Download Provider

2011-08-08 Thread Rashmi
Thanks Nikolay -- 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+unsubscr...@googlegroups.com For more

Re: [android-developers] Program to generate MD5 hash for apk

2011-07-14 Thread Rashmi
Check if the hash value you have/received is the same as the one you calculated using the actual file. Value you have/received - which value is this. Please explain me in detail, what are the two values to be compared and how to get those two values . Thanks, -- You received this

Re: [android-developers] Program to generate MD5 hash for apk

2011-07-14 Thread Rashmi
Thank you. I got it cleared. Some how I need get the MD5 hash of the apk and then generate hash for apk for comparing. -- 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

[android-developers] Program to generate MD5 hash for apk

2011-07-13 Thread rashmi
Hi, Please let me know how to create a MD5 hash for an apk programmatically. I want to compare the MD5 hash in the certificate and the generated MD5 hash. There are some commands which can be executed from command prompt to generate MD5 hash for an apk. But how do I will generate it through

Re: [android-developers] Program to generate MD5 hash for apk

2011-07-13 Thread rashmi
Hi Nikolay, Thanks for the reply. I need to validate the downloaded apk. So I have to compare the MD5 hash in the certificate against the MD5 hash generated for the apk. But according to you MD5 hash of certificate and apk are different. Then please suggest me how to validate the downloaded apk

[android-developers] Re: Aidl Error : couldn't find import for class org.json.JSONObject

2011-07-08 Thread rashmi
Hi Mark, I am working on froyo2.2 source code. My aim is to include the 'import org.json.JSONObject' statement in aidl file. It is giving the build error - 'couldn't find import for class org.json.JSONObject'. I also tried creating a project in Eclipse and including an aidl file with import

[android-developers] Aidl Error : couldn't find import for class org.json.JSONObject

2011-07-07 Thread rashmi
Hi, I have written an aidl file in the path android/framwork/base/core/ java/com/, which has a import statement - import org.json.JSONObject. But the build is failing with an error - 'couldn't find import for class org.json.JSONObject'. According to my study I found that for import statements in

[android-developers] Junit error - INSTRUMENTATION_FAILED

2011-05-16 Thread rashmi
Hi, I am trying to execute junit test cases on froyo 2.2 source code, from command line with the following command. adb -d shell am instrument -w com.android.camera.tests/ com.android.camera.CameraStressTestRunner And it is giving the error - INSTRUMENTATION_STATUS: id=ActivityManagerService

[android-developers] Re: java.lang.ArrayIndexOutOfBoundsException: too much data for RSA block

2011-04-13 Thread rashmi
I have tried with simple string with out giving UTF-8 format. byte[] bts = encrypted.getBytes(); byte[] decrypted = cipher.doFinal(bts); Then also it will give same error. Thanks, Rashmi On Apr 12, 6:06 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: Blind shot - String != byte

[android-developers] java.lang.ArrayIndexOutOfBoundsException: too much data for RSA block

2011-04-12 Thread rashmi
); } Encryption is working fine. But while decryption it is throwing the error java.lang.ArrayIndexOutOfBoundsException: too much data for RSA block. Please let me know how to resolve this problem. Please suggest me if any other asymmetric algorithms to work on large data. Thank you, Rashmi -- You

[android-developers] Re: encrypt/decrypt the data from content provider

2011-04-06 Thread rashmi
it. Thanks and regards, Rashmi On Apr 6, 2:31 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: On 6 April 2011 07:16, rashmi rashmi@gmail.com wrote: I want to encrypt the data before insertion through content provider and decrypt while reading the data. So that encrypted data

[android-developers] encrypt/decrypt the data from content provider

2011-04-05 Thread rashmi
Hi, I am using content provider to access the database. I want to secure my data by encryption. Please let me know, how we can encrypt and decrypt the data from content provider. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: encrypt/decrypt the data from content provider

2011-04-05 Thread rashmi
I want to encrypt the data before insertion through content provider and decrypt while reading the data. So that encrypted data will be saved in database. Please provide me the information On Apr 5, 6:20 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: On 5 April 2011 15:00, rashmi rashmi

[android-developers] Stop installation of package

2011-01-27 Thread rashmi
the installation. Thanks, Rashmi -- 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+unsubscr...@googlegroups.com

[android-developers] Class not found when unmarshalling

2011-01-19 Thread rashmi
this exception when I click on android market app, which tries to launch google login activity through GoogleLoginService. Please let me know if any solution. Thanks, Rashmi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] blocking non market app programatically

2011-01-04 Thread rashmi
Hi, Please let me know how to identify the non market app and how to block the installation of non market app programatically through PackageManager. Thankyou -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] How to block the installation of application

2011-01-04 Thread rashmi
Hi, Please let me know how to block/unblock the installation of non market application in android 2.2 source code. I am trying this with Package Manager Service. Is this is the correct path to block. Thank you -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Stack trace Exception

2010-07-28 Thread rashmi
Please help me out i really need to develop d project in android On Jul 27, 6:14 pm, rashmi rashmi2...@gmail.com wrote: Hello frenz,    i have written an application in eclipse to run on android emulator but the application is not deploying  on emulator and it says Failed to load properties

[android-developers] Stack trace Exception

2010-07-27 Thread rashmi
Hello frenz, i have written an application in eclipse to run on android emulator but the application is not deploying on emulator and it says Failed to load properties file for project helloworld. in the error report it says An exception for stack trace is not available. I am not able to

[android-developers] Re: Issue using protocol buffer in Android

2010-06-24 Thread Rashmi
the payload class provides a convenient method toByteArray() which have to be used. changed the above code to p = payload.build(); //p is a payload object. return p.toByteArray(); Regards Rashmi On Jun 15, 11:26 am, Rashmi rashmi.malav...@gmail.com wrote: message info {                required

[android-developers] Issue using protocol buffer in Android

2010-06-15 Thread Rashmi
this link for more info on protocol buffer object http://code.google.com/apis/protocolbuffers/docs/overview.html Thanks Rashmi -- 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

[android-developers] Facing problem while playing video on emulator

2010-01-20 Thread rashmi
Hello, I am new to Android and learning it. I have tried to play video on my emulator from sdcard having extension as .3gp and .mp4, both are not working properly. There audio i can hear but it shows video as still image and after some time it gives error like Sorry this video can not be played.

[android-developers] Re: SDK 1.5 and multiple projects in an application

2009-05-05 Thread Rashmi
I cannot make the first project to be java project. How do I resolve this issue? Thanks Rashmi. -- Forwarded message -- From: sktech info.sktechnol...@gmail.com Date: Apr 16, 6:47 am Subject: SDK 1.5 and multiple projects in an application To: Android Developers So, what

[android-developers] Re: Continuing topic Bind to a remote service

2009-04-30 Thread Rashmi GP
? Since the ability for one application to access elements of another application is a central feature of android, why is there limited/no documentation on this? More information/examples would be very helpful. Thanks in advance, Rashmi. -- Forwarded message -- From: rktb yend