Removing battery icon from the Home screen

by pysup » Fri, 02 Apr 2010 23:01:21 GMT


Sponsored Links
 Hello All,

I am trying to remove the battery and RSSI bar icon from the Home
screen but I dont know where to look for it. Is it in the packages/
apps/launcher?

Thanks

-- 



Removing battery icon from the Home screen

by pysup » Fri, 09 Apr 2010 22:02:03 GMT


 Managed to do it by changing the visibility

service.setIconVisibility(mBatteryIcon, false);

in frameworks/base/services/java/com/android/server/status/
StatusBarPolicy.java





-- 


Sponsored Links


Other Threads

1. LocationListener and getLastKnownLocation

In one application, when an activity start I use the
getLastKnownLocation to get the last know position, using something
like:
Location
position=mlocManager.getLastKnownLocation(mlocManager.getBestProvider(new
Criteria(), true));
(in the onCreate)

After this, my application register a listener in the onResume() (and
removes it in the onPause()), something like:

           protected void onPause() {
                if(mlocManager!=null) mlocManager.removeUpdates(this);
                super.onPause();
            }

            protected void onResume() {
                if(mlocManager!=null)
mlocManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0,
60000, this);
                super.onResume();
            }

And it works ok, I get new position, the problem is that when I close
my application and after some time I restart it and I get the last
know location again it does not take any of the positions I got with
my application.
Why does the mobile does not store these position like the lastknow
positions?
do I have to do anythig more?

(if the problem is not clear this is the time sequence of an example)
Start app, getLastKnownLocation it's from 10:00 for example now it's
12:00
register listener, I got wifi or gps positions until 13:00
close the application, start again and getLastKnownLocation and I got
no position... why?

Regards. Gabi.

-- 

2. Voice Recognizer not present

Hello,
I'm using android emulator (SDK 2.1) with Eclipse and I tried to do
work the applications like Voicetext clip, voice2Text (installed from
Market). but I am getting error  like
 "Recognizer not present" when I try to use these apps. Can you tell
me where can I get this app.
Thank you.

-- 

3. Back End Java/J2EE Developer------We have One interview scheduled To-day

4. Modularity: advises to develop an applicatin "plugin" that could access application Sqlite, preferences, ...

5. contribution to droid-fonts

6. <OOT> idul adha

7. Error creating gen resource folder.