I am wanting to dim the screen of a device from a widget. Basically
the same way the Power Manager widget for Android 2.0 does. I have
tried this...
Settings.System.putInt(context.getContentResolver(),
Settings.System.SCREEN_BRIGHTNESS, someIntValue);
___
When my application is uninstalled, the widget stays on the HOME
screen and gives an error message "problem loading widget". How do I
remove the widget when my application is uninstalled? Is there an
attribute in the manifest that I am missing?
--
You received this message because you are subsc
Let's say that I have two layouts for a widget: Layout1 and Layout2.
The default for the widget is Layout1, but I allow the user to choose
which layout they want the widget to be. So if the user changes to
Layout2, how do I programmatically change the layout to Layout2?
Thanks
--
You received
Any idea on what the name of the Motorola Droid library is to load
using the System.loadLibrary? I was looking at "Glowing Pear", which
turns on the Camera LEDs as a flashlight. I noticed that they used
"galaxy" to load the library for the Samsung Galaxy. I tried "droid"
but it failed. Any idea
Is it possible use the AlertDialog from an AppWidget? I have code
that works from an Activity, but when I copy that code to work when a
widget is clicked, I get an error that it has stopped unexpectedly.
Is it possible? or do I need to do something different? I want to
display an option box to
Is it possible to create a service that starts when the camera
software starts? I have looked into services and I am still reading
on them, but I wanted to know if it is possible to start a service
when a core application is started/opened, and stop the service when
that core application is stoppe
If you are using Eclipse as your IDE, put the cursor on the R and hit
Ctrl + Shift + O (the letter O). That will automatically add the
needed import statement.
Ryan
On Nov 11, 10:42 am, jbrohan wrote:
> Look at the other files in src/ There may be an R theredelete it!
>
> On Nov 8, 8:00 am,
7 matches
Mail list logo