• No products in the cart.
View Cart
Subtotal: $0.00

Android

Android Push Notification using GCM

Welcome to the Android Push Notification using GCM tutorial.

Introduction: Many app developers still struggle to implement Android Push Notification in their apps/games.So what is actually a push notification.Push Notification are used by developers to inform user about new messages,events or any other thing which they can see without opening their app.

In this tutorial i am going to tell you how to use GCM (Google Cloud Messaging) to send push notification on Android device.You can use this code in your android app,games made with LibGDX,Cocos2d-x with little modification.This tutorial contains PHP,MySQL & JAVA code.

Continue Reading

Tutorial 2 : Connect Android with PHP,MySQL (JAVA Code)

Welcome to Connect Android with PHP & MySQL Series Part 2

Summary

In this tutorial i will show you how to access the fetched data from PHP Script using Volley Library,Parse the fetched JSON and show it in ListView

Continue Reading

Tutorial 1 : Connect Android with PHP,MySQL (PHP Code)

Welcome to Connect Android with PHP & Mysql Series Part 1

Summary

In this tutorial i will show you how to create database, get data from PHP scripts & show it in json form which you access by a URL.

1.) Installing Wamp Server on Windows.

Go to http://www.wampserver.com/en/ download the Wamp as per your software architecture 64 bit or 32 bit

Wamp Folder

Wamp Folder

Then go to install location mine is C:\wamp (by default this is the install location for are users) open wampmanager.exe

Now you can test your wamp server by going to this address in browser http://localhost/ or http://127.0.0.1. If it’s opening default page of wamp then you’re good to proceed further. Continue Reading

Android App Tutorial Series Connect with PHP,MySQL

Android App Tutorial Series

In this Series of android app tutorial we will focus on how to connect with PHP Scripts with MySQL as database and communicating with android.

Basically it is used as Web Services for fetching,inserting,managing data through android app with the help of PHP Scripts.

We will call the PHP Script with Volley Library (Saves time,Easy to use)

So the operation will be simple as defined in below image

Web Services Diagram

Web Services Diagram

your code calls PHP script

Continue Reading

Android : Too many pattern attempts Solution

Android the most popular Operating System fro smartphones now a days.The OS is Linux based designed mainly for Touchscreen & tablet devices.
I am not here to talk about android History if you want to read more about android then visit this Link

Android

A Common prob. in android Smartphones users are facing is their smartphones is locked after too many wrong pattern attempts

Most of Android smartphones users lock their smartphone using pattern lock for better privacy. (Reason can be they have some 18+ Pics which they don’t want to show to their friends :P)

What is pattern Lock ??
The Pattern lock is type of lock which let you draw image by connecting circles which make a pattern. You can only open your mobile if your draw right pattern. In case you draw wrong pattern, you are aksed to redraw the right Pattern

If you are a android user and draw more then 20 times wrong pattern then your smartphone get locked.
Now you can’t try new pattern or use any other feature of smartphone.Even you can’t make any Phone call.
If this is your case then you are in right place.

Solution to the Prob.

If your smartphone is locked with too many wrong attempts then here we go with our First solution.

Use Google account associated with smartphone. You need to login with your google account & then you can easily disable or change the pattern of your lock but for this
you your WiFi has to be turned on already because you can’t turn on the WiFi if your smartphone is locked.
Another solution is in some smartphones when you press Lock key more then 4-5 seconds you will get a Alert dialog
to turn on your Mobile Data pack (Only useful if you have set the APN already)

If WiFi is turned off on your smartphone then you can’t login into your account. You can also enable the WiFi or Mobile data through Android Debug Bridge 
This method requirement is that you must enabled USB Debugging feature under ‘Developer Options’ on your device

Steps to bypass Lock screen through ADB (Not by turning on the Wifi)
1. Download ADB thorugh Google site
2. Connect your Device through USB
3. Open CMD in windows
4. Issue the following Command

adb shell
rm /data/system/gesture.key

5. Now reboot your android device & supply the following Commands
6.

adb shell
cd /data/data/com.android.providers.setting­s/databases
sqlite3 settings.db
update system set value=0 where name=’lock_pattern_autolock’;
update system set value=0 where name=’lockscreen.lockedoutpermanently’;
.quit

7. Restart it
8. You’re done now it will accept any new pattern

If you are facing any error then please let me know in Comments

Scroll to top