Google Phone Archives

Opening AVD Manager in Eclipse

AVD Manager is used to create or edit a virtual device in eclipse. AVD is the abbreviation for Android Virtual Device. To open an AVD Manager, go to the window menu of eclipse. In the set of sub menus we can see the AVD Manager sub menu. Select that and we can see a window appearing with the list of virtual devices. This is the AVD Manager window.

We can also open the AVD Manager by pressing the AVD Manager using the AVD Manager button from the set of buttons that are available above the android editor. When we move the cursor over each button, the button name will be displayed.

Snapshot Feature for Android Virtual Device(AVD)

The major issue or drawback faced by every Android developer is the time needed for a virtual device to be up and running. This is because every time a new AVD is run, the device will boot up from scratch. We can reduce this delay considerably by enabling snap shot. This feature is available in the latest versions of Andriod IDE. If we want to enable snapshot for a virtual device, then we have make sure that the snapshot option is enabled for the virtual device.

So basically the snapshot feature will make sure that when you exit an emulator, the system will store off a snapshot of the state of the AVD. This takes a little while, depending on how much RAM is assigned to the AVD. After saving the state once, the AVD will now launch very quickly – usually in just a couple of seconds. At the time of launching the AVD, choose to load from the snapshot and save the snapshot. This will make the AVD to run from the last saved snapshot stage. When a snapshot isn’t found, the AVD boots up from scratch. As we all know, this takes quite a long time even on very fast machines.

What is Android Just in Time (JIT) compiler?

What is the JIT?  JIT stands for “Just In Time,” and we use it to describe a Dalvik JIT compiler, which was added to Android with the 2.2 release.  It compiles bytecode into native machine code at runtime.  Essentially it takes the code for an app, analyzes it and converts it into something that runs faster.  It does all this while the application is running, and that’s where the “just in time” tag comes from.  The JIT compiler designed for Android also can do this with a very short “warm up” time, meaning it doesn’t take very long to analyze the code before it starts working.  It stores information in a cache in your phone’s RAM, which means it’s not an ideal solution for devices with low memory.  It’s been optimized to have a small footprint — about 100K per process — but even that is enough to impact performance on older models like the G1 or HTC Magic.  This is why most phones that came before the Nexus One never got an official version from Google — hardware limitations.

A JIT compiler simply saves CPU cycles — more work can be done for each clock cycle.  This means applications that were throttled by CPU performance get faster, and apps that are “rate-limited” (run until they are finished without taxing the processor to the maximum) finish faster and use less battery because of it.  Not all applications see a significant speed increase, and most applications written with the NDK or in native code won’t see an increase at all, as they don’t use the Dalvik virtual machine.

Here is a workshop in Singapore on Android Apps

Formula to Convert CMYK to RGB values

It is possible to convert CMYK values to RGB values. We can see how to do this in the following section.

Consider the cyan, magento, yellow and black values of CMYK as c, m, y and k respectively. Now we can find the equivalent RGB values using the following formulas :

r = (1-k)-(1-k)*c;

g = (1-k)-(1-k)*m;

b = (1-k)-(1-k)*y;

Here, r, g and b will have the corresponding red, green and blue values.

Incoming search terms:

  • cggiuajq
  • Convert CMYK to RGB Formula
  • converting cmyk values to rgb in ios
  • ios cmyk
  • phonegap OrientationChanged

Android 5 Jelly Beans Features – Proposed

Browser in Android 5.0 Jelly Bean

Android 4.0 has came with a lot of cool features like the fancy tabbed browsing from Honeycomb and the super fast speed of browsing from Gingerbread. There is support for Chrome Bookmark sync service in Android 4.0 too, however, the faster browser courtesy Google- Google Chrome is still not on Android devices. So now the next version should be a mobile version Google Chrome with constant on-screen tabs along with bookmark bar. Other platforms like iOS using Safari and Windows mobile using IE have already done this in their platforms so it is high time now that Google does it too.

File Manager

Now when every other smartphone and tablet is filled with so much of music and videos that even the 32 GB memory looks less then it is obvious that we are going to need a file manager app in our Android devices to manage these infinite files. Though some good manufacturers are now providing File Managers in stock Rom but it will be better if Google itself adds this app in the OS Android 5.0 itself.

Keyboards

Android tablets or smartphone owners are practically exploit for keyboards choices. In the absence of any Google designed keyboard, Swype and Swiftkey have stepped up to the task and have provided high quality keyboards. Though Google should not bereft users to use these keyboards but a standard keyboard in the Android OS itself will solve some issues.

Timely upgrades

Android updates and upgrades take too much time. It is too agonizing to wait this long for an update. Launch of all Android versions including the widely used Android 2.0 and the recently released Android 4.0 ICS took a lot of time in their released after their previous versions. However, the reports say that many users have still not migrated to Android Ice Cream Sandwich. This might make Google delay the launch of Android Jelly Bean so that it can study the reason of this low penetration and correct those faults in Android 5.0 Jelly Bean. I just hope that the launch is not delayed much and we got to see some new changes soon.

Android Jelly Bean lite

I like to have fast speed devices with me, like my laptop has quad core processor and my smartphone too is powered on duo core processor, but that does not mean that everybody can afford to change their smartphones every year. So, Android Jelly Bean should have a lite version which can be installed on devices having low processing speeds.

Toggle switches

All HTC smartphones have toggle switches to turn on/off Bluetooth, Wi-Fi, GPS etc. courtesy HTC Sense UI. If Google would care to add these toggle switches in its Android OS that would be great because believe me, they help a lot in saving your battery life as with them you find it easier to switch these extra apps off instantly.

This is something which Google should learn from Apple. iOS devices have a great battery management system whereas Android smartphones don’t even last for a complete day. Excluding the minimum 6 hours of sleep it would be nice to get 18 hours of battery life at least but what we get is at maximum is 18 hours of battery life even on moderate usage. Few recent releases have improvements in this regard but still a lot needs to be done.

Theme options

I agree that Gingerbread, Honeycomb as well as Ice Cream Sandwich all look much better than Froyo but that does not mean that everybody wants a complete black theme with blue outlines. For God’s sake Google give us some options! Especially those who do not want to root their smartphones.

Lock screen widgets

These are available on HTC Sense 3.0 and 3.5 and are really useful. If Google adds it on Jelly Bean it would be nice. Let’s see if they decide to add lock screen widgets or not. Although I would like to see my notifications from the lock screen itself but that may not be possible if you have a passcode or a pattern for obvious security reasons. However, some widgets like custom clocks or weather can be added, don’t you think so?

Faster OS

Dual core and quad core processors have made the smartphones really faster but they also give a big load on the battery. If Google could tweak Android Jelly Bean in such a that it becomes fast even without these monstrous processors that would go a long way in opening horizons for further improvement. Currently, Android is currently sluggish than Windows phone 7 and even its biggest competitor- iOS.

At present let’s welcome Android 4.0 Ice Cream Sandwich and with its load of new features and improvements. It is one of the most advances OS of the world and I have high hopes from it. Do you have any more hopes from Android Jelly Bean? Then share it with me through comments!

One of the most irritating things about the Google Play Store, is trying to install an application, only to be thrown back by things like country restrictions. Granted, some apps wouldn’t work in some countries anyway, but there’s quite a few out there that have nothing to do with your geological location, which would work perfectly fine if downloaded.

This is a problem that XDA Senior Member Deeco7 is looking to solve with a modified Google Play Store .APK which, among other things, removes country restrictions. This allows anyone, anywhere to download what they want—as long as their phone is compatible, that is.

The mod, which is posted in the Samsung Galaxy S II I9100 forums, has had mixed reviews so far. For many users, the modified Play Store works just fine but many others are experiencing minor bugs. XDA Senior Member xinfinityoO has released a 2nd modified Google Play Store apk for users to try out, which has also had mixed success. Deeco7 has been diligent in updating and attempting to fix such problems, and only time will tell if all the errors can be fixed. Currently, the.APK is based on the latest version (v3.5.16) and Deeco7 has fixed a few bugs already. The best way to avoid these bugs is to follow the installation instructions provided and to check out the thread to see how other users have troubleshooted the issues.

For additional information, screen shots and download links for both xinfinityoO’s version and Deeco7′s version, check out the original thread. Be sure to make a backup of yourVending.apk before attempting, so you can restore if needed.

courtesy : XDA Forums

Before we begin, You need root access to perform this action.

1. Download some terminal from play store. i personally use this one.

2. Open the terminal and type su. Superuser will ask for root access or permission will be denied if you are not rooted.

3. Type logcat and press enter. You can see the log displayed on your terminal window.

By default the system wont allow you to set a static ip for your device.  Here are the steps to set up static ip.
1. go to system settings
2. click on wifi
3. click on add network
4. enter your network ssid
5. choose your security
6. enter your password for you network
7. click save

ok here is where you have to let it find the network, let it connect and aquire an ip address (even thou it is not the correct one) let it do its thing. do not skip this step otherwise you will not be able to configure the ip or save it.

once it says it is connected go back and do steps 1-2
you will see your network and it should say connected.
long press on your network name. it will bring up 2 options.

1 forget network
2 modify network config.
click on modify network config
it will bring up a bunch of settings. scroll down till you see a box that says :” Show advanced options”
click on the box. ( do not save or cancel the window)
scroll down a little bit and you will see 2 boxes

1 proxy settings
2 ip settings <<< click on the lower right hand coner and change this from dchp to static.
once you do this you will see settings under that box input all your info into these boxes *****( leave 3rd box that says ” network prefix length” at 24 )******* once you have completed click save and your phone should be connected to you static ip network..

1 ip address

2 gateway

3 network prefix length (Leave this at 24)

4 dns 1

5 dns 2

6 CLICK SAVE  and enjoy.

Incoming search terms:

  • android 4 0 static ip
  • cannot set static ip 4 0 ics
  • what network length android ics
  • network prefix length android
  • Ip address setting for google android 4 0 os
  • how to static ip android os 4 0
  • how to setting proxy address for android 4 0 4
  • how to set static ip for android ics
  • how to give manual ip in android and blackberry
  • how to change ip on andriod 4 0

ADB – Android Debug Bridge

ADB stands for the android debugging bridge and is used for testing and debugging purposes by developers. However, we like to get more out of our devices, and its a great way to fix things. Knowing adb can mean the difference between a paperweight and a working phone.

To start with, you need JDK from Sun/Oracle and Android SDK from Google. Here let me explain some ADB commands,

1. To install an application on your device (sideloading). Unlike installing from the SD card, it does not require unknown sources (settings/development/unknown sources) to be enabled. This assumes that you are working from the directory where the file is located.
This will install the application to /data/app. It will also show sometimes useful errors if install fails.

2. adb shell which logs into the phone.

 

3. If we end up with a $, we will want admin rights, in many cases. This is not one of them, I don’t beleive.
To get admin rights, you want to type:

 

4. Look at your phone if this is the first time, it may prompt you to allow access. Else you will get permission denied. If you are not rooted, this will not work either. Now that we are logged in, we will type

 

5. To disable an application in your device

 

6. To re-enable an application

 

7. To reboot your device

 

8. to reboot into recovery mode (CWM Recovery)

 

9. To reboot into download mode

 

10. To push a file to your device

eg.

 

11. Pushing files can be done to any directory, however, some are protected. For instance, /system is going to give you a permission denied or a read only filesystem error. To get around this, the easiest thing to do is push the file to your sdcard, then log into the shell:

cp stands for copy and it requires the path of the file and destination path. The name of the file is optional .When you copy it, you can rename it to whatever you like. For instance, if we wanted to backup a file

Now, lets assume you do not have busybox installed. You non rooted users will not. Then you must use a slightly more complicated command called dd
This is used like this:

12. To pull a file, Lets say you want to get a file from your phone, to modify, backup, etc.
To do this, we simply use adb in this manner:

 

13. logcat allows us to log what the OS is doing, and possibly delve information for when things are not working
its quite simple Reading it is another.
To use logcat

To logcat to a certain file do

Incoming search terms:

  • adb deactivate device admin
  • admin rights adb

Equivalent For do-while Loop in Corona-Lua

The following is the equivalent of do-while loop in Corona

repeat

– body inside the loop

until (condition which should become true inorder to exit this loop)

 

This will first execute the body, then checks the condition and if the condition is false, it will loop again otherwise it will exit from the loop.

Incoming search terms:

  • corona sdk break loop
  • corona while loop
  • corona do while
  • corona while
  • corona sdk do while loop
  • corona sdk while do
  • corona lua repeat loop
  • corona lua for do loop
  • do while loop in corona sdk
  • loop in corona
Page 1 of 41234