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> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/66a7b499-bcf6-4ee6-af7f-86883aea561b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
