Skip to content

miniskar/helloworld-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to build and run hello world application for android device

Sources

Sources are placed in src directory

Building

Make sure that Android NDK is installed and ndk-build is accessible

$ make compile 

The make command will call ndk-build in android directory. Current example builds two targets.

  1. libHelloWorld.so shared library.
  2. helloWorld executable

Push to device

Make sure that the android device is connected to the machine and android platform tools (adb) are accessible

$ make push

It pushes the sharedy library and executable to /data/local/tmp location in device

Run on device

Make command to run on device

$ make run

It runs it through adb shell.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published