phonegap

Using JWplayer in Android for streaming video playback in Phonegap

匿名 (未验证) 提交于 2019-12-03 02:03:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm trying to use JWPlayer as a way around Android not supporting HLS playback in Webview in Phonegap (or ar least I can't get it to work, only with WebM streams and the video plugin on https://github.com/macdonst/VideoPlayer , HLS streams give audio only ) I know the user needs flash installed but at the moment what's most importart for me is to get either the RTMP or HLS (.m3u8) displayed on the device (2.3, 4.0 or 4.1, whichever works!) However I keep getting the "Error loading player: no playable sources found" error when

[Error: Current working directory is not a Cordova-based project.]

匿名 (未验证) 提交于 2019-12-03 02:00:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I created a Phonegap project according to instructions, checked it into SVN, checked it out and then discovered I could no longer run the build command--necessary to have changes to www be replicated to each platform. Terminal in Mac OS X shows this error: [Error: Current working directory is not a Cordova-based project.] 回答1: Yes as others have stated already you need to check into your SVN a few config files and folders in order to make PhoneGap work when you check it out. This is what defines a PhoneGap project: Has a .cordova directory,

Where is cordova-2.7.0.jar?

匿名 (未验证) 提交于 2019-12-03 01:59:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I struggle to build a first Android app from HTML5. So, I follow this detailed tutorial ... It seems that I should add a .jar of Cordova to the project's libs folder, in order to be able to call Cordova's functionnalities in my app.java file. However, I can't find this cordova-2.7.0.jar file anywhere. Maybe shall I generate it? Therefore I tried an other option, by creating the project from the command line tool following the official getting started guide , but there's no cordova.jar either in the generated project files. I feel

JQuery mobile e-book Development

匿名 (未验证) 提交于 2019-12-03 01:58:03
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am in the process of developing an e-book for various mobile devices. This e-book will involve mathematics and it is meant to serve kids in the junior school on tablets and smartphone. My aim is to use JQuery mobile to do this and then use Phone-gap to port it to various native applications that can be accessible through various platform such as android, iPhone, etc. I was wondering if there is any tutorial or help that one can get. It will be very useful if someone can point me to something similar that I can build upon. Please

PhoneGap: Open external link in default browser (outside the app)

匿名 (未验证) 提交于 2019-12-03 01:57:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to open links in Safari (on an iPhone) from a PhoneGap application. I'm using PhoneGap version 3.1.0, and use PhoneGap Build , to build the application. I have two links on the page (shown below in www/index.html). Both links open inside the PhoneGap application. I can see that PhoneGap is loaded correctly, because alert('device ready!'); is triggered. What do I need to change, to open the links in the default browser (outside the app)? The www/config.xml file looks like this: AppName description Company The www/index.html file

Phonegap installation error (npm)

匿名 (未验证) 提交于 2019-12-03 01:54:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have been searching for a solution for two days now to setup Phonegap on my Windows 8.1 system without any success. Whenever I try to install Phonegap through npm I get an error that I think has to do with Cordova(-lib). To install Phonegap I had to install Node.js (v0.10.28) on my system. After this I opened up Windows Powershell and issued the following command like instructed on the Phonegap website: npm install -g phonegap Output: (This is the only part of the error) error notarget No compatible version found: cordova-lib@'lorinbeer

android phonegap notification status bar shows nothing

匿名 (未验证) 提交于 2019-12-03 01:49:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to display a notification msg on android simulator device by using Phonegap plugin called StatusBarNotification , LINK , I followed the instrucations to the word, but when I deploy my application nothing shows in the status bar, What's confusing me is I do not know where to put my notficiation syntax call which is: window.plugins.statusBarNotification.notify("Put your title here", "Put your message here"); What should I do to fix this? 回答1: what about this: Click me! Put this code into your web page. 文章来源: android phonegap

How to play an swf file in phonegap?

匿名 (未验证) 提交于 2019-12-03 01:48:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am developing a flash application in phonegap for android. I have tried to embed the flash in html but of no luck. Its showing blank and nothing comes up. I then tried to use childBrowser, the childbrowser opens up but still a blank screen. Can you please guide me how should I proceed so that i can play swf file. The swf is playing fine in the android browser but it doesn't play when I open up through childBrowser. Do you have any idea? THanks in advance 回答1: You may have to enable the Flash Plugin for the WebView that phonegap

Phonegap Android Geolocation watchPosition timeout

匿名 (未验证) 提交于 2019-12-03 01:48:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using Cordova 3.0.0, A Samsung Galaxy S3 4.1.2 to test. When I test the Phonegap full example for watching position : http://docs.phonegap.com/en/edge/cordova_geolocation_geolocation.md.html#geolocation.watchPosition I get one first line with coords, and then I got the error : code 3 message : Position retrieval timed out. And no other location are returned. The same code on my iphone is working. I am testing when walking, and when I was in a car, same thing. I noticed that when I use google maps on the android device, a gps icons pops

Phonegap No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access

匿名 (未验证) 提交于 2019-12-03 01:48:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: In phonegap I have an issue while calling a PHP file using jQuery AJAX. The error that occurs while calling the file is: No 'Access-Control-Allow-Origin' header is present on the requested resource Google said to put this code header('Access-Control-Allow-Origin: *'); in the current PHP file header. I put the code in the header, but still no changes. I've attached my jsfidde with it. The file connectionsqlphp.php code is here 回答1: There should be no cross origin issue in phonegap/cordova as long as you configure properly access origin in