Categories Uncategorised

How to manage all control on vimeo video.

<!doctype html> <html> <head> <meta charset=”utf-8″> <title>Vimeo All Controll Management</title> <script src=”http://code.jquery.com/jquery-1.11.3.min.js” type=”text/javascript”></script> <script type=”text/javascript” src=”src/jquery.vimeo.api.js”></script> <link rel=”stylesheet” href=”http://netdna.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css”> <script type=”text/javascript”> $(document).ready(function($) { $( “#play” ).click(function() { $(“iframe”).vimeo(“play”); }); $( “#pause” ).click(function() { $(“iframe”).vimeo(“pause”); }); $( “#seek-to” ).click(function() { $(“iframe”).vimeo(“seekTo”, 10); }); $( “#set-volume” ).click(function() { $(“iframe”).vimeo(“setVolume”, 0.6); }); $(“iframe”).vimeo(“paused”, function(data){ console.log( “Is paused?”, data […]

Read More
Categories CodeIgniter

Remove index.php from URL in CodeIgniter

Remove index.php from URL in codeIgniter. Open and make .htaccess file in the root and follow these steps. Step 1 : Make .htaccess file in root location i.e along with application folder Step 2 : Write this code into .htaccess file. RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L]

Read More
Categories Android Studio Tutorial

Show data from mysql database to android fragment

There are two files. 1] java file. 2] fragment file. 1] Java file code package com.example.clinicmgmt; import android.os.AsyncTask; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; public class fetchData extends AsyncTask { public fetchData() { } String data = “”; String dataParsed = […]

Read More
Categories Android Studio Tutorial

Insert data from android app to mysql database

Write this code into fragment file like AddExpensesFragment package com.example.clinicmgmt; import android.os.Bundle; import android.os.StrictMode; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import java.io.BufferedWriter; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.net.URLEncoder; /** * A simple {@link Fragment} subclass. […]

Read More
Categories OpenCart Tutorial

How to Install OpenCart ?

Step 1 :  Open URL (https://www.opencart.com/),then click on Free Download button. then click DOWNLOAD NOW button. Step 2 : After downloading, Extract the folder, then open the Upload folder, copy all files and folders and past it in xampp >> htdocs >> make new folder  like shoppingProject. Step 3 : Rename config-dist.php file to config.php Step […]

Read More
Categories wordpress Tutorials

Add Fields in edit profile page on wp admin

//We add action to hook “show_user_profile” and create three labels and input field in callback function and add action for same callback function add_action( ‘show_user_profile’, ‘extra_user_profile_fields’ ); add_action( ‘edit_user_profile’, ‘extra_user_profile_fields’ ); function extra_user_profile_fields( $user ) { ?> <!– HTML Start Section of Custome Fields –>     <h3><?php _e(“Extra profile information”, “blank”); ?></h3>     […]

Read More