I need a new tablet, and I just might bite the bullet on the Amazon Fire 10 HD today (Black Friday, 2018). For my Android development I don’t like that it’s based on Android 5, but $100 (33% off its regular price) for a tablet with decent performance is hard to pass up for my current needs.
android tips and tutorials
I came across this Android phone dialer tip yesterday. If you want to make a phone call from an Android application, all you have to do is create a new Intent, either an
Intent.ACTION_DIAL (to start the call) or
Intent.ACTION_CALL (to place the call).
Here are the three lines of source code you need to get started:
Intent dialIntent = new Intent(); dialIntent.setAction(Intent.ACTION_DIAL); dialIntent.setData(Uri.parse("tel:8675309"));
A new study shows that Android users have a higher “loyalty” to their OS than iOS users have, 91% to 86%. techcrunch.com has the story.
Here’s a look back at the most read “Google Play” posts on Medium in 2017, from the Android Developers Blog.
This is a good resource for LibGDX programming on Android.
AndroidAuthority.com has a good, detailed article titled, How Google is powering the world’s AI.
Several media outlets are reporting that Google is introducing their Neural Networks API in developer preview of Android 8.1. TechCrunch has a well-written article that includes this:
“The big highlight here is the new Neural Networks API, which brings hardware-accelerated inference to the phone for quickly executing previously trained machine learning models. Bringing these calculations to the edge can bring a lot of utility to the end user by reducing latency and load on the network, while also keeping more sensitive data on-device.”
The comical part of my recent surgery was that my iPhone 5S kept dying, both before and after the surgery. Something is going on where the iPhone completely loses reception, and the only way to fix it — the only hope of fixing it — is to completely restore the phone using a secret handshake technique they taught me at the local Apple Store. (They also told me this technique only works about 10% of the time, and kindly suggested I buy a new iPhone because the 5S is almost four years old.)
As a quick example of how to use a
Thread with a basic
Handler in an Android application, the following code creates a view where the text in the
TextView is updated to show the current date and time when the
Button is tapped.
Java source code
First, here’s the Java source code for a file class named