"Mobile development multi-platform code sharing"

Source: Internet
Author: User

Mobile development for almost a year, have been fortunate to have access to the WM, Symbian, Android, iphone and other platforms development. Often a software needs to implement a version of multiple platforms, re-coding for different platforms is a very laborious thing, in fact, we can use the code to share the technology to achieve some code reuse.

The application of this technology can bring a lot of benefits:

1. Code reuse: Time to save development and maintenance

2. Core code protection: Compile the core code into a library and only provide the library, not the source code, to the upper-level developers.

3 .....

This article will implement a support for these platforms of the weather information query software, the software uses C language to achieve the call WebService interface to obtain weather information, and compile it into a variety of platforms can call the library, and the UI is the language of each platform to implement, and ultimately achieve the common use of the underlying code.

Let's take a look at the final:

<ignore_js_op style= "Word-wrap:break-word" >650) this.width=650; "class=" Zoom "src=" http://techfoxbbs.com/ Data/attachment/forum/201504/29/123837x613fbv69n2z963v.jpg "width=" "/>"

<ignore_js_op style= "Word-wrap:break-word" >650) this.width=650; "class=" Zoom "src=" http://techfoxbbs.com/ Data/attachment/forum/201504/29/123857ywxg3zh338kztoz4.jpg "width=" 396 "/>

<ignore_js_op style= "Word-wrap:break-word" >650) this.width=650; "class=" Zoom "src=" http://techfoxbbs.com/ Data/attachment/forum/201504/29/123914bupewd12uhudhcig.jpg "width=" 361 "/>

Read the full text


"Mobile development multi-platform code sharing"

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.