omni: helpers for creating omni emulator builds
Precondition: android SDK must be installed in ~/Android/SDK
lunch omni_emulator-userdebug
make
if you want to run on the same host
vendor/omni/utils/emulator/start_emulator_local.sh
if you need to copy on a different host
vendor/omni/utils/emulator/create_emulator_image.sh
cp /tmp/omni_emulator.zip to the device where you have installed android SDK
unzip into /tmp
run /tmp/generic_x86/start_emulator_image.sh
Change-Id: I1b2abeb769a21d2da21e058d9767974cad99bed7
diff --git a/utils/emulator/GoldfishParts/AndroidManifest.xml b/utils/emulator/GoldfishParts/AndroidManifest.xml
new file mode 100644
index 0000000..6b80449
--- /dev/null
+++ b/utils/emulator/GoldfishParts/AndroidManifest.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="org.omnirom.device"
+ android:sharedUserId="android.uid.system" >
+
+ <uses-sdk
+ android:minSdkVersion="18"
+ android:targetSdkVersion="21" />
+ <application
+ android:icon="@drawable/ic_launcher"
+ android:label="@string/advanced_settings"
+ android:theme="@android:style/Theme.DeviceDefault.Settings"
+ android:supportsRtl="true" >
+ <activity
+ android:name="org.omnirom.device.DeviceSettings"
+ android:exported="true"
+ android:label="@string/advanced_settings"
+ android:launchMode="singleTask" >
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <!--<category android:name="android.intent.category.LAUNCHER" />-->
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
+ </application>
+</manifest>