I am porting Android ICS to a new hardware device which does not have neither
battery or GSM/3G chip. Is there any straightforward method for removing the
phone signal strength icon and battery icon from the status bar?
I have successfully altered the battery icon by applying the change from
http://gitorious.org/rowboat/frameworks-base/commit/b16914898dd782ba653d315a61bfdf54c92e935b
but it doesn't look like an ideal solution (?).
Another feature I am trying to dig out is how to tell the Android build
system that I do not have a camera, but there seems to still be camera
features in the build. For example in the screen unlock sequence I can choose
to go to the camera.
I've defined the USE_CAMERA_STUB := true in my BoardConfig.mk
FWIW I'm using TI's OMAP release of ICS, since I need their graphic and
wireless connectivity additions.
--
mvh
Hans-Christian Egtvedt
Thanks for the hint, but I already have this defined in my BoardConfig.mk
file.
Any other hints? The TARGET_NO_RADIOIMAGE doesn't really seem to have any
users in Icecream build system though, and those who define it both do and do
not have a radio. For example tuna (Google Nexus) device.
The TI Android port I'm using is based upon Android release 4.0.3.
PS! Added the mailing list back on CC, in case others have had similar
issues.
> --
> unsubscribe: android-porti...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>
>
--
mvh
Hans-Christian Egtvedt
Ah, thanks.
I also added some other entries to explicit avoid the phone features;
<bool name="config_voice_capable">false</bool>
<bool name="config_sms_capable">false</bool>
I still get the battery icon though, but at least it is better. Tried adding
a power_profile.xml file, and configured the battery.capacity to 0, but that
didn't help.
> 2012/1/27 Hans-Christian Egtvedt <egt...@samfundet.no>