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" <justin.shapc...@gmail.com>
"nEx.Software" <justin.shapc...@gmail.com> Sent by: android-developers@googlegroups.com 02/20/2009 10:12 AM Please respond to android-developers@googlegroups.com |
|
To | Android Developers <android-developers@googlegroups.com> |
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=commit;h=1d4c75065966c4f6f56900e31f655bfd1b334435
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, sunil.mahar...@lntinfotech.com 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" <justin.shapc...@gmail.com>
> Sent by: android-developers@googlegroups.com
> 02/19/2009 10:50 PM
> Please respond to
> android-developers@googlegroups.com
>
> To
> Android Developers <android-developers@googlegroups.com>
> 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/and made 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 <sunil.mahar...@lntinfotech.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---