adding open/save project and changing layout

This commit is contained in:
2017-05-01 17:06:59 +01:00
parent 02ffbf3d77
commit c691595767
10 changed files with 136 additions and 93 deletions

View File

@@ -4,14 +4,13 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.1'
compile 'it.sephiroth.android.exif:library:1.0.1'
}
}
apply plugin: 'android'
android {
compileSdkVersion 19
buildToolsVersion '23.0.2'
buildToolsVersion '25.0.0'
defaultConfig {
applicationId = 'com.omigamedev'

View File

@@ -1,6 +1,6 @@
#Wed Apr 10 15:27:10 PDT 2013
#Mon May 01 13:12:48 BST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-2.14.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

View File

@@ -1,21 +0,0 @@
package com.omigamedev;
import android.test.ActivityInstrumentationTestCase2;
/**
* This is a simple framework for a test of an Application. See
* {@link android.test.ApplicationTestCase ApplicationTestCase} for more information on
* how to write and extend Application tests.
* <p/>
* To run this test, you can type:
* adb shell am instrument -w \
* -e class com.omigamedev.DummyActivityTest \
* com.omigamedev.tests/android.test.InstrumentationTestRunner
*/
public class DummyActivityTest extends ActivityInstrumentationTestCase2<DummyActivity> {
public DummyActivityTest() {
super("com.omigamedev", DummyActivity.class);
}
}

View File

@@ -320,6 +320,7 @@ static int engine_init_display(struct engine* engine) {
LOG("All ready");
engine->animating = 1;
ANativeActivity_showSoftInput(engine->app->activity, ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED);
return 0;
}

View File

@@ -1,15 +0,0 @@
package com.omigamedev;
import android.app.Activity;
import android.os.Bundle;
public class DummyActivity extends Activity
{
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
}