In this post we will learn how to make File upload progress bar. We have also covered a tutorial about ajax file upload. But in that tutorial, we were not showing the progress of file upload. A mandatory feature is to show the progress bar when the file is being …
Read More »PHP Restful API Framework SLIM to Create REST API – Android Coding by DMTechnolab
<? 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 »Filter JSON Data in Android Application using PHP and MySQL – Android Coding by DMTechnolab
The package With.Examples.Manish.jsonfilterapp; Import Android.App.Progressressialog; Import Android.Content.Context; Import Android.Content.Intent; Import Android.Content.Sharing; Import Android.Support.v7.App.AppCompatActivity; Import Android..Bundle; Import Android.Opinion.Opinion; Import Android.Widget.switch; Import Android.Widget.list View; Import Android.Widget.text 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 org.Jasan.JSONArray; Import org.Jasan.JSONException; Import org.Jasan.JSONObject; Import Java.Useful.array list; Import Java.Useful.Collection; …
Read More »Upload PDF File to Server in Android with PHP and MySQL – Android Coding by DMTechnolab
package chutka.bitman.com.uploadpdfsimplified; import android.app.ProgressDialog; import android.support.annotation.StringDef; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.database.Cursor; import android.graphics.Bitmap; import android.net.Uri; import android.os.Bundle; import android.provider.MediaStore; import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; import android.support.v4.content.ContextCompat; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.AdapterView; import android.widget.Button; import android.widget.EditText; import android.widget.ImageView; import android.widget.ListView; import …
Read More »Firebase Cloud Messaging for Android using PHP and MySQL – Android Coding by DMTechnolab
The package The trap.Simplified coding.Firebascloudmasing; / ** * Created by Belal on 03/11/16. * / Import Android.App.Notification; Import Android.App.Notification manager; Import Android.App.Pending; Import Android.Content.Context; Import Android.Content.Intent; Import Android.The graphics.Bitmap; Import Android.The graphics.Bitmap creation; Import Android.Support.v4.App.Notification; Import Android.The text.Html; Import Java.I am.IOException; Import Java.I am.input stream; Import Java.The trap.HttpURLConnection; Import Java.The …
Read More »Android Sync SQLite Database with Server using PHP and MySQL – Android Coding by DMTechnolab
The package The trap.Simplified coding.androidmysqlsync; Import Android.Clearly; Import Android.App.Progressressialog; Import Android.Content.broadcast receiver; Import Android.Content.Context; Import Android.Content.Intent; Import Android.Content.Intent filter; Import Android.Content.in the evening.package manager; Import Android.The database.Cursor; Import Android.The trap.Valency; Import Android.Support.v4.Content.Context.com; Import Android.Support.v7.App.AppCompatActivity; Import Android.The.Bundle; Import Android.Opinion.Opinion; Import Android.Widget.switch; Import Android.Widget.Change in writing; Import Android.Widget.list View; Import Android.Widget.Toast; Import …
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 »Volley with Kotlin using PHP and MySQL in Android Studio 3.0 – Android Coding by DMTechnolab
<?xml the version=“1.0” Encoding=“utf-8”?> <android.support.constraint.ConstraintLayout xmlns:Android=“http://schemas.android.com/apk/res/android” xmlns:App=“http://schemas.android.com/apk/res-auto” xmlns:equipment=“http://schemas.android.com/tools” Android:Layout_process=“match parent” Android:Layout_height=“match parent” equipment:The reference=“net.simplifiedcoding.firstkotlinapp.MainActivity”> <Text view Android:Id=“@ + Id / textView2” Android:Layout_process=“wrap content” Android:Layout_height=“wrap content” Android:The text=“Add new artist” Android:The text=“@Style / TextAppearance.AppCompat.Headline” equipment:Layout_editor_absoluteX=“112dp” equipment:Layout_editor_absoluteY=“16dp” App:Layout_constraintTop_toTopOf=“Parent” App:Layout_constraintStart_toStartOf=“Parent” Android:Layout_marintop=“16dp” App:Layout_constraintEnd_toEndOf=“Parent” /> <EditText Android:Id=“@ + id / editTextArtistName” Android:Layout_process=“0dp” Android:Layout_height=“wrap content” Android:Layout_marineand=“8dp” …
Read More »Android Networking Tutorial with Retrofit, PHP and MySQL – Android Coding by DMTechnolab
Networking is part of almost all applications. Applications do not operate in the isolation they communicate with backend servers with the help of web services often called RESTful APIs to perform various operations (such as saving or retrieving data). Therefore, networking is important in application development. in this Android networking …
Read More »