Is Android clock, which is in the destop, a widget or application (Activity)?

by caijing » Thu, 23 Apr 2009 08:49:42 GMT


Sponsored Links
 Hi,

I have a question for widget support on Android. I found clock in the
android destop, and want to know if it is a widget or application
(Activity)? If it is a widget, what about the widget engine (runing
enviroment) of android?

Thanks

Cai Jing
--~--~---------~--~----~------------~-------~--~----~



Is Android clock, which is in the destop, a widget or application (Activity)?

by caijing » Wed, 29 Apr 2009 12:15:17 GMT


 In my opnion, widget on Android is not truely widget (based on Web
technology and compatible). Android widget just looks like widget, but
developped by JAVA, and there is no running environment (like Google
Gadgets, Nokia WRT, Apple Dashboard, etc) on it now.

I want to know if Google has any plan to transplant Google Gadgets on
Android in recent period? Only if Android has Gadgets can widget run
on Android.

Thanks

Cai Jing




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Touch events

Hi All,

I have a query related to the touch events. When the user opens the
landscape orientation on-screen qwerty keyboard and presses their
thumb onto the space bar but over half of their thumb's touch area is
outside of the screen area. Therefore the touch is reported with a
coordinate outside of the display range and is discarded. I could see
the raw events coming till InputDevice.java (generateAbsMotion
method)  but they are not sent to apps. Can someone please let me know
where exactly these events are discarded. Whether in KeyInputQueue or
WindowManagerService.java?

Thanks in advance.

Regards,
Rahul

-- 

2. How does a "held" wakelock impact if the service dies with out releasing it?

Wake locks should be released when the object is garbage collected.
See the finalize() method in the WakeLock subclass here:

http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/os/PowerManager.java

You will get a thrown exception in your logs if this occurs.

So, as long as your Service is no longer referenced in memory (e.g. it
has been destroyed), the wakelock should be released. Obviously this
should not be the behaviour by design :)


On Fri, Jun 4, 2010 at 3:36 PM, Satya Komatineni


> 

3. MSM72xx AOSP port missing hardware audio acceleration

4. findViewbyId returns null --- called in a custom CursorAdapter -- bindView() method. Codes in body.

5. Rumor: HTC Scorpion and all of its 1.5 Ghz, Android 2.2 goodness headed for Verizon?

6. How does a "held" wakelock impact if the service dies with out releasing it?

7. Acer Ferrari Androi