Showing posts with label Android Tips. Show all posts
Showing posts with label Android Tips. Show all posts

Sunday, 29 December 2013

How to Reset Android Pattern Lock

  => If Email ID is Attached to Phone

  • Just click the"Forgot pattern" button after some wrong password tries.
  • A pop up window will come asking your email address and password with which you registered your android device.
  • Fill the details they need
  • Now you can reset your pattern lock by Email   
    => If Email Id is not Attached to phone

    This is a factory resetting process. It will remove all your data stored in phone, Sorry gu
  • Switch Off Mobile
  •  Press Volume UP + Middle Button + Power button
  • Select Wipe data / factory reset
  • After resetting completed, reboot your phone.

Thursday, 5 December 2013

Difference Between Android OS and Java Based (Android vs Java )


JAVA

Java is one of the most widely used object oriented (and class-based) programming languages used for software development to web development, today. It is a general purpose and concurrent programming language. It was originally developed by Sun Microsystems in 1995. James Gosling is the father of the Java programming language. Oracle Corporation now owns Java (after buying Sun Microsystems recently). Java Standard Edition 6 is its current stable release. Java is a strongly typed language that supports a range of platforms from Windows to UNIX. Java is licensed under GNU General Public License. Java’s syntax is very much similar to C and C++. Java source files have the .java extension. After compiling Java source files using the javac compiler, it will produce .class files (containing the Java bytecode). These bytecode files can be interpreted using the JVM (Java Virtual Machine). Since the JVM can be run on any platform, Java is said to be multi-platform (cross-platform) and highly portable. Typically, end users use the JRE (Java runtime Environment) to run the Java bytecode (or Java Applets on web browsers). Software developers use the Java Development Kit (JDK) for application development. This is a superset of JRE, which includes a compiler and a debugger. A nice feature of Java is its automatic garbage collection, where objects that are no longer required are removed from memory automatically.



Android
Android is a mobile phone platform developed by Google. A large portion of Java 5.0 libraries is supported in Android. Therefore, it can be said that Android development is java-based. Many of the Java libraries that are not supported either have better replacements (other similar libraries) or are simply not needed (such as libraries for printing, etc.). Libraries like java.awt and java.swing are not supported because Android has other libraries for user interfaces. Android SDK supports other third party libraries like org.blues (Bluetooth support). Ultimately, Android code is compiled in to Dalvik opcodes. Davilk is a special virtual machine optimized for mobile devices with limited resources such as power, CPU and memory.


What is the difference between Android and Java?

Java is a programming language, while Android is a mobile phone platform. Android development is java-based (most of the times), because a large portion of Java libraries is supported in Android. However, there are key differences. Unlike Java, Android applications do not have a main function. They have onCrete, onResume, onPause and onDestroy functions that should be overwritten by the developers. Java code compiles to Java bytecode, while Android code compiles in to Davilk opcode.

Thursday, 14 November 2013

10 tips for better battery life for Android phones

1. Ask your phone what is using the largest percentages of power. (Settings » About phone » Battery use) If you ask Android what's using what percentage of available battery power, it will tell you. The vast majority of the time the biggest power hog is the display.

2. Tell the device to only use 2G networks. (Settings » Wireless controls » Mobile networks » Use only 2G networks) If you do not need access to high speed data, or there is no 3G or 4G network where you live, you can tell Android to only use 2G mobile networks. You will still have access to EDGE network data 

3. Reduce the brightness of your display. (Settings » Sound & Display » Brightness) Most people can see an Android display quite well with the backlighting feature turned off. Move the slider all the way to the left, then try using the device that way. If you can't see it well in that setting, move the slider to the right only as far as necessary to view the display comfortably. Alternatively, Auto brightness coupled with power saving mode (found on most Samsung, LG, Sony, and some Motorola devices) will conservatively adjust the display to the surroundings to only the brightness necessary.and WiFi if needed.

4. If your device has an AMOLED screen, always use a black background.AMOLED screens can reduce power usage sevenfold by displaying black instead of white or any other color. When searching on your phone you can also use Black Google Mobile at bGoog.com to get standard Google results (including images) all in black

5. Set your screen timeout to the shortest length possible. (Settings » Sound & display » Screen timeout) This setting tells the device to turn off the screen after the selected period of inactivity. The shorter the period, the less power your display will use. The setting options vary from phone to phone.

6. Turn off the wireless feature when not needed. (Settings » Wireless controls » WiFi, or get the Wireless Settings free app) The wireless networking transmitter uses quite a bit of power. Even when the device is not connected to a network, it will continue to search for one on a regular basis.

7. Turn off the Bluetooth feature when not needed. (Settings » Wireless controls » Bluetooth) For the same reasons as you should turn off WiFi, turn off the Bluetooth feature if you are not using it.

8. Turn off the GPS. (Settings » Security & location » Enable GPS satellites) When the GPS receiver in your Android device is active it looks for satellites, and its processor prepares information to be sent to any application that needs it, regardless of whether an application that uses the GPS is running or not. If you are not navigating, turn off GPS and let the device use whatever alternative location services your wireless network provider may offer.

9. Use the Power Control widget. (Home screen » Menu » Add » Widgets » Power control) As of Android 1.6, there is a widget that you can place on any one of your home screens that gives you quick control buttons for WiFi, Bluetooth, GPS, Push sync, and screen brightness (three levels). Use this to control your settings and turn them off to save battery power, as stated above. This is a nice easy shortcut.

10. Turn off the phone vibration function. If your device is running Android 4.0 or higher, press the volume down button until your phone goes in to vibrate. Press it once more to turn vibration off. If you have Android 2.2 or higher, go to Settings » Sound & display » Phone vibrate. The tiny device inside your phone that generates the vibration uses power every time it is activated.