hybrid-mobile-app

Phaser HTML5 app cannot play sound after porting by Phonegap Cloud Build

天涯浪子 提交于 2019-12-11 12:03:36
问题 This's a simple Phaser audio example. It works well on my Android web browser. However, it's muted after porting to Android app by Phonegap cloud build. I know how to play sound (and loop) in Phonegap app (How to loop a audio in phonegap?) but don't know how to apply it into the Phaser JS framework. Here's the ported app. I can install and run it but without sound. Do I miss something or Phonegap Cloud Build does support the WebAudio in Phaser JS? https://build.phonegap.com/apps/1783695/ My

Phonegap jQueryMobile Theme on android

北慕城南 提交于 2019-12-11 11:05:47
问题 Here I am and I need your help. I've been working on Android applications for a few months and today the enterprise asks me to use Phonegap as to create a hybride app. I'd like to try some themes with ThemeRoller but when I try to input the files in my app, something goes wrong : the theme doesn't apply ! Well, this is partly true because if I look at the app using my web Browser, the theme applies perfectly but when I build & run the app on my phone, the text will appear as if there weren't

ngCordova capture not working on device

巧了我就是萌 提交于 2019-12-11 08:35:09
问题 I'm am attempting to record audio using Ionic and ngCordova. Here is my code: $scope.captureAudio = function() { var options = { limit: 3, duration: 10 }; $cordovaCapture.captureAudio(options).then(function(audioData) { // Success! Audio data is here alert(audioData); console.log(audioData); }, function(err) { // An error occurred. Show a message to the user alert(err); }); }; When I run this in the emulator it works fine and brings up the voice recorder and when the recording is done it logs

ionic 2 themeable browser error “”

时光怂恿深爱的人放手 提交于 2019-12-11 08:26:23
问题 Things i did : installed the plugin. Ans here my code for app/app.component : import { ThemeableBrowser, ThemeableBrowserOptions, ThemeableBrowserObject } from '@ionic-native/themeable-browser'; app/app.module.ts : import { ThemeableBrowser, ThemeableBrowserOptions, ThemeableBrowserObject } from '@ionic-native/themeable-browser'; providers: [{provide: ErrorHandler, useClass: IonicErrorHandler}ThemeableBrowser] My about.ts : import { ThemeableBrowser } from 'ionic-native'; open() { const

Can you use Apple's mapkit for a hybrid application?

≡放荡痞女 提交于 2019-12-11 05:35:03
问题 This web application is for Web and Android. I looked into others like Google, but they have limits. If you can use it can anyone point me to the documentation for it. Thanks. 回答1: 2019 Update: Apple now has a first-party JavaScript framework for using Apple Maps on the web: MapKit JS documentation. Original Answer: There is no officially supported way to use Apple Maps or MapKit on any platform but except iOS and macOS. That said, here is the JS source for implementing Apple Maps on the web.

WKWebView does not display web page even though it finishes loading

一世执手 提交于 2019-12-11 04:45:07
问题 So we have this app for some customer who insisted on keeping cart and checkout hybrid rather than developing native pages. Now they have an intermediate web page (let's call it IWP) that is showed before order confirmation page. While doing checkout on Mobile Safari, this web page is displayed and then user is redirected to order confirmation page. But on WKWebView used in my app, IWP never shows in the WKWebView . It completes loading the IWP and after a second user is redirected to order

Is it mandatory to use Kony middleware for Kony application?

早过忘川 提交于 2019-12-11 03:19:12
问题 I am creating a Cross platform application using Kony Studio. We are having our backend and web services ready. Can we consume same services with out accessing Kony middleware? If yes, can you please help with some sample code and tutorials. 回答1: We can call consume the services without using the middleware using the HTTPRequest API var request = new kony.net.HttpRequest(); request.onReadyStateChange = callbackHandler1; request.open(constants.HTTP_METHOD_GET, service_url); request.send(); You

Visual Studio 2015 Using Incorrect Cordova Version

若如初见. 提交于 2019-12-11 02:19:57
问题 I'm new to Cordova development, and I'm using Visual Studio 2015 RC on Windows 10. I'm targeting Cordova 5.0.0, however, when I'm debugging using the Windows Phone emulator, and I take a look at the dynamic code, I notice that Visual Studio is pulling down Cordova 3.9.0-dev. Am I missing something here? Edit I'll note, that other than this problem over here, I'm not seeing any obvious issues with this, and the Cordova plugins I'm using do work. 回答1: I'm not a GIT user, but, it appears that

Use Sencha Touch in Windows 8 metro app

坚强是说给别人听的谎言 提交于 2019-12-11 01:09:48
问题 I want to know how to use Sencha Touch Frame in windows 8 metro app project with Windows JS project. When i try to add sencha Touch to html page i receive exception Unable to add dynamic content. A script attempted to inject dynamic content, or elements previously modified dynamically, that might be unsafe. For example, using the innerHTML property to add script or malformed HTML will generate this exception. Use the toStaticHTML method to filter dynamic content, or explicitly create elements

Open link in device's default browser. Crosswalk android application

社会主义新天地 提交于 2019-12-10 21:10:14
问题 I am creating an app for Android devices using HTML and JavaScript. I am using Crosswalk (15.44.384.12) to bundle this into an Android application, which pretty much creates an android app with a web browser built in, to run my application. I have everything working on the Android device, but I am struggling to find out how to open a link from my app in the device's default browser using JavaScript. If I use window.open(), it will just load within my app, which is not what I want. I have