Android Police

Articles Tagged:

Java

...

DeskDock shares your computer's mouse and keyboard with your Android device

What is this witchcraft? DeskDock, now available on the Play Store, allows you to share your computer's keyboard and mouse with your Android device. If you've ever used Synergy, it's very close to that.

What's the point of something like this, you may ask? The primary use the developer provided was to make Android development much easier. With this tool, you could work on an application on your computer, push it to your device, and test it without your hands ever leaving your keyboard. But there are plenty of other potential uses as well - you could use your Android tablet as another monitor to watch media on, for example.

Read More
...

Jury: Google's Use Of Oracle's Java APIs Was Fair Use, Oracle Loses On All Counts

According to reporter Sarah Jeong on Twitter, the jury in the long-awaited Oracle v Google trial regarding Google's use of Oracle's Java APIs has found that Oracle's claims for copyright infringement are not valid. Google's use of the APIs structure, sequence, and organization fell under fair use.

Oracle had, after a higher court found certain aspects of the Java APIs copyrightable, sought damages against Google for using those APIs as part of Android's Dalvik virtual machine. Oracle's argument had long been considered near-baseless in terms of true technological "theft," but the finding that the structure, sequence, and organization of the APIs were copyrightable led many legal analysts to believe Google may well lose the case.

Read More
...

Android Studio v2.1 Released To Stable Channel With Support For Android N, Java 8 Language Features, And More

With last month's release of the Android N Preview, the Tools team launched a preview release of Android Studio 2.1. Not only did the new version add support for the N Preview SDK, but it also brought a few important important and welcomed additions, including adoption and support for many of the language features in Java 8, a semi-official switch to the Jack compiler, an updated New Project wizard, and further improvements to the new and faster Android Emulator. As of today, Android Studio 2.1 has been promoted to Stable and is available to all developers.

The biggest advantage of updating and switching to the Jack compiler, aside from playing with new Android N APIs like Launcher Shortcuts, is probably the addition of Lambda Expressions.

Read More
...

Android N Feature Spotlight: Jack Compiler Gains Support For Many Java 8 Language Features Including Lambdas, Streams, Functional Interfaces, And More

Developers have plenty of great new APIs and features coming with Android N, but perhaps the best thing to look forward to is at the language level itself. Starting with the preview SDK due out today, some of the language features of Java 8 will be supported by the Jack compiler. This will bring things like support for lambdas, default and static methods, streams, and functional interfaces. Google is also declaring that the Jack compiler will also be able to remain more up-to-date with Java language features in the future.

One of the top requests from developers over the last few years has been for a more rapid uptake of new language features for Java, many of which would allow for more efficient use of development time and ultimately easier to read code.

Read More
...

JetBrains Releases v1.0 Of Kotlin, A Smart JVM-Compatible Language That Can Be Used To Write Android Apps

Kotlin has been emerging as a programming language to keep a close eye on. It started as an internal project at JetBrains back in 2011 and was released early the next year. Taking inspiration from both classic C-based languages and a number of modern alternatives like Scala, Kotlin is branded as a "pragmatic" language and modeled to encourage smarter coding and easier readability. JetBrains has been tiptoeing up to an official v1.0 release for a few months, and today, it's finally here.

While it's still a fledgling language, Kotlin has earned some enthusiastic supporters among the Android development community, even a few Googlers have discussed using it in projects.

Read More
...

Google Will Replace Oracle's Java APIs With OpenJDK In The Next Version Of Android

Android's rapid rise to the top of the mobile market was accompanied by a number of legal battles, and perhaps none of them was so central and so contentious as Oracle versus Google. The fight over the legality of patents and copyrights in some of the portions of Android that used allegedly proprietary Oracle-owned Java software has been raging since 2010, eventually being considered for review by the US Supreme Court before being bounced back to the lower appeals court. The fight was a constant, and sometimes dramatic, part of legal software news at one point.

Apparently Google is as tired of dealing with the legal headache as we are of writing about it, because the company has confirmed that Android will do away with the remaining Java APIs starting with Android N, which will probably be released sometime in 2016.

Read More
...

Google Is Working On A High Performance, Java-Free App Framework For Android Based On Dart

Most of the standard (non-game) Android apps we use today are created with Java. Alternatives are available, like Apache Cordova and Mono for Android, but there's no doubt that Java is the only true first-class citizen. However, a team at Google is now working on a new cross-platform alternative called Sky, and it's able to deliver 120 FPS out of the box.

Sky is based on Dart, a custom web scripting language that emerged from Chrome's V8 development team. Dart was designed to make development of complicated Javascript applications faster and more manageable, but it also came with the advantage of higher performance and the ability to be distributed as compiled code.

Read More
...

Sony Releases Theme Creator Beta For Xperia Devices With Hundreds Of Adjustable Assets

Sony's recent Xperia phones and tablets have included themable skins for the proprietary Sony UI that runs on top of Android. Now Sony wants you (yes, you!) to make themes for its devices using a custom Java desktop program. The company has released a beta version of the application for aspiring theme makers, available from the Sony Developer site.

The program allows you to apply different colors and graphical elements to the various bits and pieces of Sony's themes. It's basically a streamlined setup process - anyone who's made themes for the CyanogenMod engine or a custom Android launcher will feel pretty comfortable.

Read More
...

Jack And Jill Are Google's New Compilers For Android App Developers

Android has gone through quite a few changes during its short 6 years of life. The Android that drives most of the world's smartphones of today would be almost unrecognizable to what was launched in late 2008. We've seen massive visual changes, expansion to almost every conceivable form factor, and a completely fleshed-out content ecosystem for multimedia and apps. As the operating system matured, some elements have successfully grown with it, and others have become dead weight. Naturally, progress calls for the replacement of those pieces that haven't scaled well. We've seen an excellent example of this when ART came to replace Dalvik as the standard Android runtime.

Read More
...

Valar MorGoogleis: Norwegian Java Conference Chronicles The Google-Oracle War In An Epic 'Game Of Codes' Trailer

If you're a Norwegian Android developer, you might want to consider attending JavaZone, an independent Java programming and development conference being held in Oslo from September 9th through the 11th. If you're not, you can still enjoy this parody trailer for the event posted to the group's YouTube page. If you're at work or in public, heads up: the video below has some mild swearing.

To get all the in-jokes here you'd probably need a programming undergrad degree, a passing knowledge of George R. R. Martin's Game of Thrones novels or the HBO TV show, and an awareness of the litigious copyright and patent lawsuits spiraling around the technology industry.

Read More
Page 1 of 3123