Skip to content

Instantly share code, notes, and snippets.

@billdawson
Created October 13, 2010 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billdawson/624357 to your computer and use it in GitHub Desktop.
Save billdawson/624357 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<ti:app xmlns:ti="http://ti.appcelerator.org">
<id>com.billdawson.keyboardhide</id>
<name>KeyboardHide</name>
<version>1.0</version>
<publisher>Bill Dawson</publisher>
<url>billdawson.com</url>
<description>No description provided</description>
<copyright>2010 by Bill Dawson</copyright>
<property type="bool" name="ti.android.debug">true</property>
<android>
<screens small="false" normal="true" large="false" anyDensity="true" />
<permissions>
<permission>READ_PHONE_STATE</permission>
</permissions>
<activities>
<activity>com.android.calculator2.Calculator</activity>
</activities>
</android>
<icon>default_app_logo.png</icon>
<persistent-wifi>false</persistent-wifi>
<prerendered-icon>false</prerendered-icon>
<statusbar-style>default</statusbar-style>
<statusbar-hidden>false</statusbar-hidden>
<fullscreen>false</fullscreen>
<navbar-hidden>false</navbar-hidden>
<analytics>false</analytics>
<guid>adb0971d-f031-409f-96d7-5f0d8e8a377c</guid>
</ti:app>
@donthorp
Copy link

So is then intent to take the "stock" AndroidManifest.xml in the build and insert these items into it? We should do minimal if any work to take the elements from here to the AndroidManifest.

@billdawson
Copy link
Author

Yeah so you mean like just put placeholders in the manifest and fill 'em up? That's kinda the case already with the activities and permissions (we already have a <!---- PERMISSIONS ---> thing or something like that, also for activities.) But in fact for the screens support that i put here, I am doing some regex foo to replace existing entries if they're in there. Maybe, instead, they should just have a wholesale section replace like the permissions and activities. That's kinda what you meant right?

@donthorp
Copy link

Yeah, so if google changes things up a bit we don't have to write emergency parsers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment