Friday, July 23, 2010

Setting Up Android Cloud to Device Messaging (C2DM)

http://code.google.com/android/c2dm/index.html#intro

Intro page.  

Signed up a couple of days ago, but still have not heard back.

Light weight, not for data.

No guarantee of delivery order

App doesn't need to be running to receive the message.

Requires Android 2.2 or higher.

Components: 
  • Mobile device with 2.2 Android, Market, and one logged in Google account.
  • 3rd parth app Sever - setup by developer.  Sends message to mobile device using the C2DM servers.
  • C2DM Servers - ran by Google.  This is the middle man.
Credentials
  • Sender ID - based on google account - my-app@gmail.com
  • Application ID - app reg to receive messages. ID by package name in manifest.
  • Registration ID - issued by C2DM servers to Android app.  This allows the app to receive the messages. this ID is tied to an application on a single phone.
  • Google User Account - this is my personal account.
  • Sender Auth Token - Stored on the 3rd parth app server and gives it access to the C2DM servers.
Lifecycle Flow
  • Android app registers to receive messages.
    • registration intent
    • C2DM broadcast registration intent
      • Gives app registration ID
      • app send registration ID to dev server
  • dev server send message.
    • ap server sends message to C2DM servers.
    • Google enqueues and stores the message
    • When app device is on line, message is sent.
    • message gets broadcast on app device to app
    • device app process message (wake lock can be used)
  • Android app receives message from a C2DM server.
Activity
Services
Broadcast receivers
Content providers


Thursday, July 15, 2010

Archos 5 Internet Tablet for $269.99

Archos 5 Internet Tablet - 32GB running Google Android + Wi-Fi (501318)

Android 1.6
Almost 5" screen.

Being sold by NewEgg.  Nice company.  Have bought stuff from them in the past.

Looks like a nice Android tablet.  However, there does seem to be some problems:
  • Have to purchase HD plugin for 720P H264.
  • Trouble streaming with UStream.
  • Android market place is not installed but can be.
  • Must update to latest firmware.
  • Can it be updated to Android 2.2?
  • 3g tethering doesn't work for all Android phones.
  • Poor GPS reception.
Seems like a lot of the complaints were from back in March.  Maybe things have gotten a little better.

Tuesday, July 13, 2010

The Nexus One

What the WikiPedia has to say about my phone, the Nexus One:  http://en.wikipedia.org/wiki/Nexus_One


Notes from the Android 2 Introduction

QVGA - Quarter VGA (320x240):  http://en.wikipedia.org/wiki/Quarter_VGA



WVGA - Wide VGA (800x480):  http://en.wikipedia.org/wiki/Wide_VGA

This is the resolution of my Nexus one.

Buzz words:

  • enticing platform
  • Android handsets
  • artificial barriers
  • no review process (I would say no review restrictions)
  • Live Wallpaper
  • live folders
SMS -   Short Message Service:  http://en.wikipedia.org/wiki/SMS

IPC - Inter-process communication  :  http://en.wikipedia.org/wiki/Inter-process_communication


Testing Network Speed on a Mobile Phone

http://mobilespeedtest.com/

My Nexus One reported 684 Kbps, which is between 3G (400 Kbps) and broadband (768 Kbps).  This is much better than I thought it would be.


4G is 2500 Kbps.

Friday, July 9, 2010

HTC Corp used to be High Tech Computer Corp

http://www.htc.com/us/about
http://en.wikipedia.org/wiki/HTC_Corporation

Taiwan based company.  Started out making portable computers but right now makes the most awesome Android phone on the planet.  (See Nexus One, HTC EVO™ 4G).

http://www.hardwarezone.com.au/img/data/nnews/2010/15420/Image/google-nexus-one-front.jpg

http://en.wikipedia.org/wiki/Nexus_one

http://www.htc.com/us/content/images/phones/evo-sprint-Support-1013.png

http://en.wikipedia.org/wiki/HTC_EVO_4G

HTC for Use in Lowlevel Android Linux Development ($200)

This is a very good price.  I could use the phone for testing with low level Linux changes on the phone and for test application, without the fear of messing up the phone I rely upon daily.

USED HTC G1 T-MOBILE GOOGLE ANDROID PHONE BLACK  MINT

USED HTC G1 T-MOBILE GOOGLE ANDROID PHONE BLACK MINT

CISCO's new Android Tablet 7'' Screen and 1.15 lbs

Has a seven inch screen and special software for business calls and video conferencing. Its target is business.

GCN articale about the new device:  http://gcn.com/articles/2010/07/08/cisco-intros-cius-teleconferencing-tablet.aspx?s=gcndaily_090710



http://gcn.com/articles/2010/07/08/%7E/media/GIG/GCN/Web/2010/cisco_cius_400.ashx

Cisco talks about the new device:  http://cio.cisco.com/en/US/products/ps11156/index.html



http://cio.cisco.com/assets/prod/uc/vid/cius-ogilvy-188x115.jpg

Monday, July 5, 2010

Example Android Map Program

http://blogoscoped.com/archive/2008-12-15-n14.html

UAC - User Account Control

The Android permission security mechanism is not suppose to be as big of a pain in the neck as the Vista UAC.  Both let the user decide what risks they are willing to take.

UAC compared with Android premissions:  http://blogoscoped.com/archive/2008-12-15-n14.html

How to tweak UAC setting in Vista:  http://www.tweak-uac.com/what-is-uac/

This contains a nice description of UAC with a really cool parable or allegory:  http://netsecurity.about.com/od/quicktips/qt/UAC.htm