Thursday , January 13 2022

Tag Archives: Create

PHP Rest API Framework SLIM to Create REST API – Android Coding by DMTechnolab

Simplified Coding

  <?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 »

Create Chat Application in Android using GCM Part 2 – Android Coding by DMTechnolab

Simplified Coding

  package net.simplifiedcoding.simplifiedcodingchat.activities;   import android.app.ProgressDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.support.v4.content.LocalBroadcastManager; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.Toolbar; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast;   import com.android.volley.AuthFailureError; import com.android.volley.DefaultRetryPolicy; import com.android.volley.Request; import com.android.volley.Response; import …

Read More »

Create Options Menu for RecyclerView Item Tutorial – Android Coding by DMTechnolab

Simplified Coding

The package The trap.Simplified coding.recyclerviewoptionsmenu; Import Android.Content.Context; Import Android.Content.Dialog interface; Import Android.Support.v7.App.AlertDialog; Import Android.Support.v7.Widget.Flash list; Import Android.Support.v7.Widget.RecyclerView; Import Android.Opinion.Layout; Import Android.Opinion.menu item; Import Android.Opinion.Opinion; Import Android.Opinion.Viewgroup; Import Android.Widget.text view; Import Java.Useful.The list; / ** * Created by Belal on 29/09/16. * / public class CustomAdapter Is spread RecyclerView.Adapter<CustomAdapter.View folder> {{ …

Read More »