Project

General

Profile

How to compile and run the example code » History » Version 1

Distorted Admin, 06/02/2016 01:03 PM

1 1 Distorted Admin
h1. How to compile and run the example code
2
3
This tutorial explains how to turn the 'library' and 'examples' code into an application you can run on your Android phone.
4
5
We are going to assume you are fairly familiar with Android development.
6
I personally use Android Studio; you can use Eclipse or even command line for your development but setting up the project will be different.
7
8
# Download and install Android Studio: https://developer.android.com/studio/index.html
9
# Create new project:
10
## In the 'New Project' window set:
11
### Application Name: Distorted Android
12
### Company Domain: distorted.org
13
### Package Name: click 'edit' and change the default to 'org.distorted.examples'
14
## In the 'Target Android Devices' window, make sure 'Phone and Tablet' is checked. Everything else can be unchecked.
15
## In the 'Add an Activity to Mobile' select 'Add No Activity'.
16
## Click 'Finish' and an empty project will be created for you.