Google launches new Android development language Sky: making apps smoother

Source: Internet
Author: User

Tudou Sync update : http://www.tudou.com/plcover/VHNh6ZopQ4E/ 
use HTML to create a Mac OS App video tutorial. QQ Group: (1) app practice 434558944 (2) App learning communication 452180823 Baidu Network Disk synchronization:/HTTP pan.baidu.com/s/1jg1q58m sharing [Chinese documentary] Internet era Http://pan.baidu.com/s/1qWkJfcS
Google launches new Android development language Sky: making apps smoother

Sina Science and Technology dimension gold

Introduction: Sky does not rely on the platform, its code can be run on Android, IOS, and any integration of the DART virtual machine platform. This type of app works like a Web site.

Beijing time May 4 Morning news that Android apps other than games are usually developed in the Java language, while a team inside Google is exploring new ways to develop applications. They used Google's own web development language, Dart, to develop Android apps. This helps them focus on speed and can be deeply integrated with the Web.

Dart was invented by a team member of the Chrome V8 engine. The team recently held the Dart Developer Summit to showcase the dart used in Android projects. The dart used in Android projects is not called "Android Dart", but instead has a new name "Sky". Currently, Sky is just an open source attempt. However, compared to the traditional development of Android applications, Sky has many advantages.

Sky's main objectives include increased speed and responsiveness. On most devices, the standard for smooth application is to achieve a frame rate of 60FPS. However, the DART team wants to achieve a frame rate of up to 120FPS. Currently on Android platforms, many applications even have a standard 60FPS frame rate that is difficult to achieve, let alone 120FPS. A frame rate of 60FPS requires a frame every 16 milliseconds, and when the screen is not drawn at this level, the application will appear in Dayton.

The DART team presents a demo app that draws at only 1.2 milliseconds per frame. While this is a simple demonstration, this means that Sky has a lot of space for developing fluid and complex applications, which makes the 120FPS frame rate possible. The team said that Sky's application interface (API) did not affect the main thread of the interface, which meant that the user interface would remain responsive even if the application was running slowly.

Sky does not depend on the platform, its code can run on Android, IOS, and any platform that integrates the DART virtual machine. This type of app works like a Web site. A large part of the application is based on HTTP, which means that developers can continue to develop and ensure that all users are using the latest version. The weakness of this demo app is that it doesn't work offline, and it takes 1-2 seconds to start the app because the app needs to download the data. However, these two problems can be solved by the caching mechanism.

The HTTP-based pattern makes development simple. Developers do not have to edit code, compile, and package, which can be edited on an HTTP server. Users simply close and reopen the app to complete the app's upgrade. It's like a Web browser. Android developers can use the Sky Framework, which provides a complete set of material design gadgets to help developers easily add action bars, touch effects, navigation panels, and all the elements needed in Android apps.

Like a normal app, Sky apps can get all of Android's permissions and APIs, but combined with automatic upgrade from a Web server, this creates an information security issue. But for now, Sky is just a pilot project. The Sky team needs to address these issues before Sky becomes a mainstream Android application solution. The team's GitHub page shows: "We are still iterating frequently on Sky, which means that the framework and the underlying engine are likely to change in an incompatible way." ”

Google launches new Android development language Sky: make apps smoother

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.