I've seen references to adding an android.largeHeap=true attribute to the build hints,
but doing so has no apparent effect on the APK. Is this advice obsolete?
The codenameone_settings file contains
codename1.arg.android.largeHeap=true
(I also tried ="true", same results)
Here's the resulting manifest from the APK
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="
http://schemas.android.com/apk/res/android" android:installLocation="auto" android:minSdkVersion="15" package="com.boardspace" platformBuildVersionCode="23" platformBuildVersionName="6.0-2438415">
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:xlargeScreens="true"/>
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
<uses-feature android:name="android.hardware.telephony" android:required="false"/>
<uses-permission android:name="android.permission.INTERNET" android:required="false"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:required="false"/>
<uses-feature android:name="android.hardware.location" android:required="false"/>
<uses-feature android:name="android.hardware.location.gps" android:required="false"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" android:required="false"/>
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" android:required="false"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" android:required="false"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE" android:required="false"/>
<application android:icon="@drawable/icon" android:label="
boardspace.net">
<activity android:configChanges="keyboardHidden|orientation|screenSize" android:label="
boardspace.net" android:launchMode="singleTop" android:name="com.boardspace.LaunchStub" android:theme="@style/CustomTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<receiver android:name="com.codename1.impl.android.LocalNotificationPublisher"/>
<activity android:name="com.codename1.location.CodenameOneBackgroundLocationActivity" android:theme="@android:style/Theme.NoDisplay"/>
<service android:exported="false" android:name="com.codename1.location.BackgroundLocationHandler"/>
<service android:exported="false" android:name="com.codename1.location.GeofenceHandler"/>
<service android:exported="false" android:name="com.codename1.media.AudioService"/>
</application>
</manifest>