Elvenware

Table of Contents

Android Basics

Android is an open source operating system developed by Google. It appears most frequently on phones and tablets, but can be run on a range of devices from net books, to laptops and even on PCs.

NOTE: The information found on this page is Android specific. If you need a general introduction to mobile devices, see these pages:

Android and the Cloud

Suppose you wanted to know about Bill Gates, and what he is thinking this year, month, week or even today. One way to start doing that would be to follow his presence on the web. You would want to know the name of his Twitter Account, his Facebook account, his blog, his web site, etc. Here is a start:

Bill is a very experienced man, and he has a lot of help from a good staff. As a result, his online presence looks and feels very professional. We can't reach those same heights, but we can start to leave a footprint in the cloud. One step is to have a list of important links to your presence in the cloud, much like the three links shown above.

Besides the kind of public links shown above, you should also establish a private, non-public presence in the cloud on places like Google Drive, OneDrive and Evernote. I'm sure that Bill also keeps a great deal of information on OneDrive.

The point is that we can access all of these services, both public and private, from a PC, a laptop, a tablet or a phone. This is what mobile computing looks like. For most of us, a phone alone is not enough. We need to share information across devices. We need to access and create our data on our phones, tablets, laptops and PCs.

We all, myself included, still have a lot to learn to understand what it means to effectively use a mobile device, and to participate in the cloud infrastructure that makes mobile devices so useful. However, the first steps are two fold:

  1. Establish a presence in the cloud. Get accounts on the major hubs, and learn how to visit the sites of other people who are important to you.
  2. Learn how to communicate in the cloud. How can we use the cloud to communicate and learn without compromising our privacy, our professional image, and our basic human dignity? The answer to that question is really a matter of style, or perhaps it is even an ethical matter. What kind of image do we want to present to the online world? How can we use the cloud and its mobile presence to enhance our professional and personal lives without compromising who we are and what we want to achieve?

Does that help you understand better what it is I want? I just want a list of your toeholds in the cloud. Some are primarily public such as Twitter and Google Sites, and some are primarily private, such as Google Drive or Evernote. (Though collaboration or even document sharing is an important part of what Google, Evernote and OneDrive can do for us.) But public or private, these tools are all important to us. A mobile device that is not connected to the cloud is not really, in my opinion, very useful under most circumstances.

The Android Ecosystem

There are hundreds of Android devices available in over 100 countries. They ship over 1.3 million devices activated each day. Two years ago it was 60,000 a day, so it is growing very quickly. In over 169 countries there some 300 carriers providing online experience for Android users. In 2011, there had been about 100 million Android devices activated. As of Sept 12, 2012 there have been about 500 million Android Activations. (Compare to about 400 million iOS devices activated. There are about 600,000 applications available for the Android platform and about 20 million applications have been downloaded.

Android is built on top of Linux. Android development is typically done in Java, using the Eclipse IDE in conjunction with the Android SDK and run on the Android’s Dalvik virtual machine.

Android is developed by a team at Google. Get to know that team. Read their blogs, watch their videos.

Buying a Device

The first consideration is whether consideration is whether to go with Android, iOS or Windows. There are two things to think about in this regard.

1). Have you already bought into a particular platform? If you are a Windows or iOS fanatic, then stick with your platform. 2). Choose the most common platform. In this regard, Android is the huge winner. They own by far the biggest market share. (Don't get confused by iPhone argument that it is the single most popular phone. Sure, maybe that is true. Perhaps it is true. But Apple only has one device: the iPhone. There are hundreds of Android phones. Put all the Android phones together, and they have well over 50% of the market. iPhone has something like 20% of the market.

Once you have settled on your platform, then you need to decide if you want a phone or a tablet. That is a fairly simple decision. There is no best choice, but you probably know which you want without being told.

This is where things start to get complicated. Each device is different, and it is not easy to understand what features any particular device might have. Things to consider:

There are other even more nebulous considerations, such as ease of use and design.

This course, is, to some degree, designed to help you understand how to make decisions based on all these criteria. If you want to get started right now, and you don't have the patience to learn more, then consider the following recommendations:

The Android Open Source Project

Google created a program called AOSP to manage the development of the Android OS. This open source project produces releases once every six to nine months.

Many different carriers use the Android OS, which means that the same applications will run on a Google, Samsung, HTC, Archos, Asus or LG device. Android Compatibility Definition helps ensure that a common platform is available across a range of devices.

Code Names

Android code names are alphabetical, and they are named after desserts, beginning with C for Cupcake. G is for Gingerbread, H is for honeycomb, I is for Ice Cream, and so on. So you don't really need to know the names, just the alphabet.

Honeycomb was the first Android release designed for tablets. There were tablets released with pre-Honeycomb versions of Android, but it was strictly for mature audiences; it was not something that you would want to give to a child or anyone with sensitive nature.

Using an Android

To begin, you need to learn the major features on the Android screen.

The home screen is divided into a set of from 5 to 7 panels. You typically only see one panel a time, but each panel is configurable. This is vaguely analgous to the way you can have multiple tabs open in a browser, but typically only see one page a time. Of course, on an Android, each page contains icon or application widgets, while on a browser each page displays a view of a website.

Description: Description: The home screen
Description: Description: The home screen

Figure 00: The home screen on a Galaxy Tab 10.1.

The home screen can be populated with applications and widgets. You can click an application icon to launch an app, or you can view a widget to see a snapshot of the data available from a particular application. To see the data in an application, you need to launch the app. Widgets reside on the Android desktop, and display data without requiring that you first launch a program.

A widget
A widget

Figure 01: You can see the a Weather Widget in this screen shot display information about Redmond.

Widgets provide views into an application. There are many great widgets you can install that can make your Android easier to use. Two facts to remember:

Widgets frequently don't give you anything you can't find on an application, they just make it easier to track an activity.

Apps

Though browser support on Android is constantly improving, Android applications are still often the best way to access information on mobile platforms. You can tap the App Launcher icon in the top right corner of the home screen to bring up the Apps Tray.

Description: The Apps Tray
Description: The Apps Tray

Figure 0X: The Apps Tray provides you with multiple screens from which you can select the applications you want to use on your application FullSize.

You can then swipe left or right to page through a list of all the applications on your Android. Use the Play Store or a similar tool to add new applications, and go to the Application section of the Settings tool to uninstall applications. You can use the Storage section of the Settings tool to see if you are running out of space in which to install applications.

Markets: Play Store and Amazon

Just as the Apple Store is a hub of life on an iPhone, the Play Store is a central feature of life on the Android.

The Google Play Store is a major hub on the Amazon platform
The Google Play Store is a major hub on the Amazon platform

Figure 0x:The Google Play Store is a major hub on the Amazon platform

There is, however, serious competition from the Amazon App Store. If you consume music or applications at all, you should probably use both applications.

Home Screen Tour

In the bottom of Figure 00 and 01, you can see System Bar. It has a back button, a home button, a multitasking (recent apps) button, and sometimes a menu button or screen shot button. On the right of the system bar you can the notification panel.

System Bar - At the bottom

Notifications

Tap the clock in the notification panel to see the Control Panel and Access Settings

Galaxy S4 Notification Icons

The Action Bar

Other items sometimes found on the home screen include an action bar and the app tray.

Action Bar - At the top

Description: J:\Web\ElvenDev\charlie\os\Android\images\ActionBar01Small.png
Description: J:\Web\ElvenDev\charlie\os\Android\images\ActionBar01Small.png

Figure 02: The Action Bar is visible as a black bar seen at the top of this screen shot of Google Maps on an Android Galaxy Tablet. On the right of the action bar are menu options for configuring Google Maps.

Contacts

Managing the contacts on your phone can be a challenge, in part because you can end up with contacts from several different sources.

To get started, make sure you know how to access to your contacts. You can find your contacts on the page of each home page.

Contact Sync0
Contact Sync0

The set up differs from machine to machine, but on the Galaxy S4 the bottom five icons on the home screen always stay the same. There may be six pages on your home screen, but the icons will be the same on each pane. They are configurable, but by default you see:

This seems simple enough, but can actually require a bit of concentration. After all, you don't want to spend time searching for the Messaging or Contacts pages when you have a shortcut to them on the desktop at all times.

Contact Sync1
Contact Sync1

Above you can see the contacts app. From this application you can make phone calls, send email, or send a message.

Contact Sync2
Contact Sync2

Sometimes it is necessary to make sure you sync your contacts between your device, the cloud and your home machine. You can choose to sync automatically, but if you want to do it manually, then you have to go through certain steps To get to Sync Contacts page shown here, choose:

Contact Display
Contact Display

It is very useful to filter the contacts that are visible. You can end up with a lot of contacts, but sometimes you have one canonical list that you really care about.

App Drawer

You probably won't have enough real estate on your home screen and its panes to house the icons for all your apps or widgets. Instead, you can click the Launcher icon and go to the App Drawer. On a Galaxy S4, it has 3 pages:

You can launch apps directly from the App Drawer. Alternatively, you can long click and then drag their icons onto the home page or panes.

Here is one page of the App Drawer. It displays a subset of the applications on my device:

a
a

Here are the widgets installed on my device:

b
b

Here are the apps that I downloaded explicitly. These are the apps that I downloaded, not those that came installed on the device when I bought it.

c
c

Status

You can get a detailed update on the status of your phone.

Phone Status 01 Phone Status 02

In the images above, I have blocked out a few of the fields in the interest of security. But you should find them all filled out on your device.

Settings

Whether you are using an Apple, Android or Windows device, you are going to have to use the Settings Panel quite often. It is more than worth your while to spend time with it.

On an Android S4:

Settings Shortcut
Settings Shortcut

Change the Device Name

The screen shots below shows how it is done.

Device Name
Device Name

Holographic View

If you select the plus symbol in the upper right hand corner of the home screen you will be taken to “holographic” view, as shown in Figure 02. In the top center third of screen shot below, you can see a representation of all five home screens in a holographic format. Beneath the five screens are a few sample widgets. You can see that widgets display more information, in real time, than you can see in a simple static icon.

Description: Description: Holographic View

Figure 03: The top middle of the "holographic" view on a Honeycomb table provides an overview of the five home screen pages, and a an assortment of widgets are visible below it.

Holographic view that allows you to configure the contents found on the five pages of the home screen. Along the top you can see a "3D" view of the five screens of the home page. The bottom contains a view of the items you can use to populate the screens:

Power and Screen

You can adjust the font or wallpaper:

You can adjust how long the computer stays open before the screen goes black.

SD Cards and SIM Cards

Are discussed in the hardware page

Connecting Android to a PC

There are varies ways to connect an Android to a PC. In this section we cover two of them:

AirDroid

Helps you manage your Android from your desktop.

Description: Description: Description: Description: Airdroid seen in my desktop browser

Android Connect

After plugging in your Android phone to a PC with a USB cable, open up the Windows Devices and Printers Page. You should see your phone.

In the Windows Explorer, you should also see two drives. But at first you can't use them. On the phone, pull down the notifications window, that shade you pull from the top. In their you can turn on the devices, and things like transferring files and syncing with Windows Media Player will start to work.

ES File Explorer

You can use the ES FileExplorer tool to explore the files on your device, and to transfer them to other devices. It is made by a company called EStrongs.

Browsing your local files with the ES File Explorer is much as you would expect. The surprise come when you start digging into the application and seeing what else it can do. For instance, you have options to create LAN, Cloud, FTP and Bluetooth connections.

Galaxy S4 Network
Galaxy S4 Network

You have the ability to view many different types of networked connections. The LAN connections are available through a samba server set up on your Android device.

If you are looking at the local LAN in your home, you might need to understand at least a little about IP addresses. If you look below you can see that three different home computers are on the network.

Galaxy S4 Lan
Galaxy S4 Lan

To find out which computer is associated with which IP address, you can open up a command window and type ipconfig on Windows, or ifconfig on Linux or the Mac.

I haven't explored this in much depth yet, but you can make connections to various cloud services with ES Explorer.

Galaxy S4 Cloud
Galaxy S4 Cloud

DLNA and WifiDirect

You can share the files on your phone via DLNA. In fact, what you are really doing on modern Android devices is using a combination of Wifi Direct and DLNA to share files.

To get started, take the following steps on your phone:

These images show each stage in the process of setting up DLNA sharing on your phone.

Connections
Connections

On the Connections page, click on Nearby Devices. Notice that this option is subtitled 'Share your media files via DLNA.' This means that DLNA aware software, such as the Windows Media Player, can be used to connect to the media on your phone.

Nearby Devices
Nearby Devices

Click on File Sharing. This will turn a bunch of default of services which are detailed in the advanced options shown in the Nearby Devices screen shot. Most of the options are self explanatory. Just iterate through them on your phone, and you should get a good sense of how they work.

DLNA and Music

The hardware is in place on many Android devices to do great things with DLNA. However, the software is not usually in place, probably because Samsung or Google want you to buy music or music services from them rather than just let you broadcast music across your home to your devices.

If you run Windows then your Windows Media Player can act as DLNA server and and a DLNA player. Even better, some routers now come with the ability to act as DLNA servers. This means you can plug in a thumb drive or USB drive into the router, and then serve up music from the router to your mobile devices and your Windows media player.

To get it working properly on your mobile device, you will probably need to download a piece of software. (The Music app that ships with many mobile devices will let you play DLNA music, but it does a terrible job of it.) Instead, you should download UPNP from Bubbleup, or one of the other popular DLNA players. It will allow your device to act as both a DLNA player and a DLNA server.

Keyboards and Text

Even familiar things like a key board can be an occasion for learning new skills. Instead of using a physical keyboard, on mobile devices we usually use a virtual keyboard that appears on the screen below the text we are creating. These keyboards can be notoriously hard to use, but they do have features that are not included in physical keyboards.

The new features found on a virtual keyboard include the ability to change the keyboard to conform to the current context. Try typing in a web address in a browser. Notice that in some cases a new key with the letters www on it appears automatically. If you press that key, then the letters www are typed in all at once, with a single keypress. This can save time. Notice the com key. This can become net, gov or org key if you long press the key. To long pres a key, simply hold it down for several seconds. Notice the emoticon key and the setup key.

Virtual keyboards are flexible. Are they perhaps even better than real keyboards, at least in some cases?

Explore setup for the keyboard as there may be more options than you think, including voice and predictive typing. To reach setup for the keyboard, choose the Settingsicon, then choose Language and Input | Keyboard Settings | Current Input Method.

Choosing a keyboard

Figure: Choosing a keyboard. (Click to expand).

Sometimes you will want to get a special key, such as an umlot or some other letter usually associated with foreign languages. To do this, try long pressing the e key or the u key or the emoticon key. You will find options for inserting keys like these: ....

The Swipe keyboard allows you to trace out the letters you want to type rather than inserting one keypress at a time. The problem with virtual keyboards is detecting when you mean to hit a key, and when you are, for instance, simply resting your fingers on the keyboard. When I am touch typing on a physical keyboard, I leave my fingers in place on the center row whenever I am not using them. If I do that on a virtual keyboard, then I end up entering letters I don't mean to insert. With Swype, you never take your finger off the keyboard, or rather, you only take it off to signal that you are at the end of a word. For instance, to type the word "insert," I "swipe from the I key to the N key and then to S, E, R and T keys, without ever lifting my finger. This sounds, and is, a bit awkward, but after you practice for a few minutes, you can find it surprisingly effective. Perhaps not ideal, but better than you might expect.

Swype also benefits from predictive typing, which guesses at the word that you intended to insert. Even if you did not "swipe" exactly the correct letters, the tool can guess at what you meant to type, and insert the word automatically, or give you the chance to choose from a list of suggested words. Again, this sounds awkward, and is in fact awkward at first, but with practice it becomes increasingly easy.

I didn't used to use Swype that often, but now I use it all the time.

Add words to the user dictionary when predictive typing is on.

When using the keyboard, one of the big challenges is getting to the special characters such as the exclamation mark, the pound symbol, the dollar sign, etc. The simplest way is to long press the period key. When you do this, a list of the key symbols appears, as shown in the figure below.

Symbols
Symbols

One of the great comic moments in mobile computing occurs when folks point out that you "need tiny fingers" to use the floating keyboard. As if the regular keyboard on a phone like the Galaxy S4 is not already so tiny as to be all but unusable by people with good, hefty hands. One way to improve this situation is to turn device on its side. Then the keyboard is more manageable.

Keyboard Landscape
Keyboard Landscape

Copy and paste is long press.

On you home page, there is a Google Search box. If you type a query into that box, you will get results from both your phone, and from your device.

In this screen shot, I have typed in the word Ghost, and you can see that I get result from the music library on my phone.

Search for Ghost on local machine
Search for Ghost on local machine

If I hit return, I see the results.

Search with bar at bottom
Search with bar at bottom

Notice at the bottom of the screen, the gray bar, which says that I searched on my phone. That bar can be slid to the right or the left in order to select other domains to search. If, for instance, I elect to search images, then I am taken online, and a search is made of images on the Internet related to the word ghost.

Search for ghost images
Search for ghost images

Note the when you search Google on a PC, you end up with similar list of options along the top of the screen. Here for instance, we have the option to search the Web, Images, Shopping, and more which are hidden off screen.

Search on PC
Search on PC

Voice

There are two commonly used tools for giving voice commands to your phone. This is a valuable bit of functionality, as many people find the keyboard on a phone hard to use, and there are times when it will be nearly impossible to use.

When you are using voice to enter text into an editor, you usually just tap the microphone icon on the keyboard once. However, if you hold down the microphone key, a dialog appears offering you several options.

Voice Input Options

The options above are:

  1. Microphone
  2. Handwriting Recognition
  3. Clipboard
  4. Text Recognition
  5. Settings
  6. Keyboard Docked
  7. Keyboard Float

Voice Commands

You can use Google Voice when you run the search command. It is also available as an option from most of the virtual keyboards.

Assistant

This is a third party tool, but it is much more sophisticated than the voice commands built into Google Search and found on the keyboards. It is more comparable to what Apple users find with Siri.

The Google Account

Your experience in an Android device is greatly enhanced if you sign in to your Google Account. This is, in my opinion, an essential and valuable part of your Android device. Of course, Google can, and undoubtedly will, use some of the information they garner from your connection to their servers. I personally don’t think this is a serious risk, but each person needs to make up their own mind about these issues.

If you want to read more about how Google users your data, see their Privacy statement:

https://www.google.com/intl/en/policies/

SMS Messages

When you are sending a message, you can press the menu key to a list of options that you can insert into your message.

Scroll to see more Message Options
Scroll to see more Message Options

The Smiley menu option provides you with a nice dictionary of symbols.

Insert a smiley
Insert a smiley

When you choose the Add Text option, you find that you get a fairly rich range of options.

Add Text to a Message
Add Text to a Message

After bringing up Google Maps, the Add Location option inserts an address into your message. The next two images show the sequence. The first shows making the selection in Google Maps. When you are ready, select the Done button. The second option image shows the result.

Select a location
Select a location
The inserted text
The inserted text

Wi-Fi

GPS

Sound

Screen Rotation

Bluetooth

You can use Bluetooth to send files from your PC to your Phone, and vice versa. It is hard to beat Airdroid when you have some heavy lifting to do in terms of file transfers. But if you just want to move a file back and forth quickly, Bluetooth is great. There are, however, some Bluetooth file transfer apps for Android.

Let's connect our PC to Phone using Bluetooth. On laptops, you can more or less count on Bluetooth being built in. On a PC, you frequently need to add Bluetooth. Sometimes you will find that you have a mouse or other device that comes with a bluetooth USB dongle. just plug it in, and an icon should show up in the notification area at the bottom right of your desktop. If you don't have such dongle, try Amazon or EBay or some such, and you should be able to buy one cheaply. I've never actually bought one, as I just seem to have a couple laying around. But when I went on Amazon, and searched on "Bluetooth usb adapter", I saw several options for under $15, and as low as $2.00. The same search turned up similar options on EBay.

After plugging in the dongle, right click on the notification icon, and go to settings. Here you can optionally elect to make your computer discoverable. Alternatively, you can make you phone discoverable, and then right click on notification icon and choose add bluetooth device. To make your phone discoverable:

Whether you connect from your PC to your Phone, or from your Phone to your PC, you will be prompted to enter or confirm a string of digits. If the numbers on the PC and the Phone match, then the connection should be established. Now your Phone and your PC are "paired."

Bluetooth Pairing
Bluetooth Pairing

In the image shown above, my phone has a checkmark next to it. The number 1.56 appears in paranthesis beneath it. This means that my phone will be visible to anyone scanning for it for a total 1 minute and 56 seconds. The number will count down until it reaches zero.

In the same screen shot, note that I have already paired two PCs. The first is my home PC, which is called Shanti-Tree. The second is my laptop, which is called MountainStreams. On my PC, I can now right click on a file, and choose Send To | Bluetooth. On my Phone, I can choose a file, and choose to share it with a Bluetooth device. In either case, the file will be transferred. Note that the transfer needs to be confirmed on both the Phone and the PC. In other words, when you try to send the file to your PC, the PC needs to actively decide to receive the file. This means that Windows will pop up a dialog asking if it is OK to receive the file. Note that you can put your PC in "receive" mode by right clicking on the Bluetooth notification icon and choosing "receive a file."

Finally, please remember that Bluetooth can be a security risk if you get careless. Don't connect to devices in public places unless you are sure you know what you are doing. That means, don't do it unless you have learned a lot more about this subject than I have covered here. Even at home, after connecting to a device, turn off the checkbox that makes your Bluetooth phone or PC visible to other devices. If that option is turned off, you are relatively safe. The only way to be safer is to turn off Bluetooth altogether, and even that still leaves open the possibility that you will turn it on again by mistake. On your PC, you can unplug your dongle, which makes you quite safe indeed, but then again, it's not your PC, which is safe in your house, that is usually at greatest risk.

Is Bluetooth too dangerous to use? No, that type off talk is usually started by people who want you to use some other protocol that will help them earn a living. Bluetooth is safe, so long as you don't make it easy for devices to connect to your computer or device.

I've been using Blueooth File Transfer by Medieval-Software, which is in the Android store. This allows me to send multiple files at once to my PC.

When reading about this subject, you may encounter the words OBEX-FTP. OBEX is an abbreviation for Object Exchange. It was originally designed for Infared devices, but has been adopted for use on Bluetooth. It has been compared to HTTP.

I don't fully understand what OBEX-FTP is, but it seems to have something to do with transferring files over Bluetooth using the FTP protocol. So perhaps it is simply FTP over Bluetooth; that is, it is simply a Bluetooth centric implementation of the FTP protocol. FTP is normally built on top of TCP/IP, but this is built on top of Bluetooth.

Mobile Data

Blocking Mode

Allows you to block, at certain times, or always, things like:

Power Saving

Screen Mirroring

This can be set up easily to specific Samsung TVs, or you can connect to other devices with $100 Samsung AllShare Cast dongle.

Multi-Window

We don't have a lot of screen real estate on a phone. Nonetheless, it is possible to open two windows at once. We do this using a technique similar to that used in Windows 8: there are no overlapping windows. Instead, we have one window open at the top half of the screen, and second window open beneath it. There is a bar between the two windows that can be dragged back and forth to change the relative size of the two windows.

Below you can see two screen shots of Multi-Window in action. The top half of the screen is dedicated to gMail, the bottom have to EverNote.

The half moon icon The expanded icon

S-Beam

NFC

Air View

Air Gesture

Air Browse

You can browse through pictures in the Gallery and other items without touching the screen. Just wave your hand over the screen.

Direct Call:

Palm Motion

Driving Mode

Smart Stay

Smart Scroll

Sync

Airplane Mode

Smart Pause