Android source code and travel Android source code
I have been developing a Hybrid App. Recently, an apicloud development platform is very attractive and I have been paying attention to it. I carefully studied the api documentation of apicloud and found that the APIs on the client are rich, it can already meet the needs of most apps. The method is well-known and can be called back asynchronously. As a result, I thought about something to write. I just found an app on my mobile phone and I decided to use it. (Will touniu come to me for help ~~), Prepare to imitate a trainer. I will not talk much about it. I will go to the end first, and there will be a picture of the truth. <Ignore_js_op>
<Ignore_js_op>
<Ignore_js_op>
I will give a rough look at my ideas about how to do it. 1. Open the application and you can see that the homepage is a slide layout. apicloud provides ready-made APIs. (Opensshortlayout ())
2. There are many buttons on the slide fiexd page. Click analysis to find that only three different pages (mian, user, toursList) will be opened ), because the three pages are opened in the same window (slider), I thought of using the window Group Module frameGroup (openFrameGroup), because the headers of the three pages are different, therefore, you need to write three different headers on the slider page. A problem occurs here. The header on the toursList page is a little higher than the remaining two. by viewing the frameGroup api, we can find that the Y axis height of the window group can only be set in a unified manner, you cannot set the Y axis for each frame. You can only write the extra part in a single frame (toursList_tab). Therefore, I opened two frames (toursList_tab, toursList-con) on the toursList page ).
3. Some other pages are opened by openframe and openWin, so we will not introduce them too much.
Finally, let's talk about my usage experience. Using apicloud to develop applications is really a modular application that provides us with a lot of native modules, this allows us to create an application comparable to that of native just by focusing on html, css, and js. Is it another spring for a massive front-end attacker!
Http://android.662p.com/thread-5959-1-1.html