Manifest for Nexus 7

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Doug Lyman
Posts: 30
Joined: Thu Jun 30, 2011 6:13 am

Manifest for Nexus 7

Post by Doug Lyman » Sun Sep 09, 2012 7:34 pm

Has anyone successfully modified the settings in the manifest.xml such that LiveCode can produce an .apk file (for the Nexus 7) that is not filtered out from the Google Play store?

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Manifest for Nexus 7

Post by jacque » Mon Sep 10, 2012 5:41 pm

I was able to modify the manifest to change some existing values but wasn't able to add new values, but that was in an older version of LiveCode. What do you need to change?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Doug Lyman
Posts: 30
Joined: Thu Jun 30, 2011 6:13 am

Re: Manifest for Nexus 7

Post by Doug Lyman » Tue Sep 11, 2012 12:27 am

I have made every change I can think of to simplify the manifest (with no success). I have seen some web posts from non-LiveCode developers that suggest that the following section needs to be added for the Nexus 7 -- however, when I add this section I get an error when building in LiveCode.


<compatible-screens>
<!--no small size screens -->
<!--Only hdpi and xhdpi for normal size screens -->
<screen android:screenSize="normal" android:screenDensity="mdpi" />
<screen android:screenSize="normal" android:screenDensity="hdpi" />
<screen android:screenSize="normal" android:screenDensity="xhdpi" />
<!-- all large size screens -->
<screen android:screenSize="large" android:screenDensity="ldpi" />
<screen android:screenSize="large" android:screenDensity="mdpi" />
<screen android:screenSize="large" android:screenDensity="hdpi" />
<screen android:screenSize="large" android:screenDensity="xhdpi" />
<!-- all xlarge size screens -->
<screen android:screenSize="xlarge" android:screenDensity="ldpi" />
<screen android:screenSize="xlarge" android:screenDensity="mdpi" />
<screen android:screenSize="xlarge" android:screenDensity="hdpi" />
<screen android:screenSize="xlarge" android:screenDensity="xhdpi" />
<!-- Special case for Nexus 7 -->
<screen android:screenSize="large" android:screenDensity="213" />
</compatible-screens>

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Manifest for Nexus 7

Post by jacque » Tue Sep 11, 2012 3:12 am

I wasn't able to add any new lines at all, the only thing I could do was change "true" to "false" to eliminate small screens. There's a bug/feature request in the QCC asking that LiveCode allow us to supply custom manifests instead of using just their template. The current standalone builder seems to choke if the manifest doesn't match its own.

Do you have a Nexus 7, or have access to one? If so, you could try a standalone and see how it behaves. Just change the manifest template to "false" in the small-screen entry and see what happens.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply