Android customized hardware & manifest.xml uses-library

Hi,

I am developing some applications which will be pre-installed on customized devices. The goal is preventing people would install those apps on other devices too.

In order to do that, a solution would be inserting the following string into manifest:

<uses-library android:name=“myCustomizedLib.lib” android:required=“true” />

myCustomizedLib.lib is a real library which is pre-installed and which is used to let the device working.

This solution works well with native apps - in fact you can modify the manifest.xml as you wish.

This apparently is a problem with Corona.

I attempted to implement a string like the following into build.settings:

usesLibrary =

       {

         { name = “myCustomizedLib.lib” required=true },

       },

but this won’t affect anything. If installed on normal devices, the application works.

Is there a way to implement the uses-library stuff? Is there a way to “link” applications to a specific hardware or software?

Thanks in advance!

g

Hi,

does anyone has an answer?

In order to add this feature, I also unpacked and re-packed the apk.

But after that I receive the following alert:

“The AndroidManifest.xml provider “com.ansca.corona.storage.FileContentProvider” is misconfigured. Please change its ‘authorities’ attribute value to “com.ansca.corona.files”.”

If I do that, the problems seems to be solved but the package name is changed. 

g

Hi,

does anyone has an answer?

In order to add this feature, I also unpacked and re-packed the apk.

But after that I receive the following alert:

“The AndroidManifest.xml provider “com.ansca.corona.storage.FileContentProvider” is misconfigured. Please change its ‘authorities’ attribute value to “com.ansca.corona.files”.”

If I do that, the problems seems to be solved but the package name is changed. 

g