Skip to main content

Posts

Showing posts from 2016

Mobile Backend As A Service (BaaS) platform for Android

Many mobile apps and games rely on a backend service for things that can’t be done solely on hosted device, such as sharing and processing data from multiple users, or storing large files. Backend as a service (BaaS) provides a centralised database and other features to manage user-generated data and application data. The developer can link applications to the backend service and backend service expose APIs to manage users, integrate push notification and analytics. BaaS is a recent development of cloud computing technology. Using backend services provide developers functionalities to manage users, data and to analyse real-time changes actively. Backend service should be able to handle the offline case gracefully and minimise battery drain. Back in the day developers had to develop custom backend platforms using server-side technologies. And developers had to scale up and down according to the user base and app usage. It was time-consuming in terms of resources and skills. Most mob

Alternatives to the SQLite in Android

At the moment there are several embeddable databases and libraries out there that you can use in a mobile application. In this post, I examine most popular libraries and databases and highlight some of their characteristics. Realm Realm is a mobile platform and a replacement for SQLite & Core Data. According to the website, it has more than 100k active developers. Realm is fully open source and distributes under Apache License. Realm Mobile Database is much faster than an ORM, and often faster than raw SQLite due to zero-copy design. Some of the benefits of Realm are fast queries, safe threading, encryption of data and reactive architecture. You can learn more about Realm by visiting this page . Sugar ORM Sugar ORM is a library that can be used to interact with SQLite database using Object-Relational Mapping. Object-Relational Mapping (ORM) is a technique that used to query and manipulate data from a SQLite database using an object-oriented paradigm. And Sugar ORM tak

How to create a project in Android Studio 2.2

This post is to support those who read the books such as  Busy programmer’s guide to Firebase with Android.  If you are getting started on Android programming, this post will help to understand the basic structure of the Android project. Android Studio Android studio provides a unified environment to develop apps for Android phones, tablets, Android Wear, Android TV and Android Auto. It is the official Integrated Development Environment (IDE) for android app development based on IntelliJ IDEA. You can learn more about Android studio features from Android Developer Website . You can download the Android Studio setup file from Download Android Studio and SDK Tools . It is bundled with Android SDK, so you don’t need to download Android SDK separately. If your Operating System is other than Windows, you can visit this URL to download the Android Studio Bundle. Launch downloaded executable file (android-studio-bundle-xxxxxxxxxx-windows.exe). Make sure you have installed Java JDK in

Deploying web app with Firebase Hosting

Firebase Hosting provides production-grade, fast and secure (HTTPS - HTTP over TLS) static hosting for your web app.It can be used to deploy web applications (JavaScript based applications) or to deploy a static content to a global content delivery network (CDN) with a single command. In this tutorial, In this tutorial static website is hosted using Firebase Hosting feature. Key capabilities Files are served over a secure connection. Content is uploaded to SSDs at CDN edges around the world and cached to provide fast delivery. Firebase CLI provides facilities for rapid deployment. Developers can easily rollback to a previous deployment. Due to the rise of front-end JavaScript frameworks static web apps have become the de facto of modern web development. Whether you are deploying simple static web apps or large scale web app, firebase hosting provides the infrastructure, features, and tooling to successfully deploy the web app. Hosting provides auto-generated subdomain on the

Introducing Busy Programmer's Guide To Firebase Android

This book presents Firebase for Android platform in a structural manner. Even beginner can read the book to learn Firebase features. Book is written in a way to present the technical details in a simple way with updated material. Book is distributed at a minimum of $1.99. It consists of eleven chapters and covers most of the functionalities provided by the Firebase platform. We are extensively updating the content to meet current requirements and you will be noticed of new content. Firebase provides tools and infrastructure to build better apps and to grow the user base. It takes care most of the vital components of the app, so the developer can focus on app usability and presentation. For example, Firebase storage provides Google Cloud Storage based storage management system and provides an API to upload user generated content. Read the book and provide us feedback on how to improve it. If you are a student or upcoming developer, please contact us if you need free copy. Do