An interesting app that i have found while searching through the go market, allow humans to control android phone from where ever they want! Really this is an amazing stuff by the folks and symbolizes the picture of ubiquitous computing a bit.
Just download the application from the android market, its absolutely free. Follow the instructions of usage and you are good to go.
From here, you can control almost anything you'd be able to control while holding your phone. You can adjust/delete your notifications and ringtones, read and send SMS messages, backup and uninstall apps, and monitor your system's storage information.
Monday, 19 August 2013
Monday, 8 July 2013
Facebook profile picture privacy revealed!
Viewing the Private Facebook Profile picture in full dimensions:
- Go to the desired facebook profile.
- Right click on the profile picture and click on "Copy image URL" or "Copy Image Location".
- Paste the URL up on the URL bar.
- The URL will look like this.
- https://fbcdn-profile-a.akamaihd.net/hprofile-ak-ash4/c120.0.720.720/s160x160/111111_123456789876543_1111111111_n.jpg
- Remove the following portion from the URL.
- /c120.0.720.720/s160x160.
- The final URL will look like this.
- https://fbcdn-profile-a.akamaihd.net/hprofile-ak-ash4/111111_123456789876543_1111111111_n.jpg
Now open this URL, you will get the results.
Viewing the likes on the private facebook profile pictures:
- Take the url:
- https://fbcdn-profile-a.akamaihd.net/hprofile-ak-ash4/111111_123456789876543_1111111111_n.jpg
- Copy the following portion between two underscores
- 123456789876543
- Paste the above code at the end of the following URL.
- www.facebook.com/browse/likes?site=asd&id=
- The final url will look like this:
- www.facebook.com/browse/likes?site=asd&id=123456789876543
- Paste this URL in the browser URL bar and you will see the likes on that private profile picture.
Note:
You need to log in the Facebook to get the final results.
Wednesday, 19 June 2013
Static block in Java
Static block
Static blocks in Java are initialize before any objects.They can access only static data types that are declared global or are instance variables. But can declare local variables of non-static within their scope.Example
public class StaticDemonstration {
static int a;
static{
System.out.println("Hello Static");
a=10;
int b = 10;
System.out.println(a==b ? "Right":"Wrong");
}
public static void main(String[] args) {
//No Objects
}
}
Output
Hello staticRight
Tuesday, 18 June 2013
Easy Use of switch in Java!
Switch
Switch is used as an alternative of if else series of statements. It is more efficient and easy to use than if else if ladder.Syntax
Switch value{body.. }
Test application
I am going to create a test application in Java using switch that will allow the user to enter any integer numbers from 0 to 10 and the program will produce output in alphabets against any number entered.
import java.util.Scanner;
public class SwitchDemo {
public static void main(String arg[]) {
System.out.println("Enter the Number to convert " +
"in alphabets");
Scanner in = new Scanner(System.in);
int a;
do{
a = in.nextInt();
switch(a){
case 0:
System.out.println("Zero");
break;
case 1:
System.out.println("One");
break;
case 2:
System.out.println("two");
break;
case 3:
System.out.println("Three");
break;
case 4:
System.out.println("Four");
break;
case 5:
System.out.println("Five");
break;
case 6:
System.out.println("Six");
break;
case 7:
System.out.println("Seven");
break;
case 8:
System.out.println("Eight");
break;
case 9:
System.out.println("Nine");
break;
case 10:
System.out.println("Ten");
break;
default:
System.out.println("Wrong input");
break;
}
}while(a<=10);
}
}
Subscribe to:
Posts (Atom)
