<? php class DbOperation {{ // database connection link Private With $; // class constructor The ceremony __conversation()) {{ // Getting the DbConnect.php file require once dirname()__FILE__) . ‘/DbConnect.php’; // Create a DbConnect object to connect to the database $ Db = New DbConnect()); // starting our connection link of …
Read More »PHP Rest API Framework SLIM to Create REST API – Android Coding by DMTechnolab
<?php //including the required files require_once ‘../include/DbOperation.php’; require ‘.././libs/Slim/Slim.php’; SlimSlim::registerAutoloader(); $app = new SlimSlim(); /* * * URL: http://localhost/StudentApp/v1/createstudent * Parameters: name, username, password * Method: POST * */ $app->post(‘/createstudent’, function () use ($app) { verifyRequiredParams(array(‘name’, ‘username’, ‘password’)); $response = array(); $name = $app->request->post(‘name’); $username …
Read More »WordPress to Android App using WP REST API Tutorial – Android Coding by DMTechnolab
The package With.wordpressappexample; Import Android.App.Progressressialog; Import Android.Content.Intent; Import Android.Support.v7.App.AppCompatActivity; Import Android..Bundle; Import Android.Opinion.Opinion; Import Android.Widget.Adapter view; Import Android.Widget.ArrayAdapter; Import Android.Widget.list View; Import Android.Widget.Toast; Import With.Android.Volley.Request; Import With.Android.Volley.request; Import With.Android.Volley.Feedback; Import With.Android.Volley.VolleyError; Import With.Android.Volley.Toolbox.Stringering; Import With.Android.Volley.Toolbox.Volley; Import With.Google.the resurrection.Arises; Import Java.Useful.The list; Import Java.Useful.Map; public class Main activity Is spread AppCompatActivity …
Read More »Retrofit Android Tutorial – Using Retrofit 2.2 with PHP Restful API – Android Coding by DMTechnolab
Welcome to Retrofit Android Tutorial guys. Today we will learn to build a simple application in android using Retrofit Android Library and SLIM PHP Framework. Today, we will be covering a lot of things. We will see user registration, user login, session management and many more things. So keep reading …
Read More »Build REST API using Laravel Lumen for your Application – Android Coding by DMTechnolab
Hello guys today we will Build REST API Using a Micro php Framework to Lumon by Larva. We have already covered the basics of REST architecture in our previous posts. So in this post we will not talk about the basics of REST API and we will start building REST …
Read More »Laravel REST API Authentication using Passport – Android Coding by DMTechnolab
Do you want to know about a proper token based authentication mechanism for your RESTful API? If yes, then you are at right place. In this post we will know Laravel REST API Authentication using Passport. We’ve built the RESTful API many times before, but we’ve never discussed the proper …
Read More »MVVM Login Example Android using RESTFul API with OAuth2 – Android Coding by DMTechnolab
Hi all welcome MVVM login example Android Tutorial. An authentication system is required in almost any type of application. You name any application, Facebook, WhatsApp, Ola, Uber and you will get an authentication system there. The commonly used authentication method is email and password authentication, which we see almost everywhere. …
Read More »