Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Side by Side Diff: apk/java/org/chromium/simple/MainActivity.java

Issue 949803002: Deconstructed APK prototyping Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 package org.chromium.simple;
2
3 import org.chromium.base.library_loader.LibraryLoader;
4
5 import android.os.Bundle;
6 import android.app.Activity;
7
8 public class MainActivity extends Activity {
9 private static final String TAG = "org.chromium.simple.MainActivity";
10
11 static {
12 android.util.Log.e(TAG, "<static>");
13 }
14
15 @Override
16 public void onCreate(Bundle savedInstanceState) {
17 super.onCreate(savedInstanceState);
18 setContentView(R.layout.activity_my);
19 android.util.Log.e(TAG, "onCreate()");
20 MainApplication.initCommandLine(this);
21 try {
22 LibraryLoader.get(0).loadNow();
23 } catch (Exception e) {
24 android.util.Log.e(TAG, e.toString());
25 }
26 android.util.Log.e(TAG, "getValue()=" + nativeGetValue());
27 android.util.Log.e(TAG, "getValue()=" + nativeGetValue());
28 android.util.Log.e(TAG, "getValue()=" + nativeGetValue());
29 }
30
31 private static native int nativeGetValue();
32 }
OLDNEW
« no previous file with comments | « apk/hijack/org/chromium/deconstructed/ResourceInstaller.java ('k') | apk/java/org/chromium/simple/MainApplication.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698