Now we're running enough code to respond (incorrectly) to http requests.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4207 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-03-09 00:32:42 +00:00
parent 63dcab30c3
commit bf72782c9f
4 changed files with 24 additions and 22 deletions

View File

@ -14,12 +14,10 @@ public class MainActivity extends Activity {
Log.w("tildefriends", String.format("getFilesDir() is %s", getFilesDir().toString()));
Log.w("tildefriends", String.format("getPackageResourcePath() is %s", getPackageResourcePath().toString()));
Log.w("tildefriends", String.format("getPackageCodePath() is %s", getPackageCodePath().toString()));
setFilesPath(getFilesDir().toString());
text.setText(getMessage());
setFilesPath(getFilesDir().toString(), getPackageResourcePath().toString());
}
public native String getMessage();
public native void setFilesPath(String path);
public native void setFilesPath(String files_path, String apk_path);
static {
System.loadLibrary("tildefriends");