├── server ├── www │ ├── server │ │ ├── 404.php │ │ ├── .htaccess │ │ ├── index.php │ │ └── js │ │ │ ├── debug │ │ │ └── apiTest.js │ │ │ └── app.util.js │ └── website │ │ ├── demos │ │ ├── experiments │ │ │ ├── converter │ │ │ │ ├── .htaccess │ │ │ │ ├── cache.manifest │ │ │ │ ├── converter.css │ │ │ │ └── storage.js │ │ │ ├── google-maps │ │ │ │ ├── map.css │ │ │ │ ├── map.html │ │ │ │ ├── index.html │ │ │ │ └── map.js │ │ │ ├── scrollview │ │ │ │ └── jquery.mobile.scrollview.css │ │ │ └── themeswitcher │ │ │ │ └── jquery.mobile.themeswitcher.js │ │ ├── tests │ │ │ ├── speed │ │ │ │ └── stats │ │ │ │ │ ├── rev.php │ │ │ │ │ ├── visualize │ │ │ │ │ └── index.html │ │ │ │ │ └── startup.js │ │ │ ├── unit │ │ │ │ ├── jquery.setNameSpace.js │ │ │ │ ├── navigation │ │ │ │ │ ├── form-tests │ │ │ │ │ │ ├── changepage-data.html │ │ │ │ │ │ └── form-no-action.html │ │ │ │ │ ├── data-url-tests │ │ │ │ │ │ ├── nested.html │ │ │ │ │ │ ├── reverse-attr.html │ │ │ │ │ │ ├── single-quotes.html │ │ │ │ │ │ ├── non-data-url.html │ │ │ │ │ │ └── data-url.html │ │ │ │ │ ├── external.html │ │ │ │ │ ├── title2.html │ │ │ │ │ ├── prefetched.html │ │ │ │ │ ├── file.html │ │ │ │ │ ├── prefetched-dialog.html │ │ │ │ │ ├── cached-external.html │ │ │ │ │ ├── path-tests │ │ │ │ │ │ ├── file.html │ │ │ │ │ │ ├── parent-ref.html │ │ │ │ │ │ ├── parent │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ └── sub-dir │ │ │ │ │ │ │ ├── file.html │ │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── title3.html │ │ │ │ │ ├── title1.html │ │ │ │ │ ├── dialog-param-test │ │ │ │ │ │ └── dialog-param.html │ │ │ │ │ ├── navigation_dialog_pushstate.js │ │ │ │ │ ├── push-state-disabled-tests.html │ │ │ │ │ ├── push-state-disabled-base-tests.html │ │ │ │ │ ├── base-tests │ │ │ │ │ │ ├── app-base │ │ │ │ │ │ │ ├── base-page-1.html │ │ │ │ │ │ │ └── base-page-2.html │ │ │ │ │ │ └── content │ │ │ │ │ │ │ ├── content-page-2.html │ │ │ │ │ │ │ └── content-page-1.html │ │ │ │ │ └── push-state-dialog-tests.html │ │ │ │ ├── init │ │ │ │ │ ├── init_core_nopage.js │ │ │ │ │ ├── nopage.html │ │ │ │ │ └── index.html │ │ │ │ ├── listview │ │ │ │ │ ├── cache-tests │ │ │ │ │ │ └── clear.html │ │ │ │ │ └── listview_pushstate.js │ │ │ │ ├── swarminject.js │ │ │ │ ├── slider │ │ │ │ │ └── slider_core.js │ │ │ │ ├── ls.php │ │ │ │ ├── widget │ │ │ │ │ ├── widget_init.js │ │ │ │ │ └── index.html │ │ │ │ ├── fieldContain │ │ │ │ │ ├── fieldContain_events.js │ │ │ │ │ └── index.html │ │ │ │ ├── textinput │ │ │ │ │ ├── external.html │ │ │ │ │ └── index.html │ │ │ │ ├── degradeInputs │ │ │ │ │ ├── degradeInputs.js │ │ │ │ │ └── index.html │ │ │ │ ├── media │ │ │ │ │ ├── index.html │ │ │ │ │ └── media_core.js │ │ │ │ ├── index.php │ │ │ │ ├── select │ │ │ │ │ ├── cached-tests.html │ │ │ │ │ └── select_events.js │ │ │ │ ├── support │ │ │ │ │ └── index.html │ │ │ │ ├── page-sections │ │ │ │ │ ├── page_core.js │ │ │ │ │ └── index.html │ │ │ │ ├── event │ │ │ │ │ └── index.html │ │ │ │ ├── page │ │ │ │ │ └── index.html │ │ │ │ ├── core │ │ │ │ │ └── index.html │ │ │ │ └── button │ │ │ │ │ └── index.html │ │ │ └── functional │ │ │ │ ├── eventlogger.html │ │ │ │ └── addrbar.html │ │ ├── docs │ │ │ ├── lists │ │ │ │ ├── images │ │ │ │ │ ├── de.png │ │ │ │ │ ├── fi.png │ │ │ │ │ ├── gb.png │ │ │ │ │ ├── gf.png │ │ │ │ │ ├── sj.png │ │ │ │ │ ├── us.png │ │ │ │ │ ├── album-k.jpg │ │ │ │ │ ├── album-p.jpg │ │ │ │ │ ├── album-af.jpg │ │ │ │ │ ├── album-ag.jpg │ │ │ │ │ ├── album-bb.jpg │ │ │ │ │ ├── album-bk.jpg │ │ │ │ │ ├── album-hc.jpg │ │ │ │ │ ├── album-mg.jpg │ │ │ │ │ ├── album-ok.jpg │ │ │ │ │ ├── album-rh.jpg │ │ │ │ │ ├── album-ws.jpg │ │ │ │ │ └── album-xx.jpg │ │ │ │ └── lists-split-purchase.html │ │ │ ├── _assets │ │ │ │ ├── images │ │ │ │ │ ├── px-ccc.gif │ │ │ │ │ ├── version.png │ │ │ │ │ ├── ios_icon.png │ │ │ │ │ ├── jqm-sitebg.png │ │ │ │ │ ├── ios_startup.png │ │ │ │ │ ├── jquery-logo.png │ │ │ │ │ ├── mobile-devices.png │ │ │ │ │ └── themroller-mobile-logo.png │ │ │ │ └── js │ │ │ │ │ └── jqm-docs.js │ │ │ ├── toolbars │ │ │ │ ├── images │ │ │ │ │ └── photo-run.jpeg │ │ │ │ └── glyphish-icons │ │ │ │ │ ├── 30-key.png │ │ │ │ │ ├── 09-chat2.png │ │ │ │ │ ├── 19-gear.png │ │ │ │ │ ├── 21-skull.png │ │ │ │ │ ├── 100-coffee.png │ │ │ │ │ ├── 18-envelope.png │ │ │ │ │ ├── 34-coffee.png │ │ │ │ │ ├── 88-beermug.png │ │ │ │ │ └── Read me first - license.txt │ │ │ ├── pages │ │ │ │ ├── dynamic-samples │ │ │ │ │ ├── vehicles.html │ │ │ │ │ ├── animals.html │ │ │ │ │ ├── colors.html │ │ │ │ │ └── index.html │ │ │ │ ├── docs-links-urltest │ │ │ │ │ └── index.html │ │ │ │ ├── dialog-success.html │ │ │ │ ├── transition-success.html │ │ │ │ ├── dialog.html │ │ │ │ ├── dialog-alt.html │ │ │ │ ├── dialog-overlay.html │ │ │ │ └── dialog-buttons.html │ │ │ ├── content │ │ │ │ └── api-content.html │ │ │ ├── index.html │ │ │ ├── buttons │ │ │ │ ├── api-buttons.html │ │ │ │ └── index.html │ │ │ ├── config │ │ │ │ ├── jq17b1.html │ │ │ │ ├── loadingMessage.html │ │ │ │ ├── pushState.html │ │ │ │ ├── minScrollBack.html │ │ │ │ └── pageTransition.html │ │ │ ├── api │ │ │ │ └── index.html │ │ │ └── about │ │ │ │ └── index.html │ │ └── images │ │ │ ├── ajax-loader.png │ │ │ ├── icons-18-black.png │ │ │ ├── icons-18-white.png │ │ │ ├── icons-36-black.png │ │ │ └── icons-36-white.png │ │ ├── picture │ │ └── README.txt │ │ ├── asset │ │ ├── jquery.mobile.js │ │ ├── jquery.mobile.css │ │ └── images │ │ │ ├── ajax-loader.png │ │ │ ├── icons-18-black.png │ │ │ ├── icons-18-white.png │ │ │ ├── icons-36-black.png │ │ │ ├── icons-36-white.png │ │ │ └── icon-search-black.png │ │ ├── faces │ │ └── default │ │ │ ├── face_0.png │ │ │ ├── face_1.png │ │ │ ├── face_10.png │ │ │ ├── face_11.png │ │ │ ├── face_12.png │ │ │ ├── face_13.png │ │ │ ├── face_14.png │ │ │ ├── face_2.png │ │ │ ├── face_3.png │ │ │ ├── face_4.png │ │ │ ├── face_5.png │ │ │ ├── face_6.png │ │ │ ├── face_7.png │ │ │ ├── face_8.png │ │ │ └── face_9.png │ │ ├── index.php │ │ └── gomap.php ├── tpl │ └── server │ │ └── template │ │ └── index.tpl ├── doc │ ├── install │ │ └── httpd.conf │ └── README.txt ├── bin │ ├── cli.bat │ ├── cli │ └── cli.php ├── etc │ ├── app.mapping.ini │ ├── global.message.php │ ├── global.session.php │ ├── global.datamap.php │ └── database.mysql.php └── lib │ └── Demos │ ├── App.php │ ├── Util.php │ ├── App │ ├── Website.php │ ├── Website │ │ └── IndexPage.php │ └── Server │ │ └── TestServer.php │ ├── Util │ ├── Url.php │ ├── Session.php │ └── Image.php │ ├── Dao │ └── Core.php │ ├── Dao.php │ └── Log.php ├── client ├── res │ ├── drawable │ │ ├── face.png │ │ ├── icon.png │ │ ├── arrow_1.png │ │ ├── close_s.png │ │ ├── close_t.png │ │ ├── main_bg.png │ │ ├── avatar.9.png │ │ ├── blog_1.9.png │ │ ├── blog_2.9.png │ │ ├── body_1.9.png │ │ ├── body_2.9.png │ │ ├── button_1.png │ │ ├── button_2.png │ │ ├── plus_128.png │ │ ├── tab_blog_1.png │ │ ├── tab_blog_2.png │ │ ├── tab_conf_1.png │ │ ├── tab_conf_2.png │ │ ├── tab_star_1.png │ │ ├── tab_star_2.png │ │ ├── top_quit.png │ │ ├── tab_heart_1.png │ │ ├── tab_heart_2.png │ │ ├── xml_main_bg.xml │ │ ├── xml_list_bg.xml │ │ ├── xml_list_comment_bg.xml │ │ ├── xml_menu_bg_1.xml │ │ ├── xml_menu_bg_2.xml │ │ ├── xml_list_config_bg.xml │ │ ├── xml_list_menu_bg.xml │ │ ├── xml_btn_bg.xml │ │ ├── xml_main_tab_bg.xml │ │ ├── xml_main_top_bg.xml │ │ ├── xml_list_blog_bg.xml │ │ ├── xml_login_bg.xml │ │ └── xml_login_btn.xml │ ├── layout │ │ ├── test_merge.xml │ │ ├── main_layout.xml │ │ ├── demo_web.xml │ │ ├── main_load.xml │ │ ├── demo_map.xml │ │ ├── ui_mytip.xml │ │ ├── test_frame.xml │ │ ├── ui_face.xml │ │ ├── main_dialog.xml │ │ ├── main_top.xml │ │ ├── ui_test.xml │ │ ├── ui_edit.xml │ │ ├── tpl_list_menu.xml │ │ ├── tpl_list_comment.xml │ │ ├── ui_index.xml │ │ ├── ui_write.xml │ │ ├── test_table.xml │ │ ├── ui_config.xml │ │ ├── main_tab.xml │ │ └── tpl_list_config.xml │ ├── menu │ │ └── menu.xml │ └── values │ │ ├── colors.xml │ │ ├── styles.xml │ │ └── strings.xml ├── libs │ └── httpmime-4.1.3.jar ├── src │ └── com │ │ └── app │ │ └── demos │ │ ├── base │ │ ├── BaseModel.java │ │ ├── BaseList.java │ │ ├── BaseApp.java │ │ ├── BaseAuth.java │ │ └── BaseTask.java │ │ ├── test │ │ ├── TestDemo.java │ │ ├── TestDemoImpl.java │ │ └── TestProxy.java │ │ ├── list │ │ ├── SimpleList.java │ │ └── GridImageList.java │ │ ├── model │ │ ├── Notice.java │ │ ├── Config.java │ │ ├── Menu.java │ │ ├── Image.java │ │ └── Comment.java │ │ ├── util │ │ ├── AppFilter.java │ │ ├── UIUtil.java │ │ └── AppCache.java │ │ ├── demo │ │ ├── DemoMap.java │ │ └── DemoWeb.java │ │ ├── ui │ │ └── Ui_.java │ │ └── dialog │ │ └── BasicDialog.java ├── default.properties ├── .classpath ├── project.properties ├── doc │ └── README.txt └── proguard.cfg ├── opengl ├── res │ ├── drawable │ │ ├── icon.png │ │ └── skin.png │ ├── values │ │ └── strings.xml │ └── layout │ │ └── main.xml ├── src │ └── com │ │ └── app │ │ └── demos │ │ └── opengl │ │ ├── demo │ │ ├── Cube.java │ │ ├── CubeRenderer.java │ │ ├── CubeTexture.java │ │ ├── DemoGL2dRenderer.java │ │ ├── CubeTextureRenderer.java │ │ ├── DemoGL2d.java │ │ ├── DemoGL3d.java │ │ └── DemoGL3dTexture.java │ │ └── util │ │ ├── GLImage.java │ │ └── GLUtil.java ├── .classpath ├── default.properties ├── project.properties ├── proguard.cfg └── AndroidManifest.xml ├── special ├── res │ ├── drawable │ │ ├── icon.png │ │ ├── play_next.png │ │ ├── play_prev.png │ │ ├── play_stop.png │ │ ├── play_start.png │ │ └── btn_common.xml │ ├── values │ │ └── strings.xml │ └── layout │ │ ├── demo_lbs.xml │ │ ├── demo_map.xml │ │ ├── list_music_item.xml │ │ ├── demo_camera.xml │ │ ├── demo_sensor.xml │ │ ├── demo_voice.xml │ │ └── main.xml ├── src │ └── com │ │ └── app │ │ └── demos │ │ └── special │ │ └── demo │ │ ├── DemoLbs.java │ │ └── DemoMap.java ├── .classpath ├── default.properties ├── project.properties └── proguard.cfg ├── .gitignore └── .project /server/www/server/404.php: -------------------------------------------------------------------------------- 1 | 404 Page -------------------------------------------------------------------------------- /server/tpl/server/template/index.tpl: -------------------------------------------------------------------------------- 1 | index -------------------------------------------------------------------------------- /server/www/website/demos/experiments/converter/.htaccess: -------------------------------------------------------------------------------- 1 | AddType text/cache-manifest .manifest -------------------------------------------------------------------------------- /server/www/website/demos/tests/speed/stats/rev.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/res/drawable/face.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/face.png -------------------------------------------------------------------------------- /client/res/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/icon.png -------------------------------------------------------------------------------- /opengl/res/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/opengl/res/drawable/icon.png -------------------------------------------------------------------------------- /opengl/res/drawable/skin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/opengl/res/drawable/skin.png -------------------------------------------------------------------------------- /server/doc/install/httpd.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/doc/install/httpd.conf -------------------------------------------------------------------------------- /special/res/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/special/res/drawable/icon.png -------------------------------------------------------------------------------- /client/libs/httpmime-4.1.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/libs/httpmime-4.1.3.jar -------------------------------------------------------------------------------- /client/res/drawable/arrow_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/arrow_1.png -------------------------------------------------------------------------------- /client/res/drawable/close_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/close_s.png -------------------------------------------------------------------------------- /client/res/drawable/close_t.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/close_t.png -------------------------------------------------------------------------------- /client/res/drawable/main_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/main_bg.png -------------------------------------------------------------------------------- /server/bin/cli.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | set "PHP_EXE=php.exe" 4 | 5 | %PHP_EXE% cli.php %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /client/res/drawable/avatar.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/avatar.9.png -------------------------------------------------------------------------------- /client/res/drawable/blog_1.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/blog_1.9.png -------------------------------------------------------------------------------- /client/res/drawable/blog_2.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/blog_2.9.png -------------------------------------------------------------------------------- /client/res/drawable/body_1.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/body_1.9.png -------------------------------------------------------------------------------- /client/res/drawable/body_2.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/body_2.9.png -------------------------------------------------------------------------------- /client/res/drawable/button_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/button_1.png -------------------------------------------------------------------------------- /client/res/drawable/button_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/button_2.png -------------------------------------------------------------------------------- /client/res/drawable/plus_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/plus_128.png -------------------------------------------------------------------------------- /client/res/drawable/tab_blog_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/tab_blog_1.png -------------------------------------------------------------------------------- /client/res/drawable/tab_blog_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/tab_blog_2.png -------------------------------------------------------------------------------- /client/res/drawable/tab_conf_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/tab_conf_1.png -------------------------------------------------------------------------------- /client/res/drawable/tab_conf_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/tab_conf_2.png -------------------------------------------------------------------------------- /client/res/drawable/tab_star_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/tab_star_1.png -------------------------------------------------------------------------------- /client/res/drawable/tab_star_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/tab_star_2.png -------------------------------------------------------------------------------- /client/res/drawable/top_quit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/top_quit.png -------------------------------------------------------------------------------- /client/src/com/app/demos/base/BaseModel.java: -------------------------------------------------------------------------------- 1 | package com.app.demos.base; 2 | 3 | public class BaseModel { 4 | 5 | } -------------------------------------------------------------------------------- /special/res/drawable/play_next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/special/res/drawable/play_next.png -------------------------------------------------------------------------------- /special/res/drawable/play_prev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/special/res/drawable/play_prev.png -------------------------------------------------------------------------------- /special/res/drawable/play_stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/special/res/drawable/play_stop.png -------------------------------------------------------------------------------- /client/res/drawable/tab_heart_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/tab_heart_1.png -------------------------------------------------------------------------------- /client/res/drawable/tab_heart_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/client/res/drawable/tab_heart_2.png -------------------------------------------------------------------------------- /special/res/drawable/play_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/special/res/drawable/play_start.png -------------------------------------------------------------------------------- /server/www/website/picture/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/picture/README.txt -------------------------------------------------------------------------------- /server/www/website/asset/jquery.mobile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/asset/jquery.mobile.js -------------------------------------------------------------------------------- /server/www/website/demos/experiments/google-maps/map.css: -------------------------------------------------------------------------------- 1 | .page-map, .ui-content, #map-canvas { width: 100%; height: 100%; padding: 0; } -------------------------------------------------------------------------------- /server/www/website/asset/jquery.mobile.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/asset/jquery.mobile.css -------------------------------------------------------------------------------- /server/www/website/faces/default/face_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/faces/default/face_0.png -------------------------------------------------------------------------------- /server/www/website/faces/default/face_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/faces/default/face_1.png -------------------------------------------------------------------------------- /server/www/website/faces/default/face_10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/faces/default/face_10.png -------------------------------------------------------------------------------- /server/www/website/faces/default/face_11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/faces/default/face_11.png -------------------------------------------------------------------------------- /server/www/website/faces/default/face_12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/faces/default/face_12.png -------------------------------------------------------------------------------- /server/www/website/faces/default/face_13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/faces/default/face_13.png -------------------------------------------------------------------------------- /server/www/website/faces/default/face_14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/faces/default/face_14.png -------------------------------------------------------------------------------- /server/www/website/faces/default/face_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/faces/default/face_2.png -------------------------------------------------------------------------------- /server/www/website/faces/default/face_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/faces/default/face_3.png -------------------------------------------------------------------------------- /server/www/website/faces/default/face_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/faces/default/face_4.png -------------------------------------------------------------------------------- /server/www/website/faces/default/face_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/faces/default/face_5.png -------------------------------------------------------------------------------- /server/www/website/faces/default/face_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/faces/default/face_6.png -------------------------------------------------------------------------------- /server/www/website/faces/default/face_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/faces/default/face_7.png -------------------------------------------------------------------------------- /server/www/website/faces/default/face_8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/faces/default/face_8.png -------------------------------------------------------------------------------- /server/www/website/faces/default/face_9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/faces/default/face_9.png -------------------------------------------------------------------------------- /opengl/src/com/app/demos/opengl/demo/Cube.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/opengl/src/com/app/demos/opengl/demo/Cube.java -------------------------------------------------------------------------------- /server/www/server/.htaccess: -------------------------------------------------------------------------------- 1 | RewriteEngine on 2 | RewriteRule !\.(php|htm|html|js|ico|gif|jpg|png|css|swf|pdf|doc|xls|txt|ppt|zip|rar)$ index.php 3 | -------------------------------------------------------------------------------- /server/www/website/asset/images/ajax-loader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/asset/images/ajax-loader.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/de.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/de.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/fi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/fi.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/gb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/gb.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/gf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/gf.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/sj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/sj.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/us.png -------------------------------------------------------------------------------- /server/www/website/demos/experiments/converter/cache.manifest: -------------------------------------------------------------------------------- 1 | CACHE MANIFEST 2 | index.html 3 | ../../css/themes/default 4 | ../../js/ 5 | jquery.tmpl.js -------------------------------------------------------------------------------- /server/www/website/demos/images/ajax-loader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/images/ajax-loader.png -------------------------------------------------------------------------------- /server/www/website/asset/images/icons-18-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/asset/images/icons-18-black.png -------------------------------------------------------------------------------- /server/www/website/asset/images/icons-18-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/asset/images/icons-18-white.png -------------------------------------------------------------------------------- /server/www/website/asset/images/icons-36-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/asset/images/icons-36-black.png -------------------------------------------------------------------------------- /server/www/website/asset/images/icons-36-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/asset/images/icons-36-white.png -------------------------------------------------------------------------------- /server/www/website/demos/images/icons-18-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/images/icons-18-black.png -------------------------------------------------------------------------------- /server/www/website/demos/images/icons-18-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/images/icons-18-white.png -------------------------------------------------------------------------------- /server/www/website/demos/images/icons-36-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/images/icons-36-black.png -------------------------------------------------------------------------------- /server/www/website/demos/images/icons-36-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/images/icons-36-white.png -------------------------------------------------------------------------------- /special/src/com/app/demos/special/demo/DemoLbs.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/special/src/com/app/demos/special/demo/DemoLbs.java -------------------------------------------------------------------------------- /special/src/com/app/demos/special/demo/DemoMap.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/special/src/com/app/demos/special/demo/DemoMap.java -------------------------------------------------------------------------------- /opengl/src/com/app/demos/opengl/demo/CubeRenderer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/opengl/src/com/app/demos/opengl/demo/CubeRenderer.java -------------------------------------------------------------------------------- /opengl/src/com/app/demos/opengl/demo/CubeTexture.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/opengl/src/com/app/demos/opengl/demo/CubeTexture.java -------------------------------------------------------------------------------- /server/www/website/asset/images/icon-search-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/asset/images/icon-search-black.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/album-k.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/album-k.jpg -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/album-p.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/album-p.jpg -------------------------------------------------------------------------------- /server/www/website/demos/docs/_assets/images/px-ccc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/_assets/images/px-ccc.gif -------------------------------------------------------------------------------- /server/www/website/demos/docs/_assets/images/version.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/_assets/images/version.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/album-af.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/album-af.jpg -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/album-ag.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/album-ag.jpg -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/album-bb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/album-bb.jpg -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/album-bk.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/album-bk.jpg -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/album-hc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/album-hc.jpg -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/album-mg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/album-mg.jpg -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/album-ok.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/album-ok.jpg -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/album-rh.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/album-rh.jpg -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/album-ws.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/album-ws.jpg -------------------------------------------------------------------------------- /server/www/website/demos/docs/lists/images/album-xx.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/lists/images/album-xx.jpg -------------------------------------------------------------------------------- /opengl/src/com/app/demos/opengl/demo/DemoGL2dRenderer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/opengl/src/com/app/demos/opengl/demo/DemoGL2dRenderer.java -------------------------------------------------------------------------------- /server/www/website/demos/docs/_assets/images/ios_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/_assets/images/ios_icon.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/_assets/images/jqm-sitebg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/_assets/images/jqm-sitebg.png -------------------------------------------------------------------------------- /opengl/src/com/app/demos/opengl/demo/CubeTextureRenderer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/opengl/src/com/app/demos/opengl/demo/CubeTextureRenderer.java -------------------------------------------------------------------------------- /server/www/website/demos/docs/_assets/images/ios_startup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/_assets/images/ios_startup.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/_assets/images/jquery-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/_assets/images/jquery-logo.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/toolbars/images/photo-run.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/toolbars/images/photo-run.jpeg -------------------------------------------------------------------------------- /server/www/website/demos/docs/_assets/images/mobile-devices.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/_assets/images/mobile-devices.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/toolbars/glyphish-icons/30-key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/toolbars/glyphish-icons/30-key.png -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/jquery.setNameSpace.js: -------------------------------------------------------------------------------- 1 | //set namespace for unit test markp 2 | $( document ).bind( "mobileinit", function(){ 3 | $.mobile.ns = "nstest-"; 4 | }); -------------------------------------------------------------------------------- /server/www/website/demos/docs/toolbars/glyphish-icons/09-chat2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/toolbars/glyphish-icons/09-chat2.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/toolbars/glyphish-icons/19-gear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/toolbars/glyphish-icons/19-gear.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/toolbars/glyphish-icons/21-skull.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/toolbars/glyphish-icons/21-skull.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/toolbars/glyphish-icons/100-coffee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/toolbars/glyphish-icons/100-coffee.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/toolbars/glyphish-icons/18-envelope.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/toolbars/glyphish-icons/18-envelope.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/toolbars/glyphish-icons/34-coffee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/toolbars/glyphish-icons/34-coffee.png -------------------------------------------------------------------------------- /server/www/website/demos/docs/toolbars/glyphish-icons/88-beermug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/toolbars/glyphish-icons/88-beermug.png -------------------------------------------------------------------------------- /client/src/com/app/demos/test/TestDemo.java: -------------------------------------------------------------------------------- 1 | package com.app.demos.test; 2 | 3 | public interface TestDemo { 4 | 5 | public void testArray(); 6 | 7 | public void testArrayList(); 8 | } -------------------------------------------------------------------------------- /server/www/website/demos/docs/_assets/images/themroller-mobile-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jameschz/androidphp/HEAD/server/www/website/demos/docs/_assets/images/themroller-mobile-logo.png -------------------------------------------------------------------------------- /client/res/layout/test_merge.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /server/bin/cli: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ ! -f "$PWD/cli" ]; then 4 | echo "no shell" 5 | exit 1 6 | fi 7 | 8 | PHP_EXE="php" 9 | 10 | $PHP_EXE $PWD/cli.php $1 $2 $3 $4 $5 $6 $7 $8 $9 11 | -------------------------------------------------------------------------------- /client/res/drawable/xml_main_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /opengl/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Hello World, OpenglActivity! 4 | Opengl 5 | 6 | -------------------------------------------------------------------------------- /server/etc/app.mapping.ini: -------------------------------------------------------------------------------- 1 | ; URL mappings 2 | ; 3 | ; Used by Hush_App_Dispatcher class 4 | ; e.g /url/path = PageClassName::ActionName 5 | ; 6 | 7 | / = DebugServer::indexAction 8 | /debug/* = DebugServer::* -------------------------------------------------------------------------------- /special/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Hello World, SpecialActivity! 4 | Special 5 | 6 | -------------------------------------------------------------------------------- /client/res/drawable/xml_list_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/form-tests/changepage-data.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | 8 | 9 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/data-url-tests/nested.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | 8 | 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .project/ 2 | .settings/ 3 | .idea/ 4 | *.iml 5 | classes/ 6 | *.class 7 | 8 | */bin 9 | */gen 10 | */assets 11 | 12 | server/dat 13 | server/tpl/*/cache 14 | server/tpl/*/template_c 15 | 16 | .DS_Store 17 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/data-url-tests/reverse-attr.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | 8 | 9 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/data-url-tests/single-quotes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | 8 | 9 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/external.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | androidphp 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/title2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | -------------------------------------------------------------------------------- /client/res/drawable/xml_list_comment_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /client/res/menu/menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/data-url-tests/non-data-url.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | query param 8 |
9 | 10 | 11 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/prefetched.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title Tag 6 | 7 | 8 | 9 |
10 | 11 | 12 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/file.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 |
doc rel test one
9 |
10 | 11 | 12 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/prefetched-dialog.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title Tag 6 | 7 | 8 |
9 | 10 | 11 | -------------------------------------------------------------------------------- /special/res/drawable/btn_common.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/init/init_core_nopage.js: -------------------------------------------------------------------------------- 1 | /* 2 | * mobile init tests 3 | */ 4 | (function($){ 5 | 6 | 7 | test( "page element is generated when not present in initial markup", function(){ 8 | ok( $( ".ui-page" ).length, 1 ); 9 | }); 10 | 11 | 12 | })(jQuery); 13 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/cached-external.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 |
9 | 10 | 11 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/path-tests/file.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 |
doc rel test two
9 |
10 | 11 | 12 | -------------------------------------------------------------------------------- /client/res/drawable/xml_menu_bg_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | -------------------------------------------------------------------------------- /client/res/drawable/xml_menu_bg_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/data-url-tests/data-url.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | This text intentionally left blank 8 |
9 | 10 | 11 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/path-tests/parent-ref.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 |
doc rel test five
9 |
10 | 11 | 12 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/path-tests/parent/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 |
doc rel test six
9 |
10 | 11 | 12 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/path-tests/sub-dir/file.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 |
doc rel test three
9 |
10 | 11 | 12 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/path-tests/sub-dir/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 |
doc rel test four
9 |
10 | 11 | 12 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/title3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |

Title Heading

10 |
11 | 12 | 13 | -------------------------------------------------------------------------------- /client/res/drawable/xml_list_config_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | -------------------------------------------------------------------------------- /client/res/drawable/xml_list_menu_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /opengl/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /special/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/listview/cache-tests/clear.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 |
9 | cleared 10 |
11 |
12 | 13 | 14 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/title1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title Tag 6 | 7 | 8 | 9 |
10 | back to the parent page 11 |
12 | 13 | 14 | -------------------------------------------------------------------------------- /client/res/drawable/xml_btn_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | -------------------------------------------------------------------------------- /client/res/drawable/xml_main_tab_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | -------------------------------------------------------------------------------- /client/res/drawable/xml_main_top_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | -------------------------------------------------------------------------------- /client/res/drawable/xml_list_blog_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /client/res/drawable/xml_login_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | -------------------------------------------------------------------------------- /client/res/layout/main_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/swarminject.js: -------------------------------------------------------------------------------- 1 | // load testswarm agent 2 | (function() { 3 | var url = window.location.search; 4 | url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) ); 5 | if ( !url || url.indexOf("http") !== 0 ) { 6 | return; 7 | } 8 | document.write(""); 9 | })(); 10 | -------------------------------------------------------------------------------- /client/default.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system use, 7 | # "build.properties", and override values to adapt the script to your 8 | # project structure. 9 | 10 | # Project target. 11 | target=android-8 12 | -------------------------------------------------------------------------------- /opengl/default.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system use, 7 | # "build.properties", and override values to adapt the script to your 8 | # project structure. 9 | 10 | # Project target. 11 | target=android-8 12 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/form-tests/form-no-action.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 |
8 |
9 | 10 | 11 |
12 |
13 |
14 | 15 | 16 | -------------------------------------------------------------------------------- /server/lib/Demos/App.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'Hush/App.php'; 13 | 14 | /** 15 | * @package Demos_App 16 | */ 17 | class Demos_App extends Hush_App 18 | { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /server/lib/Demos/Util.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'Hush/Util.php'; 13 | 14 | /** 15 | * @package Demos_Util 16 | */ 17 | class Demos_Util extends Hush_Util 18 | { 19 | 20 | } -------------------------------------------------------------------------------- /special/default.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system use, 7 | # "build.properties", and override values to adapt the script to your 8 | # project structure. 9 | 10 | # Project target. 11 | target=Google Inc.:Google APIs:8 12 | -------------------------------------------------------------------------------- /server/lib/Demos/App/Website.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'Demos/App.php'; 13 | 14 | /** 15 | * @package Demos_App 16 | */ 17 | class Demos_App_Website extends Hush_Page 18 | { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/slider/slider_core.js: -------------------------------------------------------------------------------- 1 | /* 2 | * mobile slider unit tests 3 | */ 4 | (function($){ 5 | $.mobile.page.prototype.options.keepNative = "input.should-be-native"; 6 | 7 | // not testing the positive case here since's it's obviously tested elsewhere 8 | test( "slider elements in the keepNative set shouldn't be enhanced", function() { 9 | same( $("input.should-be-native").siblings("div.ui-slider").length, 0 ); 10 | }); 11 | })( jQuery ); -------------------------------------------------------------------------------- /server/www/server/index.php: -------------------------------------------------------------------------------- 1 | setErrorPage('./404.php') 8 | ->addMapFile(__MAP_INI_FILE) 9 | ->addAppDir(__LIB_PATH_SERVER) 10 | ->addAppDir(__LIB_PATH_WEBSITE); 11 | 12 | // 将所有的调试信息和错误打印关闭,建议在正式环境关闭 13 | $app->setDebug(true); 14 | 15 | // 设置Controller类的类名后缀 16 | $app->run(array( 17 | 'defaultClassSuffix' => 'Server' 18 | )); 19 | -------------------------------------------------------------------------------- /special/res/layout/demo_lbs.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 12 | 13 | -------------------------------------------------------------------------------- /opengl/src/com/app/demos/opengl/util/GLImage.java: -------------------------------------------------------------------------------- 1 | package com.app.demos.opengl.util; 2 | 3 | import com.app.demos.opengl.R; 4 | 5 | import android.content.res.Resources; 6 | import android.graphics.Bitmap; 7 | import android.graphics.BitmapFactory; 8 | 9 | public class GLImage 10 | { 11 | public static Bitmap mImageSkin; 12 | public static void load(Resources resources) 13 | { 14 | mImageSkin = BitmapFactory.decodeResource(resources, R.drawable.skin); 15 | } 16 | } -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/dialog-param-test/dialog-param.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |

jQuery Mobile Navigation Test Suite

8 |

9 |

10 |
    11 |
12 | 13 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/navigation_dialog_pushstate.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | asyncTest( "dialog ui-state should be part of the hash", function(){ 3 | $.testHelper.sequence([ 4 | function() { 5 | // open the test page 6 | $.mobile.activePage.find( "a" ).click(); 7 | }, 8 | 9 | function() { 10 | // verify that the hash contains the dialogHashKey 11 | ok( location.hash.search($.mobile.dialogHashKey) >= 0 ); 12 | start(); 13 | } 14 | ]); 15 | }); 16 | })(jQuery); -------------------------------------------------------------------------------- /client/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/listview/listview_pushstate.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | asyncTest( "nested pages hash key is always in the hash on default page with no id (replaceState) ", function(){ 3 | $.testHelper.pageSequence([ 4 | function(){ 5 | // Click on the link of the third li element 6 | $('.ui-page-active li:eq(2) a:eq(0)').click(); 7 | }, 8 | 9 | function(){ 10 | ok( location.hash.search($.mobile.subPageUrlKey) >= 0 ); 11 | start(); 12 | } 13 | ]); 14 | }); 15 | })(jQuery); -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/push-state-disabled-tests.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /special/res/layout/demo_map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 12 | 13 | -------------------------------------------------------------------------------- /special/res/layout/list_music_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 12 | -------------------------------------------------------------------------------- /server/lib/Demos/App/Website/IndexPage.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | require_once 'Demos/App/Website.php'; 13 | 14 | /** 15 | * @package Demos_App_Website 16 | */ 17 | class IndexPage extends Demos_App_Website 18 | { 19 | public function indexAction () 20 | { 21 | 22 | } 23 | } -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/push-state-disabled-base-tests.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /server/www/website/index.php: -------------------------------------------------------------------------------- 1 | 8 | Reload
9 |
10 | Test Alert
11 | Test Callback
12 | JQuery Mobile
13 | Map Demo -------------------------------------------------------------------------------- /opengl/src/com/app/demos/opengl/util/GLUtil.java: -------------------------------------------------------------------------------- 1 | package com.app.demos.opengl.util; 2 | 3 | import java.nio.ByteBuffer; 4 | import java.nio.ByteOrder; 5 | import java.nio.IntBuffer; 6 | 7 | public class GLUtil { 8 | 9 | public static IntBuffer getIntBuffer(int[] source){ 10 | ByteBuffer bb = ByteBuffer.allocateDirect(source.length * 4); 11 | bb.order(ByteOrder.nativeOrder()); 12 | IntBuffer vertices = bb.asIntBuffer(); 13 | vertices.put(source); 14 | vertices.position(0); 15 | return vertices; 16 | } 17 | } -------------------------------------------------------------------------------- /server/lib/Demos/Util/Url.php: -------------------------------------------------------------------------------- 1 | 8 | * @license http://www.apache.org/licenses/LICENSE-2.0 9 | * @version $Id$ 10 | */ 11 | 12 | /** 13 | * @package Demos_Util 14 | */ 15 | class Demos_Util_Url 16 | { 17 | static public function format ($url) 18 | { 19 | $url = parse_url($url); 20 | $url = $url['path'] . '?sid=' . session_id() . '&' . $url['query']; 21 | return $url; 22 | } 23 | } -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/base-tests/app-base/base-page-1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | Base Page 2 8 | Content Page 1 9 | Internal Page 1 10 | Internal Page 2 11 | 12 |
13 | 14 | 15 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/base-tests/app-base/base-page-2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | Base Page 1 8 | Content Page 1 9 | Internal Page 1 10 | Internal Page 2 11 | 12 |
13 | 14 | 15 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/ls.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/res/drawable/xml_login_btn.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/navigation/base-tests/content/content-page-2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | Content Page 1 8 | Base Page 1 9 | Internal Page 1 10 | Internal Page 2 11 | 12 |
13 | 14 | 15 | -------------------------------------------------------------------------------- /client/src/com/app/demos/test/TestDemoImpl.java: -------------------------------------------------------------------------------- 1 | package com.app.demos.test; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | public class TestDemoImpl implements TestDemo { 7 | 8 | @Override 9 | public void testArray() { 10 | int[] array = new int[1000]; 11 | for (int i = 0; i < 1000; i++) { 12 | array[i] = i; 13 | } 14 | } 15 | 16 | @Override 17 | public void testArrayList() { 18 | List arrayList = new ArrayList(); 19 | for (int i = 0; i < 1000; i++) { 20 | arrayList.add(i, i); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /server/www/website/demos/experiments/converter/converter.css: -------------------------------------------------------------------------------- 1 | ul li { clear:both; } 2 | li p.currency-from { padding-top:23px; font-size: 180%; font-weight:bold; } 3 | li p.currency-from a:link, li p.units a:visited { padding-top:26px; font-size: 90%; } 4 | span.unit { opacity:0.5; } 5 | 6 | li p.subtext { margin-top:2px; } 7 | li p.ui-li-aside { font-size:190%; width:60%; } 8 | 9 | 10 | 11 | form#curr-form { border-width: 0; overflow: hidden; margin: 2px -15px 2px -15px } 12 | form#curr-form .ui-input-search { margin: 5px; width: auto; display: block; } 13 | 14 | .add-row { font-weight:bold; font-size:110%; } -------------------------------------------------------------------------------- /server/www/website/demos/tests/speed/stats/visualize/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 | 14 |
15 | 16 |
17 | 18 | 19 | -------------------------------------------------------------------------------- /client/res/layout/demo_web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /client/res/layout/main_load.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 14 | -------------------------------------------------------------------------------- /opengl/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-8 15 | -------------------------------------------------------------------------------- /client/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-16 15 | -------------------------------------------------------------------------------- /client/res/layout/demo_map.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /client/src/com/app/demos/base/BaseList.java: -------------------------------------------------------------------------------- 1 | package com.app.demos.base; 2 | 3 | import android.view.View; 4 | import android.view.ViewGroup; 5 | import android.widget.BaseAdapter; 6 | 7 | public class BaseList extends BaseAdapter { 8 | 9 | @Override 10 | public int getCount() { 11 | return 0; 12 | } 13 | 14 | @Override 15 | public Object getItem(int position) { 16 | return null; 17 | } 18 | 19 | @Override 20 | public long getItemId(int position) { 21 | return 0; 22 | } 23 | 24 | @Override 25 | public View getView(int position, View convertView, ViewGroup parent) { 26 | return null; 27 | } 28 | 29 | 30 | } -------------------------------------------------------------------------------- /special/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=Google Inc.:Google APIs:8 15 | -------------------------------------------------------------------------------- /client/src/com/app/demos/base/BaseApp.java: -------------------------------------------------------------------------------- 1 | package com.app.demos.base; 2 | 3 | import android.app.Application; 4 | 5 | public class BaseApp extends Application { 6 | 7 | private String s; 8 | private long l; 9 | private int i; 10 | 11 | public int getInt () { 12 | return i; 13 | } 14 | 15 | public void setInt (int i) { 16 | this.i = i; 17 | } 18 | 19 | public long getLong () { 20 | return l; 21 | } 22 | 23 | public void setLong (long l) { 24 | this.l = l; 25 | } 26 | 27 | public String getString () { 28 | return s; 29 | } 30 | 31 | public void setString (String s) { 32 | this.s = s; 33 | } 34 | } -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/widget/widget_init.js: -------------------------------------------------------------------------------- 1 | /* 2 | * mobile widget unit tests 3 | */ 4 | (function($){ 5 | var widgetInitialized = false; 6 | 7 | module( 'jquery.mobile.widget.js' ); 8 | 9 | $( "#foo" ).live( 'pageinit', function(){ 10 | // ordering sensitive here, the value has to be set after the call 11 | // so that if the widget factory says that its not yet initialized, 12 | // which is an exception, the value won't be set 13 | $( "#foo-slider" ).slider( 'refresh' ); 14 | widgetInitialized = true; 15 | }); 16 | 17 | test( "page is enhanced before init is fired", function() { 18 | ok( widgetInitialized ); 19 | }); 20 | })( jQuery ); -------------------------------------------------------------------------------- /client/src/com/app/demos/list/SimpleList.java: -------------------------------------------------------------------------------- 1 | package com.app.demos.list; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | import com.app.demos.util.AppFilter; 7 | 8 | import android.content.Context; 9 | import android.widget.SimpleAdapter; 10 | import android.widget.TextView; 11 | 12 | public class SimpleList extends SimpleAdapter { 13 | 14 | public SimpleList(Context context, List> data, int resource, String[] from, int[] to) { 15 | super(context, data, resource, from, to); 16 | } 17 | 18 | @Override 19 | public void setViewText(TextView v, String text) { 20 | AppFilter.setHtml(v, text); 21 | } 22 | } -------------------------------------------------------------------------------- /client/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #f1e3e4 4 | #FF0000 5 | #FFFFEE 6 | #000000 7 | #FFFFFF 8 | 9 | #333333 10 | #FFFFFF 11 | #F9F9F9 12 | #EEEEEE 13 | #BBBBBB 14 | #DDDDDD 15 | #EEEEEE 16 | #FFFFFF 17 | #99000000 18 | 19 | -------------------------------------------------------------------------------- /server/doc/README.txt: -------------------------------------------------------------------------------- 1 | 服务部署 2 | 3 | 1、把 doc/install 目录下的 httpd.conf 文件合并到 Apache 配置文件中去。 4 | 2、启动 Apache 服务器。 5 | 6 | 目录说明 7 | 8 | app-demos-server 9 | |- bin : 可执行脚本入口 10 | |- dat : 数据目录 11 | |- doc : 文档目录 12 | | |- install : 服务器配置文件 13 | |- etc : 配置文件目录 14 | |- lib : 逻辑类库 15 | | |- Demos 16 | | |- App : 应用逻辑(Controller) 17 | | |- Cli : 后台脚本逻辑 18 | | |- Dao : 数据库操作类 19 | | |- Util : 工具类库 20 | |- tpl 21 | | |- server : 接口站点模板(View) 22 | | |- website : 前台站点模板(View) 23 | |- www 24 | |- server : 接口站点(DocumentRoot) 25 | |- website : 前台站点(DocumentRoot) -------------------------------------------------------------------------------- /server/etc/global.message.php: -------------------------------------------------------------------------------- 1 | '你有{0}个新粉丝,请速回查看:)', 5 | ); 6 | 7 | function L ($lang = 'cn', $key = '') 8 | { 9 | global $_Lang; 10 | 11 | $msg = isset($_Lang[$lang][$key]) ? $_Lang[$lang][$key] : ''; 12 | 13 | // should do replace logic 14 | $args = func_get_args(); 15 | if (sizeof($args) > 2) { 16 | array_shift($args); 17 | array_shift($args); 18 | $replace_old = array(); 19 | $replace_new = array(); 20 | foreach ($args as $id => $arg) { 21 | $replace_old[] = '{' . $id . '}'; 22 | $replace_new[] = $arg; 23 | } 24 | $msg = str_replace($replace_old, $replace_new, $msg); 25 | } 26 | 27 | return $msg; 28 | } -------------------------------------------------------------------------------- /special/res/layout/demo_camera.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /client/src/com/app/demos/model/Image.java: -------------------------------------------------------------------------------- 1 | package com.app.demos.model; 2 | 3 | import com.app.demos.base.BaseModel; 4 | 5 | public class Image extends BaseModel { 6 | 7 | // model columns 8 | public final static String COL_ID = "id"; 9 | public final static String COL_URL = "url"; 10 | public final static String COL_TYPE = "type"; 11 | 12 | private String id; 13 | private String url; 14 | private String type; 15 | 16 | public Image () {} 17 | 18 | public String getId () { 19 | return this.id; 20 | } 21 | 22 | public void setId (String id) { 23 | this.id = id; 24 | } 25 | 26 | public String getUrl () { 27 | return this.url; 28 | } 29 | 30 | public void setUrl (String url) { 31 | this.url = url; 32 | } 33 | 34 | public String getType () { 35 | return this.type; 36 | } 37 | 38 | public void setType (String type) { 39 | this.type = type; 40 | } 41 | } -------------------------------------------------------------------------------- /client/res/layout/tpl_list_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 12 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/support/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | jQuery Mobile Support Test Suite 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |

jQuery Mobile Support Test Suite

25 |

26 |

27 |
    28 |
29 | 30 |
31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/page-sections/page_core.js: -------------------------------------------------------------------------------- 1 | /* 2 | * mobile page unit tests 3 | */ 4 | (function($){ 5 | var libName = 'jquery.mobile.page.js'; 6 | 7 | module(libName); 8 | 9 | test( "nested header anchors aren't altered", function(){ 10 | ok(!$('.ui-header > div > a').hasClass('ui-btn')); 11 | }); 12 | 13 | test( "nested footer anchors aren't altered", function(){ 14 | ok(!$('.ui-footer > div > a').hasClass('ui-btn')); 15 | }); 16 | 17 | test( "nested bar anchors aren't styled", function(){ 18 | ok(!$('.ui-bar > div > a').hasClass('ui-btn')); 19 | }); 20 | 21 | test( "unnested footer anchors are styled", function(){ 22 | ok($('.ui-footer > a').hasClass('ui-btn')); 23 | }); 24 | 25 | test( "unnested footer anchors are styled", function(){ 26 | ok($('.ui-footer > a').hasClass('ui-btn')); 27 | }); 28 | 29 | test( "unnested bar anchors are styled", function(){ 30 | ok($('.ui-bar > a').hasClass('ui-btn')); 31 | }); 32 | 33 | test( "no auto-generated back button exists on first page", function(){ 34 | ok( !$(".ui-header > :jqmData(rel='back')").length ); 35 | }); 36 | })(jQuery); 37 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/speed/stats/startup.js: -------------------------------------------------------------------------------- 1 | (function(Perf) { 2 | var $listPage = $( "#list-page" ), firstCounter = 0; 3 | 4 | Perf.setCurrentRev(); 5 | Perf.pageLoadStart = Date.now(); 6 | 7 | $listPage.live( "pagebeforecreate", function() { 8 | if( firstCounter == 0 ) { 9 | Perf.pageCreateStart = Date.now(); 10 | firstCounter++; 11 | } 12 | }); 13 | 14 | $listPage.live( "pageinit", function( event ) { 15 | // if a child page init is fired ignore it, we only 16 | // want the top level page init event 17 | if( event.target !== $("#list-page")[0] ){ 18 | return; 19 | } 20 | 21 | Perf.pageLoadEnd = Date.now(); 22 | 23 | // report the time taken for a full app boot 24 | Perf.report({ 25 | datapoint: "fullboot", 26 | value: Perf.pageLoadEnd - Perf.pageLoadStart 27 | }); 28 | 29 | // record the time taken to load and enhance the page 30 | // start polling for a new revision 31 | Perf.report({ 32 | datapoint: "pageload", 33 | value: Perf.pageCreateStart - Perf.pageLoadStart, 34 | after: function() { 35 | Perf.poll(); 36 | } 37 | }); 38 | }); 39 | })(window.Perf); 40 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/media/media_core.js: -------------------------------------------------------------------------------- 1 | /* 2 | * mobile media unit tests 3 | */ 4 | 5 | (function($){ 6 | var cssFn = $.fn.css, 7 | widthFn = $.fn.width; 8 | 9 | // make sure original definitions are reset 10 | module('jquery.mobile.media.js', { 11 | setup: function(){ 12 | $(document).trigger('mobileinit.htmlclass'); 13 | }, 14 | teardown: function(){ 15 | $.fn.css = cssFn; 16 | $.fn.width = widthFn; 17 | } 18 | }); 19 | 20 | test( "media query check returns true when the position is absolute", function(){ 21 | $.fn.css = function(){ return "absolute"; }; 22 | same($.mobile.media("screen 1"), true); 23 | }); 24 | 25 | test( "media query check returns false when the position is not absolute", function(){ 26 | $.fn.css = function(){ return "not absolute"; }; 27 | same($.mobile.media("screen 2"), false); 28 | }); 29 | 30 | test( "media query check is cached", function(){ 31 | $.fn.css = function(){ return "absolute"; }; 32 | same($.mobile.media("screen 3"), true); 33 | 34 | $.fn.css = function(){ return "not absolute"; }; 35 | same($.mobile.media("screen 3"), true); 36 | }); 37 | 38 | 39 | })(jQuery); -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/event/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | jQuery Mobile Event Test Suite 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |

jQuery Mobile Event Test Suite

25 |

26 |

27 |
    28 |
29 | 30 |
31 | 32 |
33 | 34 |
35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/page/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | jQuery Mobile Page Test Suite 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |

jQuery Mobile Page Test Suite

24 |

25 |

26 |
    27 |
28 | 29 |
30 |
31 | 32 | 33 |
34 | 35 |
36 |
37 | 38 | 39 | -------------------------------------------------------------------------------- /server/www/website/demos/tests/unit/degradeInputs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | jQuery Mobile Degrade Inputs Test Suite 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |

jQuery Mobile Degrade Inputs Test Suite

23 |

24 |

25 |
    26 |
27 | 28 |
29 | 30 | 31 | 32 |
33 |
34 | 35 |
36 | 37 | 38 | -------------------------------------------------------------------------------- /server/www/server/js/app.util.js: -------------------------------------------------------------------------------- 1 | /* 2 | * StringBuffer class 3 | */ 4 | function StringBuffer() { 5 | this.buffer = []; 6 | } 7 | StringBuffer.prototype.append = function append (string) { 8 | this.buffer.push(string); 9 | return this; 10 | }; 11 | StringBuffer.prototype.toString = function toString () { 12 | return this.buffer.join(""); 13 | }; 14 | /* 15 | * Strip html tags 16 | */ 17 | function stripTags (str) { 18 | return str.replace(/<[^>].*?>/g,""); 19 | } 20 | /* 21 | * Display json with better look 22 | */ 23 | function formatJson (str) { 24 | var tab = 0; 25 | var buf = new StringBuffer(); 26 | for (var i = 0; i < str.length; i++) { 27 | var char = str.charAt(i); 28 | if (char == '{' || char == '[') { 29 | tab++; 30 | char = char + "\n"; 31 | for (var j = 0; j < tab; j++) char = char + "\t"; 32 | } 33 | if (char == '}' || char == ']') { 34 | tab--; 35 | for (var j = 0; j < tab; j++) char = "\t" + char; 36 | char = "\n" + char; 37 | } 38 | if (char == ',') { 39 | char = char + "\n"; 40 | for (var j = 0; j < tab; j++) char = char + "\t"; 41 | } 42 | buf.append(char); 43 | } 44 | return buf.toString(); 45 | } -------------------------------------------------------------------------------- /server/www/website/demos/docs/content/api-content.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | jQuery Mobile Docs - Content formatting 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 |
18 |

Content formatting API

19 |
20 | 21 |
22 | 23 |

Dependencies

24 |

To be documented

25 | 26 |

Options

27 |

To be documented

28 | 29 |

Methods

30 |

To be documented

31 | 32 |

Known Issues

33 |

To be documented

34 | 35 | 36 | 37 |
38 |
39 | 40 | 41 | -------------------------------------------------------------------------------- /client/res/layout/test_table.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 32 | 33 | 34 | 35 |
36 | foo 37 |
38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /special/res/layout/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 13 |