ibm-mobilefirst

IBM Worklight 5.0.6 - Play custom sound on push notification error

守給你的承諾、 提交于 2020-01-25 00:57:19
问题 I've folow this tutorial : IBM Worklight 5.0.5 - Play custom sound on push notification but get an error: 回答1: The problem is that you placed the raw folder in the wrong location. It should be INSIDE the res folder. If you don't have a nativeResources folder in your project, just make sure to create a raw -named folder in the native\res folder and place the sound file there. Just as FYI: I've imported the Push Notifications project Updated application-descriptor.xml with my GCM ID and Key

Worklight 6.0 does not start on Liberty - HSQLDB

北慕城南 提交于 2020-01-25 00:33:46
问题 I have followed the infocenter docs to setup Worklight on Liberty and Oracle Database all on Windows 2008. (http://pic.dhe.ibm.com/infocenter/wrklight/v6r0m0/topic/com.ibm.worklight.help.doc/devref/t_transporting_apps_and_adapters.html - Deploying IBM Worklight applications to test and production environments) When I start the liberty server, I get this error on the browser Exception thrown by application class 'com.worklight.core.auth.impl.AuthenticationFilter.doFilter:110' javax.servlet

IBM Worklight 6.1 JsonStore issue on Android 4.4

…衆ロ難τιáo~ 提交于 2020-01-25 00:10:28
问题 I have upgraded to Worklight 6.1 & I was with expectation that the issue I mentioned here IBM Worklight Android 4.4 issue, JSON Store stopped working would be resolved and my app should work fine now. But still facing the JSONStore initialization issue in Android 4.4. Please check below log. 12-10 14:58:30.630: D/dalvikvm(14826): No JNI_OnLoad found in /data/app-lib/com.Test-2/libsqlcipher_android.so 0x41e371b0, skipping init 12-10 14:58:30.630: D/dalvikvm(14826): Trying to load lib /data/app

How to integrate Phonegap BarCodeScanner Plugin to IBM worklight Project

倾然丶 夕夏残阳落幕 提交于 2020-01-24 00:24:11
问题 I need to create a BarcodeScanner App in IBM worklight using phonegap plugins. I just need to know how to add cordova plugins to IBM worklight project. What are the files that needs to be changed? Plugin to be used - com.phonegap.plugins.barcodescanner 回答1: See here for tutorials about how to create Cordova plug-ins for Worklight/MobileFirst Platform: Adding native functionality to hybrid applications Then read various topics about the same subject: http://sajjad-hussainsh.blogspot.co.il/2013

iOS Application crashes when trying to register the device to IBM Mobile First Push service on Bluemix

拟墨画扇 提交于 2020-01-22 03:44:26
问题 I have an iOS 9 application running on an iPad mini 4 (iOS 9.0.2). It crashes when trying to register the device to my IMFPush service instance on Bluemix. Here is the code that performs the registration in my App delegate: func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { // Push notifications let notificationTypes: UIUserNotificationType = [UIUserNotificationType.Badge, UIUserNotificationType.Alert,

IBM Worklight 6.1 - Why is Cordova code not working when placed in a sub-page?

我与影子孤独终老i 提交于 2020-01-20 09:33:24
问题 I tried out the Cordova camera example inside my Worklight application. It works only when the camera code is inside the main HTML file (index.html). When I place it in another HTML file, it does not work. Why is that? What am I missing? 回答1: Worklight is a Single Page Application. Thus you cannot simply load another HTML file and expect your application to continue functioning; this includes Cordova. Read the "Building a multi-page application" training module and review the accompanying

IBM Worklight 5.0.6.1 - Bottom white space in iOS 7

回眸只為那壹抹淺笑 提交于 2020-01-20 08:30:34
问题 As you can see, at the bottom of my page remains a white space. Its height is the same of the old status bar that was present in ios6. Do i have to modify css? Because I never fixed an height for my app, worklight has always chosen the right size. EDIT: you have to save the image and open in a desktop with different color to see the white space at the bottom. * * Licensed Materials - Property of IBM * 5725-G92 (C) Copyright IBM Corp. 2011, 2013. All Rights Reserved. * US Government Users

Not able to launch a pdf file in inappbrowser in android

断了今生、忘了曾经 提交于 2020-01-19 05:42:26
问题 I have a requirement to show a pdf in inappbrowser when user clicks on a link. It is working fine in ios but not working on android. I am using IBM worklight for my project. Below is the code I have used: window.open("pdfURL","_blank","location=yes"); In ios the inappbrowser launches and displays the pdf but in android the inappbrowser is launches but no content is displayed 回答1: Unlike iOS, which has a built-in PDF viewer - Android's webview does not have PDF viewer built-in. This is why it

Get Photo from album is not working in MobileFirst using mobile browser simulator

耗尽温柔 提交于 2020-01-17 11:08:05
问题 I am trying to run this code from phonegap so I can integrate it in my hybrid android application built with IBM MobileFirst. The capture photo button is working perfectly(source: camera) While the other buttons are not working at all.. I want to be able to get photo from my gallery or album... <!DOCTYPE html> <html> <head> <title>Capture Photo</title> <script type="text/javascript" charset="utf-8" src="cordova-2.6.0.js"></script> <script type="text/javascript" charset="utf-8"> var

Get Photo from album is not working in MobileFirst using mobile browser simulator

∥☆過路亽.° 提交于 2020-01-17 11:07:03
问题 I am trying to run this code from phonegap so I can integrate it in my hybrid android application built with IBM MobileFirst. The capture photo button is working perfectly(source: camera) While the other buttons are not working at all.. I want to be able to get photo from my gallery or album... <!DOCTYPE html> <html> <head> <title>Capture Photo</title> <script type="text/javascript" charset="utf-8" src="cordova-2.6.0.js"></script> <script type="text/javascript" charset="utf-8"> var