在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → android phonegap震动,声音,Dialog

android phonegap震动,声音,Dialog

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:10.17M
  • 下载次数:2
  • 浏览次数:80
  • 发布时间:2021-03-09
  • 实例类别:一般编程问题
  • 发 布 人:好学IT男
  • 文件格式:.rar
  • 所需积分:2
 

实例介绍

【实例简介】
phonegap的API提供 震动 响铃 调用原生弹窗功能. 此篇文章以cordova 3.3版本编写 据我总结核心步骤: 创建工程 ; 下载插件 ;编译工程; 调用插件; 按照如下步骤就能生产出代码: 打开cmd 控制台 1 使用命令行 建立phonegap工程 2 进入到phonegap工程下的plugins 文件夹当中 ,使用命令行下载官方插件 ;(输入命令: cordova plugin add org.apache.cordova.vibration) 4 添加生成 android或者IOS 工程 ;android命令如下co
【实例截图】
【核心代码】
69a68407-8ff1-42ae-a6a2-20326060a877
└── my-app
├── platforms
│   └── android
│   ├── AndroidManifest.xml
│   ├── assets
│   │   └── www
│   │   ├── config.xml
│   │   ├── cordova.js
│   │   ├── cordova_plugins.js
│   │   ├── css
│   │   │   └── index.css
│   │   ├── icon.png
│   │   ├── img
│   │   │   └── logo.png
│   │   ├── index.html
│   │   ├── js
│   │   │   └── index.js
│   │   ├── plugins
│   │   │   ├── org.apache.cordova.camera
│   │   │   │   └── www
│   │   │   │   ├── CameraConstants.js
│   │   │   │   ├── Camera.js
│   │   │   │   ├── CameraPopoverHandle.js
│   │   │   │   └── CameraPopoverOptions.js
│   │   │   ├── org.apache.cordova.dialogs
│   │   │   │   └── www
│   │   │   │   ├── android
│   │   │   │   │   └── notification.js
│   │   │   │   └── notification.js
│   │   │   └── org.apache.cordova.vibration
│   │   │   └── www
│   │   │   └── vibration.js
│   │   ├── res
│   │   │   ├── icon
│   │   │   │   ├── android
│   │   │   │   │   ├── icon-36-ldpi.png
│   │   │   │   │   ├── icon-48-mdpi.png
│   │   │   │   │   ├── icon-72-hdpi.png
│   │   │   │   │   └── icon-96-xhdpi.png
│   │   │   │   ├── bada
│   │   │   │   │   └── icon-128.png
│   │   │   │   ├── bada-wac
│   │   │   │   │   ├── icon-48-type5.png
│   │   │   │   │   ├── icon-50-type3.png
│   │   │   │   │   └── icon-80-type4.png
│   │   │   │   ├── blackberry
│   │   │   │   │   └── icon-80.png
│   │   │   │   ├── ios
│   │   │   │   │   ├── icon-57-2x.png
│   │   │   │   │   ├── icon-57.png
│   │   │   │   │   ├── icon-72-2x.png
│   │   │   │   │   └── icon-72.png
│   │   │   │   ├── tizen
│   │   │   │   │   └── icon-128.png
│   │   │   │   ├── webos
│   │   │   │   │   └── icon-64.png
│   │   │   │   └── windows-phone
│   │   │   │   ├── icon-173-tile.png
│   │   │   │   ├── icon-48.png
│   │   │   │   └── icon-62-tile.png
│   │   │   └── screen
│   │   │   ├── android
│   │   │   │   ├── screen-hdpi-landscape.png
│   │   │   │   ├── screen-hdpi-portrait.png
│   │   │   │   ├── screen-ldpi-landscape.png
│   │   │   │   ├── screen-ldpi-portrait.png
│   │   │   │   ├── screen-mdpi-landscape.png
│   │   │   │   ├── screen-mdpi-portrait.png
│   │   │   │   ├── screen-xhdpi-landscape.png
│   │   │   │   └── screen-xhdpi-portrait.png
│   │   │   ├── bada
│   │   │   │   └── screen-portrait.png
│   │   │   ├── bada-wac
│   │   │   │   ├── screen-type3.png
│   │   │   │   ├── screen-type4.png
│   │   │   │   └── screen-type5.png
│   │   │   ├── blackberry
│   │   │   │   └── screen-225.png
│   │   │   ├── ios
│   │   │   │   ├── screen-ipad-landscape-2x.png
│   │   │   │   ├── screen-ipad-landscape.png
│   │   │   │   ├── screen-ipad-portrait-2x.png
│   │   │   │   ├── screen-ipad-portrait.png
│   │   │   │   ├── screen-iphone-landscape-2x.png
│   │   │   │   ├── screen-iphone-landscape.png
│   │   │   │   ├── screen-iphone-portrait-2x.png
│   │   │   │   ├── screen-iphone-portrait-568h-2x.png
│   │   │   │   └── screen-iphone-portrait.png
│   │   │   ├── tizen
│   │   │   │   └── README.md
│   │   │   ├── webos
│   │   │   │   └── screen-64.png
│   │   │   └── windows-phone
│   │   │   └── screen-portrait.jpg
│   │   ├── spec
│   │   │   ├── helper.js
│   │   │   ├── index.js
│   │   │   └── lib
│   │   │   └── jasmine-1.2.0
│   │   │   ├── jasmine.css
│   │   │   ├── jasmine-html.js
│   │   │   ├── jasmine.js
│   │   │   └── MIT.LICENSE
│   │   └── spec.html
│   ├── bin
│   │   ├── AndroidManifest.xml
│   │   ├── AndroidManifest.xml.d
│   │   ├── build.prop
│   │   ├── classes
│   │   │   ├── com
│   │   │   │   └── phonegap
│   │   │   │   └── helloworld
│   │   │   │   ├── BuildConfig.class
│   │   │   │   ├── HelloWorld.class
│   │   │   │   ├── R$attr.class
│   │   │   │   ├── R$drawable.class
│   │   │   │   ├── R$string.class
│   │   │   │   ├── R$xml.class
│   │   │   │   └── R.class
│   │   │   └── org
│   │   │   └── apache
│   │   │   └── cordova
│   │   │   ├── camera
│   │   │   │   ├── CameraLauncher.class
│   │   │   │   ├── ExifHelper.class
│   │   │   │   └── FileHelper.class
│   │   │   ├── dialogs
│   │   │   │   ├── Notification$1$1.class
│   │   │   │   ├── Notification$1$2.class
│   │   │   │   ├── Notification$1.class
│   │   │   │   ├── Notification$2$1.class
│   │   │   │   ├── Notification$2$2.class
│   │   │   │   ├── Notification$2$3.class
│   │   │   │   ├── Notification$2$4.class
│   │   │   │   ├── Notification$2.class
│   │   │   │   ├── Notification$3$1.class
│   │   │   │   ├── Notification$3$2.class
│   │   │   │   ├── Notification$3$3.class
│   │   │   │   ├── Notification$3$4.class
│   │   │   │   ├── Notification$3.class
│   │   │   │   ├── Notification$4$1.class
│   │   │   │   ├── Notification$4.class
│   │   │   │   ├── Notification$5$1.class
│   │   │   │   ├── Notification$5.class
│   │   │   │   └── Notification.class
│   │   │   └── vibration
│   │   │   └── Vibration.class
│   │   ├── classes.dex
│   │   ├── classes.dex.d
│   │   ├── dexedLibs
│   │   │   └── helloworld-cordovalib-336382efd995f20eabd2738bebadcbbc.jar
│   │   ├── HelloWorld.ap_
│   │   ├── HelloWorld.ap_.d
│   │   ├── HelloWorld.apk
│   │   ├── HelloWorld-debug.apk
│   │   ├── HelloWorld-debug-unaligned.apk
│   │   ├── HelloWorld-debug-unaligned.apk.d
│   │   ├── proguard.txt
│   │   ├── res
│   │   │   └── crunch
│   │   │   ├── drawable
│   │   │   │   └── icon.png
│   │   │   ├── drawable-hdpi
│   │   │   │   └── icon.png
│   │   │   ├── drawable-ldpi
│   │   │   │   └── icon.png
│   │   │   ├── drawable-mdpi
│   │   │   │   └── icon.png
│   │   │   └── drawable-xhdpi
│   │   │   └── icon.png
│   │   ├── resources.ap_
│   │   └── R.txt
│   ├── build.xml
│   ├── 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
│   │   │   ├── clean.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
│   │   │   ├── run.js
│   │   │   ├── start-emulator
│   │   │   └── start-emulator.bat
│   │   ├── log
│   │   ├── log.bat
│   │   ├── node_modules
│   │   │   ├── q
│   │   │   │   ├── benchmark
│   │   │   │   │   ├── compare-with-callbacks.js
│   │   │   │   │   └── scenarios.js
│   │   │   │   ├── CONTRIBUTING.md
│   │   │   │   ├── LICENSE
│   │   │   │   ├── package.json
│   │   │   │   ├── q.js
│   │   │   │   ├── queue.js
│   │   │   │   └── README.md
│   │   │   └── shelljs
│   │   │   ├── bin
│   │   │   │   └── shjs
│   │   │   ├── global.js
│   │   │   ├── LICENSE
│   │   │   ├── make.js
│   │   │   ├── package.json
│   │   │   ├── README.md
│   │   │   ├── 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
│   │   │   ├── toEnd.js
│   │   │   ├── to.js
│   │   │   └── which.js
│   │   ├── run
│   │   ├── run.bat
│   │   ├── version
│   │   └── version.bat
│   ├── CordovaLib
│   │   ├── AndroidManifest.xml
│   │   ├── bin
│   │   │   ├── AndroidManifest.xml
│   │   │   ├── AndroidManifest.xml.d
│   │   │   ├── build.prop
│   │   │   ├── classes
│   │   │   │   ├── com
│   │   │   │   │   └── squareup
│   │   │   │   │   └── okhttp
│   │   │   │   │   ├── Address.class
│   │   │   │   │   ├── Connection.class
│   │   │   │   │   ├── ConnectionPool$1.class
│   │   │   │   │   ├── ConnectionPool$2.class
│   │   │   │   │   ├── ConnectionPool.class
│   │   │   │   │   ├── HttpResponseCache$1.class
│   │   │   │   │   ├── HttpResponseCache$2.class
│   │   │   │   │   ├── HttpResponseCache$CacheRequestImpl$1.class
│   │   │   │   │   ├── HttpResponseCache$CacheRequestImpl.class
│   │   │   │   │   ├── HttpResponseCache$EntryCacheResponse.class
│   │   │   │   │   ├── HttpResponseCache$Entry.class
│   │   │   │   │   ├── HttpResponseCache$EntrySecureCacheResponse.class
│   │   │   │   │   ├── HttpResponseCache.class
│   │   │   │   │   ├── internal
│   │   │   │   │   │   ├── AbstractOutputStream.class
│   │   │   │   │   │   ├── Base64.class
│   │   │   │   │   │   ├── DiskLruCache$1.class
│   │   │   │   │   │   ├── DiskLruCache$2.class
│   │   │   │   │   │   ├── DiskLruCache$Editor$FaultHidingOutputStream.class
│   │   │   │   │   │   ├── DiskLruCache$Editor.class
│   │   │   │   │   │   ├── DiskLruCache$Entry.class
│   │   │   │   │   │   ├── DiskLruCache$Snapshot.class
│   │   │   │   │   │   ├── DiskLruCache.class
│   │   │   │   │   │   ├── Dns$1.class
│   │   │   │   │   │   ├── Dns.class
│   │   │   │   │   │   ├── FaultRecoveringOutputStream.class
│   │   │   │   │   │   ├── http
│   │   │   │   │   │   │   ├── AbstractHttpInputStream.class
│   │   │   │   │   │   │   ├── AbstractHttpOutputStream.class
│   │   │   │   │   │   │   ├── HeaderParser$CacheControlHandler.class
│   │   │   │   │   │   │   ├── HeaderParser.class
│   │   │   │   │   │   │   ├── HttpAuthenticator$Challenge.class
│   │   │   │   │   │   │   ├── HttpAuthenticator.class
│   │   │   │   │   │   │   ├── HttpDate$1.class
│   │   │   │   │   │   │   ├── HttpDate.class
│   │   │   │   │   │   │   ├── HttpEngine$1.class
│   │   │   │   │   │   │   ├── HttpEngine.class
│   │   │   │   │   │   │   ├── HttpResponseCache$1.class
│   │   │   │   │   │   │   ├── HttpResponseCache$CacheRequestImpl$1.class
│   │   │   │   │   │   │   ├── HttpResponseCache$CacheRequestImpl.class
│   │   │   │   │   │   │   ├── HttpResponseCache$EntryCacheResponse.class
│   │   │   │   │   │   │   ├── HttpResponseCache$Entry.class
│   │   │   │   │   │   │   ├── HttpResponseCache$EntrySecureCacheResponse.class
│   │   │   │   │   │   │   ├── HttpResponseCache.class
│   │   │   │   │   │   │   ├── HttpsURLConnectionImpl$HttpsEngine.class
│   │   │   │   │   │   │   ├── HttpsURLConnectionImpl$HttpUrlConnectionDelegate.class
│   │   │   │   │   │   │   ├── HttpsURLConnectionImpl.class
│   │   │   │   │   │   │   ├── HttpTransport$ChunkedInputStream.class
│   │   │   │   │   │   │   ├── HttpTransport$ChunkedOutputStream.class
│   │   │   │   │   │   │   ├── HttpTransport$FixedLengthInputStream.class
│   │   │   │   │   │   │   ├── HttpTransport$FixedLengthOutputStream.class
│   │   │   │   │   │   │   ├── HttpTransport.class
│   │   │   │   │   │   │   ├── HttpURLConnectionImpl$1.class
│   │   │   │   │   │   │   ├── HttpURLConnectionImpl$Retry.class
│   │   │   │   │   │   │   ├── HttpURLConnectionImpl.class
│   │   │   │   │   │   │   ├── OkResponseCacheAdapter.class
│   │   │   │   │   │   │   ├── OkResponseCache.class
│   │   │   │   │   │   │   ├── RawHeaders$1.class
│   │   │   │   │   │   │   ├── RawHeaders.class
│   │   │   │   │   │   │   ├── RequestHeaders$1.class
│   │   │   │   │   │   │   ├── RequestHeaders.class
│   │   │   │   │   │   │   ├── ResponseHeaders$1.class
│   │   │   │   │   │   │   ├── ResponseHeaders.class
│   │   │   │   │   │   │   ├── RetryableOutputStream.class
│   │   │   │   │   │   │   ├── RouteSelector.class
│   │   │   │   │   │   │   ├── SpdyTransport.class
│   │   │   │   │   │   │   ├── Transport.class
│   │   │   │   │   │   │   └── UnknownLengthHttpInputStream.class
│   │   │   │   │   │   ├── NamedRunnable.class
│   │   │   │   │   │   ├── Platform$Android23.class
│   │   │   │   │   │   ├── Platform$Android41.class
│   │   │   │   │   │   ├── Platform$Java5.class
│   │   │   │   │   │   ├── Platform$JdkWithJettyNpnPlatform.class
│   │   │   │   │   │   ├── Platform$JettyNpnProvider.class
│   │   │   │   │   │   ├── Platform.class
│   │   │   │   │   │   ├── spdy
│   │   │   │   │   │   │   ├── IncomingStreamHandler$1.class
│   │   │   │   │   │   │   ├── IncomingStreamHandler.class
│   │   │   │   │   │   │   ├── Ping.class
│   │   │   │   │   │   │   ├── Settings.class
│   │   │   │   │   │   │   ├── SpdyConnection$1.class
│   │   │   │   │   │   │   ├── SpdyConnection$2.class
│   │   │   │   │   │   │   ├── SpdyConnection$3.class
│   │   │   │   │   │   │   ├── SpdyConnection$Builder.class
│   │   │   │   │   │   │   ├── SpdyConnection$Reader$1.class
│   │   │   │   │   │   │   ├── SpdyConnection$Reader.class
│   │   │   │   │   │   │   ├── SpdyConnection.class
│   │   │   │   │   │   │   ├── SpdyReader$1.class
│   │   │   │   │   │   │   ├── SpdyReader$2.class
│   │   │   │   │   │   │   ├── SpdyReader$Handler.class
│   │   │   │   │   │   │   ├── SpdyReader.class
│   │   │   │   │   │   │   ├── SpdyStream$SpdyDataInputStream.class
│   │   │   │   │   │   │   ├── SpdyStream$SpdyDataOutputStream.class
│   │   │   │   │   │   │   ├── SpdyStream.class
│   │   │   │   │   │   │   └── SpdyWriter.class
│   │   │   │   │   │   ├── StrictLineReader$1.class
│   │   │   │   │   │   ├── StrictLineReader.class
│   │   │   │   │   │   └── Util.class
│   │   │   │   │   ├── OkHttpClient.class
│   │   │   │   │   ├── OkResponseCache.class
│   │   │   │   │   ├── ResponseSource.class
│   │   │   │   │   ├── Route.class
│   │   │   │   │   └── TunnelRequest.class
│   │   │   │   ├── org
│   │   │   │   │   └── apache
│   │   │   │   │   └── cordova
│   │   │   │   │   ├── App$1.class
│   │   │   │   │   ├── App$2.class
│   │   │   │   │   ├── App$3.class
│   │   │   │   │   ├── App.class
│   │   │   │   │   ├── AuthenticationToken.class
│   │   │   │   │   ├── BuildConfig.class
│   │   │   │   │   ├── CallbackContext.class
│   │   │   │   │   ├── Config.class
│   │   │   │   │   ├── CordovaActivity$1.class
│   │   │   │   │   ├── CordovaActivity$2.class
│   │   │   │   │   ├── CordovaActivity$3.class
│   │   │   │   │   ├── CordovaActivity$4$1.class
│   │   │   │   │   ├── CordovaActivity$4.class
│   │   │   │   │   ├── CordovaActivity$5$1.class
│   │   │   │   │   ├── CordovaActivity$5.class
│   │   │   │   │   ├── CordovaActivity.class
│   │   │   │   │   ├── CordovaArgs.class
│   │   │   │   │   ├── CordovaChromeClient$1.class
│   │   │   │   │   ├── CordovaChromeClient$2.class
│   │   │   │   │   ├── CordovaChromeClient$3.class
│   │   │   │   │   ├── CordovaChromeClient$4.class
│   │   │   │   │   ├── CordovaChromeClient$5.class
│   │   │   │   │   ├── CordovaChromeClient$6.class
│   │   │   │   │   ├── CordovaChromeClient$7.class
│   │   │   │   │   ├── CordovaChromeClient$8.class
│   │   │   │   │   ├── CordovaChromeClient$9.class
│   │   │   │   │   ├── CordovaChromeClient.class
│   │   │   │   │   ├── CordovaInterface.class
│   │   │   │   │   ├── CordovaPlugin.class
│   │   │   │   │   ├── CordovaResourceApi$OpenForReadResult.class
│   │   │   │   │   ├── CordovaResourceApi.class
│   │   │   │   │   ├── CordovaWebView$1.class
│   │   │   │   │   ├── CordovaWebView$2.class
│   │   │   │   │   ├── CordovaWebView$3.class
│   │   │   │   │   ├── CordovaWebView$4.class
│   │   │   │   │   ├── CordovaWebView$ActivityResult.class
│   │   │   │   │   ├── CordovaWebView$Level16Apis.class
│   │   │   │   │   ├── CordovaWebView.class
│   │   │   │   │   ├── CordovaWebViewClient$1$1.class
│   │   │   │   │   ├── CordovaWebViewClient$1.class
│   │   │   │   │   ├── CordovaWebViewClient.class
│   │   │   │   │   ├── DirectoryManager.class
│   │   │   │   │   ├── DroidGap.class
│   │   │   │   │   ├── ExifHelper.class
│   │   │   │   │   ├── ExposedJsApi.class
│   │   │   │   │   ├── FileHelper.class
│   │   │   │   │   ├── IceCreamCordovaWebViewClient.class
│   │   │   │   │   ├── JSONUtils.class
│   │   │   │   │   ├── LinearLayoutSoftKeyboardDetect.class
│   │   │   │   │   ├── LOG.class
│   │   │   │   │   ├── NativeToJsMessageQueue$BridgeMode.class
│   │   │   │   │   ├── NativeToJsMessageQueue$JsMessage.class
│   │   │   │   │   ├── NativeToJsMessageQueue$LoadUrlBridgeMode$1.class
│   │   │   │   │   ├── NativeToJsMessageQueue$LoadUrlBridgeMode.class
│   │   │   │   │   ├── NativeToJsMessageQueue$OnlineEventsBridgeMode$1.class
│   │   │   │   │   ├── NativeToJsMessageQueue$OnlineEventsBridgeMode.class
│   │   │   │   │   ├── NativeToJsMessageQueue$PrivateApiBridgeMode.class
│   │   │   │   │   ├── NativeToJsMessageQueue.class
│   │   │   │   │   ├── PluginEntry.class
│   │   │   │   │   ├── PluginManager$1.class
│   │   │   │   │   ├── PluginManager$PluginManagerService$1.class
│   │   │   │   │   ├── PluginManager$PluginManagerService.class
│   │   │   │   │   ├── PluginManager.class
│   │   │   │   │   ├── PluginResult$Status.class
│   │   │   │   │   ├── PluginResult.class
│   │   │   │   │   ├── ScrollEvent.class
│   │   │   │   │   ├── Whitelist$URLPattern.class
│   │   │   │   │   └── Whitelist.class
│   │   │   │   └── R.java.d
│   │   │   ├── classes.jar
│   │   │   ├── helloworld-cordovalib.jar
│   │   │   └── proguard.txt
│   │   ├── build.xml
│   │   ├── gen
│   │   │   ├── org
│   │   │   │   └── apache
│   │   │   │   └── cordova
│   │   │   │   └── BuildConfig.java
│   │   │   └── R.java.d
│   │   ├── local.properties
│   │   ├── proguard-project.txt
│   │   ├── project.properties
│   │   └── src
│   │   ├── com
│   │   │   └── squareup
│   │   │   └── okhttp
│   │   │   ├── Address.java
│   │   │   ├── Connection.java
│   │   │   ├── ConnectionPool.java
│   │   │   ├── HttpResponseCache.java
│   │   │   ├── internal
│   │   │   │   ├── AbstractOutputStream.java
│   │   │   │   ├── Base64.java
│   │   │   │   ├── DiskLruCache.java
│   │   │   │   ├── Dns.java
│   │   │   │   ├── FaultRecoveringOutputStream.java
│   │   │   │   ├── http
│   │   │   │   │   ├── AbstractHttpInputStream.java
│   │   │   │   │   ├── AbstractHttpOutputStream.java
│   │   │   │   │   ├── HeaderParser.java
│   │   │   │   │   ├── HttpAuthenticator.java
│   │   │   │   │   ├── HttpDate.java
│   │   │   │   │   ├── HttpEngine.java
│   │   │   │   │   ├── HttpResponseCache.java
│   │   │   │   │   ├── HttpsURLConnectionImpl.java
│   │   │   │   │   ├── HttpTransport.java
│   │   │   │   │   ├── HttpURLConnectionImpl.java
│   │   │   │   │   ├── OkResponseCacheAdapter.java
│   │   │   │   │   ├── OkResponseCache.java
│   │   │   │   │   ├── RawHeaders.java
│   │   │   │   │   ├── RequestHeaders.java
│   │   │   │   │   ├── ResponseHeaders.java
│   │   │   │   │   ├── RetryableOutputStream.java
│   │   │   │   │   ├── RouteSelector.java
│   │   │   │   │   ├── SpdyTransport.java
│   │   │   │   │   ├── Transport.java
│   │   │   │   │   └── UnknownLengthHttpInputStream.java
│   │   │   │   ├── NamedRunnable.java
│   │   │   │   ├── Platform.java
│   │   │   │   ├── spdy
│   │   │   │   │   ├── IncomingStreamHandler.java
│   │   │   │   │   ├── Ping.java
│   │   │   │   │   ├── Settings.java
│   │   │   │   │   ├── SpdyConnection.java
│   │   │   │   │   ├── SpdyReader.java
│   │   │   │   │   ├── SpdyStream.java
│   │   │   │   │   └── SpdyWriter.java
│   │   │   │   ├── StrictLineReader.java
│   │   │   │   └── Util.java
│   │   │   ├── OkHttpClient.java
│   │   │   ├── OkResponseCache.java
│   │   │   ├── ResponseSource.java
│   │   │   ├── Route.java
│   │   │   └── TunnelRequest.java
│   │   └── org
│   │   └── apache
│   │   └── cordova
│   │   ├── App.java
│   │   ├── AuthenticationToken.java
│   │   ├── CallbackContext.java
│   │   ├── Config.java
│   │   ├── CordovaActivity.java
│   │   ├── CordovaArgs.java
│   │   ├── CordovaChromeClient.java
│   │   ├── CordovaInterface.java
│   │   ├── CordovaPlugin.java
│   │   ├── CordovaResourceApi.java
│   │   ├── CordovaWebViewClient.java
│   │   ├── CordovaWebView.java
│   │   ├── DirectoryManager.java
│   │   ├── DroidGap.java
│   │   ├── ExifHelper.java
│   │   ├── ExposedJsApi.java
│   │   ├── FileHelper.java
│   │   ├── IceCreamCordovaWebViewClient.java
│   │   ├── JSONUtils.java
│   │   ├── LinearLayoutSoftKeyboardDetect.java
│   │   ├── LOG.java
│   │   ├── NativeToJsMessageQueue.java
│   │   ├── PluginEntry.java
│   │   ├── PluginManager.java
│   │   ├── PluginResult.java
│   │   ├── ScrollEvent.java
│   │   └── Whitelist.java
│   ├── gen
│   │   └── com
│   │   └── phonegap
│   │   └── helloworld
│   │   ├── BuildConfig.java
│   │   └── R.java
│   ├── local.properties
│   ├── platform_www
│   │   └── cordova.js
│   ├── proguard-project.txt
│   ├── project.properties
│   ├── res
│   │   ├── drawable
│   │   │   └── icon.png
│   │   ├── drawable-hdpi
│   │   │   └── icon.png
│   │   ├── drawable-ldpi
│   │   │   └── icon.png
│   │   ├── drawable-mdpi
│   │   │   └── icon.png
│   │   ├── drawable-xhdpi
│   │   │   └── icon.png
│   │   ├── values
│   │   │   └── strings.xml
│   │   └── xml
│   │   └── config.xml
│   └── src
│   ├── com
│   │   └── phonegap
│   │   └── helloworld
│   │   └── HelloWorld.java
│   └── org
│   └── apache
│   └── cordova
│   ├── camera
│   │   ├── CameraLauncher.java
│   │   ├── ExifHelper.java
│   │   └── FileHelper.java
│   ├── dialogs
│   │   └── Notification.java
│   └── vibration
│   └── Vibration.java
├── plugins
│   ├── android.json
│   ├── org.apache.cordova.camera
│   │   ├── doc
│   │   │   └── index.md
│   │   ├── LICENSE
│   │   ├── package.json
│   │   ├── plugin.xml
│   │   ├── README.md
│   │   ├── RELEASENOTES.md
│   │   ├── src
│   │   │   ├── android
│   │   │   │   ├── CameraLauncher.java
│   │   │   │   ├── ExifHelper.java
│   │   │   │   └── FileHelper.java
│   │   │   ├── blackberry10
│   │   │   │   └── index.js
│   │   │   ├── firefoxos
│   │   │   │   └── CameraProxy.js
│   │   │   ├── ios
│   │   │   │   ├── CDVCamera.h
│   │   │   │   ├── CDVCamera.m
│   │   │   │   ├── CDVExif.h
│   │   │   │   ├── CDVJpegHeaderWriter.h
│   │   │   │   └── CDVJpegHeaderWriter.m
│   │   │   ├── ubuntu
│   │   │   │   ├── back.png
│   │   │   │   ├── camera.cpp
│   │   │   │   ├── camera.h
│   │   │   │   ├── CaptureWidget.qml
│   │   │   │   ├── shoot.png
│   │   │   │   ├── toolbar-left.png
│   │   │   │   ├── toolbar-middle.png
│   │   │   │   └── toolbar-right.png
│   │   │   ├── windows8
│   │   │   │   └── CameraProxy.js
│   │   │   └── wp
│   │   │   └── Camera.cs
│   │   └── www
│   │   ├── CameraConstants.js
│   │   ├── Camera.js
│   │   ├── CameraPopoverHandle.js
│   │   ├── CameraPopoverOptions.js
│   │   └── ios
│   │   └── CameraPopoverHandle.js
│   ├── org.apache.cordova.dialogs
│   │   ├── doc
│   │   │   └── index.md
│   │   ├── LICENSE
│   │   ├── package.json
│   │   ├── plugin.xml
│   │   ├── README.md
│   │   ├── RELEASENOTES.md
│   │   ├── src
│   │   │   ├── android
│   │   │   │   └── Notification.java
│   │   │   ├── blackberry10
│   │   │   │   └── index.js
│   │   │   ├── firefoxos
│   │   │   │   └── notification.js
│   │   │   ├── ios
│   │   │   │   ├── CDVNotification.bundle
│   │   │   │   │   └── beep.wav
│   │   │   │   ├── CDVNotification.h
│   │   │   │   └── CDVNotification.m
│   │   │   ├── ubuntu
│   │   │   │   ├── notification.cpp
│   │   │   │   ├── notification.h
│   │   │   │   └── notification.qml
│   │   │   ├── windows8
│   │   │   │   └── NotificationProxy.js
│   │   │   └── wp
│   │   │   ├── notification-beep.wav
│   │   │   ├── NotificationBox.xaml
│   │   │   ├── NotificationBox.xaml.cs
│   │   │   └── Notification.cs
│   │   └── www
│   │   ├── android
│   │   │   └── notification.js
│   │   ├── blackberry10
│   │   │   └── beep.js
│   │   ├── firefoxos
│   │   │   ├── danger.png
│   │   │   ├── danger-press.png
│   │   │   ├── default.png
│   │   │   ├── gradient.png
│   │   │   ├── notification.css
│   │   │   ├── pattern.png
│   │   │   └── recommend.png
│   │   └── notification.js
│   └── org.apache.cordova.vibration
│   ├── doc
│   │   └── index.md
│   ├── LICENSE
│   ├── package.json
│   ├── plugin.xml
│   ├── README.md
│   ├── RELEASENOTES.md
│   ├── src
│   │   ├── android
│   │   │   └── Vibration.java
│   │   ├── blackberry10
│   │   │   ├── index.js
│   │   │   └── native
│   │   │   ├── device
│   │   │   │   └── libVibration.so
│   │   │   ├── public
│   │   │   │   ├── plugin.cpp
│   │   │   │   ├── plugin.h
│   │   │   │   ├── tokenizer.cpp
│   │   │   │   └── tokenizer.h
│   │   │   ├── simulator
│   │   │   │   └── libVibration.so
│   │   │   └── src
│   │   │   ├── vibration_js.cpp
│   │   │   └── vibration_js.hpp
│   │   ├── firefoxos
│   │   │   └── VibrationProxy.js
│   │   ├── ios
│   │   │   ├── CDVVibration.h
│   │   │   └── CDVVibration.m
│   │   ├── tizen
│   │   │   └── VibrationProxy.js
│   │   ├── ubuntu
│   │   │   ├── vibration.cpp
│   │   │   └── vibration.h
│   │   └── wp
│   │   └── Vibration.cs
│   └── www
│   ├── blackberry10
│   │   └── vibrate.js
│   └── vibration.js
└── www
├── config.xml
├── css
│   └── index.css
├── icon.png
├── img
│   └── logo.png
├── index.html
├── js
│   └── index.js
├── res
│   ├── icon
│   │   ├── android
│   │   │   ├── icon-36-ldpi.png
│   │   │   ├── icon-48-mdpi.png
│   │   │   ├── icon-72-hdpi.png
│   │   │   └── icon-96-xhdpi.png
│   │   ├── bada
│   │   │   └── icon-128.png
│   │   ├── bada-wac
│   │   │   ├── icon-48-type5.png
│   │   │   ├── icon-50-type3.png
│   │   │   └── icon-80-type4.png
│   │   ├── blackberry
│   │   │   └── icon-80.png
│   │   ├── ios
│   │   │   ├── icon-57-2x.png
│   │   │   ├── icon-57.png
│   │   │   ├── icon-72-2x.png
│   │   │   └── icon-72.png
│   │   ├── tizen
│   │   │   └── icon-128.png
│   │   ├── webos
│   │   │   └── icon-64.png
│   │   └── windows-phone
│   │   ├── icon-173-tile.png
│   │   ├── icon-48.png
│   │   └── icon-62-tile.png
│   └── screen
│   ├── android
│   │   ├── screen-hdpi-landscape.png
│   │   ├── screen-hdpi-portrait.png
│   │   ├── screen-ldpi-landscape.png
│   │   ├── screen-ldpi-portrait.png
│   │   ├── screen-mdpi-landscape.png
│   │   ├── screen-mdpi-portrait.png
│   │   ├── screen-xhdpi-landscape.png
│   │   └── screen-xhdpi-portrait.png
│   ├── bada
│   │   └── screen-portrait.png
│   ├── bada-wac
│   │   ├── screen-type3.png
│   │   ├── screen-type4.png
│   │   └── screen-type5.png
│   ├── blackberry
│   │   └── screen-225.png
│   ├── ios
│   │   ├── screen-ipad-landscape-2x.png
│   │   ├── screen-ipad-landscape.png
│   │   ├── screen-ipad-portrait-2x.png
│   │   ├── screen-ipad-portrait.png
│   │   ├── screen-iphone-landscape-2x.png
│   │   ├── screen-iphone-landscape.png
│   │   ├── screen-iphone-portrait-2x.png
│   │   ├── screen-iphone-portrait-568h-2x.png
│   │   └── screen-iphone-portrait.png
│   ├── tizen
│   │   └── README.md
│   ├── webos
│   │   └── screen-64.png
│   └── windows-phone
│   └── screen-portrait.jpg
├── spec
│   ├── helper.js
│   ├── index.js
│   └── lib
│   └── jasmine-1.2.0
│   ├── jasmine.css
│   ├── jasmine-html.js
│   ├── jasmine.js
│   └── MIT.LICENSE
└── spec.html

186 directories, 608 files

标签:

实例下载地址

android phonegap震动,声音,Dialog

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警