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. Black spinner in progressbar

Hi all,

I want to use a small spinner for an indeterminate progress bar. So I
added this to my screen:

                <ProgressBar
                        android:id="@+android:id/ConnectionProgress"
                style="?android:attr/progressBarStyleSmallTitle"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content" />

But it shows a white spinner. I looked at SDK folder, and I saw there
is also a black spinner. Is it possible to indicate to user the black
spinner instead of white spinner?.

I want an "elegant" form of using that spinner that already exists in
Android, but looks I may have to copy the image to my proyect and
create the animation, and set it in "indeterminate drawable"

Any ideas?

Thanks in advance for any help.

-- 

2. Wrong format from String.format()

Hi ,
passing two int values m =0 & s = 11, to below function
String formatted = String.format("%1$02d:%2$02d", m, s);

returning the value like   .0:11 ,What could be the problem  ?

m=0, s=11   -->   .0:11
m=0, s=1    -->    .0:.1

The 0 added to format the string always coming as '.' (dot).

Can anyone know ,from where the number patterns are getting loaded in
Android ?

I gone thorough the code ,Its related the following file ,
android\dalvik\libcore\icu\src\main\java\com\ibm\icu4jni\util
\Resources.java ->localeData.numberPattern

How the pattern for particular locale is loaded ,what could be the
problem for the above problem?

-- 

3. Error during sms deletion.

4. MatrixCursor accross process impossible to parceleable.

5. Problems with library projects

6. parsing kml

7. Verification of a signed apk