Thursday, December 30, 2010

Android CPU Reading

http://www.phonearena.com/news/Snapdragon-vs.-Hummingbird-vs.-OMAP---the-mobile-CPU-war-beyond-1GHz_id12546

Discussion on Smart Phone Processors.

Snapdragon (used in Nexus One)

1.5 PHz processors with more than one core are being shipped to manufacturers.

SoC (system-on-a-chip)


ARM Cortex-A9 MPCore
  • multicore
  • 1 to 2 GHz
  • 250 mW per core

ARM (Advance RISC Machine)


Snapdragon
  • Gualcomm
  • ARM Cortex-A8
  • 1 - 1.5 GHz
  • 2 cores at 1.5 GHz
  • HTC may use to be the first to deliver 2 core smart phones. (see first link)
  • 45nm technology
  • 80 mln(?) triangles per second
Hummingbird
  • Samsung
  • ARM Cortex-A8
  • 45 nm technology
  • 90 mln triangles per second
  • Orion - a dual-core ARM Cortex A9 CPU

Nexus S
  • 1 GHz Hummingbird
  • 16 GB Internal Memory
  • GPU (Graphics Processing Unit)
  • 4" Contour Display
    • 1.5X higher luminance
    • 75% less glare outside
  • NFC (Near Field Communicaiton)
  • Rear facing camera (5 MP)
  • front facing camera (VGA)
  • Guad-band GSM: 850, 900, 1800, 1900
  • Three-axis gyroscope
  • digital compas
  • T-Mobile


Android 3.? Honeycomb



Release date 2011.

This is the next release after Gingerbread 2.3.





Wednesday, October 6, 2010

MS Suite Against Motorola for Android Phones


http://www.linux-mag.com/id/7877?hq_e=el&hq_m=1086407&hq_l=4&hq_v=67baeaf602

Remember Luke telling Yoda he's not afraid and Yoda saying 'But you will be!"  Buried at the bottom of the article is MS suite again Motorola.  The patents being using to sue are very general and could be applied to any Android device.  Thank you MS.  You can't create a decent phone of you own, so kill the competition in court.  This could be a real problem if MS has success with even one of these patents.  Maybe the EU should step in again.


Tuesday, October 5, 2010

Tuesday, September 28, 2010

Tuesday, September 14, 2010

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

Thursday, June 24, 2010

Learning to Program in Android So Far

My main source for learn to program has been to follow Ed Burnete's book "Hello, Android."  It is a nice book.  However, it is for 1.5/1.6 and the Android is currently at 2.2.


Recommends the Developer's Guide on the Android site.

Also recommends several books.  

I think I will go through the Android site Developer's Guide first.



Tuesday, June 22, 2010

Get My First Appplication on my Nexus One Phone

I have Java, Eclipse and the Android SDK installed.  Also the computer is seeing my phone.

Working from the following link:


Everything seemed fine till I got to the point to look at the code.  The code window doesn't show up.  I have seen it before, but I don't remember what I did.

Had to double click on the HelloAndroid.java name in the tree HelloAndroid ==> src ==> com.example.helloandroid ==> HelloAndroid.java

Now I am unable to edit the code.  Now I can edit the file.  I am now sure what changed.  Was it just way behind?  Don't thing so, other options where working.

My old portable my not be powerful enough to run Eclipse.

Running the app ran it on my HTC that was connected.



Monday, June 21, 2010

Connecting Nexus One to Ubuntu 10.04

This is my guide:  http://ubuntuforums.org/showthread.php?t=1441466

Trying a straight connect with no modification first.

The Nexus One see the connection.

Turned on the debug option on the phone.

Created the USB rules file with the following rules.

SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666", GROUP="plugdev"

Verify the my user is a member of the 'plugdev' group.

Restart the 'udev' process.

$ sudo restart udev

The 'lsusb' command showes the device as present.

$ lsusb

Bus 003 Device 002: ID 18d1:4e12 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 1241:1166 Belkin MI-2150 Trust Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Having the same problem that I had before:

$ ./adb devices
List of devices attached
????????????    no permissions

Trying to reboot the PC with the device connected.

The reboot did the trick!

$ ./adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
HT9CYP804076    device


I am so close to loading a test program on to my phone, but I am out of time for now.



Tuesday, June 8, 2010

File Sharing with Pogoplug NAS

http://www.crunchgear.com/2009/12/21/review-second-generation-pogoplug-nas/

Looks pretty nice.  Actually transcodes video files automatically.  This lets you display it on your IPOD.  Also has a Android app.  Is is build upon Linux which they don't hide.  The Linux platform is OpenPogo.  You share everything through their server.

There is also TonidoPlug based on Ubuntu.  This seems to support sharing applications which is cool.  It is based on SheevaPlug.  Is PogoPlug based on SheevaPlug?  Lets you share using your own static IP or through DynDNS.com.

Is available from buy.com for $98.00.

Thursday, June 3, 2010

The Ubuntu 9.10 Karmic Koala with Linux 2.6.31-generic

I am having trouble getting Linux to see my Google phone so I can test Android applications.

Getting the information in the title.

Get the Linux info

uname -a

Get the Ubunto info

lsb_release -a

LSB stands for Linux Standard Base


Root Kit for Android

http://www.computerworld.com/s/article/9177576/Android_rootkit_is_just_a_phone_call_away?taxonomyId=15&pageNumber=1

This root kit was created by a security consultant working for Chicago's Trustwave. The demo root kit is for a demo in the up coming Defcon hacking conference in LA.  Basically once the root kit is installed it can be activated with a message or phone call.  It can reroute 911 calls or reroute web addresses.  This is only a prof of concept.  The risk currently is low for this type of attack.  One of the things that help reduce the risk is getting apps through the store.  This way if there is a problem, Android can contact those who download the malices app.

It would seem like you want to make darn sure that your browser doesn't have holes in it what would let someone install a root kit from the Internet.

What might be the avenue of attack?  Web, messages, USB, and Bluetooth.  Are there any others?


Thursday, April 29, 2010

Install Eclipse for Ubuntu 10.04

http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.5.2-201002111343/eclipse-SDK-3.5.2-linux-gtk.tar.gz

Installing the Eclipse Classic.

Extract files and run the executable:

stan@stan-17-laptop:~/source/eclipse$ ./eclipse

/home/stan/workspace

Eclipse SDK

Version: 3.5.2
Build id: M20100211-1343

Installing Java 6 JDK in Ubuntu 10.4

The Java 6 SDK is required by Eclipse.
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"

sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk

// this only generates error now:  sudo update-java-alternatives -s java-6-sun

// there is no jvm file:  gksudo gedit /etc/jvm

Verify that java is installed and working:

stan@stan-17-laptop:~$ gedit HelloWorld.java
stan@stan-17-laptop:~$ javac HelloWorld.java
stan@stan-17-laptop:~$ java HelloWorld
Hello, World!

stan@stan-17-laptop:~$ cat HelloWorld.java
public class HelloWorld
{
  public static void main(String[] args)
  {
     System.out.println("Hello, World!");
   }

 
}

Installing ADT - Android Development Tools for Ubuntu 10.04

Install the Android SDK:

Add Android SDK tools to the PATH:

Add the following to the bottom of the ~/.bashrc file.

# Adding Andriod SDK tools to the path
PATH=$PATH:~/source/android-sdk-linux_86/tools
export PATH

Save and source the file in the shell.

$ source ~/.bashrc

ADT - Android Development Tools

The ADT plugin is used in Eclipse.

Adds integrated support for Android projects and tools within Eclipse.

Could not get './andriod' to start from inside Eclipse.  Had to start by hand.