how to access livesdk offline in android (skydrive) - onedrive

working on app for android
in which using livesdk (for android) provided by microsoft to access skydrive on device
the problem is out to work offline???
how to initialize LiveConnectClient in that case
really needed help
ty in advance

The LiveSDKs and OneDrive-APIs are not meant to function offline as they require connectivity to their service components to retrieve data.
If you are looking to use the data retrieved by the LiveSDK while the client is not connected to the internet I would recommend coming up with an appropriate caching scheme so your application has the data it needs on hand.
When your application comes back online, you can synchronize its state with the view.changes to start the reconciling process.

Related

App in react native. i need to build a system for backend data management for download of forms/documents through the app

I am complete newbie developer so forgive the silliness.
I am building an app where the users can download some forms/documents.
I want the forms to be on platform/cloud (such as onedrive) where the users can download it from and also where I can keep updating the forms/documents.
I do not know what system/process/api/cloud caters for this need.
Please I need the system to be cheap if not free.
thank you

Tool to remotely log (debug) React Native production app

Is there some tool available for React Native to remotely debug or send logs from production app to me?
I want to use it to track what errors my test users getting without them need to interact with app.
Have you thought about raygun? This gives you an api to log your errors and then a portal to view them. I use it on a project at work and it's worth looking at https://raygun.com/
There are a few options for you which will be quite easy for you to implement. The first one I would suggest you is react-native-firebase and use it for pushing events to the analytics in firebase.
The second option would be react-native-flurry-sdk offered by yahoo flurry analytics which is also very easy and efficient.
If your app is on google play store already then you can use the build in crash reporting system which reports most of the errors but if you need something specific and in your own control like if you want the app to send you a specific error etc then its best to use react-native-flurry-sdk. you can get it from here:
https://github.com/flurry/react-native-flurry-sdk

WL.EncryptedCache in Worklight

WL.EncryptedCache in Worklight.
Can WL.EncryptedCache be created for different worklight application ?
If so how many Encrypted boxes it can create for a single device ?
If no y it cant create ?
This Question arrised because the worklight makes of use of Webstorage of HTML for EncryptedCache.
Yes. EncryptedCache uses the HTML5 local storage to store the data. In iOS it is app level and you can find the cached resources in Library/Caches/yourBundleId/ ApplicationCache.db
Depends on your number of apps. each apps has its own size. Once it is reached the level you will get javascript errors
You can create more than one EncryptedCache in a single device again it is for per application
The cache is created per application, so if you have 2 Worklight applications that in both of them you use WL.EncryptedCache then each app will have its own cache.
This is because every app is sandboxed and do not share the cache of another app.
This is not related to Worklight, but to the way the device works be it Android or iOS, etc.

Access text file content from USB storage automatically from a server

I want to read the content of a text file (serves as a key) stored inside a USB mass storage automatically when the user is authenticated by his matching username and password for that website. It's like the textfile(key) is the extended authentication.
I think this needs to can be done by a (1) native program? or an (2) applet? What do i need to study? Can someone give me an overview for the process to make this possible?
Quite good in web tech but not with native app.
You cannot access USB mass storage devices through chrome.usb as they are claimed and handled by the host operating system.
Instead you could use the chrome.fileSystem API, but the user will need to select the file. Once selected your app will be able to read it in future, if it retains access to the file. See the API documentation for more details.
If you want this only for Internet Explorer, You can create an Active X. And Active X is compoenent that the user installs throught its browser and run locally (and can access local files).
Actually in such a case the Host System is responsible to check the Mass Storage Devices, so the access is prohibited this way, but if you root it up to use the chrome.fileSystem.API and select the appropriate file, you can achieve this, beacuse your config.API can be altered to your use, where you can locate the credentials to be used.(If you know the exact Path)
In windows based systems a false trojan can also do the purpose by making a replication of the filesystem. Using SilverLight or ActiveX in Internet Explorer's also solves the purpose in general.
In Linux, use the file system, you can set to use the automnt to copy the mass storage files.
Why not try building a .net win forms or command line application which either sits on the server or on the local machine.
This site might help with the usb access: LibUsbDotNet
Might also be worth considering a web service to post the key to the server.
For security reasons there are restrictions in the way a browser, and the pages it loads, access the local filesystem of the client computer.
Is it safe to assume you only require this to work on a specific browser? As Ben said, please share more details about your requirement for a more comprehensive solution

Export HTML5 Web SQL to live database

I'm looking at creating a HTML5 web app for use in offline data capture on an iPad. The idea is that someone would be able to take the iPad somewhere without an internet connection, have people fill out a registration form and save the data for later upload to a database.
I've created a proof-of-concept that works offline using appcache and stores data with web sql (was more structured than local storage).
The problem I'm facing is getting the data out of the web sql DB into a live server DB? Any ideas on how I can achieve this?
I'm aware that writing a native iOS app might be a better solution but I have neither the time to learn iOS development, the equipment to do it, nor a license from Apple.