Add apps to system.img

766 views
Skip to first unread message

Ne0

unread,
Jul 1, 2009, 7:02:00 AM7/1/09
to android-platform
I have downloaded, built and tested the latest version open source
Android. Though when i load the system.img to my phone (or emulator)
many of the apps are missing, can any one tell me why this is and how
to get them added to system.img?

Thanks.

Disconnect

unread,
Jul 1, 2009, 7:40:06 AM7/1/09
to android-...@googlegroups.com
Probably they are the "google experience" apps, and you get those buy
paying a ton of money to google. ("Android" market, for example.
Gmail. Calendar...)

Warwick...@tieto.com

unread,
Jul 1, 2009, 7:59:06 AM7/1/09
to android-...@googlegroups.com
Hi,

In build/target/product you will find a number of .mk files that define different Android configurations. Not all applications appear in all configurations, so which ones you get will depend on what configuration you build (by default, "generic"). You can select a different configuration to build, or modify the set of applications included in a configuration by editing the relevant file.

Best regards,

Warwick Harvey, Software Specialist

Tieto
email warwick...@tieto.com
Varenská 51/2723, 70200 Ostrava, Czech Republic, www.tieto.com

Meet the new Tieto: www.tieto.com/newtieto

Please note: The information contained in this message may be legally privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorised use, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank You.

Ne0

unread,
Jul 1, 2009, 9:31:41 AM7/1/09
to android-platform
Ok thanks, that makes sense.

I am building for the android dev1 phone (dream).

I have edited the htc_dream.mk (not in the directory you mentioned
above) and added the missing packages

AlarmClock \
AlarmProvider \
Calendar \
Camera \
DrmProvider \
LatinIME \
Mms \
Music \
Settings \
Sync \
Updater \
CalendarProvider \
SubscribedFeedsProvider \
SyncProvider

Just building now. When i add my own app to the build i will have to
figure out how to get it to build, editing various scripts/.mk's i
assume. Do you have any pointers on where i might start to look? or a
how to would be even better if you know of one!!?!! ;-)

Thanks Liam.

On 1 July, 12:59, <Warwick.Har...@tieto.com> wrote:
> Hi,
>
> >-----Original Message-----
> >From: android-...@googlegroups.com
> >[mailto:android-...@googlegroups.com] On Behalf Of Ne0
> >Sent: Wednesday, July 01, 2009 1:02 PM
>
> >I have downloaded, built and tested the latest version open source
> >Android. Though when i load the system.img to my phone (or emulator)
> >many of the apps are missing, can any one tell me why this is and how
> >to get them added to system.img?
>
> >Thanks.
>
> In build/target/product you will find a number of .mk files that define different Android configurations.  Not all applications appear in all configurations, so which ones you get will depend on what configuration you build (by default, "generic").  You can select a different configuration to build, or modify the set of applications included in a configuration by editing the relevant file.
>
> Best regards,
>
> Warwick Harvey, Software Specialist
>
> Tieto
> email warwick.har...@tieto.com

Dianne Hackborn

unread,
Jul 1, 2009, 1:38:46 PM7/1/09
to android-...@googlegroups.com
On Wed, Jul 1, 2009 at 4:40 AM, Disconnect <dc.dis...@gmail.com> wrote:
Probably they are the "google experience" apps, and you get those buy
paying a ton of money to google. ("Android" market, for example.
Gmail. Calendar...)

Do you actually know they cost money, or are you just making things up?

--
Dianne Hackborn
Android framework engineer
hac...@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

Disconnect

unread,
Jul 1, 2009, 1:54:25 PM7/1/09
to android-...@googlegroups.com
Are you saying they are free? Nice!

ISTR the presentation talked about "levels of investment" or some such.

Disconnect

unread,
Jul 1, 2009, 2:00:58 PM7/1/09
to android-...@googlegroups.com
Found it, its "strings". Still doesn't sound free but if there is
some way AOSP porters and devs can get access then it'd be good to
hear about - that info is totally lacking right now.

(http://bits.blogs.nytimes.com/2009/05/27/google-expect-18-android-phones-by-years-end/)

Dianne Hackborn

unread,
Jul 1, 2009, 3:23:34 PM7/1/09
to android-...@googlegroups.com
I am pretty sure no money is charged for them, though to be honest I work on the platform and not with the Google apps so I don't know all of the details.

Ne0

unread,
Jul 2, 2009, 4:25:47 AM7/2/09
to android-platform
Getting a bit off topic here!! All i know is that Market, Gmail etc..
are, not surprisingly, not included in the Android open source
project, however if you get any phone, G1, Dev phone etc then they are
included on the phone so they are effectively free!

Does anyone have any advice about building apps with the code?

Cheers,

Liam

On Jul 1, 8:23 pm, Dianne Hackborn <hack...@android.com> wrote:
> I am pretty sure no money is charged for them, though to be honest I work on
> the platform and not with the Google apps so I don't know all of the
> details.
>
>
>
> On Wed, Jul 1, 2009 at 10:54 AM, Disconnect <dc.disconn...@gmail.com> wrote:
>
> > Are you saying they are free? Nice!
>
> > ISTR the presentation talked about "levels of investment" or some such.
>
> > On Wed, Jul 1, 2009 at 1:38 PM, Dianne Hackborn<hack...@android.com>
> > wrote:
> > > On Wed, Jul 1, 2009 at 4:40 AM, Disconnect <dc.disconn...@gmail.com>
> > wrote:
>
> > >> Probably they are the "google experience" apps, and you get those buy
> > >> paying a ton of money to google. ("Android" market, for example.
> > >> Gmail. Calendar...)
>
> > > Do you actually know they cost money, or are you just making things up?
>
> > > --
> > > Dianne Hackborn
> > > Android framework engineer
> > > hack...@android.com
>
> > > Note: please don't send private questions to me, as I don't have time to
> > > provide private support, and so won't reply to such e-mails.  All such
> > > questions should be posted on public forums, where I and others can see
> > and
> > > answer them.
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com

Disconnect

unread,
Jul 2, 2009, 8:34:49 AM7/2/09
to android-...@googlegroups.com
On Thu, Jul 2, 2009 at 4:25 AM, Ne0<liamjam...@googlemail.com> wrote:
>
> Getting a bit off topic here!! All i know is that Market, Gmail etc..
> are, not surprisingly, not included in the Android open source
> project, however if you get any phone, G1, Dev phone etc then they are
> included on the phone so they are effectively free!

Stealing them off an image doesn't make them free. (Iphone google apps
are free. BB google apps are free. Symbian/Nokia google apps are free.
J2ME google apps are free. Android google apps are most definitely not
free, any more than windows is free because it comes on your PC. And
feel free - no pun intended - to substitute "unencumbered" for "free"
above, if it makes you feel better.)

Warwick...@tieto.com

unread,
Jul 3, 2009, 11:40:35 AM7/3/09
to android-...@googlegroups.com
Hi Liam,

>Just building now. When i add my own app to the build i will have to
>figure out how to get it to build, editing various scripts/.mk's i
>assume. Do you have any pointers on where i might start to look? or a
>how to would be even better if you know of one!!?!! ;-)

The way I got started was to choose a simple application already in the build (AlarmClock) and see where that got mentioned in the various .mk files. It turned out it was just in the target/product directory I pointed you at. Adding your application there should be all that you need to do to get it included in the build. (Well, assuming you haven't set LOCAL_MODULE_TAGS in your Android.mk file to something that causes it to be left out of the particular configuration you're building... :) )

Best regards,

Warwick Harvey, Software Specialist

Tieto
email warwick...@tieto.com

Ne0

unread,
Jul 6, 2009, 7:17:15 AM7/6/09
to android-platform
Thanks for the response, its been a great help.

Liam

On Jul 3, 4:40 pm, <Warwick.Har...@tieto.com> wrote:
> Hi Liam,
>
> >Just building now. When i add my own app to the build i will have to
> >figure out how to get it to build, editing various scripts/.mk's i
> >assume. Do you have any pointers on where i might start to look? or a
> >how to would be even better if you know of one!!?!! ;-)
>
> The way I got started was to choose a simple application already in the build (AlarmClock) and see where that got mentioned in the various .mk files.  It turned out it was just in the target/product directory I pointed you at.  Adding your application there should be all that you need to do to get it included in the build.  (Well, assuming you haven't set LOCAL_MODULE_TAGS in your Android.mk file to something that causes it to be left out of the particular configuration you're building... :) )
>
> Best regards,
>
> Warwick Harvey, Software Specialist
>
> Tieto
> email warwick.har...@tieto.com
Reply all
Reply to author
Forward
0 new messages