java based cross-platform mobile development
Post on 15-Jan-2015
5.442 Views
Preview:
DESCRIPTION
TRANSCRIPT
Cross-Platform Mobile Development
(c) 2012 Peter Friese, Zühlke Engineering (peter@peterfriese.de / @peterfriese)
Integrating Twitter in Your iOS 5 Apps
@peterfriese
peter.friese@zuehlke.com
xing.to/peter
http://peterfriese.de
Peter Friese
Popular Architectural Patterns for Mobile
Native
Web
HTML5
Hybrid
Interpreted
Cross-
compiled
Java == the most popular language for mobile?
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{ if (indexPath.section == 2) { Speaker *speaker = self.session.speakers.allObjects[indexPath.row]; SpeakerDetailsViewController *speakerDetailsViewController = [[SpeakerDetailsViewController alloc] init]; speakerDetailsViewController.speaker = speaker; [self.navigationController pushViewController:speakerDetailsViewController animated:YES]; } }
Java
Objective-C
C#
JS
6.5%
9.5%
17.2%
1.2%
Source: TIOBE Programming Community Index for October 2012
So Why Don’t We Use Java
to build Mobile Apps?
?
http://petux7.deviantart.com/art/java-cup-208839517
?mgwt
?
How does mgwt work?
?
Demo
?
mgwt Features
Runs on webkitiOS, Android, BlackBerry
Native-looking UITheming for Android / iOS
Access to platform (gwt-phonegap)
How does Vaadin TouchKit work?
Demo
Vaadin TouchKit Features
Supports iOS, Android
Rich collection of UI components
iOS-Look’n’Feel
Configurable offline support
Access to platform via PhoneGap
PhoneGap Build - Wrap your App
Upload your HTML-based app
Build foriOSAndroidWindows PhoneBlackBerry
Download binary via QR code
Publish to app store
PhoneGap Build - Wrap your App
http://build.phonegap.com
Backend
RAP Server
Android Device
FilesImages
Other ResourcesDatabase
http:/
/ (JSON)
Native App
RAP Mobile Engine
RAP App(Java)
iPhone Device
http:// (JSON)Native App
RAP Mobile Engine
How does Tabris work?
Demo
Tabris Features
Supports iOS, Android
Rich collection of UI components
(Mostly) native look’n’feel
No offline support - needs to be online
Access to platform via bridge or native
Want to know more about these patterns?
Native
Web
HTML5
Hybrid
Interpreted
Cross-
compiled
Get in touch: peter.friese@zuehlke.com
Peter Friesepeter.friese@zuehlke.com
Zühlke Engineering GmbH
Am Sandtorkai 6620457 Hamburg
+49 151 108 604 72
Available for consulting,projects, discussing all things mobile - and frosty beverages!
Available for consulting,projects, discussing all things mobile - and coffeinated drinks!
top related