background image
Original Author Paul Laughton, 2011
Page 232
De Re BASIC!
Find the <receiver> tag with android:name=".BootUpReceiver".
Change android:enabled="false" to android:enabled="true".
You must also make sure your app has "RECEIVE_BOOT_COMPLETED" permission. See the "Permissions"
section, above.
Preferences
There are certain preferences such as screen colors and font sizes that you have set for your application.
The preferences that you will get with an APK will be BASIC!'s default preferences. You can change the
default preferences if you wish.
Some preferences are simple check boxes. To change these, open the res/xml hierarchy and double click
on the settings.xml file as shown below:
For example, to change the default Console Lines preference from lined console to unlined console,
change the value on the indicated line from "true" to "false".
If your app uses graphics mode, and you have determined it works correctly with hardware-accelerated
graphics, you may want to change the default setting of the CheckBoxPreference named "gr_accel". The
default is normally "false", but to enable graphics acceleration in an APK you must change it to "true".
Other preferences are multiple-choice lists. To see the list values, open the res/values hierarchy and
double click on arrays.xml. Each preference has two blocks. The top block lists the words that will be
seen on the Android screen. The second block lists the internal names that correspond to the displayed
words.
In the image below: