<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Forum Android Italiano - Iniziare a programmare Android</title>
		<link>http://www.androidiani.com/forum/</link>
		<description><![CDATA[Qui tutte le discussioni e i tutorial per i novizi di android dal setup dell framework ai primi passi con l'sdk :)]]></description>
		<language>it</language>
		<lastBuildDate>Sat, 25 May 2013 21:14:23 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.androidiani.com/forum/images/styles/androidiani/misc/rss.png</url>
			<title>Forum Android Italiano - Iniziare a programmare Android</title>
			<link>http://www.androidiani.com/forum/</link>
		</image>
		<item>
			<title><![CDATA[Come utilizzare la palette dell'adt?]]></title>
			<link>http://www.androidiani.com/forum/iniziare-programmare-android/302826-come-utilizzare-la-palette-delladt.html</link>
			<pubDate>Fri, 24 May 2013 16:26:01 GMT</pubDate>
			<description><![CDATA[Ciao a tutti, 
premetto che sono ancora alle prime armi con l'adt.  
Sto sviluppando una piccola applicazione costituita da una attività principale e...]]></description>
			<content:encoded><![CDATA[<div>Ciao a tutti,<br />
premetto che sono ancora alle prime armi con l'adt. <br />
Sto sviluppando una piccola applicazione costituita da una attività principale e una sottoattività, avviata cliccando su un bottone presente sulla prima.<br />
Il layout l'ho praticamente personalizzato modificando il codice java per entrambe le attività,ho già lanciato l'applicazione e funziona;<br />
tuttavia se vado a guardare il file activity_main.xml, il layout grafico è rimasto quello originale, con il testo &quot;Hello World!&quot;..<br />
sapete spiegarmi perchè??</div>

]]></content:encoded>
			<category domain="http://www.androidiani.com/forum/iniziare-programmare-android/">Iniziare a programmare Android</category>
			<dc:creator>Butt3rflY89</dc:creator>
			<guid isPermaLink="true">http://www.androidiani.com/forum/iniziare-programmare-android/302826-come-utilizzare-la-palette-delladt.html</guid>
		</item>
		<item>
			<title>istallare sistema operativo android su pc portatile</title>
			<link>http://www.androidiani.com/forum/iniziare-programmare-android/302791-istallare-sistema-operativo-android-su-pc-portatile.html</link>
			<pubDate>Fri, 24 May 2013 15:18:36 GMT</pubDate>
			<description>salve a tutti 
ho un acer 5630,vorrei istallare android 4.0 o superiore,ho visto la procedura su vari siti che riportano ad una pagina dove,dovrei...</description>
			<content:encoded><![CDATA[<div>salve a tutti<br />
ho un acer 5630,vorrei istallare android 4.0 o superiore,ho visto la procedura su vari siti che riportano ad una pagina dove,dovrei scegliere l'iso adatto per il mio pc. ma vedo che sono per asus ibm,lenovo,ecc,per l'acer nulla. non e che non si puo istallare ?? vi domando a voi che siete esperti in materia. grazie a tutti.:D</div>

]]></content:encoded>
			<category domain="http://www.androidiani.com/forum/iniziare-programmare-android/">Iniziare a programmare Android</category>
			<dc:creator>giorgio704</dc:creator>
			<guid isPermaLink="true">http://www.androidiani.com/forum/iniziare-programmare-android/302791-istallare-sistema-operativo-android-su-pc-portatile.html</guid>
		</item>
		<item>
			<title>20.000 euro in palio più alcuni stage per chi fa la app più bella per Milano</title>
			<link>http://www.androidiani.com/forum/iniziare-programmare-android/302690-20-000-euro-palio-pi-alcuni-stage-per-chi-fa-la-app-pi-bella-per-milano.html</link>
			<pubDate>Fri, 24 May 2013 11:13:55 GMT</pubDate>
			<description>:* Ciao ho visto che il comune di milano mette in palio 20.000 euro per le app che si basano su gli open data del comune di milano (dati . milano...</description>
			<content:encoded><![CDATA[<div>:* Ciao ho visto che il comune di milano mette in palio 20.000 euro per le app che si basano su gli open data del comune di milano (dati . milano .it).<br />
<br />
Qualcuno di voi partecipa? organizzano anche dei workshop gratuiti su user experience e markleting<br />
<br />
il sito del contest è: www. app4mi .it</div>

]]></content:encoded>
			<category domain="http://www.androidiani.com/forum/iniziare-programmare-android/">Iniziare a programmare Android</category>
			<dc:creator>enricof</dc:creator>
			<guid isPermaLink="true">http://www.androidiani.com/forum/iniziare-programmare-android/302690-20-000-euro-palio-pi-alcuni-stage-per-chi-fa-la-app-pi-bella-per-milano.html</guid>
		</item>
		<item>
			<title>Ciao sono nuovo nel forum vorrei iniziare a programmare piccole applicazioni di andro</title>
			<link>http://www.androidiani.com/forum/iniziare-programmare-android/302679-ciao-sono-nuovo-nel-forum-vorrei-iniziare-programmare-piccole-applicazioni-di-andro.html</link>
			<pubDate>Fri, 24 May 2013 10:54:22 GMT</pubDate>
			<description>Inviato dal mio GT-S5570I usando androidiani</description>
			<content:encoded><![CDATA[<div>Inviato dal mio GT-S5570I usando androidiani</div>

]]></content:encoded>
			<category domain="http://www.androidiani.com/forum/iniziare-programmare-android/">Iniziare a programmare Android</category>
			<dc:creator>tecnofra</dc:creator>
			<guid isPermaLink="true">http://www.androidiani.com/forum/iniziare-programmare-android/302679-ciao-sono-nuovo-nel-forum-vorrei-iniziare-programmare-piccole-applicazioni-di-andro.html</guid>
		</item>
		<item>
			<title>Creazione WebApp con PhoneGap</title>
			<link>http://www.androidiani.com/forum/iniziare-programmare-android/302653-creazione-webapp-con-phonegap.html</link>
			<pubDate>Fri, 24 May 2013 09:47:27 GMT</pubDate>
			<description>Salve, 
sto sviluppando una webApp utilizzando phoneGap e ho il seguente problema: come posso richiamare da javascript dei metodi scritti in java?...</description>
			<content:encoded><![CDATA[<div>Salve,<br />
sto sviluppando una webApp utilizzando phoneGap e ho il seguente problema: come posso richiamare da javascript dei metodi scritti in java?<br />
Grazie</div>

]]></content:encoded>
			<category domain="http://www.androidiani.com/forum/iniziare-programmare-android/">Iniziare a programmare Android</category>
			<dc:creator>princess87crazy</dc:creator>
			<guid isPermaLink="true">http://www.androidiani.com/forum/iniziare-programmare-android/302653-creazione-webapp-con-phonegap.html</guid>
		</item>
		<item>
			<title><![CDATA[Inserire mappe all'interno di un'applicazione]]></title>
			<link>http://www.androidiani.com/forum/iniziare-programmare-android/302624-inserire-mappe-allinterno-di-unapplicazione.html</link>
			<pubDate>Fri, 24 May 2013 08:50:43 GMT</pubDate>
			<description>Ciao a tutti, non so se questo sia il posto giusto dove postare la domanda (in caso fosse sbagliato chiedo scusa ma sono nuovissimo del forum e mi...</description>
			<content:encoded><![CDATA[<div>Ciao a tutti, non so se questo sia il posto giusto dove postare la domanda (in caso fosse sbagliato chiedo scusa ma sono nuovissimo del forum e mi sento ancora un po' spaesato).<br />
Come scritto nella presentazione sto da poco entrando nel mondo di sviluppatore di app android, più o meno tutto bene fino a che ieri ho cominciato ad affrontare un caso particolare cioè l'inserimento di mappe nelle proprie applicazioni android.<br />
Ho provato di tutto e mi si sono presentati diversi problemi e nemmeno seguendo un tutorial video su youtube sono riuscito a ricavare qualcosa.<br />
La guida che ho io cioè &quot;Beginning android application&quot; usa una vecchia versione delle api (la 1) mentre online ho trovato la 2 dove invece dell'md5 bisogna inserire il codice SHA1 e il package dell'applicazione....<br />
Ora, il mio problema è questo: non riesco a testarlo da nessuna parte (nè sugli emulatori, dove mancano le mappe installate (anche qui, come si fa a installare l'applicazione delle mappe sugli emulatori?) nè sui dispositivi che ho, ma qui forse il problema è che esistono due differenti api key a quanto ho capito: una per debug e una per emulatori esterni).<br />
Qualcuno conosce una procedura facile facile, un link su youtube, un pdf o qualsiasi altra cosa che mi possa accompagnare passo passo in questa magnifica impresa?<br />
<br />
Non pensavo che ci avrei perso tutto questo tempo.... Sperando in qualche anima pia che possa darmi una direzione chiudo e ringrazio...</div>

]]></content:encoded>
			<category domain="http://www.androidiani.com/forum/iniziare-programmare-android/">Iniziare a programmare Android</category>
			<dc:creator>jonsnow81</dc:creator>
			<guid isPermaLink="true">http://www.androidiani.com/forum/iniziare-programmare-android/302624-inserire-mappe-allinterno-di-unapplicazione.html</guid>
		</item>
		<item>
			<title>R.java introvabile</title>
			<link>http://www.androidiani.com/forum/iniziare-programmare-android/302228-r-java-introvabile.html</link>
			<pubDate>Thu, 23 May 2013 09:42:52 GMT</pubDate>
			<description>ciao a tutti! è già da qualche che sto smanettando con eclipse, ma non riesco in nessun modo a trovare il file R.java. ho fatto più volte delle...</description>
			<content:encoded><![CDATA[<div>ciao a tutti! è già da qualche che sto smanettando con eclipse, ma non riesco in nessun modo a trovare il file R.java. ho fatto più volte delle ricerche su google ma non ho trovato niente in merito...:'(</div>

]]></content:encoded>
			<category domain="http://www.androidiani.com/forum/iniziare-programmare-android/">Iniziare a programmare Android</category>
			<dc:creator>Mitja</dc:creator>
			<guid isPermaLink="true">http://www.androidiani.com/forum/iniziare-programmare-android/302228-r-java-introvabile.html</guid>
		</item>
		<item>
			<title>utilizzo mediaplayer in eclipse</title>
			<link>http://www.androidiani.com/forum/iniziare-programmare-android/302016-utilizzo-mediaplayer-eclipse.html</link>
			<pubDate>Wed, 22 May 2013 17:55:11 GMT</pubDate>
			<description><![CDATA[ciao a tutti, 
allora io sto facendo un'applicazione in cui si ripetono due suoni molto simili in un ciclo for, solo che invece di ripetersi i due...]]></description>
			<content:encoded><![CDATA[<div>ciao a tutti,<br />
allora io sto facendo un'applicazione in cui si ripetono due suoni molto simili in un ciclo for, solo che invece di ripetersi i due suoni si sovrappongono. Come faccio a non farli sovrapporre? vi posto anche il codice per capire meglio<br />
for (int i = 0; i &lt; stri.length(); ++i) {<br />
					s = stri.substring(i, i+1);<br />
					if (&quot;a&quot;.equals(s)){<br />
						mp1.start();<br />
					}if (&quot;b&quot;.equals(s)){<br />
						mp2.start();<br />
						}<br />
					}</div>

]]></content:encoded>
			<category domain="http://www.androidiani.com/forum/iniziare-programmare-android/">Iniziare a programmare Android</category>
			<dc:creator>stef19ag</dc:creator>
			<guid isPermaLink="true">http://www.androidiani.com/forum/iniziare-programmare-android/302016-utilizzo-mediaplayer-eclipse.html</guid>
		</item>
		<item>
			<title>SDK Manager non vuole sapere di partire!!!</title>
			<link>http://www.androidiani.com/forum/iniziare-programmare-android/301763-sdk-manager-non-vuole-sapere-di-partire.html</link>
			<pubDate>Wed, 22 May 2013 07:13:51 GMT</pubDate>
			<description>Ciao a tutti...  
ho un pc con Windows 7 64bit... ho installato Java SE Development Kit 6u43 per x64... ho settato le variabili ambientali...</description>
			<content:encoded><![CDATA[<div>Ciao a tutti... <br />
ho un pc con Windows 7 64bit... ho installato Java SE Development Kit 6u43 per x64... ho settato le variabili ambientali<br />
JAVA_HOME: C:\Program Files\Java\jdk1.7.0_21<br />
Path: C:\Program Files\Java\jdk1.7.0_21\bin (l'ho aggiunta dopo un ; visto che ne avevo già altre)<br />
<br />
e l'sdk si è avviato!!! ho installato le prime cose e nel frattempo ho fatto partire eclipse...<br />
<br />
poi sdk mi diceva di riavviare... l'ho fatto e ora non parte più... da un flash la casella di DOS e poi non parte...<br />
<br />
in più quando apro eclipse... mi dice &quot;Questa versione di ADT richiede Android SDK Tools revision 22.0.0 or above. Versione corrente 20.0.0 Aggiorna SDK Tools&quot; e c'è il bel tasto &quot;Apri SDK Manager&quot; ma non apre neanche qui un bel niente!!!<br />
<br />
Qualcuno mi più aiutare???????????????<br />
è capitato a qualcuno?????<br />
<br />
GRAZIE INFINITE!!!</div>

]]></content:encoded>
			<category domain="http://www.androidiani.com/forum/iniziare-programmare-android/">Iniziare a programmare Android</category>
			<dc:creator>alextre</dc:creator>
			<guid isPermaLink="true">http://www.androidiani.com/forum/iniziare-programmare-android/301763-sdk-manager-non-vuole-sapere-di-partire.html</guid>
		</item>
		<item>
			<title>Applicazione Android</title>
			<link>http://www.androidiani.com/forum/iniziare-programmare-android/301570-applicazione-android.html</link>
			<pubDate>Tue, 21 May 2013 14:39:49 GMT</pubDate>
			<description><![CDATA[Salve a tutti, sto sviluppando un'app stupida ma importante perche la dovrò portare alla tesina d'esame, il mio problema è questo: 
 
1)Come faccio a...]]></description>
			<content:encoded><![CDATA[<div>Salve a tutti, sto sviluppando un'app stupida ma importante perche la dovrò portare alla tesina d'esame, il mio problema è questo:<br />
<br />
1)Come faccio a visualizzare su un'activity, attraverso un orologio analogico o digitale, l'ora di una precisa città es. New York ecc... <br />
2) quali metodi o classi devo usare per capire che città ho selezionato?? io ho fatto cosi:<br />
<br />
	String[]x=TimeZone.getAvailableIDs();<br />
		TimeZone y=TimeZone.getTimeZone(x[132]);<br />
		String z=y.getDisplayName();<br />
		String k=y.getID();<br />
		Date j=new Date();<br />
		long c=y.getOffset(j.getTime());<br />
		Date jj=new Date(j.getTime()+c);<br />
		int o=jj.getHours();<br />
<br />
se mi spiegati anche con esempi di codice vi sarei grato a vita!!!</div>

]]></content:encoded>
			<category domain="http://www.androidiani.com/forum/iniziare-programmare-android/">Iniziare a programmare Android</category>
			<dc:creator>giunka</dc:creator>
			<guid isPermaLink="true">http://www.androidiani.com/forum/iniziare-programmare-android/301570-applicazione-android.html</guid>
		</item>
		<item>
			<title>Scrivere sul portatile usando lo smartphone</title>
			<link>http://www.androidiani.com/forum/iniziare-programmare-android/301255-scrivere-sul-portatile-usando-lo-smartphone.html</link>
			<pubDate>Mon, 20 May 2013 19:29:40 GMT</pubDate>
			<description>_Interfaccia della App su Android_ 
 
*1 EditText + 1 Button* 
 
_Funzionamento_ 
 
Mario scrive “ciao” dentro la EditText dello smartphone poi va in...</description>
			<content:encoded><![CDATA[<div><u>Interfaccia della App su Android</u><br />
<br />
<b>1 EditText + 1 Button</b><br />
<br />
<u>Funzionamento</u><br />
<br />
Mario scrive “ciao” dentro la EditText dello smartphone poi va in C: sul proprio portatile e trova un file con nome database_saluti.sqlite, lo apre e trova scritto ciao nel primo record del primo campo.<br />
In giorno dopo arriva la morosa con un altro smartphone, installa la App e scrive “stupido” nel secondo record dello stesso file.<br />
Il terzo giorno Mario riapre il database e capisce di essere inesorabilmente stupido.<br />
Scherzi a parte <u>vorrei leggere un esempio di App che fa questo</u>, sia usando il codice, sia usando librerie sia usando altre App se esistono.<br />
Un grazie immenso a chi saprà darmi un aiutino, l’immenso Google questa volta non mi ha aiutato…<br />
<br />
Ciao</div>

]]></content:encoded>
			<category domain="http://www.androidiani.com/forum/iniziare-programmare-android/">Iniziare a programmare Android</category>
			<dc:creator>peruzzo</dc:creator>
			<guid isPermaLink="true">http://www.androidiani.com/forum/iniziare-programmare-android/301255-scrivere-sul-portatile-usando-lo-smartphone.html</guid>
		</item>
		<item>
			<title>TabHost: classe per ogni spec.</title>
			<link>http://www.androidiani.com/forum/iniziare-programmare-android/301104-tabhost-classe-per-ogni-spec.html</link>
			<pubDate>Mon, 20 May 2013 13:27:55 GMT</pubDate>
			<description>Sto cercando di agganciare ad un TabHost una diversa classe per ogni specs. Mi da errore, sotto ho messo i miei codici. 
DA SOTTOLINEARE: Se nel...</description>
			<content:encoded><![CDATA[<div>Sto cercando di agganciare ad un TabHost una diversa classe per ogni specs. Mi da errore, sotto ho messo i miei codici.<br />
DA SOTTOLINEARE: Se nel setContent invece di mettere l'intent per le nuove classi metto l'id della tab (esempio tab1, presente nell XML) l'app funge.<br />
Qualcuna sa aiutarmi? T_T<br />
<br />
TabsMain.java<br />
<div class="bbcode_container">
	<div class="bbcode_description">codice:</div>
	<hr /><code class="bbcode_code">package com.girardi.lolguides;<br />
<br />
import android.os.Bundle;<br />
import android.app.Activity;<br />
import android.content.Intent;<br />
import android.view.Menu;<br />
import android.widget.TabHost;<br />
import android.widget.TabHost.TabSpec;<br />
<br />
public class TabsMain extends Activity {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; @Override<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void onCreate(Bundle savedInstanceState) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; super.onCreate(savedInstanceState);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; setContentView(R.layout.activity_tabs_main);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TabHost tabHost = (TabHost) findViewById(R.id.tabhost);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tabHost.setup();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TabSpec champ = tabHost.newTabSpec(&quot;champ&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TabSpec equip = tabHost.newTabSpec(&quot;item&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; champ.setIndicator(&quot;Champion&quot;).setContent(new Intent(this, Champion.class));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; equip.setIndicator(&quot;Items&quot;).setContent(new Intent(this, Equip.class));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tabHost.addTab(champ);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tabHost.addTab(equip);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; @Override<br />
&nbsp; &nbsp; &nbsp; &nbsp; public boolean onCreateOptionsMenu(Menu menu) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Inflate the menu; this adds items to the action bar if it is present.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; getMenuInflater().inflate(R.menu.tabs_main, menu);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return true;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
}</code><hr />
</div>Champion.java<br />
<div class="bbcode_container">
	<div class="bbcode_description">codice:</div>
	<hr /><code class="bbcode_code">package com.girardi.lolguides;<br />
<br />
import android.app.Activity;<br />
import android.os.Bundle;<br />
import android.widget.TextView;<br />
<br />
public class Champion extends Activity {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; /** Called when the activity is first created. */<br />
&nbsp; &nbsp; &nbsp; &nbsp; @Override<br />
&nbsp; &nbsp; &nbsp; &nbsp; public void onCreate(Bundle savedInstanceState) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; super.onCreate(savedInstanceState);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /* First Tab Content */<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextView textView = new TextView(this);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; textView.setText(&quot;First Tab&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; setContentView(textView);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
}</code><hr />
</div>Equip.java<br />
<div class="bbcode_container">
	<div class="bbcode_description">codice:</div>
	<hr /><code class="bbcode_code">package com.girardi.lolguides;<br />
<br />
import android.app.Activity;<br />
import android.os.Bundle;<br />
import android.widget.TextView;<br />
<br />
public class Equip extends Activity {<br />
&nbsp; &nbsp; &nbsp; &nbsp; /** Called when the activity is first created. */<br />
&nbsp; &nbsp; &nbsp; &nbsp; @Override<br />
&nbsp; &nbsp; &nbsp; &nbsp; public void onCreate(Bundle savedInstanceState) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; super.onCreate(savedInstanceState);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /* Second Tab Content */<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextView textView = new TextView(this);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; textView.setText(&quot;Second Tab&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; setContentView(textView);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
}</code><hr />
</div>activity_tabs_main.xml<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">codice:</div>
	<hr /><code class="bbcode_code">&lt;RelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;<br />
&nbsp; &nbsp; xmlns:tools=&quot;http://schemas.android.com/tools&quot;<br />
&nbsp; &nbsp; android:layout_width=&quot;match_parent&quot;<br />
&nbsp; &nbsp; android:layout_height=&quot;match_parent&quot;<br />
&nbsp; &nbsp; android:paddingBottom=&quot;@dimen/activity_vertical_margin&quot;<br />
&nbsp; &nbsp; android:paddingLeft=&quot;@dimen/activity_horizontal_margin&quot;<br />
&nbsp; &nbsp; android:paddingRight=&quot;@dimen/activity_horizontal_margin&quot;<br />
&nbsp; &nbsp; android:paddingTop=&quot;@dimen/activity_vertical_margin&quot;<br />
&nbsp; &nbsp; tools:context=&quot;.TabsMain&quot; &gt;<br />
<br />
&nbsp; &nbsp; &lt;TabHost<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/tabhost&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;match_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;match_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:layout_alignParentLeft=&quot;true&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:layout_alignParentTop=&quot;true&quot; &gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;LinearLayout<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;match_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;match_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:orientation=&quot;vertical&quot; &gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;TabWidget<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@android:id/tabs&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;match_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot; &gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/TabWidget&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;FrameLayout<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@android:id/tabcontent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;match_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;match_parent&quot; &gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;LinearLayout<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/tab1&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;match_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;match_parent&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:orientation=&quot;horizontal&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/LinearLayout&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;LinearLayout<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/tab2&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;match_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;match_parent&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:orientation=&quot;horizontal&quot; &gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/LinearLayout&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;LinearLayout<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/tab3&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;match_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;match_parent&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:orientation=&quot;horizontal&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/LinearLayout&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/FrameLayout&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/LinearLayout&gt;<br />
&nbsp; &nbsp; &lt;/TabHost&gt;<br />
<br />
&lt;/RelativeLayout&gt;</code><hr />
</div>LOG:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">codice:</div>
	<hr /><code class="bbcode_code">05-20 13:51:22.890: D/AndroidRuntime(22816): Shutting down VM<br />
05-20 13:51:22.890: W/dalvikvm(22816): threadid=1: thread exiting with uncaught exception (group=0x40e832a0)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816): FATAL EXCEPTION: main<br />
05-20 13:51:22.910: E/AndroidRuntime(22816): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.girardi.lolguides/com.girardi.lolguides.TabsMain}: java.lang.NullPointerException<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2100)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2125)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  at android.app.ActivityThread.access$600(ActivityThread.java:140)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1227)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  at android.os.Handler.dispatchMessage(Handler.java:99)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  at android.os.Looper.loop(Looper.java:137)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  at android.app.ActivityThread.main(ActivityThread.java:4898)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  at java.lang.reflect.Method.invokeNative(Native Method)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  at java.lang.reflect.Method.invoke(Method.java:511)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  at dalvik.system.NativeStart.main(Native Method)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816): Caused by: java.lang.NullPointerException<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  at android.widget.TabHost.addTab(TabHost.java:243)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  at com.girardi.lolguides.TabsMain.onCreate(TabsMain.java:23)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  at android.app.Activity.performCreate(Activity.java:5206)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1083)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2064)<br />
05-20 13:51:22.910: E/AndroidRuntime(22816):&nbsp; &nbsp; &nbsp; &nbsp;  ... 11 more<br />
05-20 13:53:10.655: D/AndroidRuntime(24134): Shutting down VM<br />
05-20 13:53:10.655: W/dalvikvm(24134): threadid=1: thread exiting with uncaught exception (group=0x40e832a0)<br />
05-20 13:53:10.665: E/AndroidRuntime(24134): FATAL EXCEPTION: main<br />
05-20 13:53:10.665: E/AndroidRuntime(24134): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.girardi.lolguides/com.girardi.lolguides.TabsMain}: java.lang.NullPointerException<br />
05-20 13:53:10.665: E/AndroidRuntime(24134):&nbsp; &nbsp; &nbsp; &nbsp;  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2100)<br />
05-20 13:53:10.665: E/AndroidRuntime(24134):&nbsp; &nbsp; &nbsp; &nbsp;  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2125)<br />
05-20 13:53:10.665: E/AndroidRuntime(24134):&nbsp; &nbsp; &nbsp; &nbsp;  at android.app.ActivityThread.access$600(ActivityThread.java:140)<br />
05-20 13:53:10.665: E/AndroidRuntime(24134):&nbsp; &nbsp; &nbsp; &nbsp;  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1227)<br />
05-20 13:53:10.665: E/AndroidRuntime(24134):&nbsp; &nbsp; &nbsp; &nbsp;  at android.os.Handler.dispatchMessage(Handler.java:99)<br />
05-20 13:53:10.665: E/AndroidRuntime(24134):&nbsp; &nbsp; &nbsp; &nbsp;  at android.os.Looper.loop(Looper.java:137)<br />
05-20 13:53:10.665: E/AndroidRuntime(24134):&nbsp; &nbsp; &nbsp; &nbsp;  at android.app.ActivityThread.main(ActivityThread.java:4898)<br />
05-20 13:53:10.665: E/AndroidRuntime(24134):&nbsp; &nbsp; &nbsp; &nbsp;  at java.lang.reflect.Method.invokeNative(Native Method)<br />
05-20 13:53:10.665: E/AndroidRuntime(24134):&nbsp; &nbsp; &nbsp; &nbsp;  at java.lang.reflect.Method.invoke(Method.java:511)<br />
05-20 13:53:10.665: E/AndroidRuntime(24134):&nbsp; &nbsp; &nbsp; &nbsp;  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)<br />
05-20 13:53:10.665: E/AndroidRuntime(24134):&nbsp; &nbsp; &nbsp; &nbsp;  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)<br />
05-20 13:53:10.665: E/AndroidRuntime(24134):&nbsp; &nbsp; &nbsp; &nbsp;  at dalvik.system.NativeStart.main(Native Method)<br />
05-20 13:53:10.665: E/AndroidRuntime(24134): Caused by: java.lang.NullPointerException<br />
05-20 13:53:10.665: E/AndroidRuntime(24134):&nbsp; &nbsp; &nbsp; &nbsp;  at com.girardi.lolguides.TabsMain.onCreate(TabsMain.java:19)<br />
05-20 13:53:10.665: E/AndroidRuntime(24134):&nbsp; &nbsp; &nbsp; &nbsp;  at android.app.Activity.performCreate(Activity.java:5206)<br />
05-20 13:53:10.665: E/AndroidRuntime(24134):&nbsp; &nbsp; &nbsp; &nbsp;  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1083)<br />
05-20 13:53:10.665: E/AndroidRuntime(24134):&nbsp; &nbsp; &nbsp; &nbsp;  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2064)<br />
05-20 13:53:10.665: E/AndroidRuntime(24134):&nbsp; &nbsp; &nbsp; &nbsp;  ... 11 more</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.androidiani.com/forum/iniziare-programmare-android/">Iniziare a programmare Android</category>
			<dc:creator>LIquefy</dc:creator>
			<guid isPermaLink="true">http://www.androidiani.com/forum/iniziare-programmare-android/301104-tabhost-classe-per-ogni-spec.html</guid>
		</item>
		<item>
			<title>Adapter</title>
			<link>http://www.androidiani.com/forum/iniziare-programmare-android/300683-adapter.html</link>
			<pubDate>Sun, 19 May 2013 12:38:14 GMT</pubDate>
			<description><![CDATA[Ciao,ho un problema per settare l'adapter. Praticamente ho una list view e ogni volta che richiamo la funzione dovrei aggiungere un elemento...]]></description>
			<content:encoded><![CDATA[<div>Ciao,ho un problema per settare l'adapter. Praticamente ho una list view e ogni volta che richiamo la funzione dovrei aggiungere un elemento all'adapter. Il mio problema è il seguente nella on create<br />
<br />
se faccio <br />
<br />
ListView lista=(ListView)this.findViewById(R.id.listView1);<br />
	    ArrayAdapter&lt;String&gt; adapter = <br />
	    		new ArrayAdapter&lt;String&gt;(this, <br />
	    		android.R.layout.simple_list_item_1<br />
	    		); <br />
	    lista.setAdapter(adapter);<br />
	    lista.setVisibility(View.VISIBLE);<br />
<br />
e poi nella funzione vado a fare<br />
<br />
  adapter.add(name); dove name è una stringa mi da errore a questo punto...Cosa devo fare?</div>

]]></content:encoded>
			<category domain="http://www.androidiani.com/forum/iniziare-programmare-android/">Iniziare a programmare Android</category>
			<dc:creator>gaiapuffo</dc:creator>
			<guid isPermaLink="true">http://www.androidiani.com/forum/iniziare-programmare-android/300683-adapter.html</guid>
		</item>
		<item>
			<title>Android studio</title>
			<link>http://www.androidiani.com/forum/iniziare-programmare-android/300502-android-studio.html</link>
			<pubDate>Sat, 18 May 2013 19:18:57 GMT</pubDate>
			<description><![CDATA[Salve a tutti, 
volevo chiedere per un errore che mi da android studio, cioè non trova sdk anche se è installato correttamente. 
qualcuno sa se c'è...]]></description>
			<content:encoded><![CDATA[<div>Salve a tutti,<br />
volevo chiedere per un errore che mi da android studio, cioè non trova sdk anche se è installato correttamente.<br />
qualcuno sa se c'è una cartella particolare in cui va posizionato o come si imposta su android studio la posizione dell'sdk?</div>

]]></content:encoded>
			<category domain="http://www.androidiani.com/forum/iniziare-programmare-android/">Iniziare a programmare Android</category>
			<dc:creator>DaniMarti98</dc:creator>
			<guid isPermaLink="true">http://www.androidiani.com/forum/iniziare-programmare-android/300502-android-studio.html</guid>
		</item>
		<item>
			<title>Troppe EditText</title>
			<link>http://www.androidiani.com/forum/iniziare-programmare-android/300410-troppe-edittext.html</link>
			<pubDate>Sat, 18 May 2013 15:07:02 GMT</pubDate>
			<description><![CDATA[Cosa posso fare se ho troppe EditText e non ci stanno tutte nel LinearLayout? 
 
:'(]]></description>
			<content:encoded><![CDATA[<div>Cosa posso fare se ho troppe EditText e non ci stanno tutte nel LinearLayout?<br />
<br />
:'(</div>

]]></content:encoded>
			<category domain="http://www.androidiani.com/forum/iniziare-programmare-android/">Iniziare a programmare Android</category>
			<dc:creator>peruzzo</dc:creator>
			<guid isPermaLink="true">http://www.androidiani.com/forum/iniziare-programmare-android/300410-troppe-edittext.html</guid>
		</item>
	</channel>
</rss>
