So it is definitely possible to share data through the KeyChain. My problem now is to implement this with Firemonkey using Delphi. First, Is there a proper library or API to use with Firemonkey to share keys? Second, is there any sample code on doing this via Delphi?
Related
I could see that the question came up often. By cons I have not yet found a solution to my problem. What I would like to do is allow my application to save the sqlite database containing user info on google drive. And also be able to make a daily backup of the data. With Xamarin android, I can't find much
You need to do it manually as of now there is no automated system for it.
RestSharp
NewtonSoft
You can use RestSharp for consuming RestApi of google drive and there is a great package NewtonSoft to convert your class objects to JSON and vice-versa.
I am working on a project where I have to access TextBox/TextField/EditText of other apps like messenger/whatsapp/Viber/etc... on (Android/IOS).
I did get it done with Android using Accessiblity service, but I am stuck for iOS.
Is there any way that I can follow or explore to create a service (Background Apps) that can access TextBoxes of other apps?
Thank you
No, applications are sandboxed and cannot access each other. There are several ways for two applications to communicate with one another, but they rely on the two applications coöperating – you cannot do it by yourself and you can't access the UI of the other application.
That interoperatibility was introduced in iOS 8, but anyway you will need to have access to the source code of those apps in order to accomplish this.
So I guess the answer for your question would be no.
Please do not mark this question as duplicated or already answered. I specifically need help with the Delphi, and there is NO answers with regards to the code (if I am wrong please provide me with it).
Also please note that I am looking for help with XE5 as specified in my tags.
I need help with code on sharing data between Applications on iOS. I have read the theory on this at Share data between two or more iPhone applications.
I now get the idea about how to share files, but I cannot find anything with regards to sharing data with Firemonkey. I did find some information on File sharing using Flexcell by TMS, but that is only related to opening document in other files.
I specifically want to share an XML like document between apps so that apps can communicate data via the XML (read and write data from the xml).
Has anyone been able to successfully do this using Firemonkey 3 and XE5?
Have you tried Indy components ? a idtcpserver on one app and idtcpclient on the other app you can send what ever you like between them.
When IOS5 came out, Apple made localStorage not persistent (http://www.sencha.com/blog/html5-scorecard-the-new-ipad-and-ios-5-1). While a PhoneGap application can work around this using a plug-in, we're trying to do this from within an Adobe DPS app where there is no direct access to the IOS native API nor is there a plug-in model.
We've thought of the semi-ugly workaround of using a cookie for persistence of very small data, but this is not a great solution for larger blocks of content (say an XML file and images) that need to be stored offline. Anyone have a better solution?
Answer: No you can't access any native APIs from a webview in an Adobe DPS app, but you can use web storage.
As an alternative to cookies (which have a relatively low limit on data), you can use WebSQL or localStorage.
I've successfully used both in a DPS app :)
Anecdotally, I find localStorage much nicer to use than webSQL, but if you know SQL and need to store complex relationships it may suit your needs.
Without direct access to the IOS native API you will not be able to access CoreData that is for sure. I would say your only option is to use cookies as you suggested.
Google offers various libraries for interfacing with the Google Data APIs. Currently these do not include Delphi (Win32) support.
Has anyone done any work on a Delphi interface to Google Data, or the underlying Atom/AtomPub protocols?
There is an open issue with Google suggesting that they create one.
Thanks for your suggestion.
This probably isn't likely to happen anytime in the near future, as we need to
concentrate our available resources in other areas.
However, GData is based upon standard XML and HTTP requests, so work on a Delphi
client library can certainly be done outside Google. I'll leave this issue open so
others can vote for it, and perhaps someone in the community can pick this up.
So you can vote it up.