package de.blinkt.openvpn; import java.io.File; import java.util.ArrayList; import java.util.List; import android.content.Intent; import android.net.Uri; import android.preference.PreferenceActivity; public class MainActivity extends PreferenceActivity { @Override public void onBuildHeaders(List
target) { loadHeadersFromResource(R.xml.main_headers, target); String translatedby = getString(R.string.translationby); if(!translatedby.equals("") && !translatedby.contains("Arne Schwabe")) { Header translation = new Header(); translation.title = getString(R.string.translation); translation.summary = translatedby; target.add(translation); } if(SendDumpActivity.getLastestDump(this)!=null) { Header sendDump = new Header(); sendDump.titleRes = R.string.send_minidump; sendDump.summaryRes = R.string.send_minidump_summary; sendDump.intent = new Intent(this,SendDumpActivity.class); target.add(sendDump); } } @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); System.out.println(data); } }