Andriod applications developed with Golang

Source: Internet
Author: User
This is a creation in Article, where the information may have evolved or changed. Recently, I have been tinkering with the Golang to develop andriod applications. It's a little cumbersome to talk about, and it's a lot of stuff to learn in the middle. Like Ubuntu,docker,angular,ionic,jquery Mobile,amazeui, Avalon,andriod Studio. Once you have an understanding of everything, use Golang to develop andriod applications. Although there are several technical projects that are not used, but after all choose the appropriate need to compare. This is a lot of harvest, the above several techniques have a good understanding, not to say proficient, but at least get started. I will write down this main experience to share with you.
    1. First use Docker to compile the so library for go. Why use Docker, because the configuration environment is complex. Golang Mobile's official source repository provides dockerfile, which makes it easy to generate Docker images that have been configured to develop bad environments.
    2. Second, use Ionic to do HTML5 interface library. Ionic the interface is very beautiful, the document is complete, the speed is much faster than JQM, and uses the most famous angular.
    3. Thirdly, using Golang to do HTTP service, because HTTP service to use a lot of static resources, so need to use Go-bindata to generate embedded resource files.
    4. Four, using Andirod Studio as a development tool, because of wall reasons, configuration development environment very much, so I also specifically purchased a pit Dad VPN. I use the latest version, generally more than half a year ago. Why use Andirid Studio? After all, is the official recommendation, now directly use, lest later change.
A random picture, what is this diagram? Is it a legendary frame chart? Finally, I put a few pictures, let everyone feel the feeling: This is the final interface to run the project directory structure-critical code finally sent, APK demo, only 3.08MB, or quite small, we can install feel the smoothness of the download address and finally sent to the Andriod Studio project source Code, You can import the run directly. You may ask this development model IONIC,PHONEGAP have been provided, and cross-platform, what you have this advantage. What I want to say is that there is no. So library source code in the project source code. You have the ability to crack it.
Download Address
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.