A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.

Jump to

Quick reference

Showing posts with label android. Show all posts
Showing posts with label android. Show all posts

Why Android is better then iPhone

A list:
  • Homescreen widgets
  • Custom homescreen launchers, e.g. Nova Launcher
  • Custom homescreen icon arrangement
  • Notifications persist visibly in status bar so you don't forget them
  • Plentiful game console emulators
  • Easily download files from web pages
  • Easily load mp3 music without special software
  • Save any file to the phone storage, like you can with Windows/Mac/Linux

Migrate everything from iPhone to Android

How to transfer all your stuff from iPhone to Android:

  • Photos - install Google Photos app on iPhone and it will back up everything to the Google cloud.
  • Contacts - Add a gmail account on your iPhone and configure it to sync contacts (alternatively, you could export a vCard/VCF).
  • Calendar - Add a gmail account to the iPhone and configure it to sync calendar.
  • Notes - Add a gmail account to the iPhone and configure it to sync notes (there are also other ways).
  • SMS text messages - Use iSMS2droid
  • Email - on the Android phone, go to Settings | Accounts | Add account, and choose Personal IMAP/POP3 or Exchange, according to the type of email account you have
  • WhatsApp chat history - Use WhazzapMigrator (source, source)
  • Apps - you will have to install new Android apps manually. Your app data will be lost unless they have their own cloud backup.

Remember to TURN OFF iMessage before you switch over, otherwise your SMS may get lost (source)


Afterward, you can easily check some of your data has been migrated at:

Finally, bask in the satisfaction that Android is better than iPhone.

How to transfer files between Windows 7 and Android 4

Settings | Storage | (three dots in top-right) | USB computer connection | Camera (PTP)

Then go to Developer Options (read elsewhere how to get this), and tick 'USB debugging'.

Voila - your device will appear in My Computer | Portable Devices.

Copy the files to a subdirectory of the Android Camera device in Windows, and move them into the right place from within Android. e.g. using ES File Explorer

Android: Don't refresh page when no signal

chrome://flags/#enable-offline-mode

and

chrome://flags/#enable-offline-load-stale-cache

Unfortunately this doesn't work anymore - those flags were experimental.
In fact I've switched to Firefox (which is also much faster on Android) because Chrome tabs kept annoyingly reloading when the phone had no signal.

Best Android calendar notifications

Options:
  • Google calendar (built in) - notification icon only stays visible for duration of "event", so not suitable for reminding you to do something, if you don't check your phone at the right time, you won't see anything. Notifications are only visible if you pull down the notification drawer.
  • isoTimer - notification stays there, but app has a slightly weird UI and is slow.
  • Touch Calendar - ?

Developing on Android basics

Initial steps to take:

  • Turn on USB Debug mode
    • Old devices: Settings | Applications | Development | USB debugging (will disable SD card access)
    • New devices: Settings | About phone | Build number | Tap 7 times (yes, really). Dev settings will now appear on the menu.
  • Troubleshooting connection:
    • Verify USB cable works
    • Verify USB port works
    • Re-plug in the cable about 20 times (yes, really)
    • Windows: Run "Android SDK manager" (sdk\tools\android.bat) and install 'Google USB driver' under Extras
    • adb devices # error "???????????? no permissions usb:3-3
      • adb kill-server
      • sudo adb start-server # server must be started as root
      • adb devices
  • ADB Shell commands:

Turn off gmail notification sound in Android

gmail app version 2.3.5.2:

  • go to inbox
  • press menu | more | settings
  • select your account
  • scroll down to the bottom
  • select 'Labels to notify'
  • here you can change the notification sound or disable it, set vibration and other settings