tag:blogger.com,1999:blog-66858247607519686162024-03-14T09:39:47.799-07:00Programmare AndroidFabiohttp://www.blogger.com/profile/18101250411841346181noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-6685824760751968616.post-52659460421765541392011-10-11T06:16:00.000-07:002011-10-11T06:17:00.180-07:00Creare Applicazioni Android - Tutorial 9 - Usare il metodo setText per i nostri pulsanti<br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Allora finalmente in questo tutorial abbiamo finito questa prima semplicissima app che non fa altro che aggiornare il valore di un contatore presente in una textview tramite due pulsanti. </span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">In particolare in quest'ultimo tutorial abbiamo settato la variabile contatore e la textView.</span><br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Nel prossimo tutorial creeremo uno screen iniziale per la nostra app, quindi preparate un immagine in formato png di 400x600, oppure scaricate <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4si9BKWdEzwVdFLw_4zFaGUBkK1jXaPRp_CiZBbMBHl36KlYjZ3cTWSI3wUzx3nwGQIfFWEguapvZbyqu_aI6UhHbhdTM0UlE1zKf_DxuLXoKkwKXEl2z96tUfet7tu_zhZCRgUILEFmB/s1600/splash+screen.png">questa</a> che userò io. </span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Se avete problemi, dubbi o difficoltà non esitate a lasciare un commento sotto questo post, o sotto il video! </span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Al prossimo tutorial! </span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='450' height='374' src='https://www.youtube.com/embed/XxyNuSiIvG4?feature=player_embedded' frameborder='0'></iframe></div>
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<div>
<br /></div>
Fabiohttp://www.blogger.com/profile/18101250411841346181noreply@blogger.com43tag:blogger.com,1999:blog-6685824760751968616.post-7068060563273184172011-09-29T09:52:00.000-07:002011-09-29T09:52:19.344-07:00Creare Applicazioni Android - Tutorial 8 - Settare un pulsante con un ClickListener<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Ciao a tutti ragazzi!</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Scusate la lunga assenza, sempre colpa dell'università. Da questa settimana in poi dovrei andare un po' più veloce con i tutorial, o almeno spero!</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">In questo ottavo tutorial vediamo come settare in Java i componenti che abbiamo creato l'altra volta e poi metteremo un ClickListener sui nostri pulsanti. </span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Guardate il video e fatemi sapere come sta andando! </span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Ciao a tutti</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='450' height='374' src='https://www.youtube.com/embed/Aw8chqQ4aVU?feature=player_embedded' frameborder='0'></iframe></div>
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span>Fabiohttp://www.blogger.com/profile/18101250411841346181noreply@blogger.com13tag:blogger.com,1999:blog-6685824760751968616.post-14632823394561609172011-09-19T07:23:00.000-07:002011-09-19T07:23:14.533-07:00Creare Applicazioni Android - Tutorial 7 - Creare dei Pulsanti in XML e associargli un id<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Ciao a tutti!</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Finalmente oggi inizieremo a fare qualcosa di più interessante dei semplici settaggi e spiegazioni dei precedenti tutorial, infatti inizieremo a creare l'interfaccia della nostra applicazione creando in XML una TextView e due pulsanti, e a questi componenti daremo un id! </span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Mi raccomando seguite il video e iscrivetevi al canale YouTube per restare aggiornati.</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Per problemi non esitate a lasciare un commento sotto questo post e sotto il video di YouTube.</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Al prossimo tutorial!</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='450' height='374' src='https://www.youtube.com/embed/6VX8r41YiwI?feature=player_embedded' frameborder='0'></iframe></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span>Fabiohttp://www.blogger.com/profile/18101250411841346181noreply@blogger.com4tag:blogger.com,1999:blog-6685824760751968616.post-28703191103444680262011-09-17T08:05:00.000-07:002011-09-17T08:06:23.007-07:00Creare Applicazioni Android - Tutorial 6 - Introduzione ai Layout in XML<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Ciao a tutti ragazzi!
In questo sesto tutorial inizieremo a vedere come sono formati i layout di un app Android, quindi inizieremo a vedere come funziona l'XML. Se non avete mai usato l'XML non preoccupatevi perché non è per niente difficile, anzi risulta piuttosto banale specialmente grazie all'aiuto che Eclipse ci dà con i vari suggerimenti.
Se avete qualche domanda o qualche dubbio mi raccomando lasciate un commento sotto questo post o sotto il video!
Ciao a tutti
</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<div class="separator" style="clear: both; text-align: center;">
<object class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://i.ytimg.com/vi/fwNQn9UBw_4/0.jpg" height="374" width="450"><param name="movie" value="http://www.youtube.com/v/fwNQn9UBw_4?f=user_uploads&c=google-webdrive-0&app=youtube_gdata" />
<param name="bgcolor" value="#FFFFFF" />
<embed width="450" height="374" src="http://www.youtube.com/v/fwNQn9UBw_4?f=user_uploads&c=google-webdrive-0&app=youtube_gdata" type="application/x-shockwave-flash"></embed></object></div>
<br />Fabiohttp://www.blogger.com/profile/18101250411841346181noreply@blogger.com3tag:blogger.com,1999:blog-6685824760751968616.post-68385395765398361172011-09-16T07:31:00.001-07:002011-09-16T08:48:46.519-07:00Creare Applicazioni Android - Tutorial 5 - Contenuto Progetto, Aggiunta Cartelle, Prova Emulatore<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Ciao a tutti ragazzi!</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Scusate la settimana di assenza, colpa dell'università.</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">In questo quinto tutorial vi spiegherò un po' il contenuto delle varie cartelle di un progetto in Eclipse, aggiungeremo altre cartelle che ci serviranno nei prossimi tutorial e proveremo l'emulatore.</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Se avete qualche problema lasciate un commento e vedo un po' cosa posso fare, sono sempre molto disponibile.</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Al prossimo tutorial!</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Ciao a tutti</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='450' height='374' src='https://www.youtube.com/embed/viL7X-SWJSA?feature=player_embedded' frameborder='0'></iframe></div>
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span>Fabiohttp://www.blogger.com/profile/18101250411841346181noreply@blogger.com2tag:blogger.com,1999:blog-6685824760751968616.post-76798375994353740802011-09-05T02:45:00.000-07:002011-09-05T02:58:16.161-07:00Creare Applicazioni Android - Tutorial 4 - Creare e Settare un Progetto Android<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Ciao a tutti ragazzi!</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Ecco il video del quarto tutorial sulla programmazione Android.</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Nel video di oggi vi mostro come si crea un progetto Android in Eclipse.</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Allora ragazzi nel video c'è un errore!! Purtroppo me ne sono accorto solo nel tutorial successivo.</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Allora quando andiamo a settare la posizione del SDK invece di scrivere</span><br />
<blockquote>
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">C:\Program Files (x86)\Android\android-sdk</span></blockquote>
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">dobbiamo scrivere o:</span><br />
<blockquote>
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">C:\PROGRA~2\Android\android-sdk </span></blockquote>
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">se abbiamo un computer a 64bit</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">mentre</span><br />
<blockquote>
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">C:\PROGRA~1\Android\android-sdk </span></blockquote>
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">se abbiamo un computer a 32 bit</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">quindi copiate tranquillamente uno di questi 2 percorsi e incollato!</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Se per caso vi sfugge questo particolare o non capite bene, nel prossimo tutorial vi faccio vedere l'errore che si genera e come lo risolviamo mettendo uno dei 2 percorsi sopra scritti.</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Ciao a tuttiii! al prossimo tutorial!</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Mi raccomando iscrivetevi al canale YouTube per rimanere sempre aggiornati, lasciate un pollice all'insù se vi è piaciuto e lasciate un commento sotto il video o sotto questo post!!</span><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<object class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://i.ytimg.com/vi/n02T_vYaBfI/0.jpg" height="374" width="450"><param name="movie" value="http://www.youtube.com/v/n02T_vYaBfI?f=user_uploads&c=google-webdrive-0&app=youtube_gdata" />
<param name="bgcolor" value="#FFFFFF" />
<embed width="450" height="374" src="http://www.youtube.com/v/n02T_vYaBfI?f=user_uploads&c=google-webdrive-0&app=youtube_gdata" type="application/x-shockwave-flash"></embed></object></div>
<br />
<div>
<br /></div>
Fabiohttp://www.blogger.com/profile/18101250411841346181noreply@blogger.com8tag:blogger.com,1999:blog-6685824760751968616.post-86194499334384311322011-09-03T08:25:00.000-07:002011-09-04T00:34:38.796-07:00Creare Applicazioni Android - Tutorial 3 - Installare l'Android SDK e Settare un Emulatore<br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Ciao a tutti ragazzi!</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">In questo terzo tutorial installeremo l'Android SDK necessario per poter utilizzare tutte le potenzialità di Android! In seguito inizieremo a settare un emulatore in modo da poterci poi testare le nostre app!</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Per problemi lasciate un commento!</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='450' height='374' src='https://www.youtube.com/embed/uf9H1arjfu0?feature=player_embedded' frameborder='0'></iframe></div>
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span>Fabiohttp://www.blogger.com/profile/18101250411841346181noreply@blogger.com5tag:blogger.com,1999:blog-6685824760751968616.post-22725294310288699792011-09-03T07:43:00.000-07:002011-09-03T08:06:53.653-07:00Creare Applicazioni Android - Tutorial 2 - Installare Eclipse e Settare l'ADT<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Ciao a tutti ragazzi!</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">In questo secondo tutorial scaricheremo e installare il programma Eclipse che ci servirà per iniziare a programmare in Java. Successivamente installeremo l'ADT ( Android Development Tools) Plugin per Eclipse. </span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Come sempre se avete domande o richieste non esitate a fare domande e lasciare un commento.</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Ciao!</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span><br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='450' height='374' src='https://www.youtube.com/embed/sP1Bqk37GWg?feature=player_embedded' frameborder='0'></iframe></div>
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span>Fabiohttp://www.blogger.com/profile/18101250411841346181noreply@blogger.com7tag:blogger.com,1999:blog-6685824760751968616.post-78478584616016884752011-09-02T11:23:00.000-07:002011-09-03T08:06:46.577-07:00Sviluppo di Applicazioni Android - Tutorial 1 - Download e Installazione della Java JDK<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Ciao a tutti.</span><br />
<span class="Apple-style-span" style="background-color: white; line-height: 18px;"><span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">In questo primo tutorial cominceremo ad installare i software necessari per iniziare a programmare in Android. Quindi scaricheremo la Java JDK. </span></span><br />
<span class="Apple-style-span" style="background-color: white; line-height: 18px;"><span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Non esitate a lasciare un commento se avete qualche problema o semplicemente se volete lasciarmi un feedback.</span></span><br />
<span class="Apple-style-span" style="background-color: white; line-height: 18px;"><span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span></span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><span class="Apple-style-span" style="line-height: 18px;"><br /></span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='450' height='374' src='https://www.youtube.com/embed/rkGKShffIKo?feature=player_embedded' frameborder='0'></iframe></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
Fabiohttp://www.blogger.com/profile/18101250411841346181noreply@blogger.com6tag:blogger.com,1999:blog-6685824760751968616.post-56139272205187681312011-09-02T11:04:00.000-07:002011-09-02T11:06:24.881-07:00Introduzione<div style="text-align: justify;">
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Ciao a tutti ragazzi!</span></div>
<div style="text-align: justify;">
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Mi presento, mi chiamo Fabio ho 22 anni e sono studente di Ingegneria Informatica con la passione per il mondo Android.</span></div>
<div style="text-align: justify;">
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Oggi vorrei cominciare un "ambizioso" progetto, vorrei condividere con tutti voi quello che so sulla programmazione Android. Spesso girando tra vari forum del "settore" trovo molti ragazzi che chiedono come si fa a creare un app per Android e come si può imparare a fare una cosa che sembra così difficile! Beh io vorrei rendere il più facile possibile la programmazione Android e quindi ho creato questi video tutorial su YouTube.</span></div>
<div style="text-align: justify;">
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Queste lezioni si ispirano ad altri tutorial trovati su YouTube in lingua inglese ma ho voluto ripresentarli in lingua italiana per tutte quelle persone che vogliono imparare a programmare ma non conosco così bene l'inglese da seguire dei tutorial completamente in inglese. Le lezioni saranno più facili da seguire se si ha un minimo di conoscenza del linguaggio Java, mentre un po' più impegnativo sarà per chi non ha mai programmato. I primi tutorial potrebbero sembrare un po' confusionari, ma dopo una ventina di lezioni tutto vi sembrerà più chiaro. Non mi dilungo oltre e vi auguro buon corso!</span></div>
<div style="text-align: justify;">
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"><br /></span></div>
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">Se avete domande o problemi non fatevi problemi a lasciare un commento sul forum o sotto il video di YouTube.</span><br />
<br />Fabiohttp://www.blogger.com/profile/18101250411841346181noreply@blogger.com1