Xamarin - is there a cross-platform equivalent of JobScheduler - xamarin

I am writing an app that needs to keep a local database in sync with a remote one, using web requests.
I would like the app to be available on all phone platforms - Android, iOS and Windows Phone.
It looks to me as if JobScheduler is probably the most efficient way to implement this in Android - you can get it to call your code only when the network is available.
Is there any equivalent in iOS? What about Windows Phone?

Related

Push Notifications on Windows Desktop Apps

we are currently writing an Cross-Plattform Application for Android, iOS and Desktop / Windows with Flutter.
Our Application relies on Push Notifications to trigger actions in our application, which works perfectly fine on Android and iOS. On Windows we ship our application with an InnoSetup-Installer as an .exe. Is it possible to use the Microsoft Service (WNS) for sending Push Notifications to our application? Or is this only possible for Windows Store Applications?
Thank you and best regards
Langohr
There seems to be a plugin https://pub.dev/packages/quick_notify for that. The repo seems to be archived, though. So not sure about it. It does support Windows notifications.

Accessing the desktop API from a Universal Windows App to use a scanner

I want to be able to scan a document with my universal windows app.The problem is that The Windows.Devices.Scanners APIs are part of the desktop device family.
Is there any way to check if the app is running on a desktop, and use these API's in that case?
Any other solutions or ideas would be welcome

How to develop Windows Phone 7.5 compatibile app?

I am starting first project for Windows Phone and it should work on at least Windows Phone 7.5. My question is if should I write app on Windows Phone 7.5 or should I write two app versions - once for Windows Phone 7.5 and another for Windows Phone 8?
I know that app which works on WP7.5 will also work on WP8 but what would you recommend? What would you do?
If you think that writing two apps for both versions is a better idea then should I write app on WP8 first and at the end remove special WP8 features to downgrade it for WP7.5 or maybe I should write WP7.5 app and then add some WP8 features to upgrade it to WP8?
I am asking because I want to learn WP developement and I have two tutorials: "WP7 jumpstart" and "WP8 jumpstart" tutorials (from MSDN) and I am wondering If I can skip WP7 and start directly with WP8?
Standard way will be to create a Windows Phone Class Library that will contain all the code except Page, View or Windows 8 specific code and than create Windows Phone App and set dependency to above created Library project. Now as Rowland Shaw as suggested you can target the Windows Phone app to 7.5 so that it will work for Windows 8 as well and if you want to use any Windows 8 specific API you can create separate application with same Library reference so that all the common code will not be duplicated.
Referr MSDN Link for the same.
If you wish to normally support all screen sizes, you should create 2 apps. Because WP7.x supported only 1 screen resolution, and running on WP8.x with larger screen the app will remain small size.
You would have to use WP7.5 if you are not going to impelement any feature which is present in only WP8

Is it possible to store local data with PhoneGap / Windows Phone 7 Mango?

Is it possible to store local data with PhoneGap - Windows Phone 7 Mango at the moment?
I read that the File API is still under development and local and session storage aren't possible at the moment because of the lack that the IE9 doesn't support access to these when running without domain?
So no way to store local data? Have to wait for the next PhoneGap WP7 version? When will that be? :)
Update *:* By using phonegap1.3 you can implement localstroage & sessionstorage in WP7.
Although it is not supported currently by phonegap, you can easily implement Isolated Storage support for your WP7 Phonegap app.
BrowserExperiments has a tutorial on how to do so.
Download the windows phone 7 phone gap tutorial here and go to the section titled:
Isolated storage implementation in PhoneGap

How to use phone gap in windows phone 7 mobile application development?

I am iphone and android developer.I know how to use phone gap for iphone app and android app development.But I am new for windows phone 7 app development using phonegap.I dont know how to start windows phone 7 application development using phone gap.
Please give me advice for this query.
Thanks in advance.
Looks like PhoneGap doesn't support Windows Phone yet.
This post seems to suggest its close though and there is an alpha/beta you can start developing
http://programmersgoodies.com/phonegap-for-windows-phone-7
PhoneGap support for Windows Phone 7 is still in a "pre-alpha" state.
From a practical stand it's not realistic to start developing with it. Some people have started (and apparently submitted apps based on it) but there is no guarantee of future compatibility with what they've done.
When available, it will also only support phones running Mango.

Resources