Where is Jsonstore data of ibm worklight stored? - ibm-mobilefirst

Does ibm worklight use local storage for json store?where is json store data stored on the android /ios/windows device?

From: JSONStore overview
JSONStore is a lightweight, document-oriented storage system that is
included as a feature of IBM® MobileFirst Platform Foundation, and
enables persistent storage of JSON documents. Documents in an
application are available in JSONStore even when the device that is
running the application is offline.
...
...
JSONStore is similar to technologies such as LocalStorage, Indexed DB,
Cordova Storage API, Cordova File API, and MobileFirst Encrypted
Cache. The table shows how some features that are provided by
JSONStore compare with other technologies.
The data is stored in the application's sandbox.

Take a look at the documentation here. For example, on Android it's stored here: /data/data/com.<app-name>/databases/wljsonstore/<jsonstore-username>.sqlite.

Related

Does Bluemix support MBaaS (Mobile Backend as a Service)?

I am reading about and then trying to use IBM Bluemix. I have seen some confusing statement about MBaaS support on Bluemix. Some sites mention that Bluemix is a PaaS, and some places say it supports MBaaS. I have basic doubts: does IBM support MBaaS? If yes, where can I find the full MBaaS features list for IBM Bluemix? I couldn't find it in IBM site.
You're correct: Bluemix is a PaaS. However as you probably know and as you can see here:
Mobile backend as a service (MBaaS) enables you to quickly integrate
your mobile apps with data and functions in security-rich, backend,
cloud storage. MBaaS is usually delivered through a set of custom
software development kits (SDKs) and application programming
interfaces (APIs). MBaaS can offer you full data synchronization, user
management, push notifications, integration with social networking
services, and file-handling.
A PaaS provides SDKs and APIs and for this reason it can support MBaaS. In Bluemix the MBaaS capabilities are provided by the MobileFirst platform. It is designed for building and enhancing multiplatform, enterprise-grade apps that can be native or hybrid – for Android, iOS, and Windows. You can get started here.
Yes, Bluemix Mobile supports a Mobile Backend as a Service.
Here are the current services that we have that support the MBaaS pattern and a bit of information about them (and here's a quick graphical view and some links for how to get started):
Mobile Client Access
This service enables you to secure your Mobile Application. You can add Facebook, Google, or custom authentication to your application.
Push Notifications
You can add the Push Notifications service to send push notifications to your app on Android and iOS.
Mobile Analytics (Beta)
The Mobile Analytics service enables you to gather crash and usage knowlege about customers using your mobile app.
Cloudant NoSQL DB
The Cloudant service is the IBM NoSQL database to store your data.
Object Storage
The Object Storage service is an unstructured cloud data store where you can store things like images or files.
Mobile Foundation
The catalog also includes the Mobile Foundation service which you can use to create a test environment before deploying or purchasing the on-premise software. This service is another way for enabling a developer to create a mobile channel.
You may have a look at this :
http://www.ibm.com/mobilefirst/mobile-backend-as-a-service/mbaas.html

Communication between two hybrid application using JSONSTORE

Is it possible that one hybrid application can use Jsonstore data of another hybrid application? Both applications are worklight hybrid application.
No, this is not possible.
Each JSONStore is stored in the specific's application sandbox and as such it is not possible to retrieve information from a JSONStore that is not located in the specific application sandbox.

MobileFirst configuration for mapping service ArcGIS

We are exploring IBM Mobilefirst capabilities with a mapping application. We are using Esri ArcGIS Mapping service.
Where can I find the available resources or sample tutorial to use Esri ArcGIS with IBM MobileFirst hybrid applications?
Not every available tool out there has guides for IBM Worklight/MobileFirst.
It looks like Esri ArcgGIS has a developer website.
You should start there: https://developers.arcgis.com/en/sign-up/?origin=developer
Read how to integrate it into applications.
If there are SDKs then you will need to integrate those like you would any other SDK - that is outside of the Worklight/MFP scope (the integration).
I would assume that if it an SDK, you could then add a Cordova plug-in that would allow you to access that SDK from your app, or even better you could use the Send Action feature to bridge between Web and Native and vice versa.
Adding native functionality to hybrid applications with Apache Cordova
Action Sender

windows azure media service for storing, Retrieving, Version etc..

Can we perform below task on Windows Azure Media Service that is
storing, Retrieving,maintaining Version of Video, Permission handling, Searching for the video
for each tenant on the SaaS environment
Currently Azure Media services providing infrastructure to ingest, encode and deliver media assets. Complex metadata, versioning, access control and additional content management functionality can be extended by third party providers or in your application.
Short answer that for now Windows Azure Media Service is not positioned as CMS system with listed in your question functionality.
You can use Asset.AlternativeId to store any keys from external system which can be built on top of Windows Azure Media Service.

How to query or access JSONStore data from native code in IBM Worklight?

My app (iOS) will have a browser built in native code and the rest in Javascript using Worklight and there's a requirement to have a shared persistent database with encryption capability for both.
JSONStore seems to have all the functionality I need, but it's only available with Javascript. Is there any way I can access it in the native code?
Correct, JSONStore is only available in the hybrid (JavaScript) API. I am unable to commit to any features in upcoming releases, but I can say that have been a large number of people asking for pure native support in JSONStore. I will make sure your request gets capture as well.
The feature will be available in worklight 6.2, which is out now...