Wednesday, February 10, 2010

Boyfriend Doesn't Have Ebola. Probably.

I took Boyfriend to the Emergency Room last night because he was vomiting up vast quantities of what I thought was blood but actually it was just Craisins. You guys, if you feel like you may become violently ill in the near future, stay away from red food. Failure to do so may create an atmosphere of unnecessary panic and chaos.


Anyway, the doctor wanted to make sure that Boyfriend didn't have SARS or stomach AIDS or something, so he had to poke him a lot. While he was doing this to Boyfriend, he pointed to a little reference chart on the wall and asked Boyfriend to rate his pain::



Media_http3bpblogspot_tpaym

You've probably seen some version of that chart before.  You may also have noticed how inadequate it is at helping you.  Based on the faces, this is my interpretation of the chart:

0:  Haha!  I'm not wearing any pants!

2:  Awesome!  Someone just offered me a free hot dog!

4:  Huh.  I never knew that about giraffes.

6:  I'm sorry about your cat, but can we talk about something else now?  I'm bored.

8:  The ice cream I bought barely has any cookie dough chunks in it.  This is not what I expected and I am disappointed.

10:You hurt my feelings and now I'm crying!

 None of that is medically useful and it doesn't even have all the numbers, so I made a better one with all the numbers:


Media_http3bpblogspot_bfixb


Media_http4bpblogspot_rcjsh

0:  Hi.  I am not experiencing any pain at all.  I don't know why I'm even here.

1:  I am completely unsure whether I am experiencing pain or itching or maybe I just have a bad taste in my mouth.

2:  I probably just need a Band Aid.

3:  This is distressing.  I don't want this to be happening to me at all.

4:  My pain is not fucking around.

5:  Why is this happening to me??

6:  Ow.  Okay, my pain is super legit now.

7:  I see Jesus coming for me and I'm scared.   

8:  I am experiencing a disturbing amount of pain.  I might actually be dying.  Please help.

9:  I am almost definitely dying.

10:  I am actively being mauled by a bear.

11: Blood is going to explode out of my face at any moment.

Too Serious For Numbers:  You probably have ebola.  It appears that you may also be suffering from Stigmata and/or pinkeye.

Friday, February 5, 2010

Live wallpapers

With the introduction of live wallpapers in Android 2.1, users can now enjoy richer, animated, interactive backgrounds on their home screen. A live wallpaper is very similar to a normal Android application and has access to all the facilities of the platform: SGL (2D drawing), OpenGL (3D drawing), GPS, accelerometers, network access, etc. The live wallpapers included on Nexus One demonstrate the use of some of these APIs to create fun and interesting user experiences. For instance, the Grass wallpaper uses the phone's location to compute sunrise and sunset times in order to display the appropriate sky.


Media_http2bpblogspot_cdjdg

Creating your own live wallpaper is easy, especially if you have had previous experience with SurfaceView or Canvas. To learn how to create a live wallpaper, you should check out the CubeLiveWallpaper sample provided with the Android 2.1 SDK; you will find it in the directory platforms/android-2.1/samples/CubeLiveWallpaper.

A live wallpaper is very similar to a regular Android service. The only difference is the addition of a new method, onCreateEngine() whose goal is to create a WallpaperService.Engine. The engine is responsible for handling the lifecycle and the drawing of a wallpaper. The system provides you with a surface on which you can draw, just like you would with a SurfaceView. Drawing a wallpaper can be very expensive so you should optimize your code as much as possible to avoid using too much CPU, not only for battery life but also to avoid slowing down the rest of the system. That is also why the most important part of the lifecycle of a wallpaper is when it becomes invisible. When invisible, for instance because the user launched an application that covers the home screen, a wallpaper must stop all activity.

The engine can also implement several methods to interact with the user or the home application. For instance, if you want your wallpaper to scroll along when the user swipes from one home screen to another, you can use onOffsetsChanged(). To react to touch events, simply implement onTouchEvent(MotionEvent). Finally, applications can send arbitrary commands to the live wallpaper. Currently, only the standard home application sends commands to the onCommand() method of the live wallpaper:



  • android.wallpaper.tap: When the user taps an empty space on the workspace. This command is interpreted by the Nexus and Water live wallpapers to make the wallpaper react to user interaction. For instance, if you tap an empty space on the Water live wallpaper, new ripples appear under your finger.


  • android.home.drop: When the user drops an icon or a widget on the workspace. This command is also interpreted by the Nexus and Water live wallpapers.

Please note that live wallpaper is an Android 2.1 feature. To ensure that only users with devices that support this feature can download your live wallpaper, remember to add the following to your manifest before releasing to Android Market:



  • <uses-sdk android:minSdkVersion="7" />, which lets Android Market and the platform know that your application is using the Android 2.1 version.


  • <uses-feature android:name="android.software.live_wallpaper" />, which lets the Android Market and the platform know that your application is a live wallpaper.

Many great live wallpapers are already available on Android Market and we can't wait to see more!

Saturday, January 30, 2010

Ghana v Egypt online Streaming


Live Soccer Score


Team interview


"He (Moteab) picked up a hamstring injury and he's likely to miss the final,'' assistant coach Hamada Sedki confirmed.


"There is not enough time between the semi-finals and the final, so his chance to be fit for the game is slim.''


For Ghana not to have any injury worries would seem almost abnormal at this year's competition.


The Black Stars are sweating heavily over the fitness of goalkeeper Richard Kingson, who has a groin problem.


The Wigan goalkeeper was named man-of-the-match for his display in the 1-0 semi-final win over Nigeria and is doubtful along with Agyeman Opoku and Hans Sarpei, both of whom were substituted in the game against their west African rivals.


"Richard has had to skip a couple of training sessions because of the injury,'' coach Milovan Rajevac said. "He is in hospital today (Friday) to have tests and treatment, but I'm hopeful he will be able to play on Sunday.''


It will be a first appearance in the final after an 18 year absence for the four-time former winners.


However, their last title came in 1982 when only five of the current squad members were born.



Denizlispor v Galatasaray online Streaming


Soccer game played on a rectangular field with net goals at either end in which two teams of 11 players each try to drive a ball into the other's goal by kicking, heading, or using any part of the body except the arms and hands. The goalie is the only player who may touch or move the ball with the arms or hands.
Updating live score fast and accurate.So Stay With us
Live Soccer Score

Sivasspor v Fenerbahce online Streaming


Soccer game played on a rectangular field with net goals at either end in which two teams of 11 players each try to drive a ball into the other's goal by kicking, heading, or using any part of the body except the arms and hands. The goalie is the only player who may touch or move the ball with the arms or hands.
Updating live score fast and accurate.So Stay With us
Live Soccer Score

Lugano v FC Zurich online Streaming


Soccer game played on a rectangular field with net goals at either end in which two teams of 11 players each try to drive a ball into the other's goal by kicking, heading, or using any part of the body except the arms and hands. The goalie is the only player who may touch or move the ball with the arms or hands.
Updating live score fast and accurate.So Stay With us
Live Soccer Score

Jamaica v Canada online Streaming


Soccer game played on a rectangular field with net goals at either end in which two teams of 11 players each try to drive a ball into the other's goal by kicking, heading, or using any part of the body except the arms and hands. The goalie is the only player who may touch or move the ball with the arms or hands.
Updating live score fast and accurate.So Stay With us
Live Soccer Score