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"