Skip to content

Instantly share code, notes, and snippets.

@billdawson
Created December 2, 2010 19:01
Show Gist options
  • Select an option

  • Save billdawson/725856 to your computer and use it in GitHub Desktop.

Select an option

Save billdawson/725856 to your computer and use it in GitHub Desktop.
test info for LH ticket 2476
<!-- Make the 'android' element of your tiapp.xml look like this-->
<android xmlns:android="http://schemas.android.com/apk/res/android">
<activities>
<activity url="Test.js" dummy="dummy">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
</activities>
</android>
<!-- FAILCASE. Open the generated build/android/AndroidManifest.xml. You'll find an 'activity' section for "TestActivity" that looks like this: (the "intent-filter" that was specified in the tiapp.xml is missing)-->
<activity
android:name="com.billdawson.jsactivity.TestActivity"
dummy="dummy"
android:configChanges="keyboardHidden|orientation"
/>
<!-- FIXED. After installing the fixed SDK, "touch" the test app's tiapp.xml to force a full rebuild. Then re-launch the app. Open the generated build/android/AndroidManifest.xml, and you'll see the TestActivity's 'activity' section now includes the 'intent-filter', like this: -->
<activity
android:name="com.billdawson.jsactivity.TestActivity"
dummy="dummy"
android:configChanges="keyboardHidden|orientation">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment