External

Wirelessly deploying to an iOS to tvOS device

Feel my pain, we have an Apple TV in the office which runs a dashboard app that we knocked up, however the physical device is in the roof space, behind the TV, and about 10m of cable run from my Mac, the motivators to ‘do a quick update’ are low.

One thing most developers consistently do during app development is deploy to a testing device. One main drawback during this process is the struggle to find a cable, connect it to a computer, plug it into a device, and then finally deploy the app.

Looking forward to trying this, see how it works in reality, ask again later!

Full Article At: Lose the Cables: Make Deploying to an iOS or tvOS Device Easier | Xamarin Blog

Nigel Owens On What Referees Are Set To Clamp Down On For The Six Nations

Hmm, cracking down on things, like;

We will be stronger on crooked feeds at the scrum…

Pretty sure the rest of us in grass roots land do that every weekend, how about;

If someone charges into a ruck, leading with the shoulder and strikes the head it is pretty much always a red card…

Yup, that one’s in the laws of the game too.  The other points have merit, but just goes to prove there’s still a secret law book for the elite game that differs from the one I’m given!

 

Nigel Owens On What Referees Are Set To Clamp Down On For The Six Nations:

Gone nuts? >> Nutella ‘riots’ spread across French supermarkets

I know the kids love it, but face it it’s basically brown, flavoured vegetable oil, always thought the French had better culinary tastes than this, filing under WTF!

NewImage

 

Nutella ‘riots’ spread across French supermarkets – BBC News:

Camels banned from Saudi beauty contest over Botox – BBC News

Every day the world get’s a little bit weirder, but I think this takes the biscuit!

Twelve prized camels have been disqualified from a beauty contest in Saudi Arabia after their owners tried to tweak their good looks with Botox.

Camels banned from Saudi beauty contest over Botox – BBC News:

weMessage promises to bring iMessage to Android, uses Mac as server

I get that iMessage has become one of those platform hooks for iOS and iPhone, use it all the time, and probably the best of all Apple’s hooks, but is there actually a need for this on Android.  Android users, you tell me, are you missing out?

According to the app’s website, weMessage delivers full iMessage support to Android handsets “without reverse engineering or exploits,” a feat many developers have attempted to reproduce over the years to varying levels of success.

weMessage promises to bring iMessage to Android, uses Mac as server:

Thank you – the only words as a parent you should say to the coach? – more thoughts

I shared this earlier in the week, but thought I’d give this a little more reflection. At the end of the day in the majority of cases the coaches are unpaid volunteers, these are just people that want to help.

What this doesn’t mean is they are the best at the role, and quite often they are the only ones who will take it on.  First ones there, last ones to leave, giving up more time and personal costs for coaching courses, first aid courses, red tape courses – all trying to be the best they can be,  even if they aren’t the best (and most of us never claim to be).

I’m lucky that I have a team of volunteers to share my workload, all as enthusiastic as me, and pretty much have a good balance of skills and abilities between us to cover all that we need – so the kids win, but some groups are not as lucky.

So yes, please say thank you, or better yet say thank you, and ask if we need any help, and do what you can too – and to my co-coaches ‘Thank You’

Source: Thank you – the only words as a parent you should say to the coach? – Working with Parents in Sport

Xamarin release preview edition with iOS11 and Xcode 9 Compatibility

Xamarin today halve a released a preview build for those that have been hankering (since about 2 hours after the WWDC keynote according to some forum posts I’ve picked up on!) to play with Apple’s new goodness.

iOS11

Specifically this let’s you play with Xcode 9, iOS 11 and MacOS 10.13.  If you don’t have Xcode 9 installed already I highly recommend you follow the Dev Centre instructions that allow you to install it in parallel, don’t grumble at me if you can’t get any real work done once you’ve finished playing!

 

(Via.)

Preview: Xcode 9 beta 3, iOS 11, macOS 10.13 support – Preview 1 | Xamarin Releases: “”

Build Your First Game with MonoGame: Getting Started 

Always fancied creating a computer game? Got a Windows PC or a Mac and a semi logical brain? – Go Nuts ….

Game development is what got many developers into programming. But how many of us actually ever learned how to create games? Creating games can be challenging, but it doesn’t have to be that way! MonoGame is a cross-platform gaming framework based on Microsoft’s XNA framework that’s extremely easy to learn …

Source: Build Your First Game with MonoGame: Getting Started

Simple Cross-Platform File IO for iOS, Android, and Windows

One of the biggest challenges in Cross Platform Mobile App Development is implementing a mechanism of performing simple tasks on each diverse platform, such as reading a config file on app launch, when you know that each platform will store this file in a different location, have a preference for different file formats, and have different permission mechanisms for reading and writing. This plugin helps nail most of those issues.

Most mobile applications need to interact with the underlying file system. Be it building a database or caching data, some understanding of how file systems work on target platforms is required. If you’re working with multiple platforms, not only does this require understanding of how each individual file system works, but also how to work with the file system from shared code.

 

The File System Plugin for Xamarin and Windows reduces the underlying file system complexities for each platform into a cross-platform file IO API for iOS, Android, and Windows, making it extremely easy to work with the file system from shared code. In this blog post, you will learn how to use the File System Plugin for Xamarin and Windows to create, edit, and delete files and directories from shared code.

Introduction to the File System Plugin for Xamarin and Windows

Similar to desktop operating systems, mobile operating systems each have their own file system. Building applications that target multiple operating system requires knowledge of not just one file system, but the underlying file system for each platform. Another barrier when working with file systems is the inability to use code that talks to individual file systems in shared code. A common solution to this problem is to use preprocessor directives (#ifdefs) to access platform-specific features, but this won’t work with PCLs and results in messier code.

Plugins for Xamarin expose platform-specific functionality via a cross-platform API that can be consumed from a Portable Class Library or Shared Project, such as using device geolocation, sending an SMS, or storing app settings, to help make you share even more code and increase developer productivity. The File System Plugin for Xamarin and Windows makes working with the many different mobile file systems easy with a shared, cross-platform API. You can download the plugin using the Xamarin Component Store or via the NuGet Package Manager.

Exploring the APIs

The IFileSystem interface represents an abstracted file system at the highest level. The platform-specific implementation can be accessed via the FileSystem.Current property. The file system is made up of a collection of folders and individual files, which are abstracted via the IFolder and IFile interfaces. When creating folders and files, we are also given maximum control over collision detection preferences with theCreationCollisionOption enumeration, which allows us do everything from create an alternative name, replace the existing directory/file, open the existing directory/file, or throw an exception. Of course, all of these APIs are also async/await compatible as well.

1

2

3

4

5

6

7

8

9

10

11

// Access the file system for the current platform.

IFileSystem fileSystem = FileSystem.Current;

// Get the root directory of the file system for our application.

IFolder rootFolder = fileSystem.LocalStorage;

// Create another folder, if one doesn’t already exist.

IFolder photosFolder = await rootFolder.CreateFolderAsync(“Photos”, CreationCollisionOption.OpenIfExists);

// Create a file, if one doesn’t already exist.

IFile selfiePhotoFile = await photosFolder.CreateFileAsync(“selfie.png”, CreationCollisionOption.ReplaceExisting);

Renaming and deleting files is also super easy as well:

1

2

3

4

5

// Actually, this wasn’t a selfie of just me!

await selfiePhotoFile.RenameAsync(“groupSelfie.png”);

// It’s a horrible selfie anyways, let’s delete it!

await selfiePhotoFile.DeleteAsync();

Wrapping Up

In this blog post, you learned how to interact with native file systems for iOS, Android, and Windows from shared code using the File System Plugin for Xamarin and Windows. To learn more about Plugins for Xamarin or check out other plugins available, such as geolocation, messaging, and sharing, check out our complete plugin directory. Visit the plugin in the Xamarin Component Store for more documentation or view the source code online on GitHub.

Source: Simple Cross-Platform File IO for iOS, Android, and Windows | Xamarin Blog

Syncing Files Between Devices with Azure File Sync | Xamarin Blog

Where we don’t have to build out some sort of bespoke mobile app sync, this is pretty much the standard way for us to sync files between cross platform and multi platform apps

In a mobile world, network outages are frequent. Devices are constantly moving and connectivity can vary from great to barely connected to offline, with users expecting your app to continue to function properly. For example, field technicians need the ability to log notes in their field service app, no matter the connection state. Apps can support offline usage by …

Source: Syncing Files Between Devices with Azure File Sync | Xamarin Blog