// Path: DumbledroidExample/src/io/leocad/dumbledoreexample/models/Jedi.java
// public class Jedi extends AbstractModel {
// 
// 	private static final long serialVersionUID = 1L;
// 	
// 	public String name;
// 	public String surname;
// 	public String ability;
// 	public String master;
// 	public String father;
// 
// 	public Jedi() {
// 		super("https://dl.dropbox.com/u/5135185/dumbledroid/jedi.json", 15 * 60 * 1000); //15 min cache
// 	}
// 	
// 	@Override
// 	protected DataType getDataType() {
// 		return DataType.JSON;
// 	}
// }
// 
// Path: Dumbledroid/Dumbledroid/src/main/java/io/leocad/dumbledroid/net/NoConnectionException.java
// public class NoConnectionException extends Exception {
// 
// 	private static final long serialVersionUID = -847063658214858858L;
// 	
// }


import io.leocad.dumbledoreexample.R;
import io.leocad.dumbledoreexample.models.Jedi;
import io.leocad.dumbledroid.net.NoConnectionException;
import android.annotation.SuppressLint;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle;
import android.widget.TextView;
package io.leocad.dumbledoreexample.activities;


public class JediActivity extends BaseActivity {
	
	private Dialog mDialog;

	@SuppressLint("NewApi")
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.jedi);
		
		if (Build.VERSION.SDK_INT >= 11) {
			// Show the Up button in the action bar.
			getActionBar().setDisplayHomeAsUpEnabled(true);
		}
		
		loadContent();
	}
	
	private void loadContent() {
// Path: DumbledroidExample/src/io/leocad/dumbledoreexample/models/Jedi.java
// public class Jedi extends AbstractModel {
// 
// 	private static final long serialVersionUID = 1L;
// 	
// 	public String name;
// 	public String surname;
// 	public String ability;
// 	public String master;
// 	public String father;
// 
// 	public Jedi() {
// 		super("https://dl.dropbox.com/u/5135185/dumbledroid/jedi.json", 15 * 60 * 1000); //15 min cache
// 	}
// 	
// 	@Override
// 	protected DataType getDataType() {
// 		return DataType.JSON;
// 	}
// }
// 
// Path: Dumbledroid/Dumbledroid/src/main/java/io/leocad/dumbledroid/net/NoConnectionException.java
// public class NoConnectionException extends Exception {
// 
// 	private static final long serialVersionUID = -847063658214858858L;
// 	
// }


// Path: DumbledroidExample/src/io/leocad/dumbledoreexample/activities/JediActivity.java
import io.leocad.dumbledoreexample.R;
import io.leocad.dumbledoreexample.models.Jedi;
import io.leocad.dumbledroid.net.NoConnectionException;
import android.annotation.SuppressLint;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle;
import android.widget.TextView;

package io.leocad.dumbledoreexample.activities;


public class JediActivity extends BaseActivity {
	
	private Dialog mDialog;

	@SuppressLint("NewApi")
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.jedi);
		
		if (Build.VERSION.SDK_INT >= 11) {
			// Show the Up button in the action bar.
			getActionBar().setDisplayHomeAsUpEnabled(true);
		}
		
		loadContent();
	}
	
	private void loadContent() {
		new AsyncTask<Void, Void, Jedi>() {