Android-dev.it Community

 
Annunci

:arrow: Benvenuto!, se non sei ancora un utente registrato: puoi registrati qui, oppure effettua il login
:arrow: Apri un forum sul tuo nuovo smartphone Android e collabora con noi! (dettagli)

www.agendadigitale.org
Image


Sponsor
It is currently Thu May 24, 2012 4:11 pm

All times are UTC + 1 hour


 Topics   Replies   Views   Last post 
No new posts Applicazione per gestire SMS

by filippo729 on Thu May 24, 2012 2:56 pm in Sviluppo e programmazione in Android

2

30

Thu May 24, 2012 2:56 pm

filippo729

No new posts На интернет-витрине

by popowahgjfghjoiuyt on Sat May 19, 2012 2:25 pm in Amministrazione

0

19

Sat May 19, 2012 2:25 pm

popowahgjfghjoiuyt

No new posts Apri un forum sul tuo nuovo smartphone Android!

[ Go to page: 1, 2, 3 ]

by ReattileGar on Fri May 18, 2012 5:27 pm in Amministrazione

27

12569

Fri May 18, 2012 5:27 pm

ReattileGar

No new posts Новый: базы для хрумера - профессиональный софт для СЕО.

by Renatafe on Fri May 18, 2012 3:14 pm in Amministrazione

0

27

Fri May 18, 2012 3:14 pm

Renatafe

No new posts Pace is undoubtedly the vital affordable Jerseys Wholesale d

by barnettmmolive2012 on Wed May 16, 2012 7:36 am in Amministrazione

1

49

Wed May 16, 2012 7:36 am

barnettmmolive2012




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Start di un servizio al boot usando l'emulatore
PostPosted: Sun Aug 14, 2011 10:55 am 
Offline
User avatar

Joined: Tue Aug 09, 2011 9:08 pm
Posts: 7
Cellulare Android: Huawei IDEOS U8150
Operatore: Vodafone
Punti Android: ?
Come da oggetto, sto scrivendo un service che deve partire al boot del device e logicamente uso il debugger e l'emulatore per testare il tutto. Sono diventato matto per capire il perche' il service partiva correttamente solo la prima volta dell'utlizzo dell'emulatore e successivamente veniva forzato il blocco dall'application manager. Ebbene alla fine dopo aver perso dei giorni ho capito che era l'uovo di colombo, in pratica l'emulatore ha un piccolo bug per cui ogni volta che da eclipse lo si fa partire per fare i test, se l'apk risulta gia' installato allora si ottiene il malfunzionamento. Per fare il corretto debug quindi ho scoperto che bisogna fare cosi':
-lanciare l'emulatore da eclipse tramite il comando debug ( si scarica quindi l'ultima versione compilata del vostro servizio )
-chiudere l'emulatore
-lanciare l'emulatore da sdk manager o da linea di comando

In questo modo funziona tutto....


Top
 Profile  
 
 Post subject: Re: Start di un servizio al boot usando l'emulatore
PostPosted: Wed Aug 17, 2011 3:22 pm 
Offline
Moderatore
User avatar

Joined: Thu Dec 27, 2007 3:51 pm
Posts: 986
Cellulare Android: HTC Dream
Operatore: TIM
Punti Android: 1320
Uhm, considerando quanto ci mette l'emulatore a partire (almeno sul mio PC, non nuovissimo) ripetere questa procedura ogni volta rischia di volerci una vita;
comunque grazie per l'informazione!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
phpBB SEO

All trademarks and logos used in this site are of properties of their respective owners.