Skip to main content

Posts

Showing posts from 2015

Building mobile apps quickly and easily with a new PCL

NB. this post will be deprecated soon as these BAASBox PCL libraries have gone through a major refactoring. Stay tuned! A framework for BAASBox-aware C# Xamarin.Forms mobile apps, or...How to build a multi-platform app in C# in half an hour! Introducing BAASBox.CRUD.UI BAASBox.Access (previously introduced) and BAASBox.CRUD.UI are nuget packages you can use to quickly and easily build your mobile app in C#, backed by a BAASBox instance. Both are PCL libraries - so they'll work across Android and iOS.
BAASBox.Access connects your app to BAASBox, and BAASBox.CRUD.UI provides you with a quick and easy Xamarin.Forms framework for building the app.

You can be implementing your app's actual functionality in no time!

BAASBox.CRUD.UI provides you with several new classes of Xamarin.Forms pages for interacting with your backend data:

AbstractCrudPage - for creating/editing/viewing/deleting objects from your collections.AbstractSignInPage - for signing in to your backend.AbstractPersonalCon…

Using BAASBox from your C# mobile application

Introducing BAASBox.AccessBAASBox is a straightforward backend-as-a-service you can use in your mobile solution. It provides authentication, document storage, and social features straight out of the box (so to speak!)

There are BAASBox SDKs for Android, iOS, and javascript; and a well documented RESTFUL web-service interface.

Portable Class Libraries (PCL) are .NET libraries that allow you to share code between multiple platforms. PCL code can run in various environments - including iOS, Android, and Windows Phone. This is particularly pertinent to Xamarin developers using Xamarin.Forms and looking to write their code once and deploy to multiple platforms, although it will also be of use to all C# developers.

BAASBox.Access is a new PCL providing you with access to the BAASBox restful interface, and so a ready-made backend for your application. Features include:

SignIn / SignOut with accounts stored in BAASBox.Create/update/delete documents.Share/unshare documents.Follow/unfollow users.

DriveStamper source code released

Drive Stamper is one of the first projects I released into the wild, and the subject of my first blog post - back in October 2011. It's a tool for small businesses to push files onto Pen Drives without the hassle of having to open up folders and drag files for every new pen drive they plug in. Instead, Drive Stamper can detect new drives and can automatically copy the files to each new drive it finds.

For a while, the source code and binaries were lost, but they have now been released on GitHub.

Read the original post, containing instructions for using Drive Stamper.Download the latest installerfor Windows machines.Browse or download the source codefrom GitHub.

Using Facebook Conceal to protect your C# Android app's data

Disclaimer: This post was originally published in May 2015. Since then, strategies for encrypting and securing your data have moved on. Some of this article is still relevant though - particularly around strategies for importing and binding libraries in Xamarin projects.

How are you protecting your users' sensitive data from prying eyes?

Facebook's Conceal library is an excellent native encryption library for Android. Unlike other provisions, it is fast and simple - reducing risk by making sane choices. It's the tool of choice for the Facebook Android app when it stores data outside of the app, and it looks like it would make an excellent tool for securing your Android app's data, too.

I'm working in C# through Xamarin - and unfortunately (for me, perhaps) Facebook Conceal is a standard Android library (some regular Java .JARs, and some native binary .SOs). This entry is about what you'll need to do to access the encryption features Conceal provides from your Xam…