Developer's Therapy
A place to really cool off and share stuff, don't forget to talk crap...
Thursday, August 19, 2010
Thursday, August 5, 2010
Wednesday, August 4, 2010
Javascript show object
After having a battle with trying to figure out the content of the object in javascript, i decided to study the it and find out what make the object then try to output it in an alert.
Here's how to show the contents of a object in Javascript
function concatObject(obj) {
var str='';
for(prop in obj)
{
str += prop + " value :"+ obj[prop]+"\n";
}
alert(str);
}
Here's how to show the contents of a object in Javascript
function concatObject(obj) {
var str='';
for(prop in obj)
{
str += prop + " value :"+ obj[prop]+"\n";
}
alert(str);
}
Wednesday, June 9, 2010
New Apple Iphone 4G
Engadget:
"We'll hand it to Apple, the phone is so thin it's kind of mind-boggling.
The 3GS by comparison looks bloated."
Oh check out the 360 view, breath taking....
General | 2G Network | GSM 850 / 900 / 1800 / 1900 |
---|---|---|
3G Network | HSDPA 850 / 900 / 1900 / 2100 | |
Announced | 2010, June | |
Status | Coming soon. Exp. release 2010, June 24th |
Size | Dimensions | 115.2 x 58.6 x 9.3 mm |
---|---|---|
Weight | 137 g |
Display | Type | TFT capacitive touchscreen, 16M colors |
---|---|---|
Size | 640 x 960 pixels, 3.5 inches | |
- Scratch-resistant surface - Multi-touch input method - Accelerometer sensor for auto-rotate - Three-axis gyro sensor - Proximity sensor for auto turn-off |
Sound | Alert types | Vibration, MP3 ringtones |
---|---|---|
Speakerphone | Yes | |
- 3.5 mm headset jack |
Memory | Phonebook | Practically unlimited entries and fields, Photocall |
---|---|---|
Call records | 100 received, dialed and missed calls | |
Internal | 16/32 GB storage | |
Card slot | No |
Data | GPRS | Class 10 (4+1/3+2 slots), 32 - 48 kbps |
---|---|---|
EDGE | Class 10, 236.8 kbps | |
3G | HSDPA, 7.2 Mbps; HSUPA, 5.76 Mbps | |
WLAN | Wi-Fi 802.11 b/g/n | |
Bluetooth | Yes, v2.1 with A2DP | |
Infrared port | No | |
USB | Yes, v2.0 |
Camera | Primary | 5 MP, 2592 x 1944 pixels, autofocus, LED flash |
---|---|---|
Features | Touch focus, geo-tagging | |
Video | Yes, 720p@30fps, LED video light, geo-tagging | |
Secondary | Yes, videocalling over WiFi only |
Features | OS | iOS 4 (based on Mac OS) |
---|---|---|
CPU | Apple A4 processor | |
Messaging | SMS (threaded view), MMS, Email, Push Email | |
Browser | HTML (Safari) | |
Radio | No | |
Games | Downloadable, incl. motion-based | |
Colors | Black, White | |
GPS | Yes, with A-GPS support | |
Java | No | |
- MicroSIM card support only - Scratch-resistant glass back panel - Active noise cancellation with dedicated mic. - Digital compass - Google Maps - iBooks application - Audio/video player and editor - Voice command/dial - TV-out |
Battery | Standard battery, Li-Ion | |
---|---|---|
Stand-by | Up to 300 h (2G) / Up to 300 h (3G) | |
Talk time | Up to 14 h (2G) / Up to 7 h (3G) | |
Music play | Up to 40 h |
Subscribe to:
Posts (Atom)