Skip to main content

Posts

Showing posts from 2016

JSON API CALLING

How to call JSON Api Post Response PostLibResponse.java Post Listner LibPostListner.java Calling API private PostLibResponse postRequest; static final int REQUEST_CODE = 1  Map<String, String> parmas = new HashMap<>();                 parmas.put("user_id", userId);                 postRequest = new PostLibResponse(EntertainmentActivity.this, new EntertainmentDataModel(), EntertainmentActivity.this, parmas, URL, REQUEST_CODE); @Override     public void onPostResponseComplete(Object clsGson, int requestCode) {         dismissProgress();         if (requestCode == REQUEST_CODE) {             if (clsGson != null) {                mDataModel = (DataModel) clsGson;                 if () {                     success                 } else {                     error                 }             } else {                 alertError("Something is wrong");             }         }     }     @Override     public void onPostRe

Firebase – Login and Registration Authentication

Android Getting Started with Firebase – Login and Registration Authentication With the latest news from Google I/O comes the new and upgraded Firebase . To demonstrate how simplified and easy to use firebase is, we will build a simple login/register (Firebase Authentication) demo using the Firebase Email & Password authentication. Firebase provides a full set of authentication options out-of-the-box. Firebase automatically stores your users’ credentials securely (using bcrypt ) and redundantly (with replication and daily off-site backups). This separates sensitive user credentials from your application data, and lets you focus on the user interface and experience for your app. Features of Firebase Firebase comes with bunch features essential for every android app starting from authentication to hosting the app. Firebase Advantages * Super easy and quick to implement  *  No server side configuration needed. No PHP Scripts and No Data