OOT intermezzo : Viking Persib forum available on Tapatalk :)

by ukung » Wed, 02 Jun 2010 01:07:40 GMT

Sponsored Links
 sori jka sangat oot,, kali aja disini ada bobotoh Persib, jika sedang bosan
jalan2 di tapatalk boleh mampir di forum Persib :)
berhubung sebentar lagi mo piala dunia disana juga ada diskusi sepakbola


Other Threads

1. Selecting and Highlighting an item in an array list by code

I have a problem selecting and highlighting an item in an array list.
 I have successfully used  " myListView.setSelection(0); " to position
the place in the array list correctly.
But I have been unable to turn on the highlight at this position. When
I press the down key on the dpad the highlight turns on at the
position that I have set, as outlined above. But when I try to use
" myListView.getSelectedItemPosition() " without manually highlighting
the position first, the app crashes.  I want to highlight an item by
program control, to prevent such a crash.  Is there any way to turn on
the selection highlight in code?


2. screenBrightness of 0.0 == ???

In my app I want to completely dim the screen for a period of time and
later restore the brightness.  Dimming works fine:

 WindowManager.LayoutParams lp = getWindow().getAttributes();
 lp.screenBrightness = 0.0f;

But this seem to put the phone into an odd state whereby touch events
are no longer received and when I later try to restore the screen
brightness, either by setting it to 1.0 or -1.0 - nothing happens!
The only way I can get the screen back is to hit the end button and
menu out of the screen lock.

Is this the correct behavior?  Is there any way to work around it and
A) receive touch events while the screen is dimmed and B)
programatically restore the brightness?

NOTE: things work as expected with non zero brighness values such as


3. Problem installing Cupcake OS update on ADP1

4. Unsure of SimpleCursorAdapter ? Need help

5. How to change default target activity of an intent

6. In an ExpandableListView, how can I show one additional line (footer) at the end of the child results?

7. It is not easy to play mp4 file when I use opencore V2.03 on Android SDK 1.5