Iphone iPhone phone cum computer
Shared by: mrsuman805
-
Stats
- views:
- 21
- posted:
- 12/27/2011
- language:
- English
- pages:
- 18
Document Sample


iPhone
(phone cum computer)
So what’s matter we talking about?
Touchscreen interface, with several patents
Visual voicemail
Full MacOSX instead of subset (half a Gb)
Webbrowsing with most advanced web-
browser to date on handheld device (Safari)
Synchronisation via ITunes => demo
Features
Screen size: 3.5 in (89 mm)
Screen resolution: 480×320 pixels at 163 ppi, with 3:2 aspect ratio
Input devices: Multi-touch screen interface plus a "Home" button and
"Sleep/Wake" located on the top of the iPhone.
Built-in rechargeable, non-removable battery
2 megapixel camera
Location finding by detection of cell towers and Wi-Fi networks
Samsung S5L8900 (412 MHz ARM 1176 processor, PowerVR MBX 3D
graphics co-processor)
Memory: 128 MB DRAM
Storage: 8 GB or 16 GB flash memory
Operating System: iPhone OS
Quad band GSM / GPRS / EDGE: GSM 850 / 900 / 1800 / 1900
Wi-Fi (802.11b/g)
Bluetooth 2.0 with EDR
20Hz to 20kHz frequency response (both internal and headset)
Features new generation
Color: Black (8 GB or 16 GB) or white (16 GB)
Size: 4.5 inches (115.5 mm) (h) × 2.4 inches (62.1 mm) (w) × 0.48 inch
(12.3 mm) (d)
Weight: 133 g
Headphone jack (non-recessed)
Battery has up to 10 hours of 2G talk, 5 hours of 3G talk, 5 (3G) or 6 (Wi-Fi)
hours of Internet use, 7 hours of video playback, and up to 24 hours of audio
playback, lasting over 300 hours on standby.
3G for broadband data speeds
Assisted GPS
Digital SAR Rating: 1.38 W/kg
Popularity
iPhone Stats
October, 2008
10 Million iPhones
App store stats
July, 2008 (launch) : 552 Apps
December 5, 2008 : 300M downloads
February, 2009 : 20.000 Apps / 500M downloads
Openness
iPhone Android
Open Source NO YES
Write anything you want NO YES
Device Homogeneity YES NO
Closed source with open source components.
Given Apple’s history, this is likely to stay this way.
(Benevolent) Vertically Integrated Dictatorship
vs.
Open Source, Loosely-Controlled Ecosystem
Where to start?
http://developer.apple.com/iphone/
Download iPhone SDK, if you are a Registered iPhone Developer or enrolled
in the iPhone Developer Program
SDK includes :
Xcode
IPhone simulator
Monitoring instruments
Interface builder
• loading an application onto devices is only possible after paying a Apple
Developer Connection membership fee of 99 $ (standard) or 299 $
(enterprise)
• => XCode demo : UDecide
Web apps
• http://www.apple.com/webapps/
http://www.shockwise.com/iphone/draw.php
Developers are free to set any price for their
applications to be distributed through the App
Store, of which they will receive a 70 percent
share
• Developers can also opt to release the
application for free and will not pay any costs
to release or distribute the application
beyond the membership fee
Web Apps
Applications are downloaded directly to iPhone or iPod
Touch
App Store is also available within iTunes
Applications are subject to approval by Apple, as
outlined in the SDK agreement, for basic reliability
testing and other analysis
Applications may be rejected if they are of only "limited
utility"
Toolbars must be placed at the bottom of the screen,
and the vibration function should only be used for
alerts
How do we develop Apps for the iPhone?
We can use Xcode / Objective C
We can develop AJAX / Javascript applications that can be accessed
through Safari
We can use Java
AlcheMo for iPhone
Xmlvm
We can install Java on an unlocked and Jailbroken iPhone
AJAX & JavaScript
Demo based on http://www.benjoffe.com/code/demos/canvascape/
AlcheMo for iPhone
http://www.innaworks.com/alcheMo-for-iPhone.html
alcheMo for iPhone is capable of converting J2ME applications
utilizing an extensive subset of Java ME CLDC 1.1
(http://java.sun.com/products/cldc/) and MIDP 2.0 (including touch
screen support) and supports several JSR extension APIs
(http://jcp.org/en/jsr/detail?id=198) including the JSR-256 mobile
sensor API. Additional APIs support multi-touch and native iPhone
look and feel. This automatic translation process is instantaneous,
repeatable, and available 24/7 while requiring no iPhone specific
experience.
(real) Java on the iPhone
No official support
It is however possible to run Java on the iPhone
We have to pull some tricks, jailbreaking, installing...
Apple has stated it will not design software updates specifically to
break native applications other than applications that perform SIM
unlocking
IPhone in Finder
• Install AFP (Apple Filing Protocol) on your iPhone
• Get your iPhone's IP address
• Connect to server from MacOSX Finder
• afp://ip-address-of-your-iphone
• User : 'root' / pwd : 'alpine'
Cydia
Cydia is a package manager for installing unofficial
3rd-party applications on the iPhone
Among other things, this allows iPhone users to
bypass Apple's restrictions on certain kinds of
applications, such as launchers, custom wallpapers
(themes) and battery status apps
The applications are downloaded directly to iPhone
or iPod Touch and are located in the /Applications/
directory , in the same place where 'Apple' native
applications are located. App Store applications are
located in /var/mobile/Applications/
Cydia is a front end/graphical interface for a port of
APT created by Jay Freeman
Cydia allows users to add custom sources, so
people can choose where to download software
from
Installer
Installer is another package installer,
created and maintained by the Russian
Rip-Dev company alongside other tools.
The former maintainer of Installer, on pre
2.0 firmwares, was Nullriver, Inc.
(real) Java on the iPhone
Run Cydia Installer, go to Java section and select iPhone/Java which will
install the virtual machine, libraries etc. Then install Jikes (java compiler).
Also, install Terminal. Now restart iPhone.
You can upload Java files to iPhone using iPhone Browser => demo
Run Terminal (installed above) and use java (jikes) compiler to compile your
program. For example:
jikes -cp /usr/lib/rt.jar MyFirstJavaProgramForIPhone.java
You can run the class file as usual:
java MyFirstJavaProgramForIPhone
End (for now)
Questions?
Remarks?
Get documents about "