Created
January 27, 2018 15:22
-
-
Save LiewJunTung/36428c8eff2bc7c232efe9dd4d1818d1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MainActivity extends AppCompatActivity { | |
// Used to load the 'native-lib' library on application startup. | |
static { | |
System.loadLibrary("calculator"); | |
} | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
tv.setText(native_say_hello_world()); | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment