[android-developers] Re: How to compile G1 apps code

2009-02-26 Thread Sunil . Maharana
Thanks, after removing the sharedUserId the error was gone. In Cameara app code Camera.java has the below code and it was giving error for MediaStore.ACTION_IMAGE_CAPTURE.equals(action). private boolean isPickIntent() { String action = getIntent().getAction(); return

[android-developers] Re: How to compile G1 apps code

2009-02-24 Thread Sunil . Maharana
Thanks, after removing the sharedUserId the error was gone. In Cameara app code Camera.java has the below code and it was giving error for MediaStore.ACTION_IMAGE_CAPTURE.equals(action). private boolean isPickIntent() { String action = getIntent().getAction(); return

[android-developers] Re: How to compile G1 apps code

2009-02-22 Thread Sunil . Maharana
Yes i changed the package name. Josh Dobbs joshdo...@gmail.com Sent by: android-developers@googlegroups.com 02/20/2009 11:15 PM Please respond to android-developers@googlegroups.com To android-developers@googlegroups.com cc Subject [android-developers] Re: How to compile G1 apps code

[android-developers] Re: How to compile G1 apps code

2009-02-21 Thread Sunil . Maharana
I just created a new Android Project and change the Camera code for import packages and commented the code those are not required for me, i could have able to remove all the syntex errors.For the first time i ran the project and it was giving some errors and i ignored those, when i try to ran it

[android-developers] Re: How to compile G1 apps code

2009-02-20 Thread Sunil . Maharana
I just created a new Android Project and change the Camera code for import packages and commented the code those are not required for me, i could have able to remove all the syntex errors. For the first time i ran the project and it was giving some errors and i ignored those, when i try to ran

[android-developers] Re: How to compile G1 apps code

2009-02-19 Thread Sunil . Maharana
How did you compiled the Calculator code after you made your changes, can you plz lemme me know the procedure. I just want to change the Camera UI to add some extra button, when i press that button it should invoke my application. But i am not getting how to start and how to compile the Camera

[android-developers] Re: How to stop an Activity

2009-02-16 Thread Sunil . Maharana
I have added the below code in my Activity to stop the Activity, but it doesn't stop my Activity. protected void onDestroy() { finish(); // TODO Auto-generated method stub super.onDestroy(); } My objective is to stop/kill the current Activity, so that it

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-15 Thread Sunil . Maharana
After i set the build path it is compiled fine no more erros. Bu the moment i wanna to call the Interfaces like registerCallback, its giving few errors as below: 02-16 10:31:15.413: ERROR/JavaBinder(278): *** Uncaught remote exception! (Exceptions are not yet supported across processes.) 02-16

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-14 Thread Sunil . Maharana
Hi Hans,Thanks for your help Hans, i have created two projects same as your project name and added your files, the TestService project is fine, but for ServiceMonitor project it is giving error at the import statement only.It is not allowing to import the TestService as "The import

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-13 Thread Sunil . Maharana
Hi All, When my client code calls bindService it was fine and it calls onServiceConnected, there i am calling the interface method using the .Stub.asInterface(service) object and there only it gives me bunch of error as: 02-13 17:14:52.239: WARN/Parcel(1035): enforceInterface()

[android-developers] Re: How to invoke a service of one APK in another APK

2009-02-10 Thread Sunil . Maharana
Hi, My objective: I want to develop two .apks as .apk#1 and .apk#2. My .apk#1 has one serice as serv#1 and .apk#2 has serive as .serv#2. I wanna to invoke the serv#1 of .apk#1 in serv#2 of .apk#2. For time being i have created two .apks and thinking how to commucate between them, i mean how

[android-developers] Re: How to invoke a service of one APK in another APK

2009-02-08 Thread Sunil . Maharana
Hi, My objective: I want to develop two .apks as .apk#1 and .apk#2. My .apk#1 has one serice as serv#1 and .apk#2 has serive as .serv#2. I wanna to invoke the serv#1 of .apk#1 in serv#2 of .apk#2. For time being i have created two .apks and thinking how to commucate between them, i mean how