Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

Commit

Permalink
Open source!
Browse files Browse the repository at this point in the history
  • Loading branch information
fengberd committed Jun 11, 2016
1 parent aa0aeac commit ec092af
Show file tree
Hide file tree
Showing 23 changed files with 1,170 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.gradle
build/
app/build/

# Ignore Gradle GUI config
gradle-app.setting
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
# MinecraftPEServer
An Android application to let you run PocketMine or Nukkit on your phone!

# Uage
Some code from PocketMine-Android,but most of them have been rewrited!

# Abort JRE
You can get "nukkit_library.tar.gz" from <a href="https://www.dropbox.com/s/c6xnyehgdtwobct/nukkit_library.tar.gz?dl=0">Here</a>

25 changes: 25 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 21
buildToolsVersion "21.1.0"

defaultConfig {
applicationId "net.fengberd.minecraftpe_server"
minSdkVersion 9
targetSdkVersion 21
versionCode 3
versionName "1.0.2"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.actionbarsherlock:actionbarsherlock:4.4.0'
}
17 changes: 17 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in C:\tools\adt-bundle-windows-x86_64-20131030\sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
33 changes: 33 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.fengberd.minecraftpe_server" >

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<application
android:configChanges="keyboardHidden|orientation"
android:icon="@drawable/ic_launcher"
android:label="@string/application_name" >
<activity
android:name="net.fengberd.minecraftpe_server.HomeActivity"
android:label="@string/activity_home" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="net.fengberd.minecraftpe_server.LogActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/activity_console" >
</activity>
<service
android:name="net.fengberd.minecraftpe_server.ServerService"
android:icon="@drawable/ic_launcher"
android:label="Server Service" >
</service>
</application>
</manifest>
Binary file added app/src/main/assets/busybox
Binary file not shown.
Binary file added app/src/main/assets/php
Binary file not shown.
Loading

0 comments on commit ec092af

Please sign in to comment.