Blog

Android Studies – where I’m at on Thu 30th Aug 2018

I’m at this position in my Udacity studies: ud839 L5 (Activity Lifecycle and Audio Playback). In my Google researches I found a set of developer videos…

Android Developer Fundamentals - Videos

and started to go through them from the first. To date I am on video #6 out of 68 videos. Then I started to plan my quiz2exam app. The initial plan is to read a formatted text file of quiz or exam questions (with answers and categories) into a SQLite database and allow simple display on the phone. I acquired quiz2exam.com to promote and sell my  Quiz2Exam app when it is finally done.  I created the app Quiz2Exam to do my development on.  I’m continuing to update my Android Notes where I’m adding useful information as I find it.

My current focus is on how to read a text file into SQLite through an Android app.

Android Studio – courses completed so far… Fri 17 Aug 2018 at 14:13 PT

Android Basics: User Interface (completed Sat 24 Feb 2018) – https://classroom.udacity.com/courses/ud834

Android Basics: User Input (completed Mon 2nd April 2018) https://classroom.udacity.com/courses/ud836

Android Basics: Multiscreen Apps (started Mon 2nd April 2018) on  Wed 8th August 2018 I have completed up to and including Lesson 2 Concept 16 – everything runs fine at this point so saved project to GitHub and start on Concept 17 https://classroom.udacity.com/courses/ud839  I have completed up to and including Lesson 2 Concept 17 – everything runs fine at this point so saved project to GitHub and start on Concept 18.  All good but in Lesson 2 Concept 19, the code example in the video shows data in the GridView (Miwok words for each number word), but we haven’t been instructed to type them in yet… Also on Fri 10th August I changed the manifest file for the new app name “quiz2exam” instead of “miwok”, and added ic_launcher.png files for the new question mark (?) icon. I tested the app (all good) and added this new version of the project to GitHub. Today I also registered the domain name quiz2exam.com for when my app is ready to sell on the Google Play Store. Sun 12 Aug 2018 at 12:18 PT I have competed https://classroom.udacity.com/courses/ud839  up to and including Lesson 2 Concept 22. Now starting Concept 23 – Custom Class resuming Monday 13th August 2018.  Tuesday 14th August, before continuing on the course, I’m studying the sample course: ud839_CustomAdapter_Example

and started my own Android notes, to help me keep track of the Android terminology and operation of Android apps.  Thu 16 Aug 2018 completed lesson 2, then cloned the GitHub code for (completed) ud839 Lesson 3 to Android Studio (see my Android Notes on how to do this), and started on ud839L4 (Images and Visual Polish)…. Completed ud839L4 (Images and Visual Polish)…. at 2pm on Fri 17th Aug 2018.  Starting ud839  L5 (Activity Lifecycle and Audio Playback)….

 

 

Android Basics: Networking – https://classroom.udacity.com/courses/ud843

Android Basics: Data Storage – https://classroom.udacity.com/courses/ud845

Developing Android Apps – https://classroom.udacity.com/courses/ud851

Advanced Android App Development – https://classroom.udacity.com/courses/ud855

Then the Big Nerd Ranch textbook course.

There are many more Android Development courses at Udacity which I will take after completing the Big Nerd Ranch textbook course.

 

This is where I’m at right now (Mon 28 May 2018) with my Android studies…

I hit a brick wall here:

https://classroom.udacity.com/courses/ud839

on Lesson 1 Part 4 – “Import an Existing Project”.

The project I imported would not run. I need to do more research and figure out how to fix it before I can continue with that lesson.

git clone

 

https://help.github.com/articles/cloning-a-repository/

anne@Inspiron-15R:~$ git clone https://github.com/udacity/ud839_Miwok.git
Cloning into 'ud839_Miwok'...
remote: Counting objects: 809, done.
remote: Total 809 (delta 0), reused 0 (delta 0), pack-reused 809
Receiving objects: 100% (809/809), 2.26 MiB | 1.90 MiB/s, done.
Resolving deltas: 100% (248/248), done.
anne@Inspiron-15R:~$

Connecting the LG G3 phone device to Android Studio

USB Debugging Mode – LG G3. If you need to facilitate a connection between your device and a computer with the Android SDK (software development kit), view this info. If Developer Options are unavailable, navigate: Apps > Settings > About phone > Software info then tap Build number seven times.

If Developer Options are unavailable, navigate: Apps > Settings > About phone > Software info then tap Build number seven times.
  1. From a Home screen, navigate: Apps > Settings > Developer options.
  2. Ensure the Developer options switch (located in the upper-right) is turned on .
  3. Tap USB debugging to enable or disable.

Installing the latest version of Android Studio – AndroidStudioPreview3.2

I am installing in /home/anne

Android Studio

INSTALLATION INSTRUCTIONS
===============================================================================

Linux Installation Instructions
——————————————————————————
1. Unpack the Android Studio distribution archive that you downloaded to
where you wish to install the program. We will refer to this destination
location as your {installation home} below.

2. Open a console and cd into “{installation home}/bin” and type:

./studio.sh

to start the application. As a side effect, this will initialize various
configuration files in the ~/.AndroidStudioPreview3.2 directory.

3. [OPTIONAL] Add “{installation home}/bin” to your PATH environment
variable so that you may start Android Studio from any directory.

4. [OPTIONAL] To adjust the value of the JVM heap size, create
~/.AndroidStudioPreview3.2/studio.vmoptions (or studio64.vmoptions
if using a 64-bit JDK), and set the -Xms and -Xmx parameters. To see how
to do this, you can reference the vmoptions file under
“{installation home}/bin” as a model.

[OPTIONAL] Changing the location of “config” and “system” directories
——————————————————————————
By default, Android Studio stores all your settings under the ~/.AndroidStudioPreview3.2/config
directory and uses ~/.AndroidStudioPreview3.2/system as a data cache.
If you want to change these settings,

1. Open a console and cd into ~/.AndroidStudioPreview3.2/config

2. Create the file “idea.properties” and open it in an editor. Set the
idea.system.path and/or idea.config.path variables as desired, for
example:

idea.system.path=~/custom/system
idea.config.path=~/custom/config

3. Note that we recommend to store data cache (“system” directory) on a disk
with at least 1GB of free space.

Enjoy!

-Android Studio Development Team