Sunday, March 5, 2017
Mengatasi The printer ink pads are the end of their service life pada Epson l100 L200
Mengatasi The printer ink pads are the end of their service life pada Epson l100 L200
![]() |
| tanda tempat pembuangan sisa printer penuh dan biasanya disertai kedip lampu merah dekat tombol power |
Setelah itu alangkah baiknya anda memasang tempat tinte sisa pembuangan print atau head clening diluar.sepreti gambar dibawah ini

Available link for download
Friday, January 27, 2017
Mobile web apps front end and back end sample
Mobile web apps front end and back end sample
This code sample is to demonstrate how to develop a mobile web apps using HTML + jquerymobile as the front-end, and PHP+mySQL to serve as the online database.
DOWNLOAD both front-end and back-end codes here > https://drive.google.com/file/d/0B34ZxOOoeSDdRHNvUWt6eWktbmc/view?usp=sharing
The FRONT-END
Pls change the apps ID in the config.xml.
<?xml version="1.0" encoding="UTF-8" ?>
<widget >"http://www.w3.org/ns/widgets"
>"http://phonegap.com/ns/1.0"
id = "com.yourhosting.yourappID"
versionCode = "2"
version = "1.0.2" >
<!-- versionCode is optional and Android only -->
<name>JPA Directory App</name>
<description>
Directory for JPA
</description>
<author href="http://kerul.net" email="khirulnizam@gmail.com">
Khirulnizam Abd Rahman
</author>
<gap:splash src="splash.png" />
<icon src="icon.png" />
</widget>
Change the link to your web server. The buttons SEARCH AJAX, SEARCH STAFF and ADD NEW STAFF require connection to your web server (back-end). Change the links accordingly.
*this tutorial might help you to generate Android APK file for the front-end.
The BACK-END
On the back-end, we are using PHP as the server-script and mySQL as the database. Inside the folder of the server-script, you will find file
SQLdump - The database sql-dump is available in jpa_dir.sql
Config file - Please change the config.php file to connect to your database.
<?php
$servername = "localhost";//change your db servername
$username = "root";//change to your db username
$password = "";//change to your password here (if any)
$dbname = "YOU_DB_NAME";//change your DB name here
// Create connection
$conn = mysqli_connect($servername, $username, $password, $dbname);
// Check connection
if (!$conn) {
die("Connection failed: " . mysqli_connect_error());
}
//echo "Connected successfully";
?>
Header file the header.php contains the header for the HTML template of the page.
<!DOCTYPE html>
<html>
<head>
<title>JPA Directory</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="css/jquery.mobile-1.4.5.min.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/themes/test-theme2.css" />
<link rel="stylesheet" href="css/themes/jquery.mobile.icons.min.css" />
<script src="js/jquery-1.11.1.min.js"></script><script src="js/jquery.mobile-1.4.5.min.js"></script>
</head>
<body>
<div data-role="header" data-add-back-btn="true" data-back-btn-text="Back" data-position="fixed">
<h1>JPA Directory</h1>
</div><!-- /header -->
Footer file the footer.php contains the header for the HTML template of the page.
<!-- footer -->
<div data-role="footer" data-position="fixed">
<h2>Copyright @2015 JPA</h2>
</div><!-- end footer -->
dy>
</html>
Search facilities
The search facilities contains two files; list-staff.php and view-staff.php .
The list-staff.php is to generate list of all record of the table sd_users and populate the data in a filterable. Selecting one of the record as in figure below will invoke another page, view-staff.php.
<?php
header("Access-Control-Allow-Origin: *");//this to allow page to be accessed from the mobile app
include "config.php";
include "header.php";
//search facilities
?>
<div role="main" class="ui-content">
<?php
//sql statement
$sql = "SELECT * FROM sd_users";
//return the resultset
$result = mysqli_query($conn, $sql);
if (!$result) {//sql query error
die(mysqli_error($conn));
}
?>
<form class="ui=filterable">
</form>
<ul data-role="listview" data-inset="true" data-filter-placeholder="Find staff..."
data-filter="true">
<?php
if (mysqli_num_rows($result) > 0) {//records found
// output data of each row
while($row = mysqli_fetch_assoc($result)) {
$url="<a href=view-staff.php?id=".$row["id"].">";
echo "<li>".$url.$row["name"]."</a></li>";
}
} else {
echo "<li>No record found</li>";
}
?>
<ul>
</div> <!-- end main div -->
<?php
mysqli_close($conn);
include "footer.php";
?>
The view-staff.php will display all information of the selected staff.
<?php
include "config.php";
include "header.php";
//view complete staff info
?>
<div role="main" class="ui-content">
<h2>View staffs full info</h2>
<?php
$id=$_GET["id"];
//sql statement
$sql = "SELECT * FROM sd_users WHERE id=$id";
//return the resultset
$result = mysqli_query($conn, $sql);
if (!$result) {//sql query error
die(mysqli_error($conn));
}
//fetch the record
if (mysqli_num_rows($result) > 0) {//records found
$row = mysqli_fetch_assoc($result);
?>
<img src="images/man.png">
<form id="view-staff" name="view-staff">
<label for="txtname">Staff name</lable>
<input name="txtname" id="txtname" type="text"
value="<?=$row[name] ?>" readonly>
<label for="txtemail">Email</lable>
<a href="mailto:<?=$row[email] ?>"
class="ui-btn ui-btn-inline ui-icon-mail ui-btn-icon-right ui-btn-icon-notext ui-btn-corner-all"> </a>
<input name="txtemail" id="txtemail" type="text"
value="<?=$row[email] ?>" readonly>
<label for="txtphone">Phone</lable>
<a href="tel:<?=$row[phone] ?>"
class="ui-btn ui-btn-inline ui-icon-phone ui-btn-icon-right ui-btn-icon-notext ui-btn-corner-all"> </a>
<input name="txtphone" id="txtphone" type="text"
value="<?=$row[phone] ?>" readonly>
</form>
<?php
} //staff id exist
else {
echo "Staff not exist";
}
?>
</div> <!-- end main div -->
<?php
mysqli_close($conn);
include "footer.php";
?>
INSERTing a new record is accomplished in the insert-new-staff.php. In this page were utilizing the window.location facility in JavaScript to redirect to list-staff.php after a new record is successfully saved to database.
<?php
include "config.php";
include "header.php";
//insert facilities
?>
<div role="main" class="ui-content">
<h2>Add new staff</h2>
<form id="view-staff" name="view-staff" method="post" action="">
<label for="txtname">Staff name*</label>
<input name="txtname" id="txtname" type="text"Available link for download
Monday, October 17, 2016
MEAIndia Mobile app Promises to End Your Passport Woes
MEAIndia Mobile app Promises to End Your Passport Woes
Ministry of external affairs on Monday launched its mobile app, MEAIndia. With this you can track your passport application will be just a matter of pushing some buttons. The app will make it possible to apply for passport and avail other services related to the travel document .The MEA envisages the application be a "one-stop shop" for you. From getting updates from all the 124 Indian missions in the world, to getting information for consular access in case you are abroad, to booking yourself for the Kailash Manasarovar Yatra, everything is now available on your fingertips.
MEAIndia -one stop-shop will provide all the information required to apply for an Indian passport, locate the nearest Passport office, download the requisite forms, calculate the fees and even track your application status .Users can also download and watch pictures and documentaries on India, share and contribute their own pictures and suggestions.The app is designed and developed by engineers from National Informatics Centre and Silver Touch Technologies and MEA
You can also participate a quiz on Indias foreign relations and check out your Foreign policy Quotient; win exciting prizes or contribute a question. The first 100 winners will each get e vouchers worth Rs.1,000 redeemable on www.landmarkonthenet.com" for buying books.
The app is available as a free download for Andorid and iOS.
Available link for download
Tuesday, September 27, 2016
March 2013 High End Smartphone Buyers Guide
March 2013 High End Smartphone Buyers Guide
If your budget is closer to 30K, I recommend a bit of patience. If you spend this much money, you probably want to keep your phone for some time, and the Sony Xperia Z, Sony Xperia ZL, HTC One and Samsung Galaxy S IV are just a month of two away from their Philippine release.

The real selling point of this phone is the HSPA+ and LTE radio. All in all, nothing spectacular, but with LTE and a low price, it is a good deal. The next phone on the list, will make you think twice about getting a Sony Xperia V though,
I have a Sony Xperia V versus iPhone 5 comparison at this link.
2. Nokia Lumia 920 (Php25,750) - This could be the best smartphone in the Philippine market today

3. Apple iPhone 5 (Plan 2499/Starts at Php33,600) - The best iPhone ever

Available link for download
