Offline mobile application for XAF application - mobile

Devexpress has lately intoduced XAF mobile UI but it does not support offline capabilities.
I am wondering what would be a solution for this scenario:
There is a Middlte Tier Web application, working with WCF. I need a mobile app that is able to work offline and then when the user goes online the data should be synced to the database.

As far as I know there is no such technology that provides such behaviour out of the box. Therefore you need to role your own

Related

realm mobile platform sync and web app

I'm looking at using realm for a project I'm working on which will be a multi-platform mobile app which will needs to sync data between users / devices. I think the realm mobile platform would be perfect.
However, I also need to have a admin / web app. I've seen that realm has a react-native module so I can use react-native to create my mobile app. Question is can I also use react (or react-native) to create a web admin app or even a desktop version using Electron?!.. In effect the admin app syncs to the same realm the mobile app is using via the realm mobile platform.
Hope that makes sense - Thanks is advance..
Update:
The new Professional Edition might be the solution you are looking for.
As EpicPandaForce states, you would need the enterprise license in order to use sync on the server.
There is a Node SDK for Realm: https://realm.io/news/first-object-database-realm-node-js-server/. We are not officially supporting Electron yet though people have managed to make it work. However, that doesn't yet offer sync so it won't help you in this particular case but stay tuned for updates on that situation!

Synchronise a mobile light database with ASP.NET Web API 2

I am building a mobile application targeting iOS, Android and WP with Ionic/Cordova. And using ASP.NET Web API 2 REST APIs backend.
I have the requirement that the mobile application can collect data and synchronise it with the APIs and if the mobile is offline, the sync will happen when it is online. The data size is small and any light DB would do including the localStorage one. The required sync is only needed one way, mobile to APIs. Also, once a record is synchronised, it can be deleted from the mobile.
I was looking at Couchbase mobile, but I found it is a Mobile DB to DB sort of a solution.
Can you recommend a mobile DB to REST/Web API sync solution?
With the native Couchbase Mobile solution for Android/iOS coupled with the REST APIs you are able to get data from Mobile device to your backend. Then delete any documents off your device once you get back a 200 status.
For Windows Phone, you can explore using PouchDB or going with the javascript browser based solution across all platforms since WP is not currently supported.
For the replication or sync to occur when your device is online again, you would require your backend to use Couchbase Server and implement the replication class methods in your native mobile app to have the push feature. Or you can use the REST API with logic detection when you are online again to POST to your backend.

Web Portal with Desktop/Mobile Version. What are recommendations?

I am thinking develop a web portal with a desktop. This portal will be used in mobile phones and as one of its requirements is to work offline and when you are online, synchronize data, I think it must be a native version for Android and iOS. What is the framework that advise to develop one application and generate an Android application and other iOS?
The idea is to try to enjoy the same logic of development for desktop and mobile. I have experience with AngularJS but do not know whether it will help in the mobile.

Azure Web Site with Push notifications

I'm trying to develop a Windows Phone 8 app. I've created a Web Site in a Windows Azure account which is an MVC 4 project with REST endpoints. I've got an SQL database in Azure to store data from the Azure Web Site. Ocassionaly, I want my application to send PUSH notifications to mobile phones. So I've created a Mobile Service and I've linked the SQL database with the Mobile Service's database in order to have got the same data for the web page and the service.
I though that when I send an HTTP POST to the web site, the script in the database from the Azure Mobile Service would be launched but it looks not to be true. Isn't it? Because of that, I would write in the controller of an HTTP POST endpoint the code to send the data to the Mobile Service endpoint in order to launch the JavaScript code to send the Push Notification.
Is that the right approach for my goal? Is there any way for sending PUSH notifications from an Azure Web Site or it is only allowed from a Mobile Service?
My last question: Do you know any books or blogs about development in Windows Azure? On the Internet there is lots of documentation but principally those are get started tutorials. I've read some books but those are really complex, boring, and not really practical.
As your website MVC4 based and is running on Windows Azure using SQL Database as backend, I will guess that it is based on ASP.NET and i will write my suggestion based on that.
Now about your question "Is there any way for sending PUSH notifications from a Azure Web Site or it is only allowed from a Mobile Service?" I would say, Azure Mobile web services are designed for the same purpose for any service running on Windows Azure to send push notification on multiple of platforms. Application developer can choose to use Mobile Services to expedite their development as well as have multiple application using the one single service for such objective.
However as you mentioned "Is there any way for sending PUSH notifications from a Azure Web Site" this is not depend on "Azure web sites" instead it is depend on what development technology you are using with your Windows Azure Application. For example in ASP.NET your can use SignalR implementation if your application is based on Java, PHP, Python, Node,js etc then you can find some other run time specific real time implementation. If you look around for websockets you will find implementation in almost every popular language or look for comet programming on this regard. Not only that you can use some of the popular 3rd party applications for this purpose as well. i.e. pusher or any other.
While Windows Azure Mobile Services will give you the best results on Windows Azure platform as it is designed to provide such specific functionality for applications running on it.
Recently released: Azure Notification Hub
http://msdn.microsoft.com/en-us/library/windowsazure/jj927170.aspx

Best way to access my asp.net Data from multiple mobile app

I'm new to mobile development! I have a web application with several users. I want to build multi-platform mobile app. I consider using phoneGap to build the app.
My question is how can I make the user login and retrieve all his data to mobile app? I know people talking about OAUTH (http://oauth.net/code/) to do the user verification.
But How can I get all the user data? Please someone guide me, I really appreciated.

Resources