You can actually use Java 8 on Android. Take a look at the retrolambda 
project: https://github.com/orfjackal/retrolambda

There's also this handy plugin to integrate this in your building process: 
https://github.com/evant/gradle-retrolambda

I also suggest using IntelliJ instead of Android Studio. It's tricky to 
configure AS to make it work with Java 8. So far I have tested lambdas, 
diamons, method references, streams, etc. and they seem to run just fine.

On Sunday, March 2, 2014 11:20:26 PM UTC-8, richarth wrote:
>
> What about Java 8 :-)
> On 3 Mar 2014 04:51, "Jonathan Steele" <[email protected] <javascript:>> 
> wrote:
>
>> There is already 
>> http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Using-sourceCompatibility-1.7
>>
>> On Sunday, March 2, 2014 6:41:57 PM UTC-5, Joe White wrote:
>>>
>>> New IO (NIO) classes are partially supported by Android -- but only 
>>> through JDK 6.   I have two questions:
>>>
>>>    1. Is JDK 7 support in Android in the roadmap for support?
>>>    2. Is there an estimated timeline for such support (target , not 
>>>    guarenteed, month, quarter, year???) 
>>>
>>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "adt-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to