// Path: app/src/main/java/it/unisannio/security/DoApp/model/Commons.java
// public class Commons {
// 
//     // public static int ABOUT = 3;
// 
//     // sono i tre stadi per il progressbar di applistactivity
//     public static final int MSG_PROCESSING = 0;
//     public static final int MSG_DONE = 1;
//     public static final int MSG_ERROR = 2;
// 
//     public static final int ACTIVITIES = 0;
//     public static final int RECEIVERS = 1;
//     public static final int SERVICES = 2;
// 
//     public static final String PKGINFO_KEY = "pkginfo";
//     public static final String APPTYPE_KEY = "apptype";
//     public static final String pkgName = "pkgname";
// 
//     public static final String path = Environment.getExternalStorageDirectory().getAbsolutePath()+"/DoAppReports/";
//     public static final String pathFile = "pathFile";
// 
// }


import android.content.Intent;
import android.graphics.Color;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import it.unisannio.security.DoApp.R;
import it.unisannio.security.DoApp.model.Commons;
package it.unisannio.security.DoApp.activities;



public class EndActivity extends AppCompatActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_end);
        Button button;
        final String pathFile;
        final TextView textView;

        textView = (TextView) findViewById(R.id.textViewVisit);
        button = (Button) findViewById(R.id.buttonEnd);


        Intent i = getIntent();
// Path: app/src/main/java/it/unisannio/security/DoApp/model/Commons.java
// public class Commons {
// 
//     // public static int ABOUT = 3;
// 
//     // sono i tre stadi per il progressbar di applistactivity
//     public static final int MSG_PROCESSING = 0;
//     public static final int MSG_DONE = 1;
//     public static final int MSG_ERROR = 2;
// 
//     public static final int ACTIVITIES = 0;
//     public static final int RECEIVERS = 1;
//     public static final int SERVICES = 2;
// 
//     public static final String PKGINFO_KEY = "pkginfo";
//     public static final String APPTYPE_KEY = "apptype";
//     public static final String pkgName = "pkgname";
// 
//     public static final String path = Environment.getExternalStorageDirectory().getAbsolutePath()+"/DoAppReports/";
//     public static final String pathFile = "pathFile";
// 
// }


// Path: app/src/main/java/it/unisannio/security/DoApp/activities/EndActivity.java
import android.content.Intent;
import android.graphics.Color;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import it.unisannio.security.DoApp.R;
import it.unisannio.security.DoApp.model.Commons;

package it.unisannio.security.DoApp.activities;



public class EndActivity extends AppCompatActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_end);
        Button button;
        final String pathFile;
        final TextView textView;

        textView = (TextView) findViewById(R.id.textViewVisit);
        button = (Button) findViewById(R.id.buttonEnd);


        Intent i = getIntent();
        pathFile = i.getStringExtra(Commons.pathFile);