DevCon Summit 2014: Trends in Android Development by Evan Dale Aromin

Preview:

Citation preview

ANDROIDTRENDS 2014

WHOAMIEVAN DALE AROMINSoftware Engineer @ coins.phAndroid / Python / JSTwitter, Github - @avendaelavendael.com

AGENDAHappeningUpcomingMight happen

LOLLIPOP

MATERIAL DESIGN

WEAR

MOBILE PAYMENTS

Bitcoin is a remarkable cryptographicachievement, ...

The bitcoin architecture, literally the abilityto have these ledgers which can’t be

replicated, is an amazing advancement.-- Eric Schmidt

I think it's very obvious to all of us thatcryptocurrencies are inevitable

-- Jared CohenLots of people will build businesses on top of

that.-- Eric Schimdt

ADTGoogle is starting to move away from EclipseSome Eclipse maintainers forked ADT - Proteus/AndmoreADT fork led by David Carverhttps://projects.eclipse.org/proposals/proteus-android-tooling

ANDMORE - ADT FORK

ANDROID STUDIONow at v1.0 RC1Successor to ADTOfficial support from Google

VOLLEYRequestQueue queue = Volley.newRequestQueue(this);String url ="http://www.google.com";

StringRequest stringRequest = new StringRequest( Request.Method.GET, url, new Response.Listener() { @Override public void onResponse(String response) { // Display the first 500 characters of the response string. mTextView.setText("Response is: "+ response.substring(0,500)); }}, new Response.ErrorListener() { @Override public void onErrorResponse(VolleyError error) { mTextView.setText("That didn't work!"); }});

queue.add(stringRequest);

http://developer.android.com/training/volley/index.html

Apache HttpClient - Best for Eclair, FroyoHttpURLConnection - Best for Gingerbread and aboveVolley - Abstracts these details and morehttp://android-developers.blogspot.com/2011/09/androids-http-clients.html

FUNCTIONAL REACTIVEPROGRAMMING

Observable<String> filePathObservable = downloadFileObservable() .map(new Func1<File, String>() { @Override public String call(File file) { return file.getAbsolutePath(); }});

// now emits file paths, not Filessubscription = filePathObservable.subscribe(/* Observer<String> */);

https://gist.github.com/staltz/868e7e9bc2a7b8c1f754

SWIFT - NO EQUIVALENT

Some facts before I drive to my point

JEAN-BAPTISTE QUÉRUFormer AOSP Maintainer

Left Google, 2013

ANDY RUBINFormer Senior VP of Mobile

Left Android, 2013

SUNDAR PICHAISenior Vice President

Now responsible for Android

60 FPS MOBILE CHROME

Working to get Chrome at 60 fps on mobileFundamental changes - Might be difficult for others tomatchApp Manifest - ServiceWorker -

Web Components - Polymer

https://w3c.github.io/manifest/

https://github.com/slightlyoff/ServiceWorker

MAYBE...Android's Swift equivalent - Web Technologies

THANKS!@avendael