Search This Blog

Showing posts with label Trick. Show all posts
Showing posts with label Trick. Show all posts

Friday, 1 August 2014

How to unlock Android phone if Forgot Pattern

Many times our pattern lock's pattern is too much complicated to remember, In this case there are chances of Forgetting Pattern is more. So, What to do if you forgot pattern ? How to unlock Android phone with forgotten patten lock ? or How to bypass android pattern lock screen ? If these questions are in your mind then here We've provided the perfect solutions to Unlock android phone after forgotten patten lock.

unlock-bypass-android-pattern-if-forgot
There are many methods for unlocking (bypassing) android pattern lock after forgotten pattern that I have found on the Internet forum. I am explaining those methods to bypass android pattern lock with more clear views.

Note : If none of these method works sadly you have to wipe whole data of your phone.


Disclaimer :
This guide if for Education purpose only and only for those people who have forgotten their pattern lock screen. You shall not use these methods to someone's phone without the permission of the owner. We are not responsible for any kind error occurs during this processes. Files and tutorials are created according to our experience and collected from Internet and XDA forums.

So, let's start the methods to bypass/unlock Android pattern lock.

Method #1 : Flash ZIP and via CWM and ByPass Pattern lock screen :

  • Download the Pattern lock disable zip file from this link.
  • Move that zip file to the SDcard of your phone using a card reader.
  • Now insert that SDcard to you phone.
  • Reboot your phone into recovery mode (For this first switch of your phone and then keep pressing Volume Up+Home+Power button till recovery screen appear.)
  • Now flash the zip file which you've downloaded using recovery mode and then reboot your android smartphone.
  • Guess what ? You're done pattern lock of your Android smartphone shall be disable.

Method #2 : ByPass Android pattern lock screen using ADB :

  • For this method you need A computer running with a Linux distro or Windows+Cygwin and USB cable to connect your phone with PC.
  • Open Terminal from you PC and type below code in it.
sudo apt-get install android-tools-adb
  • Then hit Enter.
  • Now connect your Android phone with PC using USB Cable.
  • Then open a terminal window in PC and type below code in it.
adb devices
adb shell
cd data/system
su
rm *.key
  •  You're done ! Now just restart your android phone.
Note : If it ask for pattern lock after restarting, Don't worry...Just enter a random pattern and you're phone should be unlock.

Method #3 : ByPass Android pattern lock via SMS :

  • For this method You've to installed a application to your phone before the lock accident occurs.
  • Download SMS ByPass application from this link. (This app require root access to run.)
  • First make sure, You've given permanent root access to the app.
  • Change the secret code in the app, the by default code is :1234
  • Now, when you forgot your pattern lock or  Password of your android just send SMS from other as shown below.
1234 reset
Note : Where 1234 is your secret code, which you've select in the app. If you've changed it you need to send the new secret code via SMS as above format.

So, these are the 3 easy methods to bypass or unlock Android pattern lock if Forgot pattern. If these all method won't work for you then you've to reset your phone using CWM by 'wipe data and cache' option. This will delete all the data of your phone including Application and contacts of your Android phone.

If you liked above method then take a second to share this with your friends, It may be help them, Sharing is caring

Thursday, 9 January 2014

JSP Cookies

JSP Cookies Example
         
This tutorial shows how to handle cookies in JSP pages. In this tutorial you will learn how to add cookies through jsp page and then show the value of the same cookie in another JSP page.
Let's understand the cookies. Cookies are short pieces of data sent by web servers to the client browser. The cookies are saved to clients hard disk in the form of small text file. Cookies helps the web servers to identify web users, by this way server tracks the user. Cookies pay very important role in the session tracking.
Cookie Class
In JSP cookie are the object of the class javax.servlet.http.Cookie. This class is used to creates a cookie, a small amount of information sent by a servlet to a Web browser, saved by the browser, and later sent back to the server. A cookie's value can uniquely identify a client, so cookies are commonly used for session management. A cookie has a name, a single value, and optional attributes such as a comment, path and domain qualifiers, a maximum age, and a version number.
The getCookies() method of the request object returns an array of Cookie objects. Cookies can be constructed using the following code:
Cookie(java.lang.String name, java.lang.String value)
Cookie objects have the following methods.
Method
Description
getComment()
Returns the comment describing the purpose of this cookie, or null if no such comment has been defined.
getMaxAge()
Returns the maximum specified age of the cookie.
getName()
Returns the name of the cookie.
getPath()
Returns the prefix of all URLs for which this cookie is targeted.
getValue()
Returns the value of the cookie.
setComment(String)
If a web browser presents this cookie to a user, the cookie's purpose will be described using this comment.
setMaxAge(int)
Sets the maximum age of the cookie. The cookie will expire after that many seconds have passed. Negative values indicate the default behavior: the cookie is not stored persistently, and will be deleted when the user web browser exits. A zero value causes the cookie to be deleted
setPath(String)
This cookie should be presented only with requests beginning with this URL.
setValue(String)
Sets the value of the cookie. Values with various special characters (white space, brackets and parentheses, the equals sign, comma, double quote, slashes, question marks, the "at" sign, colon, and semicolon) should be avoided. Empty values may not behave the same way on all browsers.
Example Using Cookies
No we will write code in JSP file to set and then display the cookie.
Create Form
Here is the code of the form (cookieform.jsp) which prompts the user to enter his/her name.
<%@ page language="java" %>
<html>
<head>
<title>Cookie Input Form</title>
</head>
<body>
<form method="post" action="setcookie.jsp">
<p><b>Enter Your Name: </b><input type="text" name="username"><br>
<input type="submit" value="Submit">

</form>

</body>
Above form prompts the user to enter the user name. User input are posted to the setcookie.jsp file, which sets the cookie. Here is the code of setcookie.jsp file:
<%@ page language="java" import="java.util.*"%>
<%
String username=request.getParameter("username");
if(username==null) username="";


Date now = new Date();
String timestamp = now.toString();
Cookie cookie = new Cookie ("username",username);
cookie.setMaxAge(365 * 24 * 60 * 60);
response.addCookie(cookie);


%>

<html>
<head>
<title>Cookie Saved</title>
</head>
<body>
<p><a href="showcookievalue.jsp">Next Page to view the cookie value</a><p>

</body>
Above code sets the cookie and then displays a link to view cookie page. Here is the code of display cookie page (showcookievalue.jsp):
<%@ page language="java" %>
<%
String cookieName = "username";
Cookie cookies [] = request.getCookies ();
Cookie myCookie = null;
if (cookies != null)
{
for (int i = 0; i < cookies.length; i++)
{
if (cookies [i].getName().equals (cookieName))
{
myCookie = cookies[i];
break;
}
}
}

%>
<html>
<head>
<title>Show Saved Cookie</title>
</head>
<body>


<%
if (myCookie == null) {
%>
No Cookie found with the name <%=cookieName%>
<%
} else {
%>
<p>Welcome: <%=myCookie.getValue()%>.
<%
}
%>
</body>
When user navigates to the above the page, cookie value is displayed.

Friday, 2 August 2013

Hiding Disk Completley

The following trick will enable you to hide any volume or disk you want for the sake of your privacy:-



follow the given steps :-
1. click on start.
2. select run.
3.Now type cmd.

(this will open a command prompt)
4.type the command DISKPART
5.now type LIST VOLUME
6.now we have to select the drive we want to hide
for example : SELECT VOLUME 3
7. type the command now REMOVE LETTER E
(as in case of volume 3)

Boom .
the volume will become invisible when you restart your computer.

To get the volume back to visible state.
follow the steps 1 to 6 again :
and in the 7th step write ASSIGN instead of REMOVE

I tried this on Window7- 32 bit OS

Friday, 14 December 2012

T.Y.BSc.I.T Sem VI All Ebooks Free Downloads

T.Y.BSc.I.T Sem VI All Ebooks Free Downloads


Click Here


Internet Technologies

TCP/IP Protocol Suite, Behrouz A. Forouzan, 
Internetworking with TCP/IP, Volume III, Second Edition, Douglas E. Comer, D.L. Stevens, PHI

Digital Signal Processing by S. Salivahanan, C. Gnanapriya


Data warehousing

DW2.0 The architecture for Next Generation of Datawarehousing W.H. Inmon, Derek Strauss, Genia Neushloss, ELSEVIER 

Paulraj Ponnian, “Data Warehousing Fundamentals”, John Wiley 


IPR AND CYBER LAWS



Project Management

Software Project Management by Walker Royce: Pearson Education

Information Technology Project management by Kathy Schwalbe 

Monday, 10 September 2012

How To Declare Keyword as Variable ?




Contact :  https://www.facebook.com/rajvishwakarma15

How To Declare Keyword as Variable ?



A Simple Example:
using System;
class A
{
    public static void Main(string[] a)
   {
         int @for=20;
         Console.WriteLine(@for);
Console.Readkey();
   }
}

Similarly This You can declare any Keyword As Variable.
Thanks.