Adding android features in build.settings

The default manifest created for android only includes the ‘android.hardware.touchscreen’ feature.

My app requires the ability to track 2 touches independently, which would need the ‘android.hardware.touchscreen.multitouch.distinct’ feature to be added as well.

I’m not sure if I’m missing something, but the only way I’ve been able to add this is to use apktool to unpack the APK generated by Corona, then manually add the feature in the manifest, and then re-pack and re-sign the APK.

Is there any other way to do this? It would be great if these kinds of feature-settings could be added in the build.settings file.

[import]uid: 70847 topic_id: 14184 reply_id: 314184[/import]

Are you saying that [lua]system.activate( “multitouch” )[/lua] wont work without you taking these steps?

Just trying to clarify so I can bring it up with someone to see what we can do.

Let me know.

Peach :slight_smile: [import]uid: 52491 topic_id: 14184 reply_id: 52272[/import]

Sorry for being unclear.

The app works perfectly fine without it, as long as the device supports independent multi-touch.

I just want to add this so that the Android Market can filter out devices that don’t have the support. Otherwise there’s a possibility that a users will install the app on a devices that don’t support it, and will most likely give bad reviews saying that “It doesn’t work”.
After adding this to the manifest I noticed that around 50+ devices were automatically filtered out from the compatibility list on the Android Market.

Also, I don’t like tampering the the APK that’s generated by Corona. It doesn’t feel right.

/ Ingemar [import]uid: 70847 topic_id: 14184 reply_id: 52282[/import]

OH! My apologies - you weren’t unclear, I just didn’t read it right :wink:

Will bring this up in our next meeting as a feature request.

Peach :slight_smile: [import]uid: 52491 topic_id: 14184 reply_id: 52453[/import]