Skip to content

Commit

Permalink
-eliminazione warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ciopper90 committed Apr 15, 2014
1 parent b920c49 commit e75c3d0
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 26 deletions.
3 changes: 0 additions & 3 deletions src/it/gaiacri/mobile/Accesso.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import de.keyboardsurfer.android.widget.crouton.Crouton;
import de.keyboardsurfer.android.widget.crouton.Style;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
Expand Down Expand Up @@ -38,7 +37,6 @@ public class Accesso extends ActionBarActivity {
public Context context;
public static WebView webview;
private static RichiestaLogin login;
private String sid ="";
public SharedPreferences sharedPref;


Expand Down Expand Up @@ -109,7 +107,6 @@ private void loadWebView() {
webview = new WebView(this);
webview.getSettings().setJavaScriptEnabled(true);

final Activity activity = this;
webview.setWebChromeClient(new WebChromeClient() {
public void onProgressChanged(WebView view, int progress) {
setSupportProgress(progress * 100);
Expand Down
1 change: 0 additions & 1 deletion src/it/gaiacri/mobile/DisplayAttivita.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.support.v4.app.NavUtils;
import android.support.v7.app.ActionBarActivity;
import android.util.Log;
import android.view.LayoutInflater;
Expand Down
17 changes: 0 additions & 17 deletions src/it/gaiacri/mobile/MenuPrincipale.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public class MenuPrincipale extends Fragment {
public String sid = "";

public TextView nome;
//public TextView comitato;

public String user_nome;

Expand Down Expand Up @@ -102,15 +101,10 @@ public void richiestaWelcome(){
}

private void startSplash() {


mSplashView.setVisibility(View.VISIBLE);
mMenuView.setVisibility(View.GONE);
TextView t=((TextView) v.findViewById(R.id.Loading));
t.setText(this.getString(R.string.login_connessione));
//avviare download "ciao"
//TODO
// Create and execute the background task.
richiestaWelcome();
}

Expand Down Expand Up @@ -172,19 +166,10 @@ protected void onPostExecute(String str) {

if ( utente != null ) {
Log.e("Login", "Gia Identificato");

//mCallbacks.onPostUpdate();
//aggiorna scritta su display
//((TextView) activity.findViewById(R.id.Loading)).setText(getString(R.string.login_download_dati));
richiestaDati();


//mHandler.sendEmptyMessage(FINISH_LOAD);
} else {
Log.e("Login", "Non gia Identificato");
//mHandler.sendEmptyMessage(FINISH_LOAD);
Intent myIntent = new Intent(context, Accesso.class);
//myIntent.putExtra("sid", getSid());
startActivity(myIntent);
activity.finish();
}
Expand Down Expand Up @@ -217,8 +202,6 @@ protected void onPostExecute(String ris) {
nome.setText("Ciao, "+user_nome);
} catch (JSONException e) {
//se passo qua e perche non c'e il comitato oppure non c'e l'anagrafica

//((Button)activity.findViewById(R.id.button3)).setEnabled(false);
}
mSplashView.setVisibility(View.GONE);
mMenuView.setVisibility(View.VISIBLE);
Expand Down
1 change: 0 additions & 1 deletion src/it/gaiacri/mobile/PartecipazioniAttivita.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package it.gaiacri.mobile;

import it.gaiacri.mobile.Object.Partecipazioni;
import it.gaiacri.mobile.Object.Turno;
import it.gaiacri.mobile.Utils.ErrorJson;

import java.util.ArrayList;
Expand Down
4 changes: 0 additions & 4 deletions src/it/gaiacri/mobile/PostaIngresso.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
import it.gaiacri.mobile.Utils.DateUtils;
import it.gaiacri.mobile.Utils.ErrorJson;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;

import org.json.JSONArray;
Expand Down

0 comments on commit e75c3d0

Please sign in to comment.