Android screen monitor
http://www.adakoda.com/adakoda/android/asm/
Thanks to adakoda
HTML5 and Google Chrome – DevFest09
Thanks to Mihai lonescu.
http://www.slideshare.net/mihaiionescu/html5-and-google-chrome-devfest09
How to set up USB serial cable on Ubuntu
How to set up USB serial cable on Ubuntu
source: http://blog.mypapit.net/2008/05/how-to-use-usb-serial-port-converter-in-ubuntu.html
1.List & find the usb serial device
lsusb
jindroid@devcom:~$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 0d62:2106 Darfon Electronics Corp.
Bus 005 Device 002: ID 046d:c063 Logitech, Inc.
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
2.Attach the device to tty
#sudo modprobe usbserial vendor=0×067b product=0×2303
3.Confirm it is attached.
#dmesg
[191526.757949] usbcore: registered new interface driver usbserial
[191526.757961] USB Serial support registered for generic
[191526.757985] usbcore: registered new interface driver usbserial_generic
[191526.757987] usbserial: USB Serial Driver core
[191526.778577] USB Serial support registered for pl2303
[191526.778606] pl2303 8-2:1.0: pl2303 converter detected
[191526.790285] usb 8-2: pl2303 converter now attached to ttyUSB0
[191526.790297] usbcore: registered new interface driver pl2303
[191526.790299] pl2303: Prolific PL2303 USB to serial adaptor driver
The node is ttypUSB0
4.Set up seral port
#minicom -s
+—–[configuration]——+
| Filenames and paths |
| File transfer protocols |
| Serial port setup |
| Modem and dialing |
| Screen and keyboard |
| Save setup as dfl |
| Save setup as.. |
| Exit |
| Exit from Minicom |
+————————–+
Select Serial port setup
+———————————————————————–+
| A – Serial Device : /dev/ttyUSB0 |
| B – Lockfile Location : /var/lock |
| C – Callin Program : |
| D – Callout Program : |
| E – Bps/Par/Bits : 115200 8N1 |
| F – Hardware Flow Control : No |
| G – Software Flow Control : No |
| |
| Change which setting? |
+———————————————————————–+
type a & put node name “/dev/ttyUSB0″ which came from step 3
Once it is done, you’ll get a shell from the device through serial connection.
Now you’re all set.
change uid
Just want to change uid itself.
For example, my uid is “user1″, I’d like to keep my configuration, home directory, etc, but I don’t like how it sounds.
Let’s say I want “avatar” instead of “user1″.
You can use “usermod -l “.
#usermod -l user1 avatar
Windows default background color code
I wanted to change background color of my Ubuntu system to Windows default background color, blue.
So I googled and found how to do that.
1. Open registry editor.
Start > Run > regedit
2. Find registry key.
HKEY_USERS\.DEFAULT\Control Panel\Colors
3. Check the value out in RGB format
Value name: Background
Value data: 0 78 152 (R G B format)
Yes, that’s my favorite color code.
official Android app development Q&A
Source:http://android-developers.blogspot.com/2009/12/hello-stack-overflow.html
beginner-level technical questions.
http://stackoverflow.com/questions/tagged/android
intermediate and expert users.
http://groups.google.com/group/android-developers
Rendering in WebKit
Thanks to Eric Seidel!
Nexus One is released
You can buy unlocked nexus one from here @ $529.00!
http://www.google.com/phone
2.1 (Eclair)
800 x 480 AMOLED
Qualcomm QSD 8250 1 GHz
512MB RAM/512MB Flash
GSM/UMTS/Wi-Fi/Bluetooth
Why Java 6 is not supported for android
JDK 5.0, update 12 or higher. Java 6 is not supported, because of incompatibilities with @Override.
WebCore Directory Structure
WebCore Directory Structure
WebCore/
bindings – houses the language-specific bindings for JavaScript and for Objective-C. It has two subdirectories, js and objc. The files that move here will come from khtml/ecma, ksvg/ecma, and also ksvg/bindings. Ultimately these language-specific bindings will be auto-generated from IDL files.
bridge – Bridge is about the bridging to the WebKit framework.
page – Code for the top-level page and frames. Was originally the khtml part and khtml view. We will be making this more abstract so that it can be bridged to either WebKit or another abstraction like the khtml part.
platform – Contains much of the engine-level plumbing (code from khtml/misc and kwq). This code will have platform-specific subdirectories, e.g., mac. Other ports can have their own subdirectories (Qt, GTK, Win32, etc.).
css – The CSS back end. This is consolidated from khtml/css and ksvg2/css.
editing – The editing infrastructure. This is moving from khtml/editing.
html – The HTML DOM. This is moving from khtml/html.
loader – Files that used to be in khtml/misc dealing with subresource loading.
svg – The SVG DOM. This is moving from ksvg2/svg.
xsl – Support for XSLT stylesheets. Moving from khtml/xsl.
xml – The XML DOM (base classes for the HTML+SVG DOMs). Moving from khtml/xml.
Source. http://webkit.org/blog/42/webcore-directory-structure/


