Extract persistent data from blackberry os 5/6/7 - blackberry

I am writing a blackberry application and in the app I store some data using the persistence API. I just wanted to know if there's a way to extract the data (from "outside" the app) to a pc to view/edit? Thanks.

You need to use the net.rim.device.api.synchronization API.
Check out the syncdemo in the blackberry code samples for implementation details.

Related

What is the proper way to get private data from a MySQL database to an iOS app?

I am currently developing an app for a friend's business (so it's clear that I am not a professional developer and he's not going to get the perfect app). He needs the app to display and be able to interact with data from a MySQL database. I have already tried to find a way to do this but they mostly include a PHP script that just generates a json document which the app can then read. I cannot do that because the data includes customer information that can't just be accessible like that without some form of authentication from the app. The app will only be used by employees at work and on specific devices so storing the data locally is not a problem. Is there maybe a way to create a local cache of the database and then work with that? I would also be open to use other database software that can handle spreadsheet-like data.
Thanks in advance for any response!
Assuming your app going to get JSON data through PHP API. In that case, PHP API should encrypt the JSON data and your app will decrypt it. If you want to protect your data on users device, one of the option to use cipher SQLite.
You can any use symmetric or asymmetric encryption technique to encrypt the API response.
Here is good post to read.
https://www.ssl2buy.com/wiki/symmetric-vs-asymmetric-encryption-what-are-differences

Which backend service to use for iOS client, flask vs node.js vs firebase firestore?

This is not a coding query. Rather an starting point query.
I am new to iOS app development. I have been given a project by my university to make two iOS applications. One application will store few information about dustbin, like the dustbin's serial number, its type and its location in the campus. The location are named as zone A or B or C. These locations will contain their respective geographic information. These information will be sent to another iOS app. The second iOS app have the functionality of generating a map and routing the app user to the dustbin location. The map and routing facility is to be provided by HERE APIs (it is a constraint, and I cant be flexible with this). All this information flow will be facilitated by a server in between. Also, there should be a database storage management system.
Now note that, the server is not generating any active information itself. It is acting as a PASSIVE element. Client_1 is sending the message to Client_2, and this message is going through the server. this message is of course stored in a database.
Now I have few questions, or I should say few points that I dont understand and I am stuck at it.
Should I use Flask or node.js or Firebase firestore is sufficient?
If I do need to use firestore with flask or node.js, where shall I implement the firestore framework, on the server side (flask or node.js) or at the client side (iOS) ?
If I have to use the firestore in client side, do I need to implement it on both the client codes?
Given that I have to use firestore with one of the server, which one shall I use? Flask or node.js?
The above are few queries, which will help me get started on iOS app development. (Note that the iOS coding is being done with Swift 5.1)
Thank you all.
Firestore will work only as your database, where you could keep collections and documents, regarding the dustbins. As mentioned in the official Firestore documentation:
Use our flexible, scalable NoSQL cloud database to store and sync data for client- and server-side development.
So, you can actually develop your applications using it on either client or server sides. It would depend more on what you would prefer. Firestore supports Node.js, so, considering that, using Node.js makes more sense than Flask.
You can get a nice tutorial on how to do that, accessing the below article.
Write to cloud Firestore using node.js server
However, it's possible to use Firestore, as very well explained in this article, directly with Swift.
There isn't a "final" or correct answer for your question. For this reason, I would recommend you to take a look at both of them and make the decision based on your knowledge and preferences.
Let me know if the information helped you!

how to store data on Firebase - Delphi XE 10

What is the best way to connect to Google´s Firebase DBaaS from Embarcadero Delphi XE 10 ?
I am not sure how to do it from AnyDAC.
Or if exists a component out there (i coundnt find one on search)
Any help?
thank you
Firebase was acquired by Google and now makes available many tools and features (Cloud Messaging, Authentication, Realtime Database, Storage, Hosting etc...)
If you are looking for a service that store and sync app data in realtime, the Realtime Database it's for you. Realtime Database: "A cloud-hosted NoSQL database. Data is stored as JSON, synced across connected devices in milliseconds, and available when your app goes offline." . Firebase provides SDK library for Android, iOS and Web (Javascript). In addition makes available a REST API interface and, as Robert Love said in previous post, Firebase4Delphi (I wrote it) library provides access to the REST API in Delphi. Here there is an example of how to use library.
In the meantime a new open source library is available on GitHub for Firebase, Firestore, Firebase Storage and Firebase Functions:
Get more information on https://github.com/SchneiderInfosystems/FB4D
There is an open source project called Firebase4Delphi. It provides access to the REST API in Delphi.

how to synchronisation over multiple mobile devices

Is there anyone who worked out a synchronisation plan for a mobile application? I've been searching for it, but can't find a good example. I'm looking for a plan such as I think evernote uses to sync the files on the mobile phone with the backend.
My current plan:
- when you start the app: all your files will be downloaded from the backend using you username and password
- when you create a new object and there is network connection: object is stored localy in the core data (IOS), and transferred to the backend
- when you create a new object, but there is no network connection: the object is stored locally, and transferred when you are connected to the network and press sync.
All suggestions are welcome!
tahnks!
Sorry, I did forget some important information...
I'm using a grails backend
the frontend (mobile application) is an IOS app
Is there a good way to make sure there are nog file/version conflicts between the different devices?
You cold use various ways.
At my advice, the best one is to use the Parse framework. It is very easy to use and simple. Log in and save objet all in one. Please visit this: http://parse.com
Otherwise, You can use iCloud to store and synchronize your objects.
Find the Mobile Backend-as-a-Service (MBaaS) that fits your app best.
This link can get you started in your search.

Sybase Embedding Database

I would like to know if its possible to embed a database into a mobile app, which uses sybase. I am informed this is not possible as the app needs to pair with the server first. My issue is that it takes too long on first run to download the data. Thanks in advance.
SAP Sybase SQL Anywhere is an embedable database, that can be used in mobile applications.

Resources