diff --git a/hs_err_pid1276.log b/hs_err_pid1276.log
new file mode 100644
index 0000000..44171d2
--- /dev/null
+++ b/hs_err_pid1276.log
@@ -0,0 +1,120 @@
+#
+# A fatal error has been detected by the Java Runtime Environment:
+#
+# Internal Error (javaClasses.cpp:136), pid=1276, tid=7072
+# fatal error: Invalid layout of preloaded class
+#
+# JRE version: (7.0_51-b13) (build )
+# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode windows-amd64 compressed oops)
+# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
+#
+# If you would like to submit a bug report, please visit:
+# http://bugreport.sun.com/bugreport/crash.jsp
+#
+
+--------------- T H R E A D ---------------
+
+Current thread (0x0000000002c20800): JavaThread "Unknown thread" [_thread_in_vm, id=7072, stack(0x0000000002b20000,0x0000000002c20000)]
+
+Stack: [0x0000000002b20000,0x0000000002c20000]
+
+--------------- P R O C E S S ---------------
+
+Java Threads: ( => current thread )
+
+Other Threads:
+
+=>0x0000000002c20800 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=7072, stack(0x0000000002b20000,0x0000000002c20000)]
+
+VM state:not at safepoint (not fully initialized)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+GC Heap History (0 events):
+No events
+
+Deoptimization events (0 events):
+No events
+
+Internal exceptions (0 events):
+No events
+
+Events (10 events):
+Event: 0.033 loading class 0x0000000002c64f90 done
+Event: 0.033 loading class 0x0000000002c649b0 done
+Event: 0.033 loading class 0x0000000002c64990
+Event: 0.033 loading class 0x0000000002c6ca90
+Event: 0.034 loading class 0x0000000002c6ca90 done
+Event: 0.034 loading class 0x0000000002c6cac0
+Event: 0.034 loading class 0x0000000002c6cac0 done
+Event: 0.034 loading class 0x0000000002c6caf0
+Event: 0.034 loading class 0x0000000002c6caf0 done
+Event: 0.034 loading class 0x0000000002c64990 done
+
+
+Dynamic libraries:
+0x00007ff737de0000 - 0x00007ff737e13000 C:\Program Files\Java\jre7\bin\javaw.exe
+0x00007ffb00f50000 - 0x00007ffb010f9000 C:\Windows\SYSTEM32\ntdll.dll
+0x00007ffafe980000 - 0x00007ffafeab9000 C:\Windows\system32\KERNEL32.DLL
+0x00007ffafe440000 - 0x00007ffafe54e000 C:\Windows\system32\KERNELBASE.dll
+0x00007ffafcf00000 - 0x00007ffafcf8b000 C:\Windows\system32\apphelp.dll
+0x00007ffafa2d0000 - 0x00007ffafa31f000 C:\Windows\AppPatch\AppPatch64\AcGenral.DLL
+0x00007ffb00690000 - 0x00007ffb00737000 C:\Windows\system32\msvcrt.dll
+0x00007ffafe0f0000 - 0x00007ffafe11b000 C:\Windows\SYSTEM32\SspiCli.dll
+0x00007ffb00e50000 - 0x00007ffb00ea1000 C:\Windows\system32\SHLWAPI.dll
+0x00007ffb00c00000 - 0x00007ffb00d71000 C:\Windows\system32\USER32.dll
+0x00007ffb003c0000 - 0x00007ffb00536000 C:\Windows\system32\ole32.dll
+0x00007ffafef50000 - 0x00007ffb00360000 C:\Windows\system32\SHELL32.dll
+0x00007ffafd8d0000 - 0x00007ffafd8ef000 C:\Windows\SYSTEM32\USERENV.dll
+0x00007ffb00da0000 - 0x00007ffb00e45000 C:\Windows\system32\ADVAPI32.dll
+0x00007ffaf4520000 - 0x00007ffaf453b000 C:\Windows\SYSTEM32\MPR.dll
+0x00007ffb00980000 - 0x00007ffb00ab6000 C:\Windows\system32\RPCRT4.dll
+0x00007ffafedf0000 - 0x00007ffafee47000 C:\Windows\SYSTEM32\sechost.dll
+0x00007ffb00740000 - 0x00007ffb00917000 C:\Windows\SYSTEM32\combase.dll
+0x00007ffb00540000 - 0x00007ffb00685000 C:\Windows\system32\GDI32.dll
+0x00007ffafe2d0000 - 0x00007ffafe2e4000 C:\Windows\SYSTEM32\profapi.dll
+0x00007ffafc520000 - 0x00007ffafc5c1000 C:\Windows\SYSTEM32\SHCORE.dll
+0x00007ffafeac0000 - 0x00007ffafeaf4000 C:\Windows\system32\IMM32.DLL
+0x00007ffb00ac0000 - 0x00007ffb00bf8000 C:\Windows\system32\MSCTF.dll
+0x00007ffafb470000 - 0x00007ffafb48d000 C:\PROGRA~2\SupTab\SEARCH~2.DLL
+0x00007ffafb130000 - 0x00007ffafb38a000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.16384_none_62475f7becb72503\COMCTL32.dll
+0x000000005fa90000 - 0x000000005fb62000 C:\Program Files\Java\jre7\bin\msvcr100.dll
+0x000000005e940000 - 0x000000005f109000 C:\Program Files\Java\jre7\bin\server\jvm.dll
+0x00007ffaf3af0000 - 0x00007ffaf3af9000 C:\Windows\SYSTEM32\WSOCK32.dll
+0x00007ffafab70000 - 0x00007ffafab8f000 C:\Windows\SYSTEM32\WINMM.dll
+0x00007ffafef40000 - 0x00007ffafef47000 C:\Windows\system32\PSAPI.DLL
+0x00007ffafeb00000 - 0x00007ffafeb58000 C:\Windows\system32\WS2_32.dll
+0x00007ffafa020000 - 0x00007ffafa04a000 C:\Windows\SYSTEM32\WINMMBASE.dll
+0x00007ffb00d90000 - 0x00007ffb00d99000 C:\Windows\system32\NSI.dll
+0x00007ffafe3f0000 - 0x00007ffafe43a000 C:\Windows\SYSTEM32\cfgmgr32.dll
+0x00007ffafd150000 - 0x00007ffafd176000 C:\Windows\SYSTEM32\DEVOBJ.dll
+0x000000005fa80000 - 0x000000005fa8f000 C:\Program Files\Java\jre7\bin\verify.dll
+0x000000005fa50000 - 0x000000005fa78000 C:\Program Files\Java\jre7\bin\java.dll
+0x000000005fa30000 - 0x000000005fa45000 C:\Program Files\Java\jre7\bin\zip.dll
+
+VM Arguments:
+jvm_args: -Dfile.encoding=Cp1252 -Xbootclasspath:C:\Program Files (x86)\Android\adt-bundle-windows-x86_64-20130917\sdk\platforms\android-19\android.jar
+java_command: it.unisa.followteam.database.Prova
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+PATH=C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\MATLAB\R2012a\runtime\win64;C:\Program Files\MATLAB\R2012a\bin;C:\Program Files\Calibre2\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64
+USERNAME=sevtrust
+OS=Windows_NT
+PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
+
+
+
+--------------- S Y S T E M ---------------
+
+OS: Windows 8 , 64 bit Build 9200
+
+CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, erms, ht, tsc, tscinvbit, tscinv
+
+Memory: 4k page, physical 4094264k(1504028k free), swap 8288568k(4254232k free)
+
+vm_info: Java HotSpot(TM) 64-Bit Server VM (24.51-b03) for windows-amd64 JRE (1.7.0_51-b13), built on Dec 18 2013 18:40:56 by "java_re" with unknown MS VC++:1600
+
+time: Sat May 03 12:53:08 2014
+elapsed time: 0 seconds
+
diff --git a/hs_err_pid4396.log b/hs_err_pid4396.log
new file mode 100644
index 0000000..92ef0b0
--- /dev/null
+++ b/hs_err_pid4396.log
@@ -0,0 +1,120 @@
+#
+# A fatal error has been detected by the Java Runtime Environment:
+#
+# Internal Error (javaClasses.cpp:136), pid=4396, tid=4644
+# fatal error: Invalid layout of preloaded class
+#
+# JRE version: (7.0_51-b13) (build )
+# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode windows-amd64 compressed oops)
+# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
+#
+# If you would like to submit a bug report, please visit:
+# http://bugreport.sun.com/bugreport/crash.jsp
+#
+
+--------------- T H R E A D ---------------
+
+Current thread (0x0000000002a70800): JavaThread "Unknown thread" [_thread_in_vm, id=4644, stack(0x0000000002970000,0x0000000002a70000)]
+
+Stack: [0x0000000002970000,0x0000000002a70000]
+
+--------------- P R O C E S S ---------------
+
+Java Threads: ( => current thread )
+
+Other Threads:
+
+=>0x0000000002a70800 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=4644, stack(0x0000000002970000,0x0000000002a70000)]
+
+VM state:not at safepoint (not fully initialized)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+GC Heap History (0 events):
+No events
+
+Deoptimization events (0 events):
+No events
+
+Internal exceptions (0 events):
+No events
+
+Events (10 events):
+Event: 0.014 loading class 0x0000000002ab4cb0 done
+Event: 0.014 loading class 0x0000000002ab46d0 done
+Event: 0.014 loading class 0x0000000002ab46b0
+Event: 0.014 loading class 0x0000000002abc7b0
+Event: 0.014 loading class 0x0000000002abc7b0 done
+Event: 0.014 loading class 0x0000000002abc7e0
+Event: 0.014 loading class 0x0000000002abc7e0 done
+Event: 0.014 loading class 0x0000000002abc810
+Event: 0.014 loading class 0x0000000002abc810 done
+Event: 0.015 loading class 0x0000000002ab46b0 done
+
+
+Dynamic libraries:
+0x00007ff737de0000 - 0x00007ff737e13000 C:\Program Files\Java\jre7\bin\javaw.exe
+0x00007ffb00f50000 - 0x00007ffb010f9000 C:\Windows\SYSTEM32\ntdll.dll
+0x00007ffafe980000 - 0x00007ffafeab9000 C:\Windows\system32\KERNEL32.DLL
+0x00007ffafe440000 - 0x00007ffafe54e000 C:\Windows\system32\KERNELBASE.dll
+0x00007ffafcf00000 - 0x00007ffafcf8b000 C:\Windows\system32\apphelp.dll
+0x00007ffafa2d0000 - 0x00007ffafa31f000 C:\Windows\AppPatch\AppPatch64\AcGenral.DLL
+0x00007ffb00690000 - 0x00007ffb00737000 C:\Windows\system32\msvcrt.dll
+0x00007ffafe0f0000 - 0x00007ffafe11b000 C:\Windows\SYSTEM32\SspiCli.dll
+0x00007ffb00e50000 - 0x00007ffb00ea1000 C:\Windows\system32\SHLWAPI.dll
+0x00007ffb00c00000 - 0x00007ffb00d71000 C:\Windows\system32\USER32.dll
+0x00007ffb003c0000 - 0x00007ffb00536000 C:\Windows\system32\ole32.dll
+0x00007ffafef50000 - 0x00007ffb00360000 C:\Windows\system32\SHELL32.dll
+0x00007ffafd8d0000 - 0x00007ffafd8ef000 C:\Windows\SYSTEM32\USERENV.dll
+0x00007ffb00da0000 - 0x00007ffb00e45000 C:\Windows\system32\ADVAPI32.dll
+0x00007ffaf4520000 - 0x00007ffaf453b000 C:\Windows\SYSTEM32\MPR.dll
+0x00007ffb00980000 - 0x00007ffb00ab6000 C:\Windows\system32\RPCRT4.dll
+0x00007ffafedf0000 - 0x00007ffafee47000 C:\Windows\SYSTEM32\sechost.dll
+0x00007ffb00740000 - 0x00007ffb00917000 C:\Windows\SYSTEM32\combase.dll
+0x00007ffb00540000 - 0x00007ffb00685000 C:\Windows\system32\GDI32.dll
+0x00007ffafe2d0000 - 0x00007ffafe2e4000 C:\Windows\SYSTEM32\profapi.dll
+0x00007ffafc520000 - 0x00007ffafc5c1000 C:\Windows\SYSTEM32\SHCORE.dll
+0x00007ffafeac0000 - 0x00007ffafeaf4000 C:\Windows\system32\IMM32.DLL
+0x00007ffb00ac0000 - 0x00007ffb00bf8000 C:\Windows\system32\MSCTF.dll
+0x00007ffafb470000 - 0x00007ffafb48d000 C:\PROGRA~2\SupTab\SEARCH~2.DLL
+0x00007ffafb130000 - 0x00007ffafb38a000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.16384_none_62475f7becb72503\COMCTL32.dll
+0x000000005fa90000 - 0x000000005fb62000 C:\Program Files\Java\jre7\bin\msvcr100.dll
+0x000000005e940000 - 0x000000005f109000 C:\Program Files\Java\jre7\bin\server\jvm.dll
+0x00007ffaf3af0000 - 0x00007ffaf3af9000 C:\Windows\SYSTEM32\WSOCK32.dll
+0x00007ffafab70000 - 0x00007ffafab8f000 C:\Windows\SYSTEM32\WINMM.dll
+0x00007ffafef40000 - 0x00007ffafef47000 C:\Windows\system32\PSAPI.DLL
+0x00007ffafeb00000 - 0x00007ffafeb58000 C:\Windows\system32\WS2_32.dll
+0x00007ffafa020000 - 0x00007ffafa04a000 C:\Windows\SYSTEM32\WINMMBASE.dll
+0x00007ffb00d90000 - 0x00007ffb00d99000 C:\Windows\system32\NSI.dll
+0x00007ffafe3f0000 - 0x00007ffafe43a000 C:\Windows\SYSTEM32\cfgmgr32.dll
+0x00007ffafd150000 - 0x00007ffafd176000 C:\Windows\SYSTEM32\DEVOBJ.dll
+0x000000005fa80000 - 0x000000005fa8f000 C:\Program Files\Java\jre7\bin\verify.dll
+0x000000005fa50000 - 0x000000005fa78000 C:\Program Files\Java\jre7\bin\java.dll
+0x000000005fa30000 - 0x000000005fa45000 C:\Program Files\Java\jre7\bin\zip.dll
+
+VM Arguments:
+jvm_args: -Dfile.encoding=Cp1252 -Xbootclasspath:C:\Program Files (x86)\Android\adt-bundle-windows-x86_64-20130917\sdk\platforms\android-19\android.jar
+java_command: it.unisa.followteam.database.Prova
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+PATH=C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\MATLAB\R2012a\runtime\win64;C:\Program Files\MATLAB\R2012a\bin;C:\Program Files\Calibre2\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64
+USERNAME=sevtrust
+OS=Windows_NT
+PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
+
+
+
+--------------- S Y S T E M ---------------
+
+OS: Windows 8 , 64 bit Build 9200
+
+CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, erms, ht, tsc, tscinvbit, tscinv
+
+Memory: 4k page, physical 4094264k(1543424k free), swap 8288568k(4253312k free)
+
+vm_info: Java HotSpot(TM) 64-Bit Server VM (24.51-b03) for windows-amd64 JRE (1.7.0_51-b13), built on Dec 18 2013 18:40:56 by "java_re" with unknown MS VC++:1600
+
+time: Sat May 03 12:53:46 2014
+elapsed time: 0 seconds
+
diff --git a/project.properties b/project.properties
index b90ab15..8709cce 100644
--- a/project.properties
+++ b/project.properties
@@ -12,4 +12,4 @@
# Project target.
target=android-19
-android.library.reference.1=../../workspaceAndroid/appcompat_v7_4
+android.library.reference.1=../../Documents/workspaceAndroid/appcompat_v7_4
diff --git a/res/layout/home.xml b/res/layout/calendario.xml
similarity index 100%
rename from res/layout/home.xml
rename to res/layout/calendario.xml
diff --git a/res/layout/drawer_list_item.xml b/res/layout/drawer_list_item.xml
index 0a7f6d1..1bb5291 100644
--- a/res/layout/drawer_list_item.xml
+++ b/res/layout/drawer_list_item.xml
@@ -22,4 +22,5 @@
android:gravity="center_vertical"
android:paddingLeft="16dp"
android:paddingRight="16dp"
- android:minHeight="?android:attr/listPreferredItemHeightSmall"/>
\ No newline at end of file
+ android:minHeight="?android:attr/listPreferredItemHeightSmall"
+ android:textColor="#FFFFFF"/>
\ No newline at end of file
diff --git a/res/layout/fragment_activity.xml b/res/layout/fragment_activity.xml
deleted file mode 100644
index 13a00e6..0000000
--- a/res/layout/fragment_activity.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/res/layout/home_login.xml b/res/layout/home_login.xml
deleted file mode 100644
index 2b09169..0000000
--- a/res/layout/home_login.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
diff --git a/res/layout/login_fragment.xml b/res/layout/login.xml
similarity index 100%
rename from res/layout/login_fragment.xml
rename to res/layout/login.xml
diff --git a/res/layout/modificaprofilo.xml b/res/layout/modificaprofilo.xml
index d388a2f..dafc253 100644
--- a/res/layout/modificaprofilo.xml
+++ b/res/layout/modificaprofilo.xml
@@ -5,53 +5,45 @@
android:layout_height="match_parent"
android:orientation="vertical" >
+
+
-
-
+ android:hint="@string/passwordLabel" >
-
+
+
+ android:layout_marginTop="23dp" />
diff --git a/res/layout/registrazione_fragment.xml b/res/layout/registrazione.xml
similarity index 100%
rename from res/layout/registrazione_fragment.xml
rename to res/layout/registrazione.xml
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 937212b..53d06e3 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -6,9 +6,8 @@
- wrap_content
- 9sp
- 9sp
-
+ - #FFFFFF
-
-
diff --git a/src/it/unisa/followteam/Calendario.java b/src/it/unisa/followteam/Calendario.java
index d640bca..c94a87a 100644
--- a/src/it/unisa/followteam/Calendario.java
+++ b/src/it/unisa/followteam/Calendario.java
@@ -23,7 +23,7 @@ public class Calendario extends Fragment {
public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) {
- final View rootView = inflater.inflate(R.layout.home, container, false);
+ final View rootView = inflater.inflate(R.layout.calendario, container, false);
if(db == null)
db=new MyDatabase(rootView.getContext());
@@ -41,14 +41,6 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle sav
c.close();
ArrayAdapter adapter=new ArrayAdapter(rootView.getContext(),R.layout.list_item,giornate);
- /*SimpleCursorAdapter adapter = new SimpleCursorAdapter(
- rootView.getContext(),
- R.layout.list_item,
- c,
- new String[]{MyDatabase.GiornataMetaData.GIORNATA_ID},
- new int[] {R.id.textView1},
- 1);
- */
lista.setAdapter(adapter);
db.close();
diff --git a/src/it/unisa/followteam/Login.java b/src/it/unisa/followteam/Login.java
index e67082d..1746aff 100644
--- a/src/it/unisa/followteam/Login.java
+++ b/src/it/unisa/followteam/Login.java
@@ -20,7 +20,7 @@ public Login() {
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) {
- final View rootView = inflater.inflate(R.layout.login_fragment, container, false);
+ final View rootView = inflater.inflate(R.layout.login, container, false);
//bottone login apertura intent
buttonLogin=(Button) rootView.findViewById(R.id.buttonLogin);
diff --git a/src/it/unisa/followteam/ModificaProfilo.java b/src/it/unisa/followteam/ModificaProfilo.java
index 153051d..6ffb24c 100644
--- a/src/it/unisa/followteam/ModificaProfilo.java
+++ b/src/it/unisa/followteam/ModificaProfilo.java
@@ -1,19 +1,42 @@
package it.unisa.followteam;
+import it.unisa.followteam.database.MyDatabase;
import android.app.Fragment;
import android.content.Intent;
+import android.database.Cursor;
import android.os.Bundle;
+import android.support.v4.widget.SimpleCursorAdapter;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
+import android.widget.Spinner;
public class ModificaProfilo extends Fragment {
+ private MyDatabase db;
+
public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) {
final View rootView = inflater.inflate(R.layout.modificaprofilo, container, false);
-
+ if(db == null)
+ db=new MyDatabase(rootView.getContext());
+
+ db.open();
+
+ Spinner lista = (Spinner) rootView.findViewById(R.id.spinnerModificaProfilo);
+ Cursor c=db.fetchStadio();
+
+ SimpleCursorAdapter adapter = new SimpleCursorAdapter(
+ rootView.getContext(),
+ R.layout.list_item,
+ c,
+ new String[]{MyDatabase.StadioMetaData.STADIO_NOME_SQUADRA},
+ new int[] {R.id.textView1},
+ 1);
+
+ lista.setAdapter(adapter);
+ db.close();
return rootView;
}
}
diff --git a/src/it/unisa/followteam/Registrazione.java b/src/it/unisa/followteam/Registrazione.java
index 2557118..36d6572 100644
--- a/src/it/unisa/followteam/Registrazione.java
+++ b/src/it/unisa/followteam/Registrazione.java
@@ -23,7 +23,7 @@ public Registrazione() {
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
- View rootView = inflater.inflate(R.layout.registrazione_fragment, container, false);
+ View rootView = inflater.inflate(R.layout.registrazione, container, false);
if(db == null)
db=new MyDatabase(rootView.getContext());