OOT : Professor Creates a 鈥楲iving鈥?Google Logo

by Andri Fitriyadi » Tue, 01 Feb 2011 07:36:52 GMT


Sponsored Links
 See how cell biology professor Dr Edward Johnson and Clayton Wright
from the Eastern Virginia Medical School were able to grow a 'living'
Google logo in their microbiology lab as part of the Demo Slam
competition



 http://www.labnol.org/internet/living-google-logo/18601/ 

-- 
===============



Other Threads

1. How to do instrument test on context menu?

Hi,

I'm doing instrment test on context menu to verify following things:
1. The number of menu item in context menu is correct.
2. Text of each menu item is right.
3. Click action of each menu item is right.

Here is my code to call context menu which can be run successfully:

View v = _listactivity.getListView().getChildAt(0);
Instrumentation inst = getInstrumentation();
TestUtil.longclickOn(inst, v);
inst.waitForIdleSync();

Then I want to get Menu object of the context menu, so that I can get
menu.size(), access each menu item and check them. However I have no
idea of how to get the Menu object. Is there any method like
View.getContextMenu(), or others?

Thanks for your help!

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

2. Wifi reconnects all the time while in background mode

Hi everyone.
I'm facing a connectivity problem in my IM-client for a long time
already, but still can't find out how to fix it. Found a similar bug
report here: http://code.google.com/p/android/issues/detail?id=2059
except PowerManager.SCREEN_DIM_WAKE_LOCK didn't work for me :(

So here is the problem: when device goes idle, wifi is being kept
connected for some unpredictable time(1-20 min), but then established
connection brakes and here is what i see on the ddms console:
06-22 14:19:30.398: VERBOSE/WifiMonitor(53): Event [CTRL-EVENT-
DISCONNECTED - Disconnect event - remove keys]
06-22 14:19:30.398: VERBOSE/WifiStateTracker(53): New network state is
DISCONNECTED
06-22 14:19:30.408: VERBOSE/WifiMonitor(53): Event [CTRL-EVENT-STATE-
CHANGE id=2 state=0]
06-22 14:19:30.408: VERBOSE/WifiStateTracker(53): Changing supplicant
state: COMPLETED ==> DISCONNECTED
06-22 14:19:30.500: VERBOSE/WifiMonitor(53): Event [CTRL-EVENT-STATE-
CHANGE id=2 state=2]
06-22 14:19:30.508: VERBOSE/WifiStateTracker(53): Changing supplicant
state: DISCONNECTED ==> SCANNING
06-22 14:19:30.518: VERBOSE/WifiMonitor(53): Event [Trying to
associate with 00:19:5b:66:13:06 (SSID='shape' freq=2437 MHz)]
06-22 14:19:30.518: VERBOSE/WifiMonitor(53): Event [CTRL-EVENT-STATE-
CHANGE id=2 state=3]
06-22 14:19:30.548: VERBOSE/WifiStateTracker(53): Changing supplicant
state: SCANNING ==> ASSOCIATING
06-22 14:19:31.408: VERBOSE/WifiMonitor(53): Event [CTRL-EVENT-STATE-
CHANGE id=2 state=4]
06-22 14:19:31.408: VERBOSE/WifiStateTracker(53): Changing supplicant
state: ASSOCIATING ==> ASSOCIATED
06-22 14:19:31.418: VERBOSE/WifiMonitor(53): Event [Associated with
00:19:5b:66:13:06]
06-22 14:19:31.418: VERBOSE/WifiMonitor(53): Event [CTRL-EVENT-STATE-
CHANGE id=2 state=7]
06-22 14:19:31.418: VERBOSE/WifiStateTracker(53): Changing supplicant
state: ASSOCIATED ==> COMPLETED
06-22 14:19:31.428: VERBOSE/WifiMonitor(53): Event [CTRL-EVENT-
CONNECTED - Connection to 00:19:5b:66:13:06 completed (reauth) [id=2
id_str=]]
06-22 14:19:31.428: VERBOSE/WifiStateTracker(53): New network state is
CONNECTED

and "-1" is coming on read() from input stream or SocketException is
raised.
Then my app is trying to reconnect and sometimes it's successful
almost immediately, but sometimes it takes more than 2-3 tries to
reconnect(WifiMonitor logs reconnects again and again) with 10 seconds
timeout.

Preventing some advices - yes, there is a PARTIAL_WAKE_LOCK and
wifilock held by my app, but as i can see this is not enough.
Please help!
--~--~---------~--~----~------------~-------~--~----~

3. 404 on maps key signup on a site, and the other doesn't work

4. How to make a custom View having it's height = width ?

5. Android tab not appearing in Eclipse

6. Using Picture recording creates bad memory allocation

7. Inserting Data into a Cursor?