├── 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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/server/www/website/demos/tests/unit/navigation/base-tests/app-base/base-page-2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
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 |
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 extends Map> 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 |
18 |
19 |
--------------------------------------------------------------------------------
/client/res/layout/ui_mytip.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
11 |
12 |
--------------------------------------------------------------------------------
/server/www/website/demos/tests/unit/navigation/base-tests/content/content-page-1.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/client/src/com/app/demos/model/Notice.java:
--------------------------------------------------------------------------------
1 | package com.app.demos.model;
2 |
3 | import com.app.demos.base.BaseModel;
4 |
5 | public class Notice extends BaseModel {
6 |
7 | // model columns
8 | public final static String COL_ID = "id";
9 | public final static String COL_MESSAGE = "message";
10 |
11 | private String id;
12 | private String message;
13 |
14 | public Notice () {}
15 |
16 | public String getId () {
17 | return this.id;
18 | }
19 |
20 | public void setId (String id) {
21 | this.id = id;
22 | }
23 |
24 | public String getMessage () {
25 | return this.message;
26 | }
27 |
28 | public void setMessage (String message) {
29 | this.message = message;
30 | }
31 | }
--------------------------------------------------------------------------------
/special/res/layout/demo_sensor.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
13 |
19 |
20 |
--------------------------------------------------------------------------------
/client/doc/README.txt:
--------------------------------------------------------------------------------
1 | 应用部署
2 |
3 | 1、把 src/com.app.XXX.conf 里面 C.java 里面的 api 和 web config 里面的 IP 改成你机器的 IP
4 | 2、发布 app-XXX-client 应用即可
5 |
6 | 目录说明
7 |
8 | src/com.app.XXX.app : 控制器类(Controller)
9 | src/com.app.XXX.auth : 身份验证基类
10 | src/com.app.XXX.base : 框架核心基类
11 | src/com.app.XXX.conf : 应用配置基类(静态)
12 | src/com.app.XXX.demo : 示例类(Demo)
13 | src/com.app.XXX.model : 模型类(Model)
14 | src/com.app.XXX.popup : 弹出框类
15 | src/com.app.XXX.util : 工具类库
16 |
17 | gen/com.app.XXX : 资源配置基类(静态/自动生成)
18 |
19 | res/drawable : 图片目录
20 | res/layout : 布局配置(View)
21 | res/menu : 菜单配置(View)
22 | res/values : 字符配置
23 |
24 | doc/ : 文档目录
--------------------------------------------------------------------------------
/client/res/layout/test_frame.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
10 |
15 |
20 |
--------------------------------------------------------------------------------
/client/res/layout/ui_face.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
19 |
20 |
--------------------------------------------------------------------------------
/client/src/com/app/demos/util/AppFilter.java:
--------------------------------------------------------------------------------
1 | package com.app.demos.util;
2 |
3 | import android.text.Html;
4 | import android.text.Spanned;
5 | import android.widget.TextView;
6 |
7 | import com.app.demos.R;
8 |
9 | public class AppFilter {
10 |
11 | public static Spanned getHtml (String text) {
12 | return Html.fromHtml(text);
13 | }
14 |
15 | /* used by list classes */
16 | public static void setHtml (TextView tv, String text) {
17 | if (tv.getId() == R.id.tpl_list_blog_text_content ||
18 | tv.getId() == R.id.tpl_list_blog_text_comment ||
19 | tv.getId() == R.id.tpl_list_comment_content
20 | ) {
21 | tv.setText(AppFilter.getHtml(text));
22 | } else {
23 | tv.setText(text);
24 | }
25 | }
26 | }
--------------------------------------------------------------------------------
/opengl/src/com/app/demos/opengl/demo/DemoGL2d.java:
--------------------------------------------------------------------------------
1 | package com.app.demos.opengl.demo;
2 |
3 | import android.app.Activity;
4 | import android.opengl.GLSurfaceView;
5 | import android.opengl.GLSurfaceView.Renderer;
6 | import android.os.Bundle;
7 |
8 | public class DemoGL2d extends Activity {
9 |
10 | private GLSurfaceView glSurfaceView;
11 | private Renderer renderer;
12 |
13 | /** Called when the activity is first created. */
14 | @Override
15 | public void onCreate(Bundle savedInstanceState) {
16 | super.onCreate(savedInstanceState);
17 |
18 | renderer = new DemoGL2dRenderer();
19 | glSurfaceView = new GLSurfaceView(this);
20 | glSurfaceView.setRenderer(renderer);
21 | setContentView(glSurfaceView);
22 | }
23 | }
--------------------------------------------------------------------------------
/opengl/src/com/app/demos/opengl/demo/DemoGL3d.java:
--------------------------------------------------------------------------------
1 | package com.app.demos.opengl.demo;
2 |
3 | import android.app.Activity;
4 | import android.opengl.GLSurfaceView;
5 | import android.opengl.GLSurfaceView.Renderer;
6 | import android.os.Bundle;
7 |
8 | public class DemoGL3d extends Activity {
9 |
10 | private GLSurfaceView glSurfaceView;
11 | private Renderer renderer;
12 |
13 | /** Called when the activity is first created. */
14 | @Override
15 | public void onCreate(Bundle savedInstanceState) {
16 | super.onCreate(savedInstanceState);
17 |
18 | renderer = new CubeRenderer(true);
19 | glSurfaceView = new GLSurfaceView(this);
20 | glSurfaceView.setRenderer(renderer);
21 | setContentView(glSurfaceView);
22 | }
23 | }
--------------------------------------------------------------------------------
/server/etc/global.session.php:
--------------------------------------------------------------------------------
1 |
2 |
6 |
12 |
19 |
20 |
--------------------------------------------------------------------------------
/client/res/layout/main_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
11 |
12 |
--------------------------------------------------------------------------------
/server/lib/Demos/Dao/Core.php:
--------------------------------------------------------------------------------
1 |
8 | * @license http://www.apache.org/licenses/LICENSE-2.0
9 | * @version $Id$
10 | */
11 |
12 | require_once 'Demos/Dao.php';
13 |
14 | /**
15 | * @package Demos_Dao
16 | */
17 | class Demos_Dao_Core extends Demos_Dao
18 | {
19 | /**
20 | * @static
21 | */
22 | const DB_NAME = 'demos_core';
23 |
24 | /**
25 | * Construct
26 | */
27 | public function __construct ()
28 | {
29 | // initialize dao
30 | parent::__construct(MysqlConfig::getInstance());
31 |
32 | // set default dao settings
33 | $this->_bindDb(self::DB_NAME);
34 | }
35 | }
--------------------------------------------------------------------------------
/server/www/website/demos/docs/pages/dynamic-samples/vehicles.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Vehicles
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
Vehicles
15 |
16 |
Everything from cars to planes.
17 |
18 | Cars
19 | Planes
20 | Destruction
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/server/www/website/demos/docs/pages/dynamic-samples/animals.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Animals
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
Animals
15 |
16 |
All your favorites from aardvarks to zebras.
17 |
18 | Pets
19 | Farm Animals
20 | Wild Animals
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/server/lib/Demos/Util/Session.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_Session
16 | {
17 | public function __construct()
18 | {
19 | $sid = $_SERVER['HTTP_SID'] ? $_SERVER['HTTP_SID'] : @$_REQUEST['sid'];
20 | if ($sid) session_id($sid);
21 | self::autoStart();
22 | }
23 |
24 | static public function autoStart()
25 | {
26 | session_start();
27 | if (!session_id()) {
28 | Hush_Util::headerRedirect(Demos_Util_Url::format($_SERVER['REQUEST_URI']));
29 | }
30 | }
31 | }
--------------------------------------------------------------------------------
/server/www/website/demos/tests/unit/fieldContain/fieldContain_events.js:
--------------------------------------------------------------------------------
1 | /*
2 | * mobile dialog unit tests
3 | */
4 | (function($){
5 | module('jquery.mobile.fieldContain.js');
6 |
7 | test( "Field container contains appropriate css styles", function(){
8 | ok($('#test-fieldcontain').hasClass('ui-field-contain ui-body ui-br'), 'A fieldcontain element must contain styles "ui-field-contain ui-body ui-br"');
9 | });
10 |
11 | test( "Field container will create when inside a container that receives a 'create' event", function(){
12 | ok( !$("#enhancetest").appendTo(".ui-page-active").find(".ui-field-contain").length, "did not have enhancements applied" );
13 | ok( $("#enhancetest").trigger("create").find(".ui-field-contain").length, "enhancements applied" );
14 | });
15 |
16 | })(jQuery);
17 |
--------------------------------------------------------------------------------
/client/src/com/app/demos/model/Config.java:
--------------------------------------------------------------------------------
1 | package com.app.demos.model;
2 |
3 | import com.app.demos.base.BaseModel;
4 |
5 | public class Config extends BaseModel{
6 |
7 | // model columns
8 | public final static String COL_NAME = "name";
9 | public final static String COL_VALUE = "value";
10 |
11 | private String name;
12 | private String value;
13 |
14 | public Config (String name, String value) {
15 | this.name = name;
16 | this.value = value;
17 | }
18 |
19 | public String getName () {
20 | return this.name;
21 | }
22 |
23 | public void setName (String name) {
24 | this.name = name;
25 | }
26 |
27 | public String getValue () {
28 | return this.value;
29 | }
30 |
31 | public void setValue (String value) {
32 | this.value = value;
33 | }
34 | }
--------------------------------------------------------------------------------
/client/src/com/app/demos/model/Menu.java:
--------------------------------------------------------------------------------
1 | package com.app.demos.model;
2 |
3 | import com.app.demos.base.BaseModel;
4 |
5 | public class Menu extends BaseModel{
6 |
7 | // model columns
8 | public final static String COL_NAME = "name";
9 | public final static String COL_CLASS = "clazz";
10 |
11 | private String name;
12 | private Class> clazz;
13 |
14 | public Menu (String name, Class> clazz) {
15 | this.name = name;
16 | this.clazz = clazz;
17 | }
18 |
19 | public String getName () {
20 | return this.name;
21 | }
22 |
23 | public void setName (String name) {
24 | this.name = name;
25 | }
26 |
27 | public Class> getClazz () {
28 | return this.clazz;
29 | }
30 |
31 | public void setClazz (Class> clazz) {
32 | this.clazz = clazz;
33 | }
34 | }
--------------------------------------------------------------------------------
/client/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
9 |
17 |
18 |
--------------------------------------------------------------------------------
/server/www/website/demos/docs/pages/dynamic-samples/colors.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Colors
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
Colors
15 |
16 |
Fresh colors from the magic rainbow.
17 |
18 | Blue
19 | Green
20 | Orange
21 | Purple
22 | Red
23 | Yellow
24 | Violet
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/server/www/server/js/debug/apiTest.js:
--------------------------------------------------------------------------------
1 | function apiTest () {
2 | var headers = arguments[0] || {};
3 | var action = $('#action').val();
4 | var method = $('#method').val();
5 | var keys = new Array();
6 | var vals = new Array();
7 | var data = '';
8 | $('input[name=paramKey]').each(function(){
9 | var key = $.trim($(this).val());
10 | keys.push(encodeURIComponent(key));
11 | });
12 | $('input[name=paramVal]').each(function(){
13 | var val = $.trim($(this).val());
14 | vals.push(encodeURIComponent(val));
15 | });
16 | for(var i=0; i
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_Image
16 | {
17 | /**
18 | * 获取头像图片的URL地址
19 | * @param int $id
20 | */
21 | public static function getFaceUrl ($id)
22 | {
23 | $facePath = __HOST_WEBSITE . '/faces/default';
24 | return $facePath . '/face_' . $id . '.png';
25 | }
26 |
27 | /**
28 | * 获取头像图片的对象
29 | * @param int $id
30 | */
31 | public static function getFaceImage ($id)
32 | {
33 | return array(
34 | 'id' => $id,
35 | 'url' => self::getFaceUrl($id),
36 | 'type' => 'png',
37 | );
38 | }
39 | }
--------------------------------------------------------------------------------
/server/lib/Demos/Dao.php:
--------------------------------------------------------------------------------
1 |
8 | * @license http://www.apache.org/licenses/LICENSE-2.0
9 | * @version $Id$
10 | */
11 |
12 | require_once 'Hush/Db/Dao.php';
13 |
14 | /**
15 | * @abstract
16 | * @package Demos_Dao
17 | */
18 | class Demos_Dao extends Hush_Db_Dao
19 | {
20 | /**
21 | * Autoload Ihush Daos
22 | *
23 | * @param string $dao
24 | * @return Demos_Dao
25 | */
26 | public static function load ($class_name)
27 | {
28 | static $_model = array();
29 | if(!isset($_model[$class_name])) {
30 | require_once 'Demos/Dao/' . str_replace('_', '/', $class_name) . '.php';
31 | $_model[$class_name] = new $class_name();
32 | }
33 | return $_model[$class_name];
34 | }
35 | }
--------------------------------------------------------------------------------
/server/www/website/demos/experiments/google-maps/map.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Main Page
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
Map View
22 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/client/src/com/app/demos/util/AppCache.java:
--------------------------------------------------------------------------------
1 | package com.app.demos.util;
2 |
3 | import android.content.Context;
4 | import android.graphics.Bitmap;
5 | import android.util.Log;
6 |
7 | public class AppCache {
8 |
9 | // tag for log
10 | private static String TAG = AppCache.class.getSimpleName();
11 |
12 | public static Bitmap getCachedImage (Context ctx, String url) {
13 | String cacheKey = AppUtil.md5(url);
14 | Bitmap cachedImage = SDUtil.getImage(cacheKey);
15 | if (cachedImage != null) {
16 | Log.w(TAG, "get cached image");
17 | return cachedImage;
18 | } else {
19 | Bitmap newImage = IOUtil.getBitmapRemote(ctx, url);
20 | SDUtil.saveImage(newImage, cacheKey);
21 | return newImage;
22 | }
23 | }
24 |
25 | public static Bitmap getImage (String url) {
26 | String cacheKey = AppUtil.md5(url);
27 | return SDUtil.getImage(cacheKey);
28 | }
29 | }
--------------------------------------------------------------------------------
/client/res/layout/main_top.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
13 |
22 |
--------------------------------------------------------------------------------
/client/res/layout/ui_test.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
9 |
12 |
15 |
16 |
--------------------------------------------------------------------------------
/client/src/com/app/demos/base/BaseAuth.java:
--------------------------------------------------------------------------------
1 | package com.app.demos.base;
2 |
3 | import com.app.demos.model.Customer;
4 |
5 | public class BaseAuth {
6 |
7 | static public boolean isLogin () {
8 | Customer customer = Customer.getInstance();
9 | if (customer.getLogin() == true) {
10 | return true;
11 | }
12 | return false;
13 | }
14 |
15 | static public void setLogin (Boolean status) {
16 | Customer customer = Customer.getInstance();
17 | customer.setLogin(status);
18 | }
19 |
20 | static public void setCustomer (Customer mc) {
21 | Customer customer = Customer.getInstance();
22 | customer.setId(mc.getId());
23 | customer.setSid(mc.getSid());
24 | customer.setName(mc.getName());
25 | customer.setSign(mc.getSign());
26 | customer.setFace(mc.getFace());
27 | }
28 |
29 | static public Customer getCustomer () {
30 | return Customer.getInstance();
31 | }
32 | }
--------------------------------------------------------------------------------
/server/www/website/demos/docs/pages/dynamic-samples/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Dynamic Page Samples
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
Categories
15 |
16 |
Select a Category Below:
17 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/client/res/layout/ui_edit.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
7 |
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 |
15 |
--------------------------------------------------------------------------------
/client/src/com/app/demos/demo/DemoMap.java:
--------------------------------------------------------------------------------
1 | package com.app.demos.demo;
2 |
3 | import android.webkit.WebView;
4 | import android.webkit.WebViewClient;
5 |
6 | import com.app.demos.R;
7 | import com.app.demos.base.BaseUiWeb;
8 | import com.app.demos.base.C;
9 |
10 | public class DemoMap extends BaseUiWeb {
11 |
12 | private WebView mWebViewMap;
13 |
14 | @Override
15 | public void onStart() {
16 | super.onStart();
17 |
18 | setContentView(R.layout.demo_map);
19 |
20 | mWebViewMap = (WebView) findViewById(R.id.web_map);
21 | mWebViewMap.getSettings().setJavaScriptEnabled(true);
22 | mWebViewMap.setWebViewClient(new WebViewClient(){
23 | @Override
24 | public void onPageFinished(WebView view, String url){
25 | mWebViewMap.loadUrl("javascript:centerAt(39.907325,116.391455);");
26 | }
27 | });
28 | mWebViewMap.loadUrl(C.web.gomap);
29 |
30 | this.setWebView(mWebViewMap);
31 | this.startWebView();
32 | }
33 | }
--------------------------------------------------------------------------------
/server/www/website/demos/tests/unit/textinput/external.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/client/src/com/app/demos/demo/DemoWeb.java:
--------------------------------------------------------------------------------
1 | package com.app.demos.demo;
2 |
3 | import android.util.Log;
4 | import android.webkit.WebView;
5 |
6 | import com.app.demos.R;
7 | import com.app.demos.base.BaseUiWeb;
8 | import com.app.demos.base.C;
9 |
10 | public class DemoWeb extends BaseUiWeb {
11 |
12 | private WebView mWebView;
13 |
14 | @Override
15 | public void onStart() {
16 | super.onStart();
17 |
18 | // start loading webview
19 | setContentView(R.layout.demo_web);
20 | mWebView = (WebView) findViewById(R.id.web_form);
21 | mWebView.getSettings().setJavaScriptEnabled(true);
22 | mWebView.loadUrl(C.web.index);
23 |
24 | // add js interface
25 | mWebView.addJavascriptInterface(new DemoJs(), "demo");
26 |
27 | this.setWebView(mWebView);
28 | this.startWebView();
29 | }
30 |
31 | protected class DemoJs {
32 | public void testCallBack(String testParam) {
33 | Log.w("DemoJs", testParam);
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/server/lib/Demos/Log.php:
--------------------------------------------------------------------------------
1 |
8 | * @license http://www.apache.org/licenses/LICENSE-2.0
9 | * @version $Id$
10 | */
11 |
12 | require_once 'Hush/Log.php';
13 |
14 | /**
15 | * @package Demos_Log
16 | */
17 | class Demos_Log
18 | {
19 | /**
20 | * @var string
21 | */
22 | private $_logger = null;
23 |
24 | /**
25 | * Construct
26 | * Init logger instance
27 | * @param string $logger Logger type
28 | * @return void
29 | */
30 | public function __construct ($logger = 'sys')
31 | {
32 | $this->_logger = Hush_Log::getInstance($logger);
33 | }
34 |
35 | /**
36 | * Overload logger log interface
37 | * @param string $msg Logging message
38 | * @return void
39 | */
40 | public function log ($name, $msg)
41 | {
42 | $this->_logger->log($name, $msg);
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/client/src/com/app/demos/model/Comment.java:
--------------------------------------------------------------------------------
1 | package com.app.demos.model;
2 |
3 | import com.app.demos.base.BaseModel;
4 |
5 | public class Comment extends BaseModel {
6 |
7 | // model columns
8 | public final static String COL_ID = "id";
9 | public final static String COL_CONTENT = "content";
10 | public final static String COL_UPTIME = "uptime";
11 |
12 | private String id;
13 | private String content;
14 | private String uptime;
15 |
16 | public Comment () {}
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 getContent () {
27 | return this.content;
28 | }
29 |
30 | public void setContent (String content) {
31 | this.content = content;
32 | }
33 |
34 | public String getUptime () {
35 | return this.uptime;
36 | }
37 |
38 | public void setUptime (String uptime) {
39 | this.uptime = uptime;
40 | }
41 | }
--------------------------------------------------------------------------------
/server/www/website/demos/experiments/google-maps/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Main Page
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
Google maps view
19 |
20 |
If you're linking to a map page with jQuery Mobile's Ajax behavior, be sure to load google maps in the first real page's head, since it uses document.write and can not be included in the data-role=page div like normal scripts can. View map
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/server/www/website/demos/tests/unit/degradeInputs/degradeInputs.js:
--------------------------------------------------------------------------------
1 | /*
2 | * degradeInputs unit tests
3 | */
4 |
5 | (function($){
6 |
7 | module('jquery.mobile.slider.js');
8 |
9 | test('keepNative elements should not be degraded', function() {
10 | same($('input#not-to-be-degraded').attr("type"), "range");
11 | });
12 |
13 | test('should degrade input type to a different type, as specified in page options', function(){
14 | var degradeInputs = $.mobile.page.prototype.options.degradeInputs;
15 |
16 | expect( degradeInputs.length );
17 |
18 | $.each(degradeInputs, function( oldType, newType ) {
19 | if (newType === false) {
20 | newType = oldType;
21 | }
22 |
23 | $('#test-container').html(' ').trigger("create");
24 |
25 | same($('#test-container input').attr("type"), newType);
26 | });
27 | });
28 |
29 | })(jQuery);
--------------------------------------------------------------------------------
/client/res/layout/tpl_list_comment.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
12 |
16 |
--------------------------------------------------------------------------------
/client/res/layout/ui_index.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 |
14 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/opengl/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
13 |
18 |
23 |
28 |
29 |
--------------------------------------------------------------------------------
/server/www/website/demos/docs/pages/docs-links-urltest/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | jQuery Mobile Framework - Test URL Example
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
URL Test Page
19 |
20 |
21 |
This is a regular page that updated the url with a different value than was requested.
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/server/www/website/demos/docs/pages/dialog-success.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | jQuery Mobile Framework - Dialog Example
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/server/www/website/demos/tests/unit/media/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | jQuery Mobile Media Test Suite
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/server/www/website/demos/tests/unit/index.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
29 |
30 |
31 |
37 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/opengl/src/com/app/demos/opengl/demo/DemoGL3dTexture.java:
--------------------------------------------------------------------------------
1 | package com.app.demos.opengl.demo;
2 |
3 | import com.app.demos.opengl.R;
4 |
5 | import android.app.Activity;
6 | import android.content.res.Resources;
7 | import android.graphics.Bitmap;
8 | import android.graphics.BitmapFactory;
9 | import android.opengl.GLSurfaceView;
10 | import android.opengl.GLSurfaceView.Renderer;
11 | import android.os.Bundle;
12 |
13 | public class DemoGL3dTexture extends Activity {
14 |
15 | private GLSurfaceView glSurfaceView;
16 | private Renderer renderer;
17 |
18 | /** Called when the activity is first created. */
19 | @Override
20 | public void onCreate(Bundle savedInstanceState) {
21 | super.onCreate(savedInstanceState);
22 |
23 | Resources res = this.getResources();
24 | Bitmap texture = BitmapFactory.decodeResource(res, R.drawable.skin);
25 |
26 | renderer = new CubeTextureRenderer(true, texture);
27 | glSurfaceView = new GLSurfaceView(this);
28 | glSurfaceView.setRenderer(renderer);
29 | setContentView(glSurfaceView);
30 | }
31 | }
--------------------------------------------------------------------------------
/server/www/website/demos/tests/unit/select/cached-tests.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | jQuery Mobile Select Events Test Suite
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/server/www/website/demos/tests/unit/init/nopage.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | jQuery Mobile Init Test Suite
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |