ths1104 geeké

I cannot see my Google contacts on my Android phone

Posted in Android by ths1104 on February 5, 2017

Android 6.0
Phone: HUAWEI VIE-AL10 P9

If you added your Google account on your Android phone, but that you cannot see your contacts, this is maybe because there is no “Sync contacts” tab in: Settings > Accounts > Google. To add this tab, install GoogleContactsSyncAdapter.apk version 6.0 (for some reason the latest version available 7.2 did not work in my case). Then make sure:

  1. Settings > Apps > Google Contacts Sync > Permission >> enable all
  2. Settings > Accounts > Google > Remove account + Add your google account
  3. Settings > Accounts > Menu >> enable auto-sync data
  4. Settings > Accounts > Google > Sync Contacts >> enable

Move Android apps from system memory to internal memory

Posted in Android by ths1104 on October 3, 2014

Android 2.3.6
Phone: LG E400
Windows 7

  1. Install adb on your computer :
    >> http://forum.xda-developers.com/showthread.php?p=48915118#post48915118
  2. Install the USB driver to connect your phone to your computer. As its not easy to find the correct driver for your phone, I recommend to install PdaNet+ that will find alone the driver corresponding to your phone :
    >> http://pdanet.co/
  3. Enable USB Debugging on your phone (this should have been done during step 2) :
    >> http://www.teamandroid.com/2012/06/25/how-to-enable-usb-debugging-in-android-phones/
  4. Open command line and enter :

    cd C:/adb

    >> This is the default folder where adb has been unzipped at step 1.

    adb devices

    >> Your phone ID should be displayed, if not go to step 2 and make sure your phone is connected to your computer in USB debugging mode.

    adb shell pm getInstallLocation (Android <4.0)
    adb shell pm get-install-location (Android 4.x)

    >> This results in a numerical value to state where the default install location is (0: phone, 2: external).

    adb shell pm setInstallLocation 2 (Android <4.0)
    adb shell pm set-install-location 2 (Android 4.x)

    >> This sets the default install location to the external storage.

  5. Go to “Application manager” and move the apps to internal memory.

Create Android app (beginner)

Posted in Android by ths1104 on January 22, 2013
1) Install ADT bundle
2) Create an Android Virtual Device (AVD) = Emulator Android.
  • In Eclipse, select Window > Android Virtual Device Manager.
  • Click New….The Create New AVD dialog appears.
  • Type the name of the AVD, such as “my_avd”.
  • Choose any device.
  • Choose a target (there is only one).The target is the platform (that is, the version of the Android SDK, such as 2.3.3) you want to run on the emulator.
  • Memory option > RAM = 512.
  • Emulation options > enable “Snapshot”
  • Click OK.
4) Create a new Android project.
  • In Eclipse, select File > New > Android Application Project.
  • Project name: HelloAndroid, click Next several times and then Finish.
  • Run > Run. The emulator will load, install the new app and launch it.
  • If there is an error, let the AVD open and Run again the app.

5) That’s all !

%d bloggers like this: