Windows 8/RT + Phone 8 app - sync data - azure

Hi im developing a todo/reminder app for both Windows 8 (RT) and Windows Phone 8.
I want to enable the user to sync their todo-items between these two.
I know there is a roaming application data storage for Windows 8, but is it possible to access it from the phone?
Another idea i had was creating an xml file and uploading it to skydrive, but then i would have no push functionality :(
And there is also Azure which seems to be the most complicated solution..
What way is the best to choose?
Thanks for your help

You can use Live SDK (SkyDrive) and Windows Azure Mobile Services to accomplish this. The Live SDK will allow you to upload and retrieve items from SkyDrive and you can use mobile services for push notifications. Here is an example of what you want to do.

I know that the thread is a bit old, but it still pops up in search results. So, here's the answer.
I had exactly the same problem. So, I have developed a small library which does exactly that - synchronizing the data between Windows Phone and Windows Azure. Code is on GitHub and here is a nicely packed NuGet package. You could easily port it to WinRT and use SQLite as local data storage.
API is very simple. You just call methods to do CRUD operations and when you are done, you call SynchronizeAsync to synchronize data with WAMS. The synchronization goes both ways. In case of conflict, the latest copy gets the preference.

In the meantime Windows Phone 8.1 is released and it changes the answer to your question - today there are universal apps and they share the same roaming storage on both Phone and regular Windows.

You're going to want to use Mobile Services (www.windowsazure.com/mobile) for this scenario. After you login at manage.windowsazure.com, grab the WinStore C# SDK and WP8 SDK. You're going to need to point both to the same SQL db and Mobile Service. Of course, if you need blob or table storage as well, that's supported. You'd just access those through scripts under the DATA tab.
To check out a production app that's already doing this, I'd point your to Slot Machine by the SeeSharpGuys.
Win Store: http://apps.microsoft.com/windows/en-US/app/slot-machine/7c60012a-00bd-4cae-a402-a9885ec11ea1
WP8: http://www.windowsphone.com/en-us/store/app/slot-machine-mobile/9fa24191-d08d-4073-8098-740975e41946

Related

How to Manage Deployment/Upgrades for Internal Mobile Application?

I'm creating a UWP application that will be used exclusively on rugged Win10 tablets by a group of initially 10-20. If things go well it will be expanded to 100 users. These users are employees of our company, but will be remotely located.
Currently, with the test tablets, I am pushing the packages in google drive and manually copying them to the tablets, unzipping and executing the ps file on the tablet. This is way to complicated for even a beta test group of our users.
I'm looking for short-term/long-term recommendations for deployment. Someone mentioned SCCM to me and I've read a little, but that seems like quite a major endeavor to host. I would prefer something like a "private store" concept, but I can't find anything like that.
You can create a private store for your company. The best solution is probably to use Windows Store for Business. http://www.microsoft.com/en-us/business-store
Microsoft Azure Active Directory (AD) accounts for your employees are needed if you select this solution.
An alternative way is to use HockeyApp http://hockeyapp.net to deploy your application.
According to your description, HockeyApp should meet your requirement. Via HockeyApp, you can upload and distribute builds for beta or enterprise distribution using our web UI, or our API. HockeyApp also supports build servers like Jenkins or Visual Studio Team Services. Don't forget to upload your dSYM or
mapping.txt to get readable crash reports.
With HockeySDK for UWP integrated, you can also:
Integrate our open-source SDK to:
Collect crash reports
Show update alerts for new beta builds
Add a feedback view directly into your app
For more information, please visit support.hockeyapp.net.

Replace lockscreen app windows universal app 10

I was wondering how would it be possible to dev an app to replace the default lockscreen on windows 10 universal apps. I know that there was some kind of apps in windows 8.0/8.1 but I've never seen this on w10. Is it possible? and how?
(Such as Tetra lockscreen)
If you want to build an app such as "Tetra lockscreen" or "Live Lock Screen Beta", which provide additional functionality directly on the lockscreen, this is not possible as the makers of those apps have additionall access to private APIs normal devs have no access to. Also, both apps aren't available any more as far as I can see, probably the private APIs have been removed with Windows 10.
If you simply want to change the lockscreen picture, this is possible with the UserProfilePersonalizationSettings class which provides the functions TrySetLockScreenImageAsync and TrySetWallpaperImageAsync. With the IsSupported you can check if the Windows device is able to change its lockscreen. On Desktop and Mobile the function currently returns true.

Windows 10 universal app cross app communication availability

I am an WPF developer with little knowledge for the way "mobile" apps work but in general I believe that they work in some sort of sandbox way (meaning they should not be able to access each others process, info etc., I might be totally incorrect on this one). So I am wondering if such "limitations" are applied to the Universal Windows Platform (UWP) apps?
The reasoning for my question is that I would like to write and app that checks if another Universal App is in process and use some of its information. In WPF there are ways of doing just that but in UWP apps I am not sure if it is/should/will be possible.
Thanks.
There are a couple of solutions in Windows 10. Firstly, if you are building an enterprise app and can also side-load normal Desktop apps, you can use this technique to build your UI as a UWP but also be able to break out of the sandbox and do other things on the desktop.
Secondly, if the app you want to read from is cooperative (ie, is designed to provide information; you're not just grabbing it without permission) then you can use App to App services to send and receive information between two consenting applications.
Both links are to //build videos but you can download the slides too that should contain code samples.

iCloud Alternative for core data like data synchronization

I am planning to develop an app which will use a database.
This database will need to be synchronized accross multiple devices.
I need something like iCloud + CoreData but able to work also from Android and Windows
Do you know if this magical thing exists?
Thanks
if it's ok that you need to be connected (no fully offline mode) - StackMob can be of help to you.
their iOS SDK even provide CoreData interfaces, and if you don't like them - you have REST APIs
Also may be you should look at:
- Simperium (no Android SDK, only REST APIs,)
- Parse.com

db4o DotNet version with Xamarin MonoDroid and MonoTouch

Does anyone already used db4o OO database manager in a mobile project using Xamarin Monodroid and/or MonoTouch?
Is it even possible? (It seems that db4o uses Reflection.Emit(), which could be a problem)
Thanks for your comments on this.
If you plan on your app taking to a database directly, you might be better off to setup a web service (for security reasons you don't want your database accessible over a public ip address).
If you are going to work with a local database within the app to store data, use SQLite and sqlite-net.

Resources