When I played with the sample Using_JSONStore, I always tested WL.JSONStore=="undefined" on Android Mobile Browser Simulator or on a Android Virtual Device Emulator, or on my real Android device (Android version 2.3.5). How to enable the WL.JSONStore feature in the Worklight project? Thanks.
相关问题
- IBM Worklight 6.0 - Worklight Console does not sho
- Output delayed from Cordova Plugin
- Android Application Build with MobileFirst 7.1 is
- Custom ListView in Worklight using Dojo
- How to display a custom keyboard
相关文章
- Unknown realm [myRealm]. null returned for key: is
- How To Calling a Stored Procedure in Worklight
- Worklight 6.0 WL development Server not starting
- How to open the phone dialer?
- Is there a tool to install an existing Cordova 3 p
- Worklight Online + Offline Authentication
- Cannot Call determinedVisibility() never saw a con
- Getting “Cannot install applications because the c
Enabling JSONStore Since IBM® Worklight® V6.0, JSONStore is an optional feature. To use JSONStore, you must take steps to enable it.
About this task To use JSONStore you must enable it by modifying the application-descriptor.xml file. Procedure Using the Application Descriptor Editor, open the file application-descriptor.xml Click the Design tab. Under Overview, expand Application [your application's name]. Click Optional Features. Click Add. Select JSONStore. Click Ok. Under Worklight Project, right-click the folder titled with your application name. Select Run As…. Click Run on Worklight Development Server.
http://www-01.ibm.com/support/knowledgecenter/api/content/nl/it/SSZH4A_6.1.0/com.ibm.worklight.dev.doc/devref/t_enabling_jsonstore.html
In Worklight 5.0.6.x, JSONStore is always part of the Android and iOS environments, so it is always present. There is nothing to 'enable'.
What you want to do, is perhaps initialize it, that is - use the init method. Is that what you're after?
Please also consult with the JSONStore documentation.