Profile

Cover photo
Edward Vella
124 followers|256,728 views
AboutPostsPhotosYouTube+1'sReviews

Stream

Edward Vella

commented on a video on YouTube.
Shared publicly  - 
 
Me gusta!
 ·  Translate
1
Add a comment...

Edward Vella

Shared publicly  - 
 
For a better experience on Facebook, enable JavaScript in your browser, or switch to our mobile site. Facebook logo. Email or Phone, Password. Keep me logged in. Forgotten your password? Sign Up. GTAV Custom PS4 & Gear Giveaway. Report/Contact. English (UK) 路 Privacy 路 Terms 路 Cookies 路 ...
1
Add a comment...

Edward Vella

Shared publicly  - 
 
 
Today’s  #AndroidDev   #Protip  from +Nick Butcher is about entering email addresses.

Entering data on mobile devices with on screen keyboards can be challenging; typing out email addresses can be particularly fiddly.   Anything you can do to ease this will be appreciated by your users and make them less likely to abandon your app.  While social identity providers (such as Google+ Sign-In [0][1]) can ease the process of signing in, there may be situations where you require direct input.

With the user’s permission [2], you can query the AccountManager [3] for accounts saved on the device.  You can then present these options, for example by using them as suggestions for an AutoCompleteTextView [4]:

final Account[] accounts = AccountManager.get(context).getAccounts();
final Set<String> emailSet = new HashSet<String>();
for (Account account : accounts) {
    if (Patterns.EMAIL_ADDRESS.matcher(account.name).matches()) {
        emailSet.add(account.name);
    }
}
List<String> emails = new ArrayList<String>(emailSet);
mEmailAutoCompleteView.setAdapter(new ArrayAdapter<String>(context, android.R.layout.simple_dropdown_item_1line, emails));

Note that in the above snippet we’ve used a Set to de-duplicate accounts and a regex to only use accounts which are email addresses.

You can also ease entering email addresses not already known to the device by setting an appropriate keyboard layout and providing a meaningful action:

<AutoCompleteTextView
    android:inputType="textEmailAddress"
    android:imeActionLabel="@string/sign_up"
    android:selectAllOnFocus="true"
    … />

Not only will this technique ease data entry, but it will help prevent typos and remove the need to enter an address twice for verification (and double annoyance!)  If you have more tips for easier data entry, let us know in the comments.

Edit: Lots of good discussion in the comments about adding a permission for this functionality.  An alternative approach is to use the AccountPicker [5].  As this presents a system dialog to pick an account, it does not require the GET_ACCOUNTS permission.  This is a great alternative if you don’t need to customise the presentation. 

[0] https://developers.google.com/+/mobile/android/
[1] Android Design in Action: Onboarding Experience
[2] http://developer.android.com/reference/android/Manifest.permission.html#GET_ACCOUNTS
[3] https://developer.android.com/reference/android/accounts/AccountManager.html
[4] https://developer.android.com/reference/android/widget/AutoCompleteTextView.html
[5] https://developer.android.com/reference/com/google/android/gms/common/AccountPicker.html
1
Add a comment...

Edward Vella

commented on a video on YouTube.
Shared publicly  - 
 
The Legend
1
Add a comment...

Edward Vella

Shared publicly  - 
1
Add a comment...
Have him in circles
124 people
Kenneth Scicluna's profile photo
Donald Micallef's profile photo
Jonathan Vella's profile photo
Kevin Farrugia's profile photo
Luke Benjamin Grech's profile photo
Stephen Cremona's profile photo
Andrew Fabri's profile photo
Phil Richards's profile photo
Ben Said's profile photo

Edward Vella

commented on a video on YouTube.
Shared publicly  - 
 
Robocop vs Raiden (Metal gear solid)
1
Add a comment...

Edward Vella

commented on a video on YouTube.
Shared publicly  - 
 
is this song available on the google music/amazon or itunes? more specifically this version
1
Add a comment...

Edward Vella

commented on a video on YouTube.
Shared publicly  - 
 
What's the name of the song in the beginning?
1
Add a comment...

Edward Vella

Shared publicly  - 
 
hello
2
1
Almu Mora's profile photo
Add a comment...

Edward Vella

commented on a video on YouTube.
Shared publicly  - 
 
In Malta theres "unlimited" downloads during the day you have a 250gb data cap monthly, but between 00:00 and 5:59 the network is unmonitored so you can download as much as you can. But unfortunately we are paying 30 euros for 30mbps and 1.5mbps upload. We dont have a psn store or xbox store, or netflix!, we just piggy back on foreign servers and use proxies, which is okay but the speed is quite slow sometimes
1
Edward Vella's profile photoJean Azzopardi's profile photo
3 comments
 
I can assure you my speed didn't decline.
Add a comment...

Edward Vella

commented on a video on YouTube.
Shared publicly  - 
 
Its amazing, it makes me appreciate the effort put into making these movies much more.
2
Add a comment...
People
Have him in circles
124 people
Kenneth Scicluna's profile photo
Donald Micallef's profile photo
Jonathan Vella's profile photo
Kevin Farrugia's profile photo
Luke Benjamin Grech's profile photo
Stephen Cremona's profile photo
Andrew Fabri's profile photo
Phil Richards's profile photo
Ben Said's profile photo
Links
Work
Occupation
Consultant Analyst
Skills
.Net, ASP.NET, Android, Java, Java EE Python, HTML5, JavaScript
Basic Information
Gender
Male
Other names
dwardu
Apps with Google+ Sign-in
  • Monument Valley
  • The Witcher Battle Arena
Edward Vella's +1's are the things they like, agree with, or want to recommend.
Google+ Hangouts – Google Hangouts
www.google.com

Hangouts bring conversations to life with photos, emoji, and even group video calls for free. Connect with friends across computers, Android

Google I/O 2014
www.google.com

Google I/O 2014 brings developers together for an immersive, two-day experience focused on exploring the next generation of technology. Join

Manchester United
plus.google.com

Official Google+ account of Manchester United Football Club

Google Play Music
market.android.com

Google Play Music makes it easy to discover, play and share the music you love on Android and the web. With our new All Access service, you

Believe
market.android.com

Shop Google Play on the web. Purchase and enjoy instantly on your Android phone or tablet without the hassle of syncing.

Game Dev Story
market.android.com

-40% off in honor of "Venture Towns"- Manage your own game company and try to create a million-selling game in this unique simulation.Featur

BOV Mobile
market.android.com

BOV Mobile, the ideal solution to manage your financial requirements wherever and whenever you want.

RE-VOLT Classic (Premium)
market.android.com

The legend of RC Racing game, “RE-VOLT Classic”, back to AndroidRace radio-controlled cars through the neighborhood and beyond in the classi

Songbird Android Music Player
market.android.com

With a focus on fans, Songbird personalizes music content from the artists you love the most. Share your own photos with artists and other f

YouTube
market.android.com

The latest version of the official YouTube app, now with in-page playback! Experience the latest and best version of the official YouTube ap

The Humble Indie Bundle #3 (pay what you want for five awesome indie games)
www.humblebundle.com

Pay what you want for some awesome games and help support two charities. All of the games are DRM-free and support Mac, Windows, and Linux.

XE - The World's Favorite Currency and Foreign Exchange Site
www.xe.com

Get free live currency rates, tools, and analysis using the most accurate data. Other services include XE Trade money transfers, XE Datafeed

Sygic: GPS Navigation
market.android.com

Premium turn-by-turn GPS navigation app. Sygic is a voice guided GPS navigation app. It's packed with TomTom maps and a robust set of naviga

Home | Wow! eBook - Blog
www.wowebook.me

Free download eBook. Newest eBooks updated everyday. All eBooks are completely free and download from direct-link. Best eBook site ever!

Angry Birds Seasons
market.android.com

Angry Birds Seasons: Moon Festival! Angry Birds Seasons: Moon Festival! It's September and the moon is full and high as the Angry Birds hea

Samsung WDH Dongle Upgrade
market.android.com

You can upgrade your own Samsung WiFi Direct Dongle with this application.

IMDb Movies &amp; TV
market.android.com

Find movie showtimes, get TV listings, watch trailers and search all of IMDb. Search the world's largest collection: · Over 1.5 million movi

Zedge Ringtones &amp; Wallpapers
market.android.com

Free wallpapers, ringtones and notification sounds shared by millions of users. Zedge has for years been the most trusted and popular source

Facebook Messenger
market.android.com

Facebook Messenger — a faster way to message. Facebook Messenger is a faster way to send mobile messages to friends. With Messenger, you can

Gun Bros - Chrome Web Store
chrome.google.com

Enlist with GUN BROS today &amp; defeat the Tyrannical Oppressors of Life. Outfit your Bro with guns, armor &amp; explosive power-ups!

Great prices and a very helpful owner.
Public - 2 months ago
reviewed 2 months ago
Very good service and clean rooms with a good price. Great for an overnight stay.
Public - a year ago
reviewed a year ago
Public - 3 years ago
reviewed 3 years ago
The food was quite greasy, nothing compared to the UK KFC outlets.
Public - 4 years ago
reviewed 4 years ago
6 reviews
Map
Map
Map
Great food and environment.
Public - 2 years ago
reviewed 2 years ago
Public - 4 years ago
reviewed 4 years ago