Your SlideShare is downloading. ×
Serverless Apps - droidcon london 2012
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Serverless Apps - droidcon london 2012

344

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
344
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Server-Less Appsusing serverswithout caring Friedger Müffke #fmdroid droidcon London 2012
  • 2. Motivation
  • 3. Web services● General audience Made for servers and web pages● Specific purpose Speech recognition Payment Directions
  • 4. Scope● Mobile Audience Android tools (and others)● Technical purpose User management Data storage Push notifications Location
  • 5. On-Device Apps● Communication with 3rd party app● Trust relation between user and 3rd party app● SDK for communication via intents● Library projects Facebook (3.0) / Google+ Box/Google Drive
  • 6. Google Spreadsheet1. Add jars (jackson, protobuf-java, google-client-api-*, google-http-client-*)2. Add oauth or use Google Service (new!)3. Make HttpRequest4. Parse
  • 7. Google Spreadsheet (2) final HttpResponse resp = mHttpClient.execute(request); final int status = resp.getStatusLine().getStatusCode(); final InputStream input = resp.getEntity().getContent(); try { final XmlPullParser parser = ParserUtils.newPullParser(input); handler.parseAndApply(parser, mResolver); } catch (XmlPullParserException e) { throw new HandlerException("Bad Req: " +req.getRequestLine(), e); } finally { if (input != null) input.close(); } SpreadsheetEntry entry = SpreadsheetEntry.fromParser(parser); row = service.insert(listFeedUrl, row);
  • 8. netmera● Content ○ Media ○ GeoLocation● User Management ○ ACL via user property● Push Notification on Server (Java SDK)
  • 9. Netmera (2)c = NetmeraContent("House")c.add("price", "10.000GBP")c.create() / c.createInBackground()NetmeraService.search()NetmeraUser, NetmeraMedia,NetmeraGeoLocationwww.netmera.com - use key: droidcon2012Free pro account for ever
  • 10. kii● User Management ○ ACL for application, group, user level● Data storage as JSON or Files● Syncing foldershttp://documentation.kii.com/en/android-guides
  • 11. StackMob● User Management ○ support for Twitter and Facebook● Data model super class with CRUD methods● Queries by field, also by locationOn Server:● Push Notifications on Server● Custom Code SDK (Java/Scala)
  • 12. More and Name Dropping● many Analytics and Ads provider● User feedback WebView with disqus● ScoreNinja● QuickBlox● UserGrid● Pusher● Cosm● StorageRoom● Parse● Makala (private beta)● Azur Mobile, Amazon S3

×