added xmlfile for adjustment
This commit is contained in:
parent
b542b66a2a
commit
46d039b0ff
@ -156,6 +156,13 @@ public class MainActivity extends AppCompatActivity {
|
||||
Toast.makeText(this, "Adjust .xml",
|
||||
Toast.LENGTH_SHORT).show();
|
||||
Intent intent = new Intent(Intent.ACTION_SEND);
|
||||
String externalPrivateStorageDir = null;
|
||||
try {
|
||||
externalPrivateStorageDir = ExternalStorageHandler.getExternalPrivateStorageDir(this);
|
||||
} catch (FileNotFoundException e) {
|
||||
Log.e("MainActivity","error while opening the config.xml for adjustment: " + e.getMessage());
|
||||
}
|
||||
File xmlFile = new File(externalPrivateStorageDir, "config.xml");
|
||||
String shareBody = "gegen xml für den PI ersetzen";
|
||||
intent.setType("text/plain");
|
||||
intent.putExtra(intent.EXTRA_TEXT, shareBody);
|
||||
|
Loading…
x
Reference in New Issue
Block a user