mirror of
https://github.com/libretro/Play-.git
synced 2024-12-04 07:20:56 +00:00
Android WIP.
git-svn-id: http://svn.purei.org/purei/trunk@1601 b36208d7-6611-0410-8bec-b1987f11c4a2
This commit is contained in:
parent
0e43119836
commit
25c76b5aeb
@ -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" />
|
||||
|
@ -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/
|
4
build_android/debug_debug.sh
Normal file
4
build_android/debug_debug.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
adb install -r ./bin/Play-debug.apk
|
||||
$ANDROID_NDK_ROOT/ndk-gdb --nowait --start
|
13
build_android/res/layout/main.xml
Normal file
13
build_android/res/layout/main.xml
Normal 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>
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user