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 (Intent.ACTION_PICK.equals(action) ||
MediaStore.ACTION_IMAGE_CAPTURE.equals(action));
}
I am using the SDK 1.0, is it supported or not? If not then is there any
other way to update the code to capture the picture.
I am getting error to import the below, has one has any idea to resolve
this:
import android.provider.DrmStore;
"nEx.Software" <[email protected]>
Sent by: [email protected]
02/23/2009 08:53 PM
Please respond to
[email protected]
To
Android Developers <[email protected]>
cc
Subject
[android-developers] Re: How to compile G1 apps code
You are getting that error because sharedUserId requires packages
using that ID to be signed with the same certificate.
Maybe just try removing the sharedUserId?
On Feb 22, 9:10 pm, [email protected] wrote:
> Yes i changed the package name.
>
> Josh Dobbs <[email protected]>
> Sent by: [email protected]
> 02/20/2009 11:15 PM
> Please respond to
> [email protected]
>
> To
> [email protected]
> cc
>
> Subject
> [android-developers] Re: How to compile G1 apps code
>
> Im just guessing but did you change the package name?
>
> On Fri, Feb 20, 2009 at 7:00 AM, <[email protected]> wrote:
>
> 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 second time it was giving error as
> Installation error: INSTALL_FAILED_SHARED_USER_INCOMPATIBLE
>
> has any one experienced this type of error.
>
> I just checked the my Manifest.xml file and i am using shareUserId same
as
> the camera apps is using
> android:sharedUserId="android.media">
>
> "nEx.Software" <[email protected]>
> Sent by: [email protected]
> 02/20/2009 10:12 AM
>
> Please respond to
> [email protected]
>
> To
> Android Developers <[email protected]>
> cc
>
> Subject
> [android-developers] Re: How to compile G1 apps code
>
> I'm on Windows... And I know nothing of Git so here's my process...
>
> For Camera.apk source, go to:
http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=...
>
> Download each raw file do your PC.
> Create a new Android Project in Eclipse.
> Import all of the downloaded files.
> Update the code as you wish.
>
> Make sure you change the Package Name in all places in the project
> else you won't be able to install it.
> If the Camera uses any internal classes, you won't be able to do this
> without the full Android source,
> And it's not generally OK to do this as non-SDK based apps are not
> supported.
>
> If all goes well, you can install directly to your phone and if you
> want upload to the Market.
>
> On Feb 19, 9:29 pm, [email protected] wrote:
>
>
>
> > 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 apps
> code.
> > Can it be possible to Compile the Camera code indipendently, actually
i
> > couldn't find in the code any .apk file for Camera. So i am not sure
how
> > to compile the apps code.
>
> > "nEx.Software" <[email protected]>
> > Sent by: [email protected]
> > 02/19/2009 10:50 PM
> > Please respond to
> > [email protected]
>
> > To
> > Android Developers <[email protected]>
> > cc
>
> > Subject
> > [android-developers] Re: How to compile G1 apps code
>
> > I did an app based on the Calculator.. I just downloaded the source
> > fromhttp://android.git.kernel.org/andmade my changes, don't know if
> > the Calendar or Camera use classes outside of the SDK but I'd give
> > that a shot and see what happens.
>
> > On Feb 19, 10:17 am, Android <[email protected]> wrote:
>
> > > Hi..........
>
> > > I wanna to compile the apps code, has any one tried it earlier, if
so
> > > lemme know. How to compile the camera aur calender code.
>
> > > -Sunil
>
> > ______________________________________________________________________
>
> > ______________________________________________________________________
>
> ______________________________________________________________________
>
> ______________________________________________________________________
>
> ______________________________________________________________________
>
> ______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---