Firebase on an Android device without Google Services - android

I understand that Firebase does not support android devices that do not have google services installed.
I'm trying to build a native android app on a Clover Till (https://docs.clover.com/). I need realtime database and authentication. The rest of the firebase features would be nice however I can get by with just the database and authentication.
It seems like realtime database is working but authentication is not.
Am I correct in saying that firebase auth needs google services to work in android?
If so, what are my options?
Could I build a hybrid app to get around this?
Thanks

Related

How to use Firebase

I want to create an android app, I read that firebase can help me with this. What is firebase and how to use it with my reference?
Firebase helps you with a lot of features like:
Authentication (Anonymous accounts, Google/Facebook/Twitter/GitHub
Sign in)
Saving data through the Realtime Database
Storing files
Get crash reports (if your app crashes on ones device you will see an error log in Firebase)
Notifications
App Indexing
Dynamic links
Invites
Test Lab
Many more features
Source: Firebase
Of course the list of features it offers is much bigger than that.
To get started on android development with Firebase look here:
Firebase Android Get Started Guide

AWS app analytics data

We are using Amazon Mobile Analytics to collect app usage for Android using AWS Android sdk.
Since our application is business related we are tracking some custom events. Now we want show those custom events analytics to app user on Android device. Is there any way to get our app analytics data in the form of web services so that we can show the data to our users on Android app?
I have posted the same question on AWS forum here, unfortunately I have not got any reply.
Amazon Mobile Analytics recently released the "Auto Export" feature. This enables you to get your raw events in an S3 bucket. From there you can easily build a web service around it or simply read the raw S3 file.
http://aws.amazon.com/about-aws/whats-new/2014/12/17/introducing-amazon-mobile-analytics-auto-export/

Deploying database on Google Cloud Storage in Android application

In my android application I want to store images from my Android application to Google Cloud Storage. For that I'm referring to this Mobil Backend starter example. In that they have a backend database which is deployed on Google Cloud Storage, but I don't know I can deploy my own database there.
What are the steps to query the database in my android app? Please help me to implement this functionality. Can anyone suggest a tutorial or link which provides proper guidelines for using and storing DB on Google Gloud?
Thank you.
If you are writing your own App Engine application that needs to use storage, you have several options in the Google Cloud:
The Mobile Backend Starter using the Datastore API, that provides a NoSQL like datastore in the Google Cloud that your App Engine application can interact with via the Datastore API. By default you get a total of 1GB of space in the free tier, after which you have to pay per use for your storage requirements.
There is the Cloud Storage API, that allows you to save objects to Google Cloud Storage Service. This service is analogous to Amazon S3 service and you can save your data, classified into groups i.e. buckets. This is a paid service. Refer to https://cloud.google.com/products/cloud-storage/
If you prefer to deal with SQL, you can look at Google Cloud SQL, which gives you a MySQL Instance in the cloud. This is a paid service too. Refer to https://developers.google.com/cloud-sql/
Finally, if you application prefers that you use the Google Drive account of the User itself, then you can look at directly integrating with Google Drive API. Recently Google introduced good updates to their Android Drive API. https://developers.google.com/drive/android/
In all the above cases, when it comes to interacting with the App Engine application, it is advisable that you expose the Data Services via a REST like API in your App Engine application.
Using Google App Engine allows you to setup a local Datastore for testing. When you deploy your App Engine code, it will create the same Datastore on App Engine too [without the data]. Basically, if you follow the steps in the link you have mentioned it will setup Eclipse and App Engine, the App Engine service does not run inside your Android ecosystem. It can be modelled as a REST based URL server, where you can define Endpoints as mentioned here: Java GAE
As for tutorials: Default Google Docs!
I have a full app here, almost full application! Sample App

Sync android database over multiple devices through Google or Facebook

i'm going to develop a sort of cloud based application. Since I develop for hobby, I don't want to pay a server.
I'm wondering if Google or Facebook allow user to sync sqlite OR json databases through their server. For example: I'd like to sync - after the Google+ app login - the data of my app, so that the same person, on his tablet, can use the data he produced on the smartphone. Can anyone point me out some documentation that explain me what services should I use and how? Thanks.
With every Google account comes Google Drive. That link leads to the documentation for their API, but you will want to use their libraries as I presume.
Basic understanding of OAuth workflow can be beneficial.

Google Cloud Datastore access from Android

I'm trying to use Google Cloud datastore as remote data collector of a bunch of sensors, connected via an android Smartphone.
Firstly I'm trying to make it working in standard java.
The question is if it is possible to access Datastore directly from an android App of I need to build a GAE app that interact with the datastore.
I read for a while the documentation about the google api, but it is not really clear, how to use the Oauth 2.0 protocol.
Thank You all
You can use the oath2 support built into android as long as every user of the app is an admin of your google cloud project/app engine app. If you want to allow untrusted users to upload data, you would have to use your own endpoint and authentication strategy.

Categories

Resources