How to add my application to the build process?

by Chih-Wei » Mon, 27 Apr 2009 16:25:57 GMT

Sponsored Links
I'd like to know is it possible to add my application to the build
I mean, building my application by invoking 'make' on the top android
and put it into the generated image for testing.
Is there any guideline for it?
Thanks a lot!


How to add my application to the build process?

by » Wed, 29 Apr 2009 01:36:05 GMT

 u maybe use "adb" tool.
ex. #adb install ur-application.apk
if u want to remove it,u can use
#adb shell rm <ur-application local path>+appliction-name.apk


Sponsored Links

How to add my application to the build process?

by Chih-Wei » Wed, 29 Apr 2009 10:34:09 GMT

 Thank you for the reply.
Yes, I know how to use adb to install an application by hand.
But I'm asking how to add an application to the build process.
I'd like to create a customized image containing my application.
Is that possible?
I think I can copy the directory of an existing application and
modify it. But I don't know which makefile I have to modify.


Other Threads

1. MediaPlayer callbacks not firing after calling prepareAsync() from a Service

Hi everyone,

I'm working on writing a small app that will stream mp3 files. I'm using the 
NPR code, but having a strange problem with mediaPlayer.prepareAsync().

I'm using a trimmed down version of the 
 the NPR 
app <>, which is getting started 
correctly. I am getting a reference to the service inside an OnClick handler 
inside an Activity, and calling listen() with the URL to the MP3 stream. The 
following code is from my PlaybackService:

public void listen(String url) throws IllegalArgumentException, 
IllegalStateException, IOException { 
    if (mediaPlayer == null) { 
        mediaPlayer = new MediaPlayer(); 
    synchronized (this) {

// ... lots of other code

public void onPrepared(MediaPlayer mp) { 
    Log.d(LOG_TAG, "Prepared"); 

I have the other callbacks defined as well. I can see from LogCat that the 
MediaPlayer is loading the stream and buffering, as I see the following 

AwesomePlayer  I  calling prefetcher->prepare()

AwesomePlayer  I  prefetcher is done preparing

But my onPrepared method never gets called. If I add a timer and try to call 
play() on the MediaPlayer at some point after I see the above log messages, 
the media players plays, so it is indeed entering into the Prepared state.

If I replace the call to prepareAsync() with prepare(), the player just 
works. This is all on 2.2, which I have been reading seems to have some 
issues, but the problem I'm having don't seem related, as the stream works 
fine when prepare() is used.

I did notice that the Content-Length on the the stream is quite large 
(450MB), but since I can call play on the Media Player without getting an 
exception, it appears to be handlings this OK.

The only other change is that in the NPR app, the service is being bound to 
and the playback started from inside a View object (while in my app, this 
happens inside an Activity).

Any thoughts on what I could be doing wrong?




2. OOT: Salam kenal

Apa perlu gw Al yang ngeracunin bokap lu...jelek2 gini kan udah pernah puas 
dapetin barang gw? Hahaha....

Gw kirim aja ya my hero...payment urusan ganti lagi yang 

Sent from bebe

-----Original Message-----
From: "kemal.arsjad" <>
Date: Mon, 21 Sep 2009 16:09:57 
To: <>
Subject: [id-android] Re: Salam kenal


Maen aja ke kantor gw...

Bawa tu android, kasih liat ke bokap =))

follow me:

-----Original Message-----
From: "altama sidarta" <>
Date: Mon, 21 Sep 2009 16:05:16 
To: MILIS id-Android<>
Subject: [id-android] Re: Salam kenal

Hi Mal...

Untung lo dah megang Hero nya yah..

Banyak racun disini gw gatahan buat megang device nya

-sentilin bokap gw dong, ga di tembus2 wishlist gw Xp

from XL network

-----Original Message-----
From: "kemal.arsjad" <>
Date: Mon, 21 Sep 2009 13:27:48 
To: <>
Subject: [id-android] Salam kenal

Mods.. Thanks atas approvalnya...

Nyubie numpang gabung, pengen belajar pake android...
Sekarang saya pake android Hero...

Mohon petunjuknya dr rekan2 sekalian..



Google Groups "

3. Device Management & Encryption

4. Freeze with RGBA8 OpenGL ES 2.0

5. Intent to launch the Application Settings screen for an application

6. changing the name i guess?

7. media codec manipulation -?