Android WIP.

git-svn-id: http://svn.purei.org/purei/trunk@1601 b36208d7-6611-0410-8bec-b1987f11c4a2
This commit is contained in:
jpd002 2014-12-03 07:25:55 +00:00 committed by Jean-Philip Desjardins
parent 0e43119836
commit 25c76b5aeb
5 changed files with 35 additions and 22 deletions

View File

@ -7,8 +7,7 @@
<uses-feature android:glEsVersion="0x00030000" android:required="true" />
<application android:label="@string/app_name">
<activity
android:name="com.virtualapplications.play.MainActivity"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:name=".MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

View File

@ -1,20 +0,0 @@
# This file is used to override default values used by the Ant build system.
#
# This file must be checked in Version Control Systems, as it is
# integral to the build system of your project.
# This file is only used by the Ant script.
# You can use this to override default values such as
# 'source.dir' for the location of your java source folder and
# 'out.dir' for the location of your output folder.
# You can also use it define how the release builds are signed by declaring
# the following properties:
# 'key.store' for the location of your keystore and
# 'key.alias' for the name of the key to use.
# The password will be asked during the build when you use the 'release' target.
palleon.dir=C:/Projects/Palleon
source.dir=${palleon.dir}/src/android/java
asset.dir=../data/

View File

@ -0,0 +1,4 @@
#!/bin/bash
set -e
adb install -r ./bin/Play-debug.apk
$ANDROID_NDK_ROOT/ndk-gdb --nowait --start

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<Button
android:id="@+id/startTests"
android:text="Start Tests"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
</LinearLayout>

View File

@ -0,0 +1,17 @@
package com.virtualapplications.play;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.*;
import android.view.View.*;
import android.widget.*;
public class MainActivity extends Activity
{
@Override protected void onCreate(Bundle icicle)
{
super.onCreate(icicle);
setContentView(R.layout.main);
}
}