Starting service while device boot-up

by Soumya » Sat, 22 May 2010 15:24:55 GMT


Sponsored Links
 Hi,

Is it possible to launch a service during android boot-up scenario. I
am aware that we can use a BroadcastReceiver to handle
ACTION_BOOT_COMPLETED intent and from that launch a scenario but can
it be done in such fashion that during device boot-up the service will
be started automatically by Android.

intent is received and for other certain intents too.

Thank you,
Soumya

-- 



Starting service while device boot-up

by Srikant » Sat, 22 May 2010 23:12:30 GMT


 Hi,

You can launch the service from the init.rc file.

-
Sreekanth




-- 


Sponsored Links


Starting service while device boot-up

by Soumya » Mon, 24 May 2010 13:15:15 GMT


 Hi Srikant,

Can I also mention this in the SystemServer.java file to start my
service automatically during boot-up of Android.

Thank you,
Soumya





-- 



Starting service while device boot-up

by Srikant » Tue, 25 May 2010 21:57:05 GMT


 Hi Soumya,

I just saw the code SystemServer.java, it starts the various services
like Audio, HW, Alarm etc. by adding these server threads to the main
System Server.

You can try adding your service in this file and see, and let us know
the result.

-
Srikant







-- 



Other Threads

1. running Android apps on PC, Mac, iPhone?

java's original intention was to be cross-platform....... and it
manages well at the apple/pc/linux basis of dekstop/laptop pcs......

i mean..... the point of java WAS and HAS ALWAYS BEEN..... write
once.... run anywhere.... be backward compatible until 1996...  (see
http://blogs.sun.com/dador/entry/duke_is_still_doing_the)

but how well does it manage on mobile devices?

is there any possibility to build a java programm that will run on
android and PC alike?

let's focus on pc <-> android:

i see 2 possible solutions:

o provide an easy to install emulator for pc (like the one that comes
with android sdk for eclipse)
o cross compiling! (HELP! http://xmlvm.org/)

let's focus on iphone <-> pc
o http://xmlvm.org/iphone/

let's focus on iphone <-> android
o http://xmlvm.org/iphone/

Go Arno Puder! (Developer) Go Sascha Haeberling ! (Developer) Go
Wolfgang Korn (Developer)!
Go you freakish german crew and free the i-world from idiotic
limitations by apple. (thanks a lot steve)

maybe we should join forces......

--

2. Update: Kloteran External Battery 4400mAh - Just Mobile Gum Pro & Gum Plu

List pemesan so far:
*Gum Plus*:
1. Fuad Jauhari
2. iki
3. Chippy
4. Indra S Adillah
5. Arimurti Pramuditta
6. Andremagis
7. Ahmad Fadlah
8. Deska Affif
9. ?

*Gum Pro*:
1. ?
2. ?

=======================================================
Mau coba masukin battery, barangkali temen2 berminat :)

Sistemnya pre-order yah, jadi barang dipesan dulu (import), perkiraan 5-8
hari sampai di Jakarta.

Informasi produknya bisa dilihat disini:
* *Gum Plus*:
--- Produk: http://www.xtand.net/products/show/productid/9
--- Video: http://www.xtand.net/cms/id/8
--- Review:
http://www.ilounge.com/index.php/reviews/entry/just-mobile-gum-plus-mobile-battery-pack/

* *Gum Pro*:
--- Produk: http://www.xtand.net/products/show/productid/6
--- Review:
http://www.ilounge.com/index.php/reviews/entry/just-mobile-gum-and-gum-pro-portable-usb-power-packs/

Dalam reviewnya yang dipakai demo adalah iPhone, namun battery ini bisa
dipake untuk device apa saja, asalkan pake koneksi USB.

Harga yang ditawarkan:
- Gum Plus : *Rp 575.000,-* (harga jual diluar kloteran *700rb*)
- Gum Pro : *Rp 475.000,-*  (harga jual diluar kloteran *600rb*)

Temen2 yang berminat cukup *DP 100rb* saja, sisanya dibayarkan setelah
barang sampai di Jakarta.
Pengiriman ke pemesan setelah pembayaran lunas :)
Free ongkos kirim untuk area Jabodetabek & Bandung only (maaf ya, karena
sudah mepet hehehe...)

Untuk pembelian dengan quantity tertentu, atau pemesanan produk Just Mobile
lainnya, silakan japri aja ya :)

Yang berminat silakan japri ke: *deska...@gmail.com*
Kloteran ditutup hari Minggu tanggal *7 Maret 2010*.

Hari Senin (08 Maret 2010) proses importnya.

Thank you....

---------------
Deska Affif
P: 088-1100-GAYA (4292) | Y!: GadgetGaya
www.gadgetgaya.com  |  Gadget Accessories Online Store

-- 
"Indonesian Android Community [id-android]" 

3. Using webservice through Android

4. Android creating sound

5. RelativeLayout with items inside a TableLayout

6. adb won't start

7. Getting getViewTypeCount() to fire?