Sunday , November 28 2021

Tag Archives: Android

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 »

Android Marshmallow Permissions Example – Android Coding by DMTechnolab

Simplified Coding

The package The trap.Simplified coding.Running; Import Android.Clearly; Import Android.Content.in the evening.package manager; Import Android.Support.Annotation.No no; Import Android.Support.v4.App.Activity.com; Import Android.Support.v4.Content.Context.com; Import Android.Support.v7.App.AppCompatActivity; Import Android.The.Bundle; Import Android.Support.v7.Opinion.Menu.ActionMenuItemView; Import Android.Opinion.Opinion; Import Android.Widget.switch; Import Android.Widget.Toast; public class Main activity Is spread AppCompatActivity {{ // our button Private switch Button design; // Permission code that …

Read More »

Android Paypal Integration Tutorial – Android Coding by DMTechnolab

Simplified Coding

<?xml the version=“1.0” Encoding=“utf-8”?> <Relativism xmlns:Android=“http://schemas.android.com/apk/res/android” xmlns:equipment=“http://schemas.android.com/tools” Android:Layout_process=“match parent” Android:Layout_height=“match parent” Android:padding bottom=“@Dimen / activity_vertical_margin” Android:padding left=“@Dimen / activity_horgen_marin” Android:Paddingright=“@Dimen / activity_horgen_marin” Android:padding top=“@Dimen / activity_vertical_margin” equipment:The reference=“net.simplifiedcoding.paypalintegration.ConfirmationActivity”> <Table list Android:Layout_process=“match parent” Android:Layout_height=“wrap content” Android:Layout_centwork=“True” Android:Layout_alignParentLeft=“True” Android:Layout_alignParentStart=“True”> <Text view Android:Layout_process=“wrap content” Android:Layout_height=“wrap content” Android:The text=“Payment amount:” /> <Text view Android:Id=“@ …

Read More »

SQLite CRUD Example in Android using ActiveAndroid Library – Android Coding by DMTechnolab

Simplified Coding

The package The trap.Simplified coding.Activator; Import Android.Support.v7.App.AlertDialog; Import Android.Support.v7.App.AppCompatActivity; Import Android.The.Bundle; Import Android.Opinion.Layout; Import Android.Opinion.Opinion; Import Android.Widget.Adapter view; Import Android.Widget.ArrayAdapter; Import Android.Widget.switch; Import Android.Widget.Change in writing; Import Android.Widget.list View; Import Android.Widget.text view; Import Android.Widget.Toast; Import With.Activator.ActiveAndroid; Import With.Activator.Query.Choose; Import Java.Useful.array list; Import Java.Useful.The list; public class Main activity Is spread …

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 »