├── .gitattributes
├── .gitignore
├── AudioPlayerDemo
├── .classpath
├── .project
├── .settings
│ ├── org.eclipse.core.resources.prefs
│ └── org.eclipse.jdt.core.prefs
├── AndroidManifest.xml
├── proguard.cfg
├── project.properties
├── res
│ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ ├── drawable-ldpi
│ │ └── ic_launcher.png
│ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ ├── layout
│ │ └── main.xml
│ └── values
│ │ └── strings.xml
├── src
│ └── com
│ │ └── genius
│ │ └── demo
│ │ ├── AudioParam.java
│ │ ├── AudioPlayer.java
│ │ ├── AudioPlayerDemoActivity.java
│ │ ├── IPlayComplete.java
│ │ └── PlayState.java
└── 音频数据
│ ├── 480X234_1700kbps.rm
│ ├── readme.txt
│ └── testmusic.pcm
├── Base
├── .classpath
├── .project
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── AndroidManifest.xml
├── README.md
├── libs
│ ├── N-ineOldAndroid-2.4.0.jar
│ ├── android-support-v4.jar
│ ├── gson-2.3.1.jar
│ └── universal-image-loader-1.9.3.jar
├── proguard-project.txt
├── project.properties
├── res
│ ├── anim
│ │ ├── slide_in_from_bottom.xml
│ │ ├── slide_in_from_top.xml
│ │ ├── slide_out_to_bottom.xml
│ │ └── slide_out_to_top.xml
│ ├── drawable-hdpi
│ │ ├── base_empty_view.png
│ │ ├── biz_pics_ic_back_normal.png
│ │ ├── biz_pics_ic_back_pressed.png
│ │ ├── default_ptr_flip.png
│ │ ├── default_ptr_rotate.png
│ │ ├── ic_launcher.png
│ │ ├── indicator_arrow.png
│ │ ├── mm_title_btn_contact_normal.png
│ │ ├── tab_address_normal.png
│ │ ├── tab_find_frd_normal.png
│ │ ├── tab_settings_normal.png
│ │ └── tab_weixin_normal.png
│ ├── drawable-mdpi
│ │ ├── default_ptr_flip.png
│ │ ├── default_ptr_rotate.png
│ │ ├── ic_launcher.png
│ │ ├── ic_menu_allfriends.png
│ │ ├── ic_menu_cc.png
│ │ ├── ic_menu_emoticons.png
│ │ ├── ic_menu_friendslist.png
│ │ ├── ic_menu_myplaces.png
│ │ ├── ic_menu_start_conversation.png
│ │ └── indicator_arrow.png
│ ├── drawable-xhdpi
│ │ ├── default_ptr_flip.png
│ │ ├── default_ptr_rotate.png
│ │ ├── ic_launcher.png
│ │ └── indicator_arrow.png
│ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ ├── drawable
│ │ ├── indicator_bg_bottom.xml
│ │ ├── indicator_bg_top.xml
│ │ └── tabbg.xml
│ ├── layout
│ │ ├── activity_main.xml
│ │ ├── pull_to_refresh_header_horizontal.xml
│ │ └── pull_to_refresh_header_vertical.xml
│ └── values
│ │ ├── attr.xml
│ │ ├── dimens.xml
│ │ ├── ids.xml
│ │ ├── pull_refresh_strings.xml
│ │ ├── strings.xml
│ │ └── styles.xml
└── src
│ └── com
│ ├── base
│ ├── app
│ │ ├── AbsDialog.java
│ │ ├── BaseActivity.java
│ │ └── BaseAppContext.java
│ ├── bean
│ │ └── BaseBean.java
│ ├── db
│ │ ├── DBConfig.java
│ │ ├── IssContentProvider.java
│ │ ├── IssDBFactory.java
│ │ ├── Table.java
│ │ ├── TableColumn.java
│ │ └── TableUtil.java
│ ├── httpclient
│ │ ├── NormalHttpClient.java
│ │ └── core
│ │ │ ├── AbsHttpClient.java
│ │ │ ├── BasicRequestHandler.java
│ │ │ ├── HTTPSTrustManager.java
│ │ │ ├── HttpDelete.java
│ │ │ ├── HttpGet.java
│ │ │ ├── HttpHead.java
│ │ │ ├── HttpMethod.java
│ │ │ ├── HttpPost.java
│ │ │ ├── HttpPut.java
│ │ │ ├── HttpRequestException.java
│ │ │ ├── HttpResponse.java
│ │ │ ├── MethodType.java
│ │ │ ├── ParameterList.java
│ │ │ └── RequestHandler.java
│ ├── utils
│ │ ├── AppUtils.java
│ │ ├── ConsUtil.java
│ │ ├── DensityUtils.java
│ │ ├── FileUtils.java
│ │ ├── HttpDownloader.java
│ │ ├── HttpUtils.java
│ │ ├── ImageUtils.java
│ │ ├── KeyBoardUtils.java
│ │ ├── LogUtil.java
│ │ ├── NetUtils.java
│ │ ├── SDCardUtils.java
│ │ ├── SPUtils.java
│ │ ├── ScreenUtils.java
│ │ ├── StringUtil.java
│ │ ├── T.java
│ │ ├── TimeUtils.java
│ │ └── VersionUtils.java
│ └── view
│ │ ├── ChangeColorIconWithTextView.java
│ │ ├── common
│ │ ├── CustomScrollView.java
│ │ ├── MarqueeTextView.java
│ │ └── ToastAlone.java
│ │ └── pulltorefresh
│ │ ├── ILoadingLayout.java
│ │ ├── IPullToRefresh.java
│ │ ├── LoadingLayoutProxy.java
│ │ ├── OverscrollHelper.java
│ │ ├── PullToRefreshAdapterViewBase.java
│ │ ├── PullToRefreshBase.java
│ │ ├── PullToRefreshExpandableListView.java
│ │ ├── PullToRefreshGridView.java
│ │ ├── PullToRefreshHorizontalScrollView.java
│ │ ├── PullToRefreshListView.java
│ │ ├── PullToRefreshScrollView.java
│ │ ├── PullToRefreshWebView.java
│ │ ├── extras
│ │ ├── PullToRefreshWebView2.java
│ │ └── SoundPullEventListener.java
│ │ └── internal
│ │ ├── EmptyViewMethodAccessor.java
│ │ ├── FlipLoadingLayout.java
│ │ ├── IndicatorLayout.java
│ │ ├── LoadingLayout.java
│ │ ├── RotateLoadingLayout.java
│ │ ├── Utils.java
│ │ └── ViewCompat.java
│ └── honghe
│ └── demo
│ ├── activity
│ └── MainActivity.java
│ └── fragment
│ └── TabFragment.java
├── DigitalView
├── .classpath
├── .project
├── .settings
│ ├── org.eclipse.core.resources.prefs
│ └── org.eclipse.jdt.core.prefs
├── AndroidManifest.xml
├── ic_launcher-web.png
├── libs
│ └── android-support-v4.jar
├── proguard-project.txt
├── project.properties
├── res
│ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ ├── drawable-xxhdpi
│ │ ├── .DS_Store
│ │ ├── blank217x324.png
│ │ ├── eight217x324.png
│ │ ├── five217x324.png
│ │ ├── four217x324.png
│ │ ├── ic_launcher.png
│ │ ├── minus217x324.png
│ │ ├── nine217x324.png
│ │ ├── one217x324.png
│ │ ├── seven217x324.png
│ │ ├── six217x324.png
│ │ ├── three217x324.png
│ │ ├── two217x324.png
│ │ └── zero217x324.png
│ ├── layout
│ │ ├── activity_main.xml
│ │ └── digitalview.xml
│ ├── menu
│ │ └── main.xml
│ ├── values-sw600dp
│ │ └── dimens.xml
│ ├── values-sw720dp-land
│ │ └── dimens.xml
│ ├── values-v11
│ │ └── styles.xml
│ ├── values-v14
│ │ └── styles.xml
│ └── values
│ │ ├── attr.xml
│ │ ├── digitalattr.xml
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
└── src
│ └── com
│ └── example
│ └── customview01
│ ├── MainActivity.java
│ └── view
│ ├── CustomTitleView.java
│ └── DigitalView.java
├── ImageData
├── Mylocker.apk
├── Mylocker
├── .classpath
├── .gitignore
├── .project
├── AndroidManifest.xml
├── README.md
├── honghe.key
├── libs
│ ├── N-ineOldAndroid-2.4.0.jar
│ ├── android-support-v4.jar
│ ├── gson-2.3.1.jar
│ └── universal-image-loader-1.9.3.jar
├── proguard-project.txt
├── project.properties
├── res
│ ├── anim
│ │ ├── slide_in_from_bottom.xml
│ │ ├── slide_in_from_top.xml
│ │ ├── slide_out_to_bottom.xml
│ │ └── slide_out_to_top.xml
│ ├── drawable-hdpi
│ │ ├── base_empty_view.png
│ │ ├── biz_pics_ic_back_normal.png
│ │ ├── biz_pics_ic_back_pressed.png
│ │ ├── default_ptr_flip.png
│ │ ├── default_ptr_rotate.png
│ │ ├── ic_launcher.png
│ │ ├── indicator_arrow.png
│ │ ├── mm_title_btn_contact_normal.png
│ │ ├── tab_address_normal.png
│ │ ├── tab_find_frd_normal.png
│ │ ├── tab_settings_normal.png
│ │ └── tab_weixin_normal.png
│ ├── drawable-mdpi
│ │ ├── default_ptr_flip.png
│ │ ├── default_ptr_rotate.png
│ │ ├── ic_launcher.png
│ │ ├── ic_menu_allfriends.png
│ │ ├── ic_menu_cc.png
│ │ ├── ic_menu_emoticons.png
│ │ ├── ic_menu_friendslist.png
│ │ ├── ic_menu_myplaces.png
│ │ ├── ic_menu_start_conversation.png
│ │ └── indicator_arrow.png
│ ├── drawable-xhdpi
│ │ ├── default_ptr_flip.png
│ │ ├── default_ptr_rotate.png
│ │ ├── ic_launcher.png
│ │ ├── icon_add.png
│ │ ├── imageposition.png
│ │ ├── indicator_arrow.png
│ │ ├── navbar_back_n.png
│ │ └── navbar_back_p.png
│ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ ├── drawable
│ │ ├── btn_title_backnew.xml
│ │ ├── indicator_bg_bottom.xml
│ │ ├── indicator_bg_top.xml
│ │ └── tabbg.xml
│ ├── layout
│ │ ├── activity_add_lockers.xml
│ │ ├── activity_lockers_detail.xml
│ │ ├── activity_main.xml
│ │ ├── activity_title.xml
│ │ ├── item_classification.xml
│ │ ├── item_lockers.xml
│ │ ├── pull_to_refresh_header_horizontal.xml
│ │ └── pull_to_refresh_header_vertical.xml
│ └── values
│ │ ├── array.xml
│ │ ├── attr.xml
│ │ ├── colors.xml
│ │ ├── dimens.xml
│ │ ├── ids.xml
│ │ ├── pull_refresh_strings.xml
│ │ ├── strings.xml
│ │ └── styles.xml
└── src
│ └── com
│ ├── base
│ ├── app
│ │ ├── AbsDialog.java
│ │ ├── BaseActivity.java
│ │ └── BaseAppContext.java
│ ├── bean
│ │ └── BaseBean.java
│ ├── db
│ │ ├── DBConfig.java
│ │ ├── IssContentProvider.java
│ │ ├── IssDBFactory.java
│ │ ├── Table.java
│ │ ├── TableColumn.java
│ │ └── TableUtil.java
│ ├── httpclient
│ │ ├── NormalHttpClient.java
│ │ └── core
│ │ │ ├── AbsHttpClient.java
│ │ │ ├── BasicRequestHandler.java
│ │ │ ├── HTTPSTrustManager.java
│ │ │ ├── HttpDelete.java
│ │ │ ├── HttpGet.java
│ │ │ ├── HttpHead.java
│ │ │ ├── HttpMethod.java
│ │ │ ├── HttpPost.java
│ │ │ ├── HttpPut.java
│ │ │ ├── HttpRequestException.java
│ │ │ ├── HttpResponse.java
│ │ │ ├── MethodType.java
│ │ │ ├── ParameterList.java
│ │ │ └── RequestHandler.java
│ ├── utils
│ │ ├── AppUtils.java
│ │ ├── ConsUtil.java
│ │ ├── DensityUtils.java
│ │ ├── FileUtils.java
│ │ ├── HttpDownloader.java
│ │ ├── HttpUtils.java
│ │ ├── ImageUtil.java
│ │ ├── KeyBoardUtils.java
│ │ ├── LogUtil.java
│ │ ├── NetUtils.java
│ │ ├── SDCardUtils.java
│ │ ├── SPUtils.java
│ │ ├── ScreenUtils.java
│ │ ├── StringUtil.java
│ │ ├── T.java
│ │ ├── TimeUtils.java
│ │ └── VersionUtils.java
│ └── view
│ │ ├── ChangeColorIconWithTextView.java
│ │ ├── common
│ │ ├── CustomScrollView.java
│ │ ├── MarqueeTextView.java
│ │ └── ToastAlone.java
│ │ └── pulltorefresh
│ │ ├── ILoadingLayout.java
│ │ ├── IPullToRefresh.java
│ │ ├── LoadingLayoutProxy.java
│ │ ├── OverscrollHelper.java
│ │ ├── PullToRefreshAdapterViewBase.java
│ │ ├── PullToRefreshBase.java
│ │ ├── PullToRefreshExpandableListView.java
│ │ ├── PullToRefreshGridView.java
│ │ ├── PullToRefreshHorizontalScrollView.java
│ │ ├── PullToRefreshListView.java
│ │ ├── PullToRefreshScrollView.java
│ │ ├── PullToRefreshWebView.java
│ │ ├── extras
│ │ ├── PullToRefreshWebView2.java
│ │ └── SoundPullEventListener.java
│ │ └── internal
│ │ ├── EmptyViewMethodAccessor.java
│ │ ├── FlipLoadingLayout.java
│ │ ├── IndicatorLayout.java
│ │ ├── LoadingLayout.java
│ │ ├── RotateLoadingLayout.java
│ │ ├── Utils.java
│ │ └── ViewCompat.java
│ └── honghe
│ └── MyLockers
│ ├── TitleActivity.java
│ ├── activity
│ ├── AddClassificationActivity.java
│ ├── AddLockerDetailActivity.java
│ ├── AddLockersActivity.java
│ ├── ClassificationDetailActivity.java
│ ├── LockersDetailActivity.java
│ └── MainActivity.java
│ ├── adapter
│ ├── ClassificationAdapter.java
│ ├── LockersAdapter.java
│ └── LockersDetailAdapter.java
│ ├── app
│ └── Myapplicaion.java
│ ├── bean
│ ├── ClassificationBean.java
│ ├── LockersBean.java
│ └── LockersDetailBean.java
│ ├── db
│ ├── DBUtil.java
│ └── HongheProvider.java
│ ├── dialog
│ └── AskDialog.java
│ └── util
│ └── ConsUtil.java
├── NavDemo
├── .classpath
├── .project
├── .settings
│ ├── org.eclipse.core.resources.prefs
│ └── org.eclipse.jdt.core.prefs
├── AndroidManifest.xml
├── ic_launcher-web.png
├── libs
│ ├── AMap_3DMap_V2.4.1.jar
│ ├── Android_Location_V1.3.2.jar
│ ├── Android_Navi_V1.1.2.jar
│ ├── Msc.jar
│ ├── android-support-v4.jar
│ └── armeabi
│ │ ├── libamapv304.so
│ │ ├── libamapv304ex.so
│ │ ├── libmsc.so
│ │ ├── libtbt.so
│ │ └── libwtbt.so
├── proguard-project.txt
├── project.properties
├── res
│ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ ├── layout
│ │ ├── activity_main.xml
│ │ └── activity_simple_hud.xml
│ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
└── src
│ └── com
│ └── honghe
│ ├── application
│ ├── MainApplication.java
│ └── TTSController.java
│ └── navdemo
│ ├── activity
│ ├── MainActivity.java
│ └── SimpleHudActivity.java
│ ├── util
│ ├── ToastUtil.java
│ └── Utils.java
│ └── view
│ └── PathView.java
├── README.md
├── Record
├── .classpath
├── .project
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── AndroidManifest.xml
├── ic_launcher-web.png
├── libs
│ ├── android-support-v4.jar
│ ├── armeabi-v7a
│ │ └── libspeex.so
│ └── armeabi
│ │ └── libspeex.so
├── proguard-project.txt
├── project.properties
├── res
│ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ ├── layout
│ │ ├── activity_main.xml
│ │ └── activity_wave.xml
│ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
└── src
│ └── com
│ ├── honghe
│ ├── drawwav
│ │ ├── DrawWaveActivity.java
│ │ └── WaveView.java
│ └── record
│ │ ├── AudioFileFunc.java
│ │ ├── AudioRecordFunc.java
│ │ ├── ErrorCode.java
│ │ ├── MainActivity.java
│ │ ├── MediaRecordFunc.java
│ │ ├── WaveJoin.java
│ │ └── WaveSpeex.java
│ ├── sin
│ └── java
│ │ └── waveaccess
│ │ ├── WaveAccess.java
│ │ ├── WaveConstants.java
│ │ ├── WaveFileReader.java
│ │ └── WaveFileWriter.java
│ └── sixin
│ └── speex
│ ├── AudioFileWriter.java
│ ├── OggCrc.java
│ ├── OggSpeexWriter.java
│ ├── OnSpeexCompletionListener.java
│ ├── OnSpeexFileCompletionListener.java
│ ├── ShortAndByte.java
│ ├── Speex.java
│ ├── SpeexDecoder.java
│ ├── SpeexEncoder.java
│ ├── SpeexFileDecoder.java
│ ├── SpeexFileDecoderHelper.java
│ ├── SpeexPlayer.java
│ ├── SpeexRecorder.java
│ ├── SpeexTool.java
│ ├── SpeexWriteClient.java
│ └── SpeexWriter.java
├── SpeexLuYin
├── .classpath
├── .gitignore
├── .project
├── .settings
│ ├── org.eclipse.core.resources.prefs
│ └── org.eclipse.jdt.core.prefs
├── AndroidManifest.xml
├── README.md
├── hs_err_pid3520.log
├── libs
│ ├── armeabi-v7a
│ │ └── libspeex.so
│ └── armeabi
│ │ └── libspeex.so
├── proguard.cfg
├── project.properties
├── res
│ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ ├── drawable-ldpi
│ │ └── ic_launcher.png
│ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ ├── drawable
│ │ ├── bkgnd.png
│ │ ├── bkgnd_normal.xml
│ │ ├── bkgnd_pressed.xml
│ │ ├── button_options.png
│ │ ├── button_options_bkgnd.xml
│ │ ├── button_zoom_in.png
│ │ ├── button_zoom_out.png
│ │ ├── marker_left.xml
│ │ ├── marker_left_focused.png
│ │ ├── marker_left_normal.png
│ │ ├── marker_left_pressed.png
│ │ ├── marker_right.xml
│ │ ├── marker_right_focused.png
│ │ ├── marker_right_normal.png
│ │ ├── marker_right_pressed.png
│ │ ├── menu_about.png
│ │ ├── menu_reset.png
│ │ ├── menu_save.png
│ │ ├── menu_show_all_audio.png
│ │ ├── ringdroidlogo.png
│ │ ├── search.png
│ │ ├── star.png
│ │ ├── type_alarm.png
│ │ ├── type_music.png
│ │ ├── type_notification.png
│ │ └── type_ringtone.png
│ ├── layout
│ │ ├── editor.xml
│ │ └── main.xml
│ ├── values-cn
│ │ └── strings.xml
│ └── values
│ │ ├── colors.xml
│ │ ├── strings.xml
│ │ └── styles.xml
└── src
│ └── com
│ ├── ringdroid
│ ├── MarkerView.java
│ ├── RingdroidEditActivity.java
│ ├── SeekTest.java
│ ├── SongMetadataReader.java
│ ├── WaveformView.java
│ └── soundfile
│ │ ├── CheapAAC.java
│ │ ├── CheapAMR.java
│ │ ├── CheapMP3.java
│ │ ├── CheapSoundFile.java
│ │ └── CheapWAV.java
│ ├── sixin
│ └── speex
│ │ ├── AudioFileWriter.java
│ │ ├── OggCrc.java
│ │ ├── OggSpeexWriter.java
│ │ ├── OnSpeexCompletionListener.java
│ │ ├── Speex.java
│ │ ├── SpeexDecoder.java
│ │ ├── SpeexEncoder.java
│ │ ├── SpeexPlayer.java
│ │ ├── SpeexRecorder.java
│ │ ├── SpeexTool.java
│ │ ├── SpeexWriteClient.java
│ │ └── SpeexWriter.java
│ └── yangyueyue
│ └── demo
│ └── luyin
│ ├── LuYinActivity.java
│ └── tools
│ ├── GetSystemDateTime.java
│ ├── SDcardTools.java
│ ├── ShowDialog.java
│ └── StringTools.java
├── pdf_drm
├── .classpath
├── .project
├── AndroidManifest.xml
├── README.md
├── libs
│ ├── armeabi
│ │ └── libfsdk.so
│ └── fgsdk.jar
├── proguard-project.txt
├── project.properties
├── res
│ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ ├── drawable-ldpi
│ │ └── ic_launcher.png
│ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ ├── layout
│ │ └── main.xml
│ └── values
│ │ └── strings.xml
└── src
│ └── com
│ └── foxit
│ └── general
│ └── pdf_drm
│ ├── MainView.java
│ ├── PDF_Foac.java
│ └── PDF_drmActivity.java
└── testCordova
├── README.md
├── config.xml
├── hooks
└── README.md
├── platforms
├── android
│ ├── .classpath
│ ├── .gitignore
│ ├── .project
│ ├── .settings
│ │ └── org.eclipse.jdt.core.prefs
│ ├── AndroidManifest.xml
│ ├── CordovaLib
│ │ ├── .classpath
│ │ ├── .project
│ │ ├── .settings
│ │ │ └── org.eclipse.jdt.core.prefs
│ │ ├── AndroidManifest.xml
│ │ ├── build.gradle
│ │ ├── cordova.gradle
│ │ ├── project.properties
│ │ └── src
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── cordova
│ │ │ ├── AuthenticationToken.java
│ │ │ ├── CallbackContext.java
│ │ │ ├── Config.java
│ │ │ ├── ConfigXmlParser.java
│ │ │ ├── CordovaActivity.java
│ │ │ ├── CordovaArgs.java
│ │ │ ├── CordovaBridge.java
│ │ │ ├── CordovaClientCertRequest.java
│ │ │ ├── CordovaDialogsHelper.java
│ │ │ ├── CordovaHttpAuthHandler.java
│ │ │ ├── CordovaInterface.java
│ │ │ ├── CordovaInterfaceImpl.java
│ │ │ ├── CordovaPlugin.java
│ │ │ ├── CordovaPreferences.java
│ │ │ ├── CordovaResourceApi.java
│ │ │ ├── CordovaWebView.java
│ │ │ ├── CordovaWebViewEngine.java
│ │ │ ├── CordovaWebViewImpl.java
│ │ │ ├── CoreAndroid.java
│ │ │ ├── ExposedJsApi.java
│ │ │ ├── ICordovaClientCertRequest.java
│ │ │ ├── ICordovaCookieManager.java
│ │ │ ├── ICordovaHttpAuthHandler.java
│ │ │ ├── LOG.java
│ │ │ ├── NativeToJsMessageQueue.java
│ │ │ ├── PluginEntry.java
│ │ │ ├── PluginManager.java
│ │ │ ├── PluginResult.java
│ │ │ ├── Whitelist.java
│ │ │ └── engine
│ │ │ ├── SystemCookieManager.java
│ │ │ ├── SystemExposedJsApi.java
│ │ │ ├── SystemWebChromeClient.java
│ │ │ ├── SystemWebView.java
│ │ │ ├── SystemWebViewClient.java
│ │ │ └── SystemWebViewEngine.java
│ ├── assets
│ │ ├── _where-is-www.txt
│ │ └── www
│ │ │ ├── cordova.js
│ │ │ ├── cordova_plugins.js
│ │ │ ├── css
│ │ │ └── index.css
│ │ │ ├── img
│ │ │ └── logo.png
│ │ │ ├── index.html
│ │ │ ├── js
│ │ │ └── index.js
│ │ │ └── plugins
│ │ │ └── cordova-plugin-whitelist
│ │ │ └── whitelist.js
│ ├── build.gradle
│ ├── cordova
│ │ ├── android_sdk_version
│ │ ├── build
│ │ ├── build.bat
│ │ ├── check_reqs
│ │ ├── clean
│ │ ├── clean.bat
│ │ ├── defaults.xml
│ │ ├── lib
│ │ │ ├── android_sdk_version.js
│ │ │ ├── appinfo.js
│ │ │ ├── build.js
│ │ │ ├── check_reqs.js
│ │ │ ├── device.js
│ │ │ ├── emulator.js
│ │ │ ├── exec.js
│ │ │ ├── install-device
│ │ │ ├── install-device.bat
│ │ │ ├── install-emulator
│ │ │ ├── install-emulator.bat
│ │ │ ├── list-devices
│ │ │ ├── list-devices.bat
│ │ │ ├── list-emulator-images
│ │ │ ├── list-emulator-images.bat
│ │ │ ├── list-started-emulators
│ │ │ ├── list-started-emulators.bat
│ │ │ ├── log.js
│ │ │ ├── plugin-build.gradle
│ │ │ ├── run.js
│ │ │ ├── spawn.js
│ │ │ ├── start-emulator
│ │ │ └── start-emulator.bat
│ │ ├── log
│ │ ├── log.bat
│ │ ├── node_modules
│ │ │ ├── nopt
│ │ │ │ ├── LICENSE
│ │ │ │ ├── lib
│ │ │ │ │ └── nopt.js
│ │ │ │ ├── node_modules
│ │ │ │ │ └── abbrev
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── abbrev.js
│ │ │ │ │ │ └── package.json
│ │ │ │ └── package.json
│ │ │ ├── q
│ │ │ │ ├── CONTRIBUTING.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── benchmark
│ │ │ │ │ ├── compare-with-callbacks.js
│ │ │ │ │ └── scenarios.js
│ │ │ │ ├── package.json
│ │ │ │ ├── q.js
│ │ │ │ └── queue.js
│ │ │ ├── shelljs
│ │ │ │ ├── .documentup.json
│ │ │ │ ├── .jshintrc
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── global.js
│ │ │ │ ├── make.js
│ │ │ │ ├── package.json
│ │ │ │ ├── scripts
│ │ │ │ │ ├── generate-docs.js
│ │ │ │ │ └── run-tests.js
│ │ │ │ ├── shell.js
│ │ │ │ └── src
│ │ │ │ │ ├── cat.js
│ │ │ │ │ ├── cd.js
│ │ │ │ │ ├── chmod.js
│ │ │ │ │ ├── common.js
│ │ │ │ │ ├── cp.js
│ │ │ │ │ ├── dirs.js
│ │ │ │ │ ├── echo.js
│ │ │ │ │ ├── error.js
│ │ │ │ │ ├── exec.js
│ │ │ │ │ ├── find.js
│ │ │ │ │ ├── grep.js
│ │ │ │ │ ├── ls.js
│ │ │ │ │ ├── mkdir.js
│ │ │ │ │ ├── mv.js
│ │ │ │ │ ├── popd.js
│ │ │ │ │ ├── pushd.js
│ │ │ │ │ ├── pwd.js
│ │ │ │ │ ├── rm.js
│ │ │ │ │ ├── sed.js
│ │ │ │ │ ├── tempdir.js
│ │ │ │ │ ├── test.js
│ │ │ │ │ ├── to.js
│ │ │ │ │ ├── toEnd.js
│ │ │ │ │ └── which.js
│ │ │ └── which
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── package.json
│ │ │ │ └── which.js
│ │ ├── run
│ │ ├── run.bat
│ │ ├── version
│ │ └── version.bat
│ ├── platform_www
│ │ └── cordova.js
│ ├── project.properties
│ ├── res
│ │ ├── drawable-hdpi
│ │ │ └── icon.png
│ │ ├── drawable-land-hdpi
│ │ │ └── screen.png
│ │ ├── drawable-land-ldpi
│ │ │ └── screen.png
│ │ ├── drawable-land-mdpi
│ │ │ └── screen.png
│ │ ├── drawable-land-xhdpi
│ │ │ └── screen.png
│ │ ├── drawable-ldpi
│ │ │ └── icon.png
│ │ ├── drawable-mdpi
│ │ │ └── icon.png
│ │ ├── drawable-port-hdpi
│ │ │ └── screen.png
│ │ ├── drawable-port-ldpi
│ │ │ └── screen.png
│ │ ├── drawable-port-mdpi
│ │ │ └── screen.png
│ │ ├── drawable-port-xhdpi
│ │ │ └── screen.png
│ │ ├── drawable-xhdpi
│ │ │ └── icon.png
│ │ ├── drawable
│ │ │ └── icon.png
│ │ ├── values
│ │ │ └── strings.xml
│ │ └── xml
│ │ │ └── config.xml
│ ├── settings.gradle
│ └── src
│ │ ├── com
│ │ └── honghe
│ │ │ └── testCordova
│ │ │ └── MainActivity.java
│ │ └── org
│ │ └── apache
│ │ └── cordova
│ │ └── whitelist
│ │ └── WhitelistPlugin.java
└── platforms.json
├── plugins
├── android.json
├── cordova-plugin-whitelist
│ ├── CONTRIBUTING.md
│ ├── LICENSE
│ ├── NOTICE
│ ├── README.md
│ ├── RELEASENOTES.md
│ ├── package.json
│ ├── plugin.xml
│ ├── src
│ │ ├── android
│ │ │ └── WhitelistPlugin.java
│ │ └── ios
│ │ │ ├── CDVNavigationWhitelistPlugin.h
│ │ │ └── CDVNavigationWhitelistPlugin.m
│ └── whitelist.js
└── fetch.json
└── www
├── css
└── index.css
├── img
└── logo.png
├── index.html
└── js
└── index.js
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
4 | # Custom for Visual Studio
5 | *.cs diff=csharp
6 |
7 | # Standard to msysgit
8 | *.doc diff=astextplain
9 | *.DOC diff=astextplain
10 | *.docx diff=astextplain
11 | *.DOCX diff=astextplain
12 | *.dot diff=astextplain
13 | *.DOT diff=astextplain
14 | *.pdf diff=astextplain
15 | *.PDF diff=astextplain
16 | *.rtf diff=astextplain
17 | *.RTF diff=astextplain
18 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Created by https://www.gitignore.io
2 |
3 | ### Windows ###
4 | # Windows image file caches
5 | Thumbs.db
6 | ehthumbs.db
7 |
8 | # Folder config file
9 | Desktop.ini
10 |
11 | # Recycle Bin used on file shares
12 | $RECYCLE.BIN/
13 |
14 | # Windows Installer files
15 | *.cab
16 | *.msi
17 | *.msm
18 | *.msp
19 |
20 | # Windows shortcuts
21 | *.lnk
22 |
23 |
24 | ### Android ###
25 | # Built application files
26 | *.apk
27 | *.ap_
28 |
29 | # Files for the Dalvik VM
30 | *.dex
31 |
32 | # Java class files
33 | *.class
34 |
35 | # Generated files
36 | bin/
37 | gen/
38 |
39 | # Gradle files
40 | .gradle/
41 | build/
42 | /*/build/
43 |
44 | # Local configuration file (sdk path, etc)
45 | local.properties
46 |
47 | # Proguard folder generated by Eclipse
48 | proguard/
49 |
50 | # Log Files
51 | *.log
52 |
53 | ### Android Patch ###
54 | gen-external-apklibs
55 | Mylocker/.settings/org.eclipse.core.resources.prefs
56 | Mylocker/project.properties
57 | Mylocker/project.properties
58 | Mylocker/project.properties
--------------------------------------------------------------------------------
/AudioPlayerDemo/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/AudioPlayerDemo/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | AudioPlayerDemo
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/AudioPlayerDemo/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding/=GBK
3 |
--------------------------------------------------------------------------------
/AudioPlayerDemo/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/AudioPlayerDemo/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
12 |
13 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/AudioPlayerDemo/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 use,
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 |
10 | # Project target.
11 | target=android-20
12 |
--------------------------------------------------------------------------------
/AudioPlayerDemo/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/AudioPlayerDemo/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/AudioPlayerDemo/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/AudioPlayerDemo/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/AudioPlayerDemo/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/AudioPlayerDemo/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/AudioPlayerDemo/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Hello World, AudioPlayerDemoActivity!
5 | AudioPlayerDemo
6 |
7 |
--------------------------------------------------------------------------------
/AudioPlayerDemo/src/com/genius/demo/AudioParam.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/AudioPlayerDemo/src/com/genius/demo/AudioParam.java
--------------------------------------------------------------------------------
/AudioPlayerDemo/src/com/genius/demo/AudioPlayer.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/AudioPlayerDemo/src/com/genius/demo/AudioPlayer.java
--------------------------------------------------------------------------------
/AudioPlayerDemo/src/com/genius/demo/AudioPlayerDemoActivity.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/AudioPlayerDemo/src/com/genius/demo/AudioPlayerDemoActivity.java
--------------------------------------------------------------------------------
/AudioPlayerDemo/src/com/genius/demo/IPlayComplete.java:
--------------------------------------------------------------------------------
1 | package com.genius.demo;
2 |
3 | public interface IPlayComplete {
4 |
5 | public void onPlayComplete();
6 |
7 | }
8 |
--------------------------------------------------------------------------------
/AudioPlayerDemo/src/com/genius/demo/PlayState.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/AudioPlayerDemo/src/com/genius/demo/PlayState.java
--------------------------------------------------------------------------------
/AudioPlayerDemo/音频数据/480X234_1700kbps.rm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/AudioPlayerDemo/音频数据/480X234_1700kbps.rm
--------------------------------------------------------------------------------
/AudioPlayerDemo/音频数据/readme.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/AudioPlayerDemo/音频数据/readme.txt
--------------------------------------------------------------------------------
/AudioPlayerDemo/音频数据/testmusic.pcm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/AudioPlayerDemo/音频数据/testmusic.pcm
--------------------------------------------------------------------------------
/Base/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Base/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | Base
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/Base/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/Base/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
10 |
11 |
16 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Base/README.md:
--------------------------------------------------------------------------------
1 | 开发程序的简单框架
2 |
--------------------------------------------------------------------------------
/Base/libs/N-ineOldAndroid-2.4.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/libs/N-ineOldAndroid-2.4.0.jar
--------------------------------------------------------------------------------
/Base/libs/android-support-v4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/libs/android-support-v4.jar
--------------------------------------------------------------------------------
/Base/libs/gson-2.3.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/libs/gson-2.3.1.jar
--------------------------------------------------------------------------------
/Base/libs/universal-image-loader-1.9.3.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/libs/universal-image-loader-1.9.3.jar
--------------------------------------------------------------------------------
/Base/proguard-project.txt:
--------------------------------------------------------------------------------
1 | # To enable ProGuard in your project, edit project.properties
2 | # to define the proguard.config property as described in that file.
3 | #
4 | # Add project specific ProGuard rules here.
5 | # By default, the flags in this file are appended to flags specified
6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt
7 | # You can edit the include path and order by changing the ProGuard
8 | # include property in project.properties.
9 | #
10 | # For more details, see
11 | # http://developer.android.com/guide/developing/tools/proguard.html
12 |
13 | # Add any project specific keep options here:
14 |
15 | # If your project uses WebView with JS, uncomment the following
16 | # and specify the fully qualified class name to the JavaScript interface
17 | # class:
18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
19 | # public *;
20 | #}
21 |
--------------------------------------------------------------------------------
/Base/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-20
15 |
--------------------------------------------------------------------------------
/Base/res/anim/slide_in_from_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
22 |
--------------------------------------------------------------------------------
/Base/res/anim/slide_in_from_top.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
22 |
--------------------------------------------------------------------------------
/Base/res/anim/slide_out_to_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
22 |
--------------------------------------------------------------------------------
/Base/res/anim/slide_out_to_top.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
22 |
--------------------------------------------------------------------------------
/Base/res/drawable-hdpi/base_empty_view.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-hdpi/base_empty_view.png
--------------------------------------------------------------------------------
/Base/res/drawable-hdpi/biz_pics_ic_back_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-hdpi/biz_pics_ic_back_normal.png
--------------------------------------------------------------------------------
/Base/res/drawable-hdpi/biz_pics_ic_back_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-hdpi/biz_pics_ic_back_pressed.png
--------------------------------------------------------------------------------
/Base/res/drawable-hdpi/default_ptr_flip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-hdpi/default_ptr_flip.png
--------------------------------------------------------------------------------
/Base/res/drawable-hdpi/default_ptr_rotate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-hdpi/default_ptr_rotate.png
--------------------------------------------------------------------------------
/Base/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Base/res/drawable-hdpi/indicator_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-hdpi/indicator_arrow.png
--------------------------------------------------------------------------------
/Base/res/drawable-hdpi/mm_title_btn_contact_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-hdpi/mm_title_btn_contact_normal.png
--------------------------------------------------------------------------------
/Base/res/drawable-hdpi/tab_address_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-hdpi/tab_address_normal.png
--------------------------------------------------------------------------------
/Base/res/drawable-hdpi/tab_find_frd_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-hdpi/tab_find_frd_normal.png
--------------------------------------------------------------------------------
/Base/res/drawable-hdpi/tab_settings_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-hdpi/tab_settings_normal.png
--------------------------------------------------------------------------------
/Base/res/drawable-hdpi/tab_weixin_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-hdpi/tab_weixin_normal.png
--------------------------------------------------------------------------------
/Base/res/drawable-mdpi/default_ptr_flip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-mdpi/default_ptr_flip.png
--------------------------------------------------------------------------------
/Base/res/drawable-mdpi/default_ptr_rotate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-mdpi/default_ptr_rotate.png
--------------------------------------------------------------------------------
/Base/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Base/res/drawable-mdpi/ic_menu_allfriends.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-mdpi/ic_menu_allfriends.png
--------------------------------------------------------------------------------
/Base/res/drawable-mdpi/ic_menu_cc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-mdpi/ic_menu_cc.png
--------------------------------------------------------------------------------
/Base/res/drawable-mdpi/ic_menu_emoticons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-mdpi/ic_menu_emoticons.png
--------------------------------------------------------------------------------
/Base/res/drawable-mdpi/ic_menu_friendslist.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-mdpi/ic_menu_friendslist.png
--------------------------------------------------------------------------------
/Base/res/drawable-mdpi/ic_menu_myplaces.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-mdpi/ic_menu_myplaces.png
--------------------------------------------------------------------------------
/Base/res/drawable-mdpi/ic_menu_start_conversation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-mdpi/ic_menu_start_conversation.png
--------------------------------------------------------------------------------
/Base/res/drawable-mdpi/indicator_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-mdpi/indicator_arrow.png
--------------------------------------------------------------------------------
/Base/res/drawable-xhdpi/default_ptr_flip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-xhdpi/default_ptr_flip.png
--------------------------------------------------------------------------------
/Base/res/drawable-xhdpi/default_ptr_rotate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-xhdpi/default_ptr_rotate.png
--------------------------------------------------------------------------------
/Base/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Base/res/drawable-xhdpi/indicator_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-xhdpi/indicator_arrow.png
--------------------------------------------------------------------------------
/Base/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Base/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Base/res/drawable/indicator_bg_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
11 |
17 |
18 |
--------------------------------------------------------------------------------
/Base/res/drawable/indicator_bg_top.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
11 |
17 |
18 |
--------------------------------------------------------------------------------
/Base/res/drawable/tabbg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Base/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 16dp
5 | 16dp
6 |
7 | 10dp
8 | 12dp
9 | 4dp
10 | 24dp
11 | 12dp
12 |
13 |
--------------------------------------------------------------------------------
/Base/res/values/ids.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Base/res/values/pull_refresh_strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 下拉刷新…
5 | 放开以刷新…
6 | 正在载入…
7 |
8 |
9 | @string/pull_to_refresh_pull_label
10 | @string/pull_to_refresh_release_label
11 | @string/pull_to_refresh_refreshing_label
12 |
13 |
--------------------------------------------------------------------------------
/Base/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | base
5 | Hello world!
6 | Settings
7 | 意见反馈
8 | 发起群聊
9 | 添加朋友
10 | 扫一扫
11 | 搜索
12 | 添加
13 | 微信
14 | 通讯录
15 | 发现
16 | 我
17 |
18 |
--------------------------------------------------------------------------------
/Base/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
14 |
15 |
16 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Base/src/com/base/db/Table.java:
--------------------------------------------------------------------------------
1 |
2 | package com.base.db;
3 |
4 | import java.lang.annotation.Retention;
5 | import java.lang.annotation.RetentionPolicy;
6 |
7 | /**
8 | * Annotation used for describing the name of table. If you use this notion for
9 | * a class, it will visible as a table name.
10 | */
11 | @Retention(RetentionPolicy.RUNTIME)
12 | public @interface Table {
13 | String name();
14 | }
15 |
--------------------------------------------------------------------------------
/Base/src/com/base/httpclient/core/HttpDelete.java:
--------------------------------------------------------------------------------
1 | package com.base.httpclient.core;
2 |
3 | /**
4 | * An HTTP DELETE request.
5 | *
6 | * @author David M. Chandler
7 | */
8 | public class HttpDelete extends HttpMethod {
9 |
10 | /**
11 | * Constructs an HTTP DELETE request.
12 | *
13 | * @param path Partial URL
14 | * @param params Name-value pairs to be appended to the URL
15 | */
16 | public HttpDelete(String path, ParameterList params) {
17 | super(path, params);
18 | this.methodType = MethodType.DELETE;
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/Base/src/com/base/httpclient/core/HttpGet.java:
--------------------------------------------------------------------------------
1 | package com.base.httpclient.core;
2 |
3 | /**
4 | * An HTTP GET request.
5 | *
6 | * @author David M. Chandler
7 | */
8 | public class HttpGet extends HttpMethod {
9 |
10 | /**
11 | * Constructs an HTTP GET request.
12 | *
13 | * @param path Partial URL
14 | * @param params Name-value pairs to be appended to the URL
15 | */
16 | public HttpGet(String path, ParameterList params) {
17 | super(path, params);
18 | this.methodType = MethodType.GET;
19 | }
20 |
21 | public HttpGet(String path, ParameterList params, boolean isUrlEncode) {
22 | super(path, params, isUrlEncode);
23 | this.methodType = MethodType.GET;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Base/src/com/base/httpclient/core/HttpHead.java:
--------------------------------------------------------------------------------
1 | package com.base.httpclient.core;
2 |
3 | /**
4 | * An HTTP HEAD request.
5 | *
6 | * @author David M. Chandler
7 | */
8 | public class HttpHead extends HttpMethod {
9 |
10 | /**
11 | * Constructs an HTTP HEAD request.
12 | *
13 | * @param path Partial URL
14 | * @param params Name-value pairs to be appended to the URL
15 | */
16 | public HttpHead(String path, ParameterList params) {
17 | super(path, params);
18 | this.methodType = MethodType.HEAD;
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/Base/src/com/base/httpclient/core/HttpRequestException.java:
--------------------------------------------------------------------------------
1 |
2 | package com.base.httpclient.core;
3 |
4 | /**
5 | * Custom exception class that holds an {@link HttpResponse}. This allows
6 | * upstream code to receive an HTTP status code and any content received as well
7 | * as the underlying exception.
8 | *
9 | * @author David M. Chandler
10 | */
11 | public class HttpRequestException extends Exception {
12 |
13 | private static final long serialVersionUID = -2413629666163901633L;
14 |
15 |
16 | public static int TIME_OUT_EXCEPTION = 1;
17 | public static int OTHER_EXCEPTION = 2;
18 |
19 | private int exceptionCode;
20 |
21 | /**
22 | * Constructs the exception with
23 | *
24 | * @param e
25 | * @param httpResponse
26 | */
27 | public HttpRequestException(Exception e,int exceptionCode) {
28 | super(e);
29 | this.exceptionCode = exceptionCode;
30 | }
31 |
32 | public int getExceptionCode(){
33 | return exceptionCode;
34 | }
35 |
36 | public boolean isTimeOutException(){
37 | return exceptionCode == TIME_OUT_EXCEPTION;
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/Base/src/com/base/httpclient/core/MethodType.java:
--------------------------------------------------------------------------------
1 | package com.base.httpclient.core;
2 |
3 | /**
4 | * Enumerated type that represents an HTTP request method.
5 | * Besides the method name, it determines whether the client
6 | * should do the output phase of the connection.
7 | *
8 | * @author David M. Chandler
9 | */
10 | public enum MethodType {
11 | GET(true, false),
12 | POST(true, true),
13 | PUT(true, true),
14 | DELETE(true, false),
15 | HEAD(false, false);
16 |
17 | private boolean doInput;
18 | private boolean doOutput;
19 |
20 | private MethodType(boolean doInput, boolean doOutput) {
21 | this.doInput = doInput;
22 | this.doOutput = doOutput;
23 | }
24 |
25 | public boolean getDoInput() {
26 | return doInput;
27 | }
28 |
29 | /**
30 | * Whether the client should do the write phase, or just read
31 | *
32 | * @return doOutput
33 | */
34 | public boolean getDoOutput() {
35 | return this.doOutput;
36 | }
37 |
38 | /**
39 | * Accessor method.
40 | *
41 | * @return HTTP method name (GET, PUT, POST, DELETE)
42 | */
43 | public String getMethodName() {
44 | return this.toString();
45 | }
46 |
47 | }
48 |
--------------------------------------------------------------------------------
/Base/src/com/base/utils/ConsUtil.java:
--------------------------------------------------------------------------------
1 | package com.base.utils;
2 |
3 | public class ConsUtil {
4 | /** 文件已存在 **/
5 | public static final int what_exitfile = 1;
6 | /** 下载文件成功 **/
7 | public static final int what_loadsuccessful = 2;
8 | /** 下载文件失败 **/
9 | public static final int what_loadfail = 3;
10 | /** 下载文件进度 **/
11 | public static final int what_progress = 4;
12 | }
13 |
--------------------------------------------------------------------------------
/Base/src/com/base/utils/KeyBoardUtils.java:
--------------------------------------------------------------------------------
1 | package com.base.utils;
2 |
3 | import android.content.Context;
4 | import android.view.inputmethod.InputMethodManager;
5 | import android.widget.EditText;
6 |
7 | /**
8 | * 打开或关闭软键盘
9 | *
10 | * @author zhy
11 | *
12 | */
13 | public class KeyBoardUtils
14 | {
15 | /**
16 | * 打卡软键盘
17 | *
18 | * @param mEditText
19 | * 输入框
20 | * @param mContext
21 | * 上下文
22 | */
23 | public static void openKeybord(EditText mEditText, Context mContext)
24 | {
25 | InputMethodManager imm = (InputMethodManager) mContext
26 | .getSystemService(Context.INPUT_METHOD_SERVICE);
27 | imm.showSoftInput(mEditText, InputMethodManager.RESULT_SHOWN);
28 | imm.toggleSoftInput(InputMethodManager.SHOW_FORCED,
29 | InputMethodManager.HIDE_IMPLICIT_ONLY);
30 | }
31 |
32 | /**
33 | * 关闭软键盘
34 | *
35 | * @param mEditText
36 | * 输入框
37 | * @param mContext
38 | * 上下文
39 | */
40 | public static void closeKeybord(EditText mEditText, Context mContext)
41 | {
42 | InputMethodManager imm = (InputMethodManager) mContext
43 | .getSystemService(Context.INPUT_METHOD_SERVICE);
44 |
45 | imm.hideSoftInputFromWindow(mEditText.getWindowToken(), 0);
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/Base/src/com/base/utils/LogUtil.java:
--------------------------------------------------------------------------------
1 | package com.base.utils;
2 |
3 | import android.util.Log;
4 |
5 | public class LogUtil {
6 |
7 | public static boolean ISDEBUG = true;
8 | public static String DEFAULT_TAG = "test";
9 |
10 | public static void e(String tag, String msg) {
11 | if (ISDEBUG) {
12 | Log.e(tag, msg);
13 | }
14 | }
15 |
16 | public static void d(String tag, String msg) {
17 | if (ISDEBUG) {
18 | Log.d(tag, msg);
19 | }
20 | }
21 |
22 | public static void e(String msg) {
23 | if (ISDEBUG) {
24 | Log.e(DEFAULT_TAG, msg);
25 | }
26 | }
27 |
28 | public static void d(String msg) {
29 | if (ISDEBUG) {
30 | Log.d(DEFAULT_TAG, msg);
31 | }
32 | }
33 |
34 | public static void d(String message, Object... args) {
35 | if (ISDEBUG) {
36 | d(String.format(message, args));
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/Base/src/com/base/view/common/MarqueeTextView.java:
--------------------------------------------------------------------------------
1 | package com.base.view.common;
2 |
3 | import android.content.Context;
4 | import android.text.TextUtils.TruncateAt;
5 | import android.util.AttributeSet;
6 | import android.widget.TextView;
7 |
8 | public class MarqueeTextView extends TextView {
9 |
10 | public MarqueeTextView(Context context, AttributeSet attrs, int defStyle) {
11 | super(context, attrs, defStyle);
12 | setEllipsize(TruncateAt.MARQUEE);
13 | setSingleLine();
14 | setMarqueeRepeatLimit(-1);
15 | }
16 |
17 | public MarqueeTextView(Context context, AttributeSet attrs) {
18 | super(context, attrs);
19 | setEllipsize(TruncateAt.MARQUEE);
20 | setSingleLine();
21 | setMarqueeRepeatLimit(-1);
22 | }
23 |
24 | public MarqueeTextView(Context context) {
25 | super(context);
26 | setEllipsize(TruncateAt.MARQUEE);
27 | setSingleLine();
28 | setMarqueeRepeatLimit(-1);
29 | }
30 |
31 | @Override
32 | public boolean isFocused() {
33 | return true;
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/Base/src/com/base/view/pulltorefresh/internal/Utils.java:
--------------------------------------------------------------------------------
1 | package com.base.view.pulltorefresh.internal;
2 |
3 | import android.util.Log;
4 |
5 | public class Utils {
6 |
7 | static final String LOG_TAG = "PullToRefresh";
8 |
9 | public static void warnDeprecation(String depreacted, String replacement) {
10 | Log.w(LOG_TAG, "You're using the deprecated " + depreacted + " attr, please switch over to " + replacement);
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/Base/src/com/honghe/demo/fragment/TabFragment.java:
--------------------------------------------------------------------------------
1 | package com.honghe.demo.fragment;
2 |
3 | import android.graphics.Color;
4 | import android.os.Bundle;
5 | import android.support.v4.app.Fragment;
6 | import android.view.Gravity;
7 | import android.view.LayoutInflater;
8 | import android.view.View;
9 | import android.view.ViewGroup;
10 | import android.widget.TextView;
11 |
12 | public class TabFragment extends Fragment
13 | {
14 | private String mTitle = "Default";
15 |
16 |
17 | public TabFragment()
18 | {
19 | }
20 |
21 | @Override
22 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
23 | Bundle savedInstanceState)
24 | {
25 | if (getArguments() != null)
26 | {
27 | mTitle = getArguments().getString("title");
28 | }
29 |
30 | TextView textView = new TextView(getActivity());
31 | textView.setTextSize(20);
32 | textView.setBackgroundColor(Color.parseColor("#ffffffff"));
33 | textView.setGravity(Gravity.CENTER);
34 | textView.setText(mTitle);
35 | return textView;
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/DigitalView/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/DigitalView/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | DigitalView
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/DigitalView/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding/=gbk
3 |
--------------------------------------------------------------------------------
/DigitalView/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/DigitalView/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
10 |
11 |
16 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/DigitalView/ic_launcher-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/ic_launcher-web.png
--------------------------------------------------------------------------------
/DigitalView/libs/android-support-v4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/libs/android-support-v4.jar
--------------------------------------------------------------------------------
/DigitalView/proguard-project.txt:
--------------------------------------------------------------------------------
1 | # To enable ProGuard in your project, edit project.properties
2 | # to define the proguard.config property as described in that file.
3 | #
4 | # Add project specific ProGuard rules here.
5 | # By default, the flags in this file are appended to flags specified
6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt
7 | # You can edit the include path and order by changing the ProGuard
8 | # include property in project.properties.
9 | #
10 | # For more details, see
11 | # http://developer.android.com/guide/developing/tools/proguard.html
12 |
13 | # Add any project specific keep options here:
14 |
15 | # If your project uses WebView with JS, uncomment the following
16 | # and specify the fully qualified class name to the JavaScript interface
17 | # class:
18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
19 | # public *;
20 | #}
21 |
--------------------------------------------------------------------------------
/DigitalView/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-22
15 |
--------------------------------------------------------------------------------
/DigitalView/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/DigitalView/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/DigitalView/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/DigitalView/res/drawable-xxhdpi/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/res/drawable-xxhdpi/.DS_Store
--------------------------------------------------------------------------------
/DigitalView/res/drawable-xxhdpi/blank217x324.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/res/drawable-xxhdpi/blank217x324.png
--------------------------------------------------------------------------------
/DigitalView/res/drawable-xxhdpi/eight217x324.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/res/drawable-xxhdpi/eight217x324.png
--------------------------------------------------------------------------------
/DigitalView/res/drawable-xxhdpi/five217x324.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/res/drawable-xxhdpi/five217x324.png
--------------------------------------------------------------------------------
/DigitalView/res/drawable-xxhdpi/four217x324.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/res/drawable-xxhdpi/four217x324.png
--------------------------------------------------------------------------------
/DigitalView/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/DigitalView/res/drawable-xxhdpi/minus217x324.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/res/drawable-xxhdpi/minus217x324.png
--------------------------------------------------------------------------------
/DigitalView/res/drawable-xxhdpi/nine217x324.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/res/drawable-xxhdpi/nine217x324.png
--------------------------------------------------------------------------------
/DigitalView/res/drawable-xxhdpi/one217x324.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/res/drawable-xxhdpi/one217x324.png
--------------------------------------------------------------------------------
/DigitalView/res/drawable-xxhdpi/seven217x324.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/res/drawable-xxhdpi/seven217x324.png
--------------------------------------------------------------------------------
/DigitalView/res/drawable-xxhdpi/six217x324.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/res/drawable-xxhdpi/six217x324.png
--------------------------------------------------------------------------------
/DigitalView/res/drawable-xxhdpi/three217x324.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/res/drawable-xxhdpi/three217x324.png
--------------------------------------------------------------------------------
/DigitalView/res/drawable-xxhdpi/two217x324.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/res/drawable-xxhdpi/two217x324.png
--------------------------------------------------------------------------------
/DigitalView/res/drawable-xxhdpi/zero217x324.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/res/drawable-xxhdpi/zero217x324.png
--------------------------------------------------------------------------------
/DigitalView/res/menu/main.xml:
--------------------------------------------------------------------------------
1 |
10 |
--------------------------------------------------------------------------------
/DigitalView/res/values-sw600dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/DigitalView/res/values-sw720dp-land/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 | 128dp
8 |
9 |
10 |
--------------------------------------------------------------------------------
/DigitalView/res/values-v11/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/DigitalView/res/values-v14/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/DigitalView/res/values/attr.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/DigitalView/res/values/digitalattr.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/DigitalView/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 16dp
5 | 16dp
6 |
7 |
8 |
--------------------------------------------------------------------------------
/DigitalView/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | CustomDigitalView
5 | Settings
6 | Hello world!
7 |
8 |
9 |
--------------------------------------------------------------------------------
/DigitalView/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
14 |
15 |
16 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/DigitalView/src/com/example/customview01/view/CustomTitleView.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/src/com/example/customview01/view/CustomTitleView.java
--------------------------------------------------------------------------------
/DigitalView/src/com/example/customview01/view/DigitalView.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/DigitalView/src/com/example/customview01/view/DigitalView.java
--------------------------------------------------------------------------------
/Mylocker.apk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker.apk
--------------------------------------------------------------------------------
/Mylocker/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Mylocker/.gitignore:
--------------------------------------------------------------------------------
1 | /bin
2 | /gen
--------------------------------------------------------------------------------
/Mylocker/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | Mylocker
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/Mylocker/README.md:
--------------------------------------------------------------------------------
1 | 我的储物柜
2 |
--------------------------------------------------------------------------------
/Mylocker/honghe.key:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/honghe.key
--------------------------------------------------------------------------------
/Mylocker/libs/N-ineOldAndroid-2.4.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/libs/N-ineOldAndroid-2.4.0.jar
--------------------------------------------------------------------------------
/Mylocker/libs/android-support-v4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/libs/android-support-v4.jar
--------------------------------------------------------------------------------
/Mylocker/libs/gson-2.3.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/libs/gson-2.3.1.jar
--------------------------------------------------------------------------------
/Mylocker/libs/universal-image-loader-1.9.3.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/libs/universal-image-loader-1.9.3.jar
--------------------------------------------------------------------------------
/Mylocker/proguard-project.txt:
--------------------------------------------------------------------------------
1 | # To enable ProGuard in your project, edit project.properties
2 | # to define the proguard.config property as described in that file.
3 | #
4 | # Add project specific ProGuard rules here.
5 | # By default, the flags in this file are appended to flags specified
6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt
7 | # You can edit the include path and order by changing the ProGuard
8 | # include property in project.properties.
9 | #
10 | # For more details, see
11 | # http://developer.android.com/guide/developing/tools/proguard.html
12 |
13 | # Add any project specific keep options here:
14 |
15 | # If your project uses WebView with JS, uncomment the following
16 | # and specify the fully qualified class name to the JavaScript interface
17 | # class:
18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
19 | # public *;
20 | #}
21 |
--------------------------------------------------------------------------------
/Mylocker/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-22
15 |
--------------------------------------------------------------------------------
/Mylocker/res/anim/slide_in_from_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
22 |
--------------------------------------------------------------------------------
/Mylocker/res/anim/slide_in_from_top.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
22 |
--------------------------------------------------------------------------------
/Mylocker/res/anim/slide_out_to_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
22 |
--------------------------------------------------------------------------------
/Mylocker/res/anim/slide_out_to_top.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
22 |
--------------------------------------------------------------------------------
/Mylocker/res/drawable-hdpi/base_empty_view.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-hdpi/base_empty_view.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-hdpi/biz_pics_ic_back_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-hdpi/biz_pics_ic_back_normal.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-hdpi/biz_pics_ic_back_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-hdpi/biz_pics_ic_back_pressed.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-hdpi/default_ptr_flip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-hdpi/default_ptr_flip.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-hdpi/default_ptr_rotate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-hdpi/default_ptr_rotate.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-hdpi/indicator_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-hdpi/indicator_arrow.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-hdpi/mm_title_btn_contact_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-hdpi/mm_title_btn_contact_normal.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-hdpi/tab_address_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-hdpi/tab_address_normal.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-hdpi/tab_find_frd_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-hdpi/tab_find_frd_normal.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-hdpi/tab_settings_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-hdpi/tab_settings_normal.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-hdpi/tab_weixin_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-hdpi/tab_weixin_normal.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-mdpi/default_ptr_flip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-mdpi/default_ptr_flip.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-mdpi/default_ptr_rotate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-mdpi/default_ptr_rotate.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-mdpi/ic_menu_allfriends.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-mdpi/ic_menu_allfriends.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-mdpi/ic_menu_cc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-mdpi/ic_menu_cc.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-mdpi/ic_menu_emoticons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-mdpi/ic_menu_emoticons.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-mdpi/ic_menu_friendslist.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-mdpi/ic_menu_friendslist.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-mdpi/ic_menu_myplaces.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-mdpi/ic_menu_myplaces.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-mdpi/ic_menu_start_conversation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-mdpi/ic_menu_start_conversation.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-mdpi/indicator_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-mdpi/indicator_arrow.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-xhdpi/default_ptr_flip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-xhdpi/default_ptr_flip.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-xhdpi/default_ptr_rotate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-xhdpi/default_ptr_rotate.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-xhdpi/icon_add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-xhdpi/icon_add.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-xhdpi/imageposition.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-xhdpi/imageposition.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-xhdpi/indicator_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-xhdpi/indicator_arrow.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-xhdpi/navbar_back_n.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-xhdpi/navbar_back_n.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-xhdpi/navbar_back_p.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-xhdpi/navbar_back_p.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Mylocker/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Mylocker/res/drawable/btn_title_backnew.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Mylocker/res/drawable/indicator_bg_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
11 |
17 |
18 |
--------------------------------------------------------------------------------
/Mylocker/res/drawable/indicator_bg_top.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
11 |
17 |
18 |
--------------------------------------------------------------------------------
/Mylocker/res/drawable/tabbg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Mylocker/res/layout/activity_add_lockers.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
13 |
14 |
19 |
20 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Mylocker/res/layout/activity_lockers_detail.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Mylocker/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
11 |
12 |
17 |
18 |
19 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Mylocker/res/layout/item_classification.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
12 |
13 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Mylocker/res/layout/item_lockers.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
14 |
15 |
23 |
24 |
--------------------------------------------------------------------------------
/Mylocker/res/values/array.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | - 拍照
6 | - 相册
7 |
8 |
9 | - 编辑
10 | - 删除
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Mylocker/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | #f13c4d
5 |
6 |
--------------------------------------------------------------------------------
/Mylocker/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 16dp
5 | 16dp
6 |
7 | 10dp
8 | 12dp
9 | 4dp
10 | 24dp
11 | 12dp
12 |
13 |
--------------------------------------------------------------------------------
/Mylocker/res/values/ids.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Mylocker/res/values/pull_refresh_strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 下拉刷新…
5 | 放开以刷新…
6 | 正在载入…
7 |
8 |
9 | @string/pull_to_refresh_pull_label
10 | @string/pull_to_refresh_release_label
11 | @string/pull_to_refresh_refreshing_label
12 |
13 |
--------------------------------------------------------------------------------
/Mylocker/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 储物柜
5 | Hello world!
6 | Settings
7 | 意见反馈
8 | 发起群聊
9 | 添加朋友
10 | 扫一扫
11 | 搜索
12 | 添加
13 | 微信
14 | 通讯录
15 | 发现
16 | 我
17 |
18 |
--------------------------------------------------------------------------------
/Mylocker/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
14 |
15 |
16 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Mylocker/src/com/base/db/Table.java:
--------------------------------------------------------------------------------
1 |
2 | package com.base.db;
3 |
4 | import java.lang.annotation.Retention;
5 | import java.lang.annotation.RetentionPolicy;
6 |
7 | /**
8 | * Annotation used for describing the name of table. If you use this notion for
9 | * a class, it will visible as a table name.
10 | */
11 | @Retention(RetentionPolicy.RUNTIME)
12 | public @interface Table {
13 | String name();
14 | }
15 |
--------------------------------------------------------------------------------
/Mylocker/src/com/base/httpclient/core/HttpDelete.java:
--------------------------------------------------------------------------------
1 | package com.base.httpclient.core;
2 |
3 | /**
4 | * An HTTP DELETE request.
5 | *
6 | * @author David M. Chandler
7 | */
8 | public class HttpDelete extends HttpMethod {
9 |
10 | /**
11 | * Constructs an HTTP DELETE request.
12 | *
13 | * @param path Partial URL
14 | * @param params Name-value pairs to be appended to the URL
15 | */
16 | public HttpDelete(String path, ParameterList params) {
17 | super(path, params);
18 | this.methodType = MethodType.DELETE;
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/Mylocker/src/com/base/httpclient/core/HttpGet.java:
--------------------------------------------------------------------------------
1 | package com.base.httpclient.core;
2 |
3 | /**
4 | * An HTTP GET request.
5 | *
6 | * @author David M. Chandler
7 | */
8 | public class HttpGet extends HttpMethod {
9 |
10 | /**
11 | * Constructs an HTTP GET request.
12 | *
13 | * @param path Partial URL
14 | * @param params Name-value pairs to be appended to the URL
15 | */
16 | public HttpGet(String path, ParameterList params) {
17 | super(path, params);
18 | this.methodType = MethodType.GET;
19 | }
20 |
21 | public HttpGet(String path, ParameterList params, boolean isUrlEncode) {
22 | super(path, params, isUrlEncode);
23 | this.methodType = MethodType.GET;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Mylocker/src/com/base/httpclient/core/HttpHead.java:
--------------------------------------------------------------------------------
1 | package com.base.httpclient.core;
2 |
3 | /**
4 | * An HTTP HEAD request.
5 | *
6 | * @author David M. Chandler
7 | */
8 | public class HttpHead extends HttpMethod {
9 |
10 | /**
11 | * Constructs an HTTP HEAD request.
12 | *
13 | * @param path Partial URL
14 | * @param params Name-value pairs to be appended to the URL
15 | */
16 | public HttpHead(String path, ParameterList params) {
17 | super(path, params);
18 | this.methodType = MethodType.HEAD;
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/Mylocker/src/com/base/httpclient/core/HttpRequestException.java:
--------------------------------------------------------------------------------
1 |
2 | package com.base.httpclient.core;
3 |
4 | /**
5 | * Custom exception class that holds an {@link HttpResponse}. This allows
6 | * upstream code to receive an HTTP status code and any content received as well
7 | * as the underlying exception.
8 | *
9 | * @author David M. Chandler
10 | */
11 | public class HttpRequestException extends Exception {
12 |
13 | private static final long serialVersionUID = -2413629666163901633L;
14 |
15 |
16 | public static int TIME_OUT_EXCEPTION = 1;
17 | public static int OTHER_EXCEPTION = 2;
18 |
19 | private int exceptionCode;
20 |
21 | /**
22 | * Constructs the exception with
23 | *
24 | * @param e
25 | * @param httpResponse
26 | */
27 | public HttpRequestException(Exception e,int exceptionCode) {
28 | super(e);
29 | this.exceptionCode = exceptionCode;
30 | }
31 |
32 | public int getExceptionCode(){
33 | return exceptionCode;
34 | }
35 |
36 | public boolean isTimeOutException(){
37 | return exceptionCode == TIME_OUT_EXCEPTION;
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/Mylocker/src/com/base/httpclient/core/MethodType.java:
--------------------------------------------------------------------------------
1 | package com.base.httpclient.core;
2 |
3 | /**
4 | * Enumerated type that represents an HTTP request method.
5 | * Besides the method name, it determines whether the client
6 | * should do the output phase of the connection.
7 | *
8 | * @author David M. Chandler
9 | */
10 | public enum MethodType {
11 | GET(true, false),
12 | POST(true, true),
13 | PUT(true, true),
14 | DELETE(true, false),
15 | HEAD(false, false);
16 |
17 | private boolean doInput;
18 | private boolean doOutput;
19 |
20 | private MethodType(boolean doInput, boolean doOutput) {
21 | this.doInput = doInput;
22 | this.doOutput = doOutput;
23 | }
24 |
25 | public boolean getDoInput() {
26 | return doInput;
27 | }
28 |
29 | /**
30 | * Whether the client should do the write phase, or just read
31 | *
32 | * @return doOutput
33 | */
34 | public boolean getDoOutput() {
35 | return this.doOutput;
36 | }
37 |
38 | /**
39 | * Accessor method.
40 | *
41 | * @return HTTP method name (GET, PUT, POST, DELETE)
42 | */
43 | public String getMethodName() {
44 | return this.toString();
45 | }
46 |
47 | }
48 |
--------------------------------------------------------------------------------
/Mylocker/src/com/base/utils/ConsUtil.java:
--------------------------------------------------------------------------------
1 | package com.base.utils;
2 |
3 | public class ConsUtil {
4 | /** 文件已存在 **/
5 | public static final int what_exitfile = 1;
6 | /** 下载文件成功 **/
7 | public static final int what_loadsuccessful = 2;
8 | /** 下载文件失败 **/
9 | public static final int what_loadfail = 3;
10 | /** 下载文件进度 **/
11 | public static final int what_progress = 4;
12 | }
13 |
--------------------------------------------------------------------------------
/Mylocker/src/com/base/utils/KeyBoardUtils.java:
--------------------------------------------------------------------------------
1 | package com.base.utils;
2 |
3 | import android.content.Context;
4 | import android.view.inputmethod.InputMethodManager;
5 | import android.widget.EditText;
6 |
7 | /**
8 | * 打开或关闭软键盘
9 | *
10 | * @author zhy
11 | *
12 | */
13 | public class KeyBoardUtils
14 | {
15 | /**
16 | * 打卡软键盘
17 | *
18 | * @param mEditText
19 | * 输入框
20 | * @param mContext
21 | * 上下文
22 | */
23 | public static void openKeybord(EditText mEditText, Context mContext)
24 | {
25 | InputMethodManager imm = (InputMethodManager) mContext
26 | .getSystemService(Context.INPUT_METHOD_SERVICE);
27 | imm.showSoftInput(mEditText, InputMethodManager.RESULT_SHOWN);
28 | imm.toggleSoftInput(InputMethodManager.SHOW_FORCED,
29 | InputMethodManager.HIDE_IMPLICIT_ONLY);
30 | }
31 |
32 | /**
33 | * 关闭软键盘
34 | *
35 | * @param mEditText
36 | * 输入框
37 | * @param mContext
38 | * 上下文
39 | */
40 | public static void closeKeybord(EditText mEditText, Context mContext)
41 | {
42 | InputMethodManager imm = (InputMethodManager) mContext
43 | .getSystemService(Context.INPUT_METHOD_SERVICE);
44 |
45 | imm.hideSoftInputFromWindow(mEditText.getWindowToken(), 0);
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/Mylocker/src/com/base/utils/LogUtil.java:
--------------------------------------------------------------------------------
1 | package com.base.utils;
2 |
3 | import android.util.Log;
4 |
5 | public class LogUtil {
6 |
7 | public static boolean ISDEBUG = true;
8 | public static String DEFAULT_TAG = "test";
9 |
10 | public static void e(String tag, String msg) {
11 | if (ISDEBUG) {
12 | Log.e(tag, msg);
13 | }
14 | }
15 |
16 | public static void d(String tag, String msg) {
17 | if (ISDEBUG) {
18 | Log.d(tag, msg);
19 | }
20 | }
21 |
22 | public static void e(String msg) {
23 | if (ISDEBUG) {
24 | Log.e(DEFAULT_TAG, msg);
25 | }
26 | }
27 |
28 | public static void d(String msg) {
29 | if (ISDEBUG) {
30 | Log.d(DEFAULT_TAG, msg);
31 | }
32 | }
33 |
34 | public static void d(String message, Object... args) {
35 | if (ISDEBUG) {
36 | d(String.format(message, args));
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/Mylocker/src/com/base/view/common/MarqueeTextView.java:
--------------------------------------------------------------------------------
1 | package com.base.view.common;
2 |
3 | import android.content.Context;
4 | import android.text.TextUtils.TruncateAt;
5 | import android.util.AttributeSet;
6 | import android.widget.TextView;
7 |
8 | public class MarqueeTextView extends TextView {
9 |
10 | public MarqueeTextView(Context context, AttributeSet attrs, int defStyle) {
11 | super(context, attrs, defStyle);
12 | setEllipsize(TruncateAt.MARQUEE);
13 | setSingleLine();
14 | setMarqueeRepeatLimit(-1);
15 | }
16 |
17 | public MarqueeTextView(Context context, AttributeSet attrs) {
18 | super(context, attrs);
19 | setEllipsize(TruncateAt.MARQUEE);
20 | setSingleLine();
21 | setMarqueeRepeatLimit(-1);
22 | }
23 |
24 | public MarqueeTextView(Context context) {
25 | super(context);
26 | setEllipsize(TruncateAt.MARQUEE);
27 | setSingleLine();
28 | setMarqueeRepeatLimit(-1);
29 | }
30 |
31 | @Override
32 | public boolean isFocused() {
33 | return true;
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/Mylocker/src/com/base/view/pulltorefresh/internal/Utils.java:
--------------------------------------------------------------------------------
1 | package com.base.view.pulltorefresh.internal;
2 |
3 | import android.util.Log;
4 |
5 | public class Utils {
6 |
7 | static final String LOG_TAG = "PullToRefresh";
8 |
9 | public static void warnDeprecation(String depreacted, String replacement) {
10 | Log.w(LOG_TAG, "You're using the deprecated " + depreacted + " attr, please switch over to " + replacement);
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/Mylocker/src/com/honghe/MyLockers/activity/AddClassificationActivity.java:
--------------------------------------------------------------------------------
1 | package com.honghe.MyLockers.activity;
2 |
3 | import com.honghe.MyLockers.TitleActivity;
4 |
5 | public class AddClassificationActivity extends TitleActivity {
6 |
7 | @Override
8 | protected void initView() {
9 | // TODO Auto-generated method stub
10 |
11 | }
12 |
13 | @Override
14 | protected void initData() {
15 | // TODO Auto-generated method stub
16 |
17 | }
18 |
19 | @Override
20 | protected void setListener() {
21 | // TODO Auto-generated method stub
22 |
23 | }
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/Mylocker/src/com/honghe/MyLockers/activity/ClassificationDetailActivity.java:
--------------------------------------------------------------------------------
1 | package com.honghe.MyLockers.activity;
2 |
3 | import com.honghe.MyLockers.TitleActivity;
4 |
5 | public class ClassificationDetailActivity extends TitleActivity {
6 |
7 | @Override
8 | protected void initView() {
9 | // TODO Auto-generated method stub
10 |
11 | }
12 |
13 | @Override
14 | protected void initData() {
15 | // TODO Auto-generated method stub
16 |
17 | }
18 |
19 | @Override
20 | protected void setListener() {
21 | // TODO Auto-generated method stub
22 |
23 | }
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/Mylocker/src/com/honghe/MyLockers/app/Myapplicaion.java:
--------------------------------------------------------------------------------
1 | package com.honghe.MyLockers.app;
2 |
3 | import com.honghe.MyLockers.util.ConsUtil;
4 |
5 | import android.app.Application;
6 |
7 | public class Myapplicaion extends Application {
8 |
9 | @Override
10 | public void onCreate() {
11 | super.onCreate();
12 | ConsUtil.initImageloader(getApplicationContext());
13 | }
14 |
15 | }
16 |
--------------------------------------------------------------------------------
/Mylocker/src/com/honghe/MyLockers/bean/ClassificationBean.java:
--------------------------------------------------------------------------------
1 | package com.honghe.MyLockers.bean;
2 |
3 | import org.json.JSONObject;
4 |
5 | import android.content.ContentValues;
6 | import android.database.Cursor;
7 |
8 | import com.base.bean.BaseBean;
9 |
10 | public class ClassificationBean extends BaseBean {
11 | private static final long serialVersionUID = 1L;
12 | public String Id;
13 | public String ImageUri;
14 | public String ClassificationName;
15 | public String count;
16 |
17 | @Override
18 | public ClassificationBean parseJSON(JSONObject jsonObj) {
19 | // TODO Auto-generated method stub
20 | return null;
21 | }
22 |
23 | @Override
24 | public JSONObject toJSON() {
25 | // TODO Auto-generated method stub
26 | return null;
27 | }
28 |
29 | @Override
30 | public ClassificationBean cursorToBean(Cursor cursor) {
31 | // TODO Auto-generated method stub
32 | return null;
33 | }
34 |
35 | @Override
36 | public ContentValues beanToValues() {
37 | // TODO Auto-generated method stub
38 | return null;
39 | }
40 |
41 | }
42 |
--------------------------------------------------------------------------------
/Mylocker/src/com/honghe/MyLockers/db/HongheProvider.java:
--------------------------------------------------------------------------------
1 | package com.honghe.MyLockers.db;
2 |
3 | import com.base.db.DBConfig;
4 | import com.base.db.IssContentProvider;
5 | import com.base.db.IssDBFactory;
6 | import com.honghe.MyLockers.bean.LockersBean;
7 | import com.honghe.MyLockers.bean.LockersDetailBean;
8 |
9 |
10 | public class HongheProvider extends IssContentProvider {
11 |
12 | @Override
13 | public void init() {
14 | DBConfig config = new DBConfig.Builder()
15 | .setName("mylocker.db")
16 | .setVersion(1)
17 | .setAuthority("com.honghe.mylocker")
18 | .addTatble(LockersBean.class)
19 | .addTatble(LockersDetailBean.class)
20 | .build();
21 | IssDBFactory.init(getContext(), config);
22 | }
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/Mylocker/src/com/honghe/MyLockers/dialog/AskDialog.java:
--------------------------------------------------------------------------------
1 | package com.honghe.MyLockers.dialog;
2 |
3 | import android.content.Context;
4 |
5 | import com.base.app.AbsDialog;
6 |
7 | public class AskDialog extends AbsDialog {
8 |
9 | public AskDialog(Context context) {
10 | super(context);
11 | // TODO Auto-generated constructor stub
12 | }
13 |
14 | @Override
15 | protected void initView() {
16 | // TODO Auto-generated method stub
17 |
18 | }
19 |
20 | @Override
21 | protected void initData() {
22 | // TODO Auto-generated method stub
23 |
24 | }
25 |
26 | @Override
27 | protected void setListener() {
28 | // TODO Auto-generated method stub
29 |
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/NavDemo/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/NavDemo/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | NavDemo
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/NavDemo/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding/=UTF-8
3 |
--------------------------------------------------------------------------------
/NavDemo/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/NavDemo/ic_launcher-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/NavDemo/ic_launcher-web.png
--------------------------------------------------------------------------------
/NavDemo/libs/AMap_3DMap_V2.4.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/NavDemo/libs/AMap_3DMap_V2.4.1.jar
--------------------------------------------------------------------------------
/NavDemo/libs/Android_Location_V1.3.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/NavDemo/libs/Android_Location_V1.3.2.jar
--------------------------------------------------------------------------------
/NavDemo/libs/Android_Navi_V1.1.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/NavDemo/libs/Android_Navi_V1.1.2.jar
--------------------------------------------------------------------------------
/NavDemo/libs/Msc.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/NavDemo/libs/Msc.jar
--------------------------------------------------------------------------------
/NavDemo/libs/android-support-v4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/NavDemo/libs/android-support-v4.jar
--------------------------------------------------------------------------------
/NavDemo/libs/armeabi/libamapv304.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/NavDemo/libs/armeabi/libamapv304.so
--------------------------------------------------------------------------------
/NavDemo/libs/armeabi/libamapv304ex.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/NavDemo/libs/armeabi/libamapv304ex.so
--------------------------------------------------------------------------------
/NavDemo/libs/armeabi/libmsc.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/NavDemo/libs/armeabi/libmsc.so
--------------------------------------------------------------------------------
/NavDemo/libs/armeabi/libtbt.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/NavDemo/libs/armeabi/libtbt.so
--------------------------------------------------------------------------------
/NavDemo/libs/armeabi/libwtbt.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/NavDemo/libs/armeabi/libwtbt.so
--------------------------------------------------------------------------------
/NavDemo/proguard-project.txt:
--------------------------------------------------------------------------------
1 | # To enable ProGuard in your project, edit project.properties
2 | # to define the proguard.config property as described in that file.
3 | #
4 | # Add project specific ProGuard rules here.
5 | # By default, the flags in this file are appended to flags specified
6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt
7 | # You can edit the include path and order by changing the ProGuard
8 | # include property in project.properties.
9 | #
10 | # For more details, see
11 | # http://developer.android.com/guide/developing/tools/proguard.html
12 |
13 | # Add any project specific keep options here:
14 |
15 | # If your project uses WebView with JS, uncomment the following
16 | # and specify the fully qualified class name to the JavaScript interface
17 | # class:
18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
19 | # public *;
20 | #}
21 |
--------------------------------------------------------------------------------
/NavDemo/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-22
15 |
--------------------------------------------------------------------------------
/NavDemo/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/NavDemo/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/NavDemo/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/NavDemo/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/NavDemo/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/NavDemo/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/NavDemo/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/NavDemo/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/NavDemo/res/layout/activity_simple_hud.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
18 |
19 |
--------------------------------------------------------------------------------
/NavDemo/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 16dp
5 | 16dp
6 |
7 |
8 |
--------------------------------------------------------------------------------
/NavDemo/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/NavDemo/src/com/honghe/application/MainApplication.java:
--------------------------------------------------------------------------------
1 | package com.honghe.application;
2 |
3 | import java.util.ArrayList;
4 |
5 | import android.app.Activity;
6 | import android.app.Application;
7 |
8 | public class MainApplication extends Application {
9 |
10 | private ArrayList activities = new ArrayList();
11 | private static MainApplication instance;
12 |
13 | private MainApplication() {
14 | }
15 |
16 | // 单例模式中获取唯一的MyApplication实例
17 | public static MainApplication getInstance() {
18 | if (null == instance) {
19 | instance = new MainApplication();
20 | }
21 | return instance;
22 | }
23 |
24 | // 添加Activity到容器中
25 | public void addActivity(Activity activity) {
26 | activities.add(activity);
27 | }
28 |
29 | public void deleteActivity(Activity activity) {
30 | activities.remove(activity);
31 | }
32 |
33 | // finish
34 | public void exit() {
35 | for (Activity activity : activities) {
36 | activity.finish();
37 | }
38 | activities.clear();
39 |
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/NavDemo/src/com/honghe/navdemo/util/ToastUtil.java:
--------------------------------------------------------------------------------
1 | package com.honghe.navdemo.util;
2 |
3 | import android.content.Context;
4 | import android.widget.Toast;
5 |
6 | public class ToastUtil {
7 | public static void showShort(Context context, String msg) {
8 | Toast.makeText(context, msg, Toast.LENGTH_SHORT).show();
9 | }
10 |
11 | public static void showLong(Context context, String msg) {
12 | Toast.makeText(context, msg, Toast.LENGTH_LONG).show();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/NavDemo/src/com/honghe/navdemo/util/Utils.java:
--------------------------------------------------------------------------------
1 | package com.honghe.navdemo.util;
2 |
3 | public class Utils {
4 | public static final String DAY_NIGHT_MODE="daynightmode";
5 | public static final String DEVIATION="deviationrecalculation";
6 | public static final String JAM="jamrecalculation";
7 | public static final String TRAFFIC="trafficbroadcast";
8 | public static final String CAMERA="camerabroadcast";
9 | public static final String SCREEN="screenon";
10 | public static final String THEME="theme";
11 | public static final String ISEMULATOR="isemulator";
12 |
13 |
14 | public static final String ACTIVITYINDEX="activityindex";
15 |
16 | public static final int SIMPLEHUDNAVIE=0;
17 | public static final int EMULATORNAVI=1;
18 | public static final int SIMPLEGPSNAVI=2;
19 | public static final int SIMPLEROUTENAVI=3;
20 |
21 |
22 | public static final boolean DAY_MODE=false;
23 | public static final boolean NIGHT_MODE=true;
24 | public static final boolean YES_MODE=true;
25 | public static final boolean NO_MODE=false;
26 | public static final boolean OPEN_MODE=true;
27 | public static final boolean CLOSE_MODE=false;
28 |
29 | }
30 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # study
2 | ## 学习与测试的项目 ##
3 |
4 | base是自己总结的一些开源的工具,有访问网络的httpclient,有数据库封装,gson,pull2refresh,photoview,imageloader等
5 | ## Mylocker ##
6 | Mylocker是一个在老婆的要求下写的一个软件。
7 | 名字为储物柜,大致的作用就是拍照命名,然后显示一个储物柜,点进去,
8 | 显示储物柜里有什么的软件。主框架是从base的基础上做的。
9 |
10 | SpeexLuYin是自己根据gauss的代码进行修改的一个使用speex库进行录音和播放的实例。以后的项目可以参考。
11 |
12 | testCordova是cordova的学习目录。
13 |
14 |
15 | 有任何疑问请关注我的博客,可留言http://www.cnblogs.com/dongweiq/
16 |
17 | **qq714094450**
18 |
--------------------------------------------------------------------------------
/Record/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Record/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | Record
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/Record/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/Record/ic_launcher-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Record/ic_launcher-web.png
--------------------------------------------------------------------------------
/Record/libs/android-support-v4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Record/libs/android-support-v4.jar
--------------------------------------------------------------------------------
/Record/libs/armeabi-v7a/libspeex.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Record/libs/armeabi-v7a/libspeex.so
--------------------------------------------------------------------------------
/Record/libs/armeabi/libspeex.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Record/libs/armeabi/libspeex.so
--------------------------------------------------------------------------------
/Record/proguard-project.txt:
--------------------------------------------------------------------------------
1 | # To enable ProGuard in your project, edit project.properties
2 | # to define the proguard.config property as described in that file.
3 | #
4 | # Add project specific ProGuard rules here.
5 | # By default, the flags in this file are appended to flags specified
6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt
7 | # You can edit the include path and order by changing the ProGuard
8 | # include property in project.properties.
9 | #
10 | # For more details, see
11 | # http://developer.android.com/guide/developing/tools/proguard.html
12 |
13 | # Add any project specific keep options here:
14 |
15 | # If your project uses WebView with JS, uncomment the following
16 | # and specify the fully qualified class name to the JavaScript interface
17 | # class:
18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
19 | # public *;
20 | #}
21 |
--------------------------------------------------------------------------------
/Record/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-21
15 |
--------------------------------------------------------------------------------
/Record/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Record/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Record/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Record/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Record/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Record/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Record/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/Record/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Record/res/layout/activity_wave.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
12 |
13 |
--------------------------------------------------------------------------------
/Record/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 16dp
5 | 16dp
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Record/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Record
5 | Settings
6 | 测试AudioRecord,实现录音功能
7 | Settings
8 | 录音WAV文件
9 | 录音AMR文件
10 | 停止录音
11 | 没有SD卡,无法存储录音数据
12 | 正在录音中,请先停止录音
13 | 无法识别的错误
14 |
15 |
--------------------------------------------------------------------------------
/Record/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Record/src/com/honghe/drawwav/DrawWaveActivity.java:
--------------------------------------------------------------------------------
1 | package com.honghe.drawwav;
2 |
3 | import com.honghe.record.R;
4 |
5 | import android.os.Bundle;
6 | import android.support.v4.app.FragmentActivity;
7 |
8 | public class DrawWaveActivity extends FragmentActivity {
9 |
10 | @Override
11 | protected void onCreate(Bundle arg0) {
12 | super.onCreate(arg0);
13 | setContentView(R.layout.activity_wave);
14 | }
15 |
16 | @Override
17 | protected void onDestroy() {
18 | super.onDestroy();
19 | }
20 |
21 | @Override
22 | protected void onPause() {
23 | super.onPause();
24 | }
25 |
26 | @Override
27 | protected void onResume() {
28 | super.onResume();
29 | }
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/Record/src/com/honghe/record/ErrorCode.java:
--------------------------------------------------------------------------------
1 | package com.honghe.record;
2 |
3 | import android.content.Context;
4 | import android.content.res.Resources.NotFoundException;
5 |
6 | public class ErrorCode {
7 | public final static int SUCCESS = 1000;
8 | public final static int E_NOSDCARD = 1001;
9 | public final static int E_STATE_RECODING = 1002;
10 | public final static int E_UNKOWN = 1003;
11 |
12 | public static String getErrorInfo(Context vContext, int vType) throws NotFoundException {
13 | switch (vType) {
14 | case SUCCESS:
15 | return "success";
16 | case E_NOSDCARD:
17 | return vContext.getResources().getString(R.string.error_no_sdcard);
18 | case E_STATE_RECODING:
19 | return vContext.getResources().getString(R.string.error_state_record);
20 | case E_UNKOWN:
21 | default:
22 | return vContext.getResources().getString(R.string.error_unknown);
23 |
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Record/src/com/sin/java/waveaccess/WaveAccess.java:
--------------------------------------------------------------------------------
1 | package com.sin.java.waveaccess;
2 |
3 | /**
4 | * 波形文件(.wav)的读写操作,支持16bit和8bitPCM编码的单双声道文件操作
5 | *
6 | * @author Robin
7 | * @version 1.1
8 | * @see https://github.com/sintrb/WaveAccess
9 | *
10 | * @Update 1. v1.0 2014-04-24
11 | * 2. v1.1 2014-04-27
12 | */
13 | public class WaveAccess {
14 | public static final String VERSION = "1.1";
15 | }
16 |
--------------------------------------------------------------------------------
/Record/src/com/sin/java/waveaccess/WaveConstants.java:
--------------------------------------------------------------------------------
1 | package com.sin.java.waveaccess;
2 |
3 | public final class WaveConstants {
4 | static public int LENCHUNKDESCRIPTOR = 4;
5 | static public int LENCHUNKSIZE = 4;
6 | static public int LENWAVEFLAG = 4;
7 | static public int LENFMTSUBCHUNK = 4;
8 | static public int LENSUBCHUNK1SIZE = 4;
9 | static public int LENAUDIOFORMAT = 2;
10 | static public int LENNUMCHANNELS = 2;
11 | static public int LENSAMPLERATE = 2;
12 | static public int LENBYTERATE = 4;
13 | static public int LENBLOCKLING = 2;
14 | static public int LENBITSPERSAMPLE = 2;
15 | static public int LENDATASUBCHUNK = 4;
16 | static public int LENSUBCHUNK2SIZE = 4;
17 |
18 | public static String CHUNKDESCRIPTOR = "RIFF";
19 | public static String WAVEFLAG = "WAVE";
20 | public static String FMTSUBCHUNK = "fmt ";
21 | public static String DATASUBCHUNK = "data";
22 | }
23 |
--------------------------------------------------------------------------------
/Record/src/com/sixin/speex/OnSpeexCompletionListener.java:
--------------------------------------------------------------------------------
1 | package com.sixin.speex;
2 |
3 | /**
4 | * Speex音频播放完成监听
5 | * @author shidongxue
6 | *
7 | */
8 | public interface OnSpeexCompletionListener {
9 | void onCompletion(SpeexDecoder speexfiledecoder);
10 | void onError(Exception ex);
11 | }
12 |
--------------------------------------------------------------------------------
/Record/src/com/sixin/speex/OnSpeexFileCompletionListener.java:
--------------------------------------------------------------------------------
1 | package com.sixin.speex;
2 |
3 | /**
4 | * Speex音频解码完成监听
5 | * @author honghe
6 | *
7 | */
8 | public interface OnSpeexFileCompletionListener {
9 | void onCompletion(SpeexFileDecoder speexdecoder);
10 | void onError(Exception ex);
11 | }
12 |
--------------------------------------------------------------------------------
/Record/src/com/sixin/speex/Speex.java:
--------------------------------------------------------------------------------
1 |
2 | package com.sixin.speex;
3 |
4 | public class Speex {
5 |
6 | /* quality
7 | * 1 : 4kbps (very noticeable artifacts, usually intelligible)
8 | * 2 : 6kbps (very noticeable artifacts, good intelligibility)
9 | * 4 : 8kbps (noticeable artifacts sometimes)
10 | * 6 : 11kpbs (artifacts usually only noticeable with headphones)
11 | * 8 : 15kbps (artifacts not usually noticeable)
12 | */
13 | private static final int DEFAULT_COMPRESSION = 4;
14 | // private Logger log = LoggerFactory.getLogger(Speex.class);
15 |
16 | public Speex() {
17 | }
18 |
19 | public void init() {
20 | load();
21 | open(DEFAULT_COMPRESSION);
22 | // log.info("speex opened");
23 | }
24 |
25 | private void load() {
26 | try {
27 | System.loadLibrary("speex");
28 | } catch (Throwable e) {
29 | e.printStackTrace();
30 | }
31 |
32 | }
33 |
34 | public native int open(int compression);
35 | public native int getFrameSize();
36 | public native int decode(byte encoded[], short lin[], int size);
37 | public native int encode(short lin[], int offset, byte encoded[], int size);
38 | public native void close();
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/SpeexLuYin/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/SpeexLuYin/.gitignore:
--------------------------------------------------------------------------------
1 | /bin
2 | /gen
--------------------------------------------------------------------------------
/SpeexLuYin/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | SpeexLuYin
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/SpeexLuYin/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding/=GBK
3 |
--------------------------------------------------------------------------------
/SpeexLuYin/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/SpeexLuYin/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
15 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/SpeexLuYin/README.md:
--------------------------------------------------------------------------------
1 | 自己写的speex录音的demo
2 |
--------------------------------------------------------------------------------
/SpeexLuYin/libs/armeabi-v7a/libspeex.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/libs/armeabi-v7a/libspeex.so
--------------------------------------------------------------------------------
/SpeexLuYin/libs/armeabi/libspeex.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/libs/armeabi/libspeex.so
--------------------------------------------------------------------------------
/SpeexLuYin/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 use,
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 |
10 | # Project target.
11 | target=android-20
12 |
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/bkgnd.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/bkgnd.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/bkgnd_normal.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/bkgnd_pressed.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/button_options.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/button_options.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/button_options_bkgnd.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/button_zoom_in.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/button_zoom_in.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/button_zoom_out.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/button_zoom_out.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/marker_left.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
20 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/marker_left_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/marker_left_focused.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/marker_left_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/marker_left_normal.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/marker_left_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/marker_left_pressed.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/marker_right.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
20 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/marker_right_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/marker_right_focused.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/marker_right_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/marker_right_normal.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/marker_right_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/marker_right_pressed.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/menu_about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/menu_about.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/menu_reset.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/menu_reset.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/menu_save.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/menu_save.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/menu_show_all_audio.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/menu_show_all_audio.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/ringdroidlogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/ringdroidlogo.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/search.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/star.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/type_alarm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/type_alarm.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/type_music.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/type_music.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/type_notification.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/type_notification.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/drawable/type_ringtone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/res/drawable/type_ringtone.png
--------------------------------------------------------------------------------
/SpeexLuYin/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #8dffff
4 | #106072
5 | #33000000
6 | #ffffff
7 | #ffff66
8 | #ee01a9a9
9 | #ddffffdd
10 | #aa000000
11 | #88880000
12 | #88008888
13 | #88666600
14 | #88000000
15 | #88cccccc
16 |
17 |
--------------------------------------------------------------------------------
/SpeexLuYin/src/com/sixin/speex/OnSpeexCompletionListener.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/src/com/sixin/speex/OnSpeexCompletionListener.java
--------------------------------------------------------------------------------
/SpeexLuYin/src/com/sixin/speex/Speex.java:
--------------------------------------------------------------------------------
1 |
2 | package com.sixin.speex;
3 |
4 | class Speex {
5 |
6 | /* quality
7 | * 1 : 4kbps (very noticeable artifacts, usually intelligible)
8 | * 2 : 6kbps (very noticeable artifacts, good intelligibility)
9 | * 4 : 8kbps (noticeable artifacts sometimes)
10 | * 6 : 11kpbs (artifacts usually only noticeable with headphones)
11 | * 8 : 15kbps (artifacts not usually noticeable)
12 | */
13 | private static final int DEFAULT_COMPRESSION = 4;
14 | // private Logger log = LoggerFactory.getLogger(Speex.class);
15 |
16 | Speex() {
17 | }
18 |
19 | public void init() {
20 | load();
21 | open(DEFAULT_COMPRESSION);
22 | // log.info("speex opened");
23 | }
24 |
25 | private void load() {
26 | try {
27 | System.loadLibrary("speex");
28 | } catch (Throwable e) {
29 | e.printStackTrace();
30 | }
31 |
32 | }
33 |
34 | public native int open(int compression);
35 | public native int getFrameSize();
36 | public native int decode(byte encoded[], short lin[], int size);
37 | public native int encode(short lin[], int offset, byte encoded[], int size);
38 | public native void close();
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/SpeexLuYin/src/com/sixin/speex/SpeexDecoder.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/src/com/sixin/speex/SpeexDecoder.java
--------------------------------------------------------------------------------
/SpeexLuYin/src/com/sixin/speex/SpeexEncoder.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/src/com/sixin/speex/SpeexEncoder.java
--------------------------------------------------------------------------------
/SpeexLuYin/src/com/sixin/speex/SpeexPlayer.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/src/com/sixin/speex/SpeexPlayer.java
--------------------------------------------------------------------------------
/SpeexLuYin/src/com/sixin/speex/SpeexRecorder.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/src/com/sixin/speex/SpeexRecorder.java
--------------------------------------------------------------------------------
/SpeexLuYin/src/com/sixin/speex/SpeexTool.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/src/com/sixin/speex/SpeexTool.java
--------------------------------------------------------------------------------
/SpeexLuYin/src/com/sixin/speex/SpeexWriteClient.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/src/com/sixin/speex/SpeexWriteClient.java
--------------------------------------------------------------------------------
/SpeexLuYin/src/com/sixin/speex/SpeexWriter.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/src/com/sixin/speex/SpeexWriter.java
--------------------------------------------------------------------------------
/SpeexLuYin/src/com/yangyueyue/demo/luyin/LuYinActivity.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/src/com/yangyueyue/demo/luyin/LuYinActivity.java
--------------------------------------------------------------------------------
/SpeexLuYin/src/com/yangyueyue/demo/luyin/tools/GetSystemDateTime.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/src/com/yangyueyue/demo/luyin/tools/GetSystemDateTime.java
--------------------------------------------------------------------------------
/SpeexLuYin/src/com/yangyueyue/demo/luyin/tools/SDcardTools.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/src/com/yangyueyue/demo/luyin/tools/SDcardTools.java
--------------------------------------------------------------------------------
/SpeexLuYin/src/com/yangyueyue/demo/luyin/tools/ShowDialog.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/src/com/yangyueyue/demo/luyin/tools/ShowDialog.java
--------------------------------------------------------------------------------
/SpeexLuYin/src/com/yangyueyue/demo/luyin/tools/StringTools.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/SpeexLuYin/src/com/yangyueyue/demo/luyin/tools/StringTools.java
--------------------------------------------------------------------------------
/pdf_drm/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pdf_drm/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | pdf_drm
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/pdf_drm/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
9 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/pdf_drm/README.md:
--------------------------------------------------------------------------------
1 | 福昕阅读器android客户端给的根据drm协议进行解秘的demo
2 |
--------------------------------------------------------------------------------
/pdf_drm/libs/armeabi/libfsdk.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/pdf_drm/libs/armeabi/libfsdk.so
--------------------------------------------------------------------------------
/pdf_drm/libs/fgsdk.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/pdf_drm/libs/fgsdk.jar
--------------------------------------------------------------------------------
/pdf_drm/proguard-project.txt:
--------------------------------------------------------------------------------
1 | # To enable ProGuard in your project, edit project.properties
2 | # to define the proguard.config property as described in that file.
3 | #
4 | # Add project specific ProGuard rules here.
5 | # By default, the flags in this file are appended to flags specified
6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt
7 | # You can edit the include path and order by changing the ProGuard
8 | # include property in project.properties.
9 | #
10 | # For more details, see
11 | # http://developer.android.com/guide/developing/tools/proguard.html
12 |
13 | # Add any project specific keep options here:
14 |
15 | # If your project uses WebView with JS, uncomment the following
16 | # and specify the fully qualified class name to the JavaScript interface
17 | # class:
18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
19 | # public *;
20 | #}
21 |
--------------------------------------------------------------------------------
/pdf_drm/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 |
--------------------------------------------------------------------------------
/pdf_drm/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/pdf_drm/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pdf_drm/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/pdf_drm/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/pdf_drm/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/pdf_drm/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pdf_drm/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/pdf_drm/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pdf_drm/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
12 |
16 |
17 |
--------------------------------------------------------------------------------
/pdf_drm/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Hello World, PDF_viewActivity!
5 | PDF_drm
6 |
7 |
--------------------------------------------------------------------------------
/pdf_drm/src/com/foxit/general/pdf_drm/MainView.java:
--------------------------------------------------------------------------------
1 | package com.foxit.general.pdf_drm;
2 |
3 | import android.content.Context;
4 | import android.graphics.Bitmap;
5 | import android.graphics.Canvas;
6 | import android.util.AttributeSet;
7 | import android.view.View;
8 |
9 | public class MainView extends View {
10 |
11 | private Bitmap bitmap;
12 |
13 | public MainView(Context context)
14 | {
15 | super(context);
16 | }
17 |
18 | public MainView(Context context, AttributeSet attrs)
19 | {
20 | super(context, attrs);
21 | }
22 |
23 | public void setImageBitmap(Bitmap b) {
24 | bitmap = b;
25 | }
26 |
27 | @Override
28 | protected void onDraw(Canvas canvas) {
29 | // super.onDraw(canvas);
30 | canvas.drawBitmap(bitmap, 0, 0, null);
31 | }
32 | }
--------------------------------------------------------------------------------
/pdf_drm/src/com/foxit/general/pdf_drm/PDF_Foac.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/pdf_drm/src/com/foxit/general/pdf_drm/PDF_Foac.java
--------------------------------------------------------------------------------
/pdf_drm/src/com/foxit/general/pdf_drm/PDF_drmActivity.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/pdf_drm/src/com/foxit/general/pdf_drm/PDF_drmActivity.java
--------------------------------------------------------------------------------
/testCordova/README.md:
--------------------------------------------------------------------------------
1 | cordova学习目录
2 |
--------------------------------------------------------------------------------
/testCordova/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | testCordova
4 |
5 | A sample Apache Cordova application that responds to the deviceready event.
6 |
7 |
8 | Apache Cordova Team
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/.gitignore:
--------------------------------------------------------------------------------
1 | # Non-project-specific build files:
2 | build.xml
3 | local.properties
4 | /gradlew
5 | /gradlew.bat
6 | /gradle
7 | # Ant builds
8 | ant-build
9 | ant-gen
10 | # Eclipse builds
11 | gen
12 | out
13 | # Gradle builds
14 | /build
15 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/CordovaLib/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/CordovaLib/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | MainActivity-CordovaLib
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/CordovaLib/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 | org.eclipse.jdt.core.compiler.compliance=1.6
4 | org.eclipse.jdt.core.compiler.source=1.6
5 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/CordovaLib/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
20 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/CordovaLib/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 use,
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 |
10 | # Indicates whether an apk should be generated for each density.
11 | split.density=false
12 | # Project target.
13 | target=android-21
14 | apk-configurations=
15 | renderscript.opt.level=O0
16 | android.library=true
17 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/assets/_where-is-www.txt:
--------------------------------------------------------------------------------
1 | To show `assets/www` or `res/xml/config.xml`, go to:
2 | Project -> Properties -> Resource -> Resource Filters
3 | And delete the exclusion filter.
4 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/assets/www/cordova_plugins.js:
--------------------------------------------------------------------------------
1 | cordova.define('cordova/plugin_list', function(require, exports, module) {
2 | module.exports = [
3 | {
4 | "file": "plugins/cordova-plugin-whitelist/whitelist.js",
5 | "id": "cordova-plugin-whitelist.whitelist",
6 | "runs": true
7 | }
8 | ];
9 | module.exports.metadata =
10 | // TOP OF METADATA
11 | {
12 | "cordova-plugin-whitelist": "1.0.0"
13 | }
14 | // BOTTOM OF METADATA
15 | });
--------------------------------------------------------------------------------
/testCordova/platforms/android/assets/www/img/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/testCordova/platforms/android/assets/www/img/logo.png
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/android_sdk_version:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | /*
4 | Licensed to the Apache Software Foundation (ASF) under one
5 | or more contributor license agreements. See the NOTICE file
6 | distributed with this work for additional information
7 | regarding copyright ownership. The ASF licenses this file
8 | to you under the Apache License, Version 2.0 (the
9 | "License"); you may not use this file except in compliance
10 | with the License. You may obtain a copy of the License at
11 |
12 | http://www.apache.org/licenses/LICENSE-2.0
13 |
14 | Unless required by applicable law or agreed to in writing,
15 | software distributed under the License is distributed on an
16 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 | KIND, either express or implied. See the License for the
18 | specific language governing permissions and limitations
19 | under the License.
20 | */
21 |
22 | var android_sdk_version = require('./lib/android_sdk_version');
23 |
24 | android_sdk_version.run().done(null, function(err) {
25 | console.log(err);
26 | process.exit(2);
27 | });
28 |
29 |
30 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/build.bat:
--------------------------------------------------------------------------------
1 | :: Licensed to the Apache Software Foundation (ASF) under one
2 | :: or more contributor license agreements. See the NOTICE file
3 | :: distributed with this work for additional information
4 | :: regarding copyright ownership. The ASF licenses this file
5 | :: to you under the Apache License, Version 2.0 (the
6 | :: "License"); you may not use this file except in compliance
7 | :: with the License. You may obtain a copy of the License at
8 | ::
9 | :: http://www.apache.org/licenses/LICENSE-2.0
10 | ::
11 | :: Unless required by applicable law or agreed to in writing,
12 | :: software distributed under the License is distributed on an
13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | :: KIND, either express or implied. See the License for the
15 | :: specific language governing permissions and limitations
16 | :: under the License.
17 |
18 | @ECHO OFF
19 | SET script_path="%~dp0build"
20 | IF EXIST %script_path% (
21 | node %script_path% %*
22 | ) ELSE (
23 | ECHO.
24 | ECHO ERROR: Could not find 'build' script in 'cordova' folder, aborting...>&2
25 | EXIT /B 1
26 | )
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/clean.bat:
--------------------------------------------------------------------------------
1 | :: Licensed to the Apache Software Foundation (ASF) under one
2 | :: or more contributor license agreements. See the NOTICE file
3 | :: distributed with this work for additional information
4 | :: regarding copyright ownership. The ASF licenses this file
5 | :: to you under the Apache License, Version 2.0 (the
6 | :: "License"); you may not use this file except in compliance
7 | :: with the License. You may obtain a copy of the License at
8 | ::
9 | :: http://www.apache.org/licenses/LICENSE-2.0
10 | ::
11 | :: Unless required by applicable law or agreed to in writing,
12 | :: software distributed under the License is distributed on an
13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | :: KIND, either express or implied. See the License for the
15 | :: specific language governing permissions and limitations
16 | :: under the License.
17 |
18 | @ECHO OFF
19 | SET script_path="%~dp0clean"
20 | IF EXIST %script_path% (
21 | node %script_path% %*
22 | ) ELSE (
23 | ECHO.
24 | ECHO ERROR: Could not find 'clean' script in 'cordova' folder, aborting...>&2
25 | EXIT /B 1
26 | )
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/defaults.xml:
--------------------------------------------------------------------------------
1 |
2 |
20 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/lib/install-device.bat:
--------------------------------------------------------------------------------
1 | :: Licensed to the Apache Software Foundation (ASF) under one
2 | :: or more contributor license agreements. See the NOTICE file
3 | :: distributed with this work for additional information
4 | :: regarding copyright ownership. The ASF licenses this file
5 | :: to you under the Apache License, Version 2.0 (the
6 | :: "License"); you may not use this file except in compliance
7 | :: with the License. You may obtain a copy of the License at
8 | ::
9 | :: http://www.apache.org/licenses/LICENSE-2.0
10 | ::
11 | :: Unless required by applicable law or agreed to in writing,
12 | :: software distributed under the License is distributed on an
13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | :: KIND, either express or implied. See the License for the
15 | :: specific language governing permissions and limitations
16 | :: under the License.
17 |
18 | @ECHO OFF
19 | SET script_path="%~dp0install-device"
20 | IF EXIST %script_path% (
21 | node "%script_path%" %*
22 | ) ELSE (
23 | ECHO.
24 | ECHO ERROR: Could not find 'install-device' script in 'cordova\lib' folder, aborting...>&2
25 | EXIT /B 1
26 | )
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/lib/install-emulator.bat:
--------------------------------------------------------------------------------
1 | :: Licensed to the Apache Software Foundation (ASF) under one
2 | :: or more contributor license agreements. See the NOTICE file
3 | :: distributed with this work for additional information
4 | :: regarding copyright ownership. The ASF licenses this file
5 | :: to you under the Apache License, Version 2.0 (the
6 | :: "License"); you may not use this file except in compliance
7 | :: with the License. You may obtain a copy of the License at
8 | ::
9 | :: http://www.apache.org/licenses/LICENSE-2.0
10 | ::
11 | :: Unless required by applicable law or agreed to in writing,
12 | :: software distributed under the License is distributed on an
13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | :: KIND, either express or implied. See the License for the
15 | :: specific language governing permissions and limitations
16 | :: under the License.
17 |
18 | @ECHO OFF
19 | SET script_path="%~dp0install-emulator"
20 | IF EXIST %script_path% (
21 | node "%script_path%" %*
22 | ) ELSE (
23 | ECHO.
24 | ECHO ERROR: Could not find 'install-emulator' script in 'cordova\lib' folder, aborting...>&2
25 | EXIT /B 1
26 | )
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/lib/list-devices.bat:
--------------------------------------------------------------------------------
1 | :: Licensed to the Apache Software Foundation (ASF) under one
2 | :: or more contributor license agreements. See the NOTICE file
3 | :: distributed with this work for additional information
4 | :: regarding copyright ownership. The ASF licenses this file
5 | :: to you under the Apache License, Version 2.0 (the
6 | :: "License"); you may not use this file except in compliance
7 | :: with the License. You may obtain a copy of the License at
8 | ::
9 | :: http://www.apache.org/licenses/LICENSE-2.0
10 | ::
11 | :: Unless required by applicable law or agreed to in writing,
12 | :: software distributed under the License is distributed on an
13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | :: KIND, either express or implied. See the License for the
15 | :: specific language governing permissions and limitations
16 | :: under the License.
17 |
18 | @ECHO OFF
19 | SET script_path="%~dp0list-devices"
20 | IF EXIST %script_path% (
21 | node "%script_path%" %*
22 | ) ELSE (
23 | ECHO.
24 | ECHO ERROR: Could not find 'list-devices' script in 'cordova\lib' folder, aborting...>&2
25 | EXIT /B 1
26 | )
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/lib/list-emulator-images.bat:
--------------------------------------------------------------------------------
1 | :: Licensed to the Apache Software Foundation (ASF) under one
2 | :: or more contributor license agreements. See the NOTICE file
3 | :: distributed with this work for additional information
4 | :: regarding copyright ownership. The ASF licenses this file
5 | :: to you under the Apache License, Version 2.0 (the
6 | :: "License"); you may not use this file except in compliance
7 | :: with the License. You may obtain a copy of the License at
8 | ::
9 | :: http://www.apache.org/licenses/LICENSE-2.0
10 | ::
11 | :: Unless required by applicable law or agreed to in writing,
12 | :: software distributed under the License is distributed on an
13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | :: KIND, either express or implied. See the License for the
15 | :: specific language governing permissions and limitations
16 | :: under the License.
17 |
18 | @ECHO OFF
19 | SET script_path="%~dp0list-emulator-images"
20 | IF EXIST %script_path% (
21 | node "%script_path%" %*
22 | ) ELSE (
23 | ECHO.
24 | ECHO ERROR: Could not find 'list-emulator-images' script in 'cordova\lib' folder, aborting...>&2
25 | EXIT /B 1
26 | )
27 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/lib/list-started-emulators.bat:
--------------------------------------------------------------------------------
1 | :: Licensed to the Apache Software Foundation (ASF) under one
2 | :: or more contributor license agreements. See the NOTICE file
3 | :: distributed with this work for additional information
4 | :: regarding copyright ownership. The ASF licenses this file
5 | :: to you under the Apache License, Version 2.0 (the
6 | :: "License"); you may not use this file except in compliance
7 | :: with the License. You may obtain a copy of the License at
8 | ::
9 | :: http://www.apache.org/licenses/LICENSE-2.0
10 | ::
11 | :: Unless required by applicable law or agreed to in writing,
12 | :: software distributed under the License is distributed on an
13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | :: KIND, either express or implied. See the License for the
15 | :: specific language governing permissions and limitations
16 | :: under the License.
17 |
18 | @ECHO OFF
19 | SET script_path="%~dp0list-started-emulators"
20 | IF EXIST %script_path% (
21 | node "%script_path%" %*
22 | ) ELSE (
23 | ECHO.
24 | ECHO ERROR: Could not find 'list-started-emulators' script in 'cordova\lib' folder, aborting...>&2
25 | EXIT /B 1
26 | )
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/lib/start-emulator.bat:
--------------------------------------------------------------------------------
1 | :: Licensed to the Apache Software Foundation (ASF) under one
2 | :: or more contributor license agreements. See the NOTICE file
3 | :: distributed with this work for additional information
4 | :: regarding copyright ownership. The ASF licenses this file
5 | :: to you under the Apache License, Version 2.0 (the
6 | :: "License"); you may not use this file except in compliance
7 | :: with the License. You may obtain a copy of the License at
8 | ::
9 | :: http://www.apache.org/licenses/LICENSE-2.0
10 | ::
11 | :: Unless required by applicable law or agreed to in writing,
12 | :: software distributed under the License is distributed on an
13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | :: KIND, either express or implied. See the License for the
15 | :: specific language governing permissions and limitations
16 | :: under the License.
17 |
18 | @ECHO OFF
19 | SET script_path="%~dp0start-emulator"
20 | IF EXIST %script_path% (
21 | node "%script_path%" %*
22 | ) ELSE (
23 | ECHO.
24 | ECHO ERROR: Could not find 'start-emulator' script in 'cordova\lib' folder, aborting...>&2
25 | EXIT /B 1
26 | )
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/log.bat:
--------------------------------------------------------------------------------
1 | :: Licensed to the Apache Software Foundation (ASF) under one
2 | :: or more contributor license agreements. See the NOTICE file
3 | :: distributed with this work for additional information
4 | :: regarding copyright ownership. The ASF licenses this file
5 | :: to you under the Apache License, Version 2.0 (the
6 | :: "License"); you may not use this file except in compliance
7 | :: with the License. You may obtain a copy of the License at
8 | ::
9 | :: http://www.apache.org/licenses/LICENSE-2.0
10 | ::
11 | :: Unless required by applicable law or agreed to in writing,
12 | :: software distributed under the License is distributed on an
13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | :: KIND, either express or implied. See the License for the
15 | :: specific language governing permissions and limitations
16 | :: under the License.
17 |
18 | @ECHO OFF
19 | SET script_path="%~dp0log"
20 | IF EXIST %script_path% (
21 | node %script_path% %*
22 | ) ELSE (
23 | ECHO.
24 | ECHO ERROR: Could not find 'log' script in 'cordova' folder, aborting...>&2
25 | EXIT /B 1
26 | )
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/nopt/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright 2009, 2010, 2011 Isaac Z. Schlueter.
2 | All rights reserved.
3 |
4 | Permission is hereby granted, free of charge, to any person
5 | obtaining a copy of this software and associated documentation
6 | files (the "Software"), to deal in the Software without
7 | restriction, including without limitation the rights to use,
8 | copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the
10 | Software is furnished to do so, subject to the following
11 | conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
18 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 | OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/nopt/node_modules/abbrev/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright 2009, 2010, 2011 Isaac Z. Schlueter.
2 | All rights reserved.
3 |
4 | Permission is hereby granted, free of charge, to any person
5 | obtaining a copy of this software and associated documentation
6 | files (the "Software"), to deal in the Software without
7 | restriction, including without limitation the rights to use,
8 | copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the
10 | Software is furnished to do so, subject to the following
11 | conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
18 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 | OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/q/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | Copyright 2009–2012 Kristopher Michael Kowal. All rights reserved.
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to
5 | deal in the Software without restriction, including without limitation the
6 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7 | sell copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
19 | IN THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/q/benchmark/scenarios.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var Q = require("../q");
4 |
5 | suite("Chaining", function () {
6 | var numberToChain = 1000;
7 |
8 | bench("Chaining many already-fulfilled promises together", function (done) {
9 | var currentPromise = Q();
10 | for (var i = 0; i < numberToChain; ++i) {
11 | currentPromise = currentPromise.then(function () {
12 | return Q();
13 | });
14 | }
15 |
16 | currentPromise.then(done);
17 | });
18 |
19 | bench("Chaining and then fulfilling the end of the chain", function (done) {
20 | var deferred = Q.defer();
21 |
22 | var currentPromise = deferred.promise;
23 | for (var i = 0; i < numberToChain; ++i) {
24 | (function () {
25 | var promiseToReturn = currentPromise;
26 | currentPromise = Q().then(function () {
27 | return promiseToReturn;
28 | });
29 | }());
30 | }
31 |
32 | currentPromise.then(done);
33 |
34 | deferred.resolve();
35 | });
36 | });
37 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/q/queue.js:
--------------------------------------------------------------------------------
1 |
2 | var Q = require("./q");
3 |
4 | module.exports = Queue;
5 | function Queue() {
6 | var ends = Q.defer();
7 | var closed = Q.defer();
8 | return {
9 | put: function (value) {
10 | var next = Q.defer();
11 | ends.resolve({
12 | head: value,
13 | tail: next.promise
14 | });
15 | ends.resolve = next.resolve;
16 | },
17 | get: function () {
18 | var result = ends.promise.get("head");
19 | ends.promise = ends.promise.get("tail");
20 | return result.fail(function (error) {
21 | closed.resolve(error);
22 | throw error;
23 | });
24 | },
25 | closed: closed.promise,
26 | close: function (error) {
27 | error = error || new Error("Can't get value from closed queue");
28 | var end = {head: Q.reject(error)};
29 | end.tail = end;
30 | ends.resolve(end);
31 | return closed.promise;
32 | }
33 | };
34 | }
35 |
36 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/shelljs/.documentup.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ShellJS",
3 | "twitter": [
4 | "r2r"
5 | ]
6 | }
7 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/shelljs/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "loopfunc": true,
3 | "sub": true,
4 | "undef": true,
5 | "unused": true,
6 | "node": true
7 | }
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/shelljs/.npmignore:
--------------------------------------------------------------------------------
1 | test/
2 | tmp/
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/shelljs/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 | - "0.11"
6 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/shelljs/global.js:
--------------------------------------------------------------------------------
1 | var shell = require('./shell.js');
2 | for (var cmd in shell)
3 | global[cmd] = shell[cmd];
4 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/shelljs/scripts/generate-docs.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | require('../global');
3 |
4 | echo('Appending docs to README.md');
5 |
6 | cd(__dirname + '/..');
7 |
8 | // Extract docs from shell.js
9 | var docs = grep('//@', 'shell.js');
10 |
11 | docs = docs.replace(/\/\/\@include (.+)/g, function(match, path) {
12 | var file = path.match('.js$') ? path : path+'.js';
13 | return grep('//@', file);
14 | });
15 |
16 | // Remove '//@'
17 | docs = docs.replace(/\/\/\@ ?/g, '');
18 | // Append docs to README
19 | sed('-i', /## Command reference(.|\n)*/, '## Command reference\n\n' + docs, 'README.md');
20 |
21 | echo('All done.');
22 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/shelljs/src/cd.js:
--------------------------------------------------------------------------------
1 | var fs = require('fs');
2 | var common = require('./common');
3 |
4 | //@
5 | //@ ### cd('dir')
6 | //@ Changes to directory `dir` for the duration of the script
7 | function _cd(options, dir) {
8 | if (!dir)
9 | common.error('directory not specified');
10 |
11 | if (!fs.existsSync(dir))
12 | common.error('no such file or directory: ' + dir);
13 |
14 | if (!fs.statSync(dir).isDirectory())
15 | common.error('not a directory: ' + dir);
16 |
17 | process.chdir(dir);
18 | }
19 | module.exports = _cd;
20 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/shelljs/src/echo.js:
--------------------------------------------------------------------------------
1 | var common = require('./common');
2 |
3 | //@
4 | //@ ### echo(string [,string ...])
5 | //@
6 | //@ Examples:
7 | //@
8 | //@ ```javascript
9 | //@ echo('hello world');
10 | //@ var str = echo('hello world');
11 | //@ ```
12 | //@
13 | //@ Prints string to stdout, and returns string with additional utility methods
14 | //@ like `.to()`.
15 | function _echo() {
16 | var messages = [].slice.call(arguments, 0);
17 | console.log.apply(this, messages);
18 | return common.ShellString(messages.join(' '));
19 | }
20 | module.exports = _echo;
21 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/shelljs/src/error.js:
--------------------------------------------------------------------------------
1 | var common = require('./common');
2 |
3 | //@
4 | //@ ### error()
5 | //@ Tests if error occurred in the last command. Returns `null` if no error occurred,
6 | //@ otherwise returns string explaining the error
7 | function error() {
8 | return common.state.error;
9 | };
10 | module.exports = error;
11 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/shelljs/src/popd.js:
--------------------------------------------------------------------------------
1 | // see dirs.js
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/shelljs/src/pushd.js:
--------------------------------------------------------------------------------
1 | // see dirs.js
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/shelljs/src/pwd.js:
--------------------------------------------------------------------------------
1 | var path = require('path');
2 | var common = require('./common');
3 |
4 | //@
5 | //@ ### pwd()
6 | //@ Returns the current directory.
7 | function _pwd(options) {
8 | var pwd = path.resolve(process.cwd());
9 | return common.ShellString(pwd);
10 | }
11 | module.exports = _pwd;
12 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/shelljs/src/to.js:
--------------------------------------------------------------------------------
1 | var common = require('./common');
2 | var fs = require('fs');
3 | var path = require('path');
4 |
5 | //@
6 | //@ ### 'string'.to(file)
7 | //@
8 | //@ Examples:
9 | //@
10 | //@ ```javascript
11 | //@ cat('input.txt').to('output.txt');
12 | //@ ```
13 | //@
14 | //@ Analogous to the redirection operator `>` in Unix, but works with JavaScript strings (such as
15 | //@ those returned by `cat`, `grep`, etc). _Like Unix redirections, `to()` will overwrite any existing file!_
16 | function _to(options, file) {
17 | if (!file)
18 | common.error('wrong arguments');
19 |
20 | if (!fs.existsSync( path.dirname(file) ))
21 | common.error('no such file or directory: ' + path.dirname(file));
22 |
23 | try {
24 | fs.writeFileSync(file, this.toString(), 'utf8');
25 | } catch(e) {
26 | common.error('could not write to file (code '+e.code+'): '+file, true);
27 | }
28 | }
29 | module.exports = _to;
30 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/shelljs/src/toEnd.js:
--------------------------------------------------------------------------------
1 | var common = require('./common');
2 | var fs = require('fs');
3 | var path = require('path');
4 |
5 | //@
6 | //@ ### 'string'.toEnd(file)
7 | //@
8 | //@ Examples:
9 | //@
10 | //@ ```javascript
11 | //@ cat('input.txt').toEnd('output.txt');
12 | //@ ```
13 | //@
14 | //@ Analogous to the redirect-and-append operator `>>` in Unix, but works with JavaScript strings (such as
15 | //@ those returned by `cat`, `grep`, etc).
16 | function _toEnd(options, file) {
17 | if (!file)
18 | common.error('wrong arguments');
19 |
20 | if (!fs.existsSync( path.dirname(file) ))
21 | common.error('no such file or directory: ' + path.dirname(file));
22 |
23 | try {
24 | fs.appendFileSync(file, this.toString(), 'utf8');
25 | } catch(e) {
26 | common.error('could not append to file (code '+e.code+'): '+file, true);
27 | }
28 | }
29 | module.exports = _toEnd;
30 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/which/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright 2009, 2010, 2011 Isaac Z. Schlueter.
2 | All rights reserved.
3 |
4 | Permission is hereby granted, free of charge, to any person
5 | obtaining a copy of this software and associated documentation
6 | files (the "Software"), to deal in the Software without
7 | restriction, including without limitation the rights to use,
8 | copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the
10 | Software is furnished to do so, subject to the following
11 | conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
18 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 | OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/which/README.md:
--------------------------------------------------------------------------------
1 | The "which" util from npm's guts.
2 |
3 | Finds the first instance of a specified executable in the PATH
4 | environment variable. Does not cache the results, so `hash -r` is not
5 | needed when the PATH changes.
6 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/node_modules/which/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": {
3 | "name": "Isaac Z. Schlueter",
4 | "email": "i@izs.me",
5 | "url": "http://blog.izs.me"
6 | },
7 | "name": "which",
8 | "description": "Like which(1) unix command. Find the first instance of an executable in the PATH.",
9 | "version": "1.0.5",
10 | "repository": {
11 | "type": "git",
12 | "url": "git://github.com/isaacs/node-which.git"
13 | },
14 | "main": "which.js",
15 | "bin": {
16 | "which": "./bin/which"
17 | },
18 | "engines": {
19 | "node": "*"
20 | },
21 | "dependencies": {},
22 | "devDependencies": {},
23 | "readme": "The \"which\" util from npm's guts.\n\nFinds the first instance of a specified executable in the PATH\nenvironment variable. Does not cache the results, so `hash -r` is not\nneeded when the PATH changes.\n",
24 | "readmeFilename": "README.md",
25 | "bugs": {
26 | "url": "https://github.com/isaacs/node-which/issues"
27 | },
28 | "homepage": "https://github.com/isaacs/node-which",
29 | "_id": "which@1.0.5",
30 | "_from": "which@"
31 | }
32 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/run.bat:
--------------------------------------------------------------------------------
1 | :: Licensed to the Apache Software Foundation (ASF) under one
2 | :: or more contributor license agreements. See the NOTICE file
3 | :: distributed with this work for additional information
4 | :: regarding copyright ownership. The ASF licenses this file
5 | :: to you under the Apache License, Version 2.0 (the
6 | :: "License"); you may not use this file except in compliance
7 | :: with the License. You may obtain a copy of the License at
8 | ::
9 | :: http://www.apache.org/licenses/LICENSE-2.0
10 | ::
11 | :: Unless required by applicable law or agreed to in writing,
12 | :: software distributed under the License is distributed on an
13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | :: KIND, either express or implied. See the License for the
15 | :: specific language governing permissions and limitations
16 | :: under the License.
17 |
18 | @ECHO OFF
19 | SET script_path="%~dp0run"
20 | IF EXIST %script_path% (
21 | node %script_path% %*
22 | ) ELSE (
23 | ECHO.
24 | ECHO ERROR: Could not find 'run' script in 'cordova' folder, aborting...>&2
25 | EXIT /B 1
26 | )
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/version:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | /*
4 | Licensed to the Apache Software Foundation (ASF) under one
5 | or more contributor license agreements. See the NOTICE file
6 | distributed with this work for additional information
7 | regarding copyright ownership. The ASF licenses this file
8 | to you under the Apache License, Version 2.0 (the
9 | "License"); you may not use this file except in compliance
10 | with the License. You may obtain a copy of the License at
11 |
12 | http://www.apache.org/licenses/LICENSE-2.0
13 |
14 | Unless required by applicable law or agreed to in writing,
15 | software distributed under the License is distributed on an
16 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 | KIND, either express or implied. See the License for the
18 | specific language governing permissions and limitations
19 | under the License.
20 | */
21 |
22 | // Coho updates this line:
23 | var VERSION = "4.0.0";
24 |
25 | console.log(VERSION);
26 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/cordova/version.bat:
--------------------------------------------------------------------------------
1 | :: Licensed to the Apache Software Foundation (ASF) under one
2 | :: or more contributor license agreements. See the NOTICE file
3 | :: distributed with this work for additional information
4 | :: regarding copyright ownership. The ASF licenses this file
5 | :: to you under the Apache License, Version 2.0 (the
6 | :: "License"); you may not use this file except in compliance
7 | :: with the License. You may obtain a copy of the License at
8 | ::
9 | :: http://www.apache.org/licenses/LICENSE-2.0
10 | ::
11 | :: Unless required by applicable law or agreed to in writing,
12 | :: software distributed under the License is distributed on an
13 | :: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | :: KIND, either express or implied. See the License for the
15 | :: specific language governing permissions and limitations
16 | :: under the License.
17 |
18 | @ECHO OFF
19 | SET script_path="%~dp0version"
20 | IF EXIST %script_path% (
21 | node %script_path% %*
22 | ) ELSE (
23 | ECHO.
24 | ECHO ERROR: Could not find 'version' script in 'cordova' folder, aborting...>&2
25 | EXIT /B 1
26 | )
27 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/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 | # Project target.
13 | target=android-21
14 | android.library.reference.1=CordovaLib
15 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/res/drawable-hdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/testCordova/platforms/android/res/drawable-hdpi/icon.png
--------------------------------------------------------------------------------
/testCordova/platforms/android/res/drawable-land-hdpi/screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/testCordova/platforms/android/res/drawable-land-hdpi/screen.png
--------------------------------------------------------------------------------
/testCordova/platforms/android/res/drawable-land-ldpi/screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/testCordova/platforms/android/res/drawable-land-ldpi/screen.png
--------------------------------------------------------------------------------
/testCordova/platforms/android/res/drawable-land-mdpi/screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/testCordova/platforms/android/res/drawable-land-mdpi/screen.png
--------------------------------------------------------------------------------
/testCordova/platforms/android/res/drawable-land-xhdpi/screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/testCordova/platforms/android/res/drawable-land-xhdpi/screen.png
--------------------------------------------------------------------------------
/testCordova/platforms/android/res/drawable-ldpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/testCordova/platforms/android/res/drawable-ldpi/icon.png
--------------------------------------------------------------------------------
/testCordova/platforms/android/res/drawable-mdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/testCordova/platforms/android/res/drawable-mdpi/icon.png
--------------------------------------------------------------------------------
/testCordova/platforms/android/res/drawable-port-hdpi/screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/testCordova/platforms/android/res/drawable-port-hdpi/screen.png
--------------------------------------------------------------------------------
/testCordova/platforms/android/res/drawable-port-ldpi/screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/testCordova/platforms/android/res/drawable-port-ldpi/screen.png
--------------------------------------------------------------------------------
/testCordova/platforms/android/res/drawable-port-mdpi/screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/testCordova/platforms/android/res/drawable-port-mdpi/screen.png
--------------------------------------------------------------------------------
/testCordova/platforms/android/res/drawable-port-xhdpi/screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/testCordova/platforms/android/res/drawable-port-xhdpi/screen.png
--------------------------------------------------------------------------------
/testCordova/platforms/android/res/drawable-xhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/testCordova/platforms/android/res/drawable-xhdpi/icon.png
--------------------------------------------------------------------------------
/testCordova/platforms/android/res/drawable/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/testCordova/platforms/android/res/drawable/icon.png
--------------------------------------------------------------------------------
/testCordova/platforms/android/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | testCordova
4 | @string/app_name
5 | @string/launcher_name
6 |
7 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/res/xml/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | testCordova
6 |
7 | A sample Apache Cordova application that responds to the deviceready event.
8 |
9 |
10 | Apache Cordova Team
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/testCordova/platforms/android/settings.gradle:
--------------------------------------------------------------------------------
1 | // GENERATED FILE - DO NOT EDIT
2 | include ":"
3 | include ":CordovaLib"
4 |
--------------------------------------------------------------------------------
/testCordova/platforms/platforms.json:
--------------------------------------------------------------------------------
1 | {
2 | "android": "4.0.0"
3 | }
--------------------------------------------------------------------------------
/testCordova/plugins/android.json:
--------------------------------------------------------------------------------
1 | {
2 | "prepare_queue": {
3 | "installed": [],
4 | "uninstalled": []
5 | },
6 | "config_munge": {
7 | "files": {
8 | "res/xml/config.xml": {
9 | "parents": {
10 | "/*": [
11 | {
12 | "xml": "",
13 | "count": 1
14 | }
15 | ]
16 | }
17 | }
18 | }
19 | },
20 | "installed_plugins": {
21 | "cordova-plugin-whitelist": {
22 | "PACKAGE_NAME": "com.honghe.testCordova"
23 | }
24 | },
25 | "dependent_plugins": {}
26 | }
--------------------------------------------------------------------------------
/testCordova/plugins/cordova-plugin-whitelist/NOTICE:
--------------------------------------------------------------------------------
1 | Apache Cordova
2 | Copyright 2012 The Apache Software Foundation
3 |
4 | This product includes software developed at
5 | The Apache Software Foundation (http://www.apache.org/).
6 |
--------------------------------------------------------------------------------
/testCordova/plugins/cordova-plugin-whitelist/RELEASENOTES.md:
--------------------------------------------------------------------------------
1 |
21 | # Release Notes
22 |
23 | ### 1.0.0 (Mar 25, 2015)
24 | * CB-8739 added missing license headers
25 | * Add @Override to CustomConfigXmlParser methods
26 | * Change ID to cordova-plugin-whitelist rather than reverse-DNS-style
27 | * Tweak CSP examples in README
28 | * CB-8660 remove extra commas from package.json
29 |
--------------------------------------------------------------------------------
/testCordova/plugins/cordova-plugin-whitelist/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "cordova-plugin-whitelist",
3 | "version": "1.0.0",
4 | "description": "Cordova Whitelist Plugin",
5 | "cordova": {
6 | "platforms": [
7 | "android",
8 | "ios"
9 | ]
10 | },
11 | "repository": {
12 | "type": "git",
13 | "url": "https://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist.git"
14 | },
15 | "keywords": [
16 | "cordova",
17 | "whitelist",
18 | "ecosystem:cordova",
19 | "cordova-android",
20 | "cordova-ios"
21 | ],
22 | "engines": [
23 | {
24 | "name": "cordova-android",
25 | "version": ">=4.0.0-dev"
26 | },
27 | {
28 | "name": "cordova-ios",
29 | "version": ">=4.0.0-dev"
30 | }
31 | ],
32 | "author": "Apache Software Foundation",
33 | "license": "Apache 2.0"
34 | }
35 |
--------------------------------------------------------------------------------
/testCordova/plugins/cordova-plugin-whitelist/whitelist.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing,
13 | * software distributed under the License is distributed on an
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | * KIND, either express or implied. See the License for the
16 | * specific language governing permissions and limitations
17 | * under the License.
18 | *
19 | */
20 |
21 | if (!document.querySelector('meta[http-equiv=Content-Security-Policy]')) {
22 | var msg = 'No Content-Security-Policy meta tag found. Please add one when using the cordova-plugin-whitelist plugin.';
23 | console.error(msg);
24 | setInterval(function() {
25 | console.warn(msg);
26 | }, 10000);
27 | }
28 |
--------------------------------------------------------------------------------
/testCordova/plugins/fetch.json:
--------------------------------------------------------------------------------
1 | {
2 | "cordova-plugin-whitelist": {
3 | "source": {
4 | "type": "registry",
5 | "id": "cordova-plugin-whitelist@1"
6 | },
7 | "is_top_level": true,
8 | "variables": {}
9 | }
10 | }
--------------------------------------------------------------------------------
/testCordova/www/img/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dongweiq/study/03828bf910adeff7cb8959d2331ba6d8bb4df73e/testCordova/www/img/logo.png
--------------------------------------------------------------------------------