AlaskaLinuxUser's Scratchpad

Commit thy works unto the LORD, and thy thoughts shall be established. - Proverbs 16:3

Sometimes the screen is just too small....

Recently I updated my Ships, Captain, and Crew game, because of a comment from a friend. They wanted to know where to find the instructions on how to play the game.

Of course, I told them the instructions are on the "about" page. They looked and couldn't find them. After …

All about parse!

As many of you probably already know, the parse server service was shut down some time ago. However, on the way out the door, they released all of their material as open source for the community at large to benefit from. This is great for open source junkies like me …

Searching an Array List

Searching an array list:

// When we click the search button.
public void searchACity (View searchView) {

    // Set our boolean to false.
    searchYes = false;

    // Defining an array of titles and urls.
    searchCityList = new ArrayList<String>();
    searchCityUrl = new ArrayList<String>();

    // Clear the lists, so we don't get duplicates.
    searchCityList.clear();
    searchCityUrl.clear …

Getting photos with intents on Android

During my class for app development, the instructor showed us how to get a photo from the phone's gallery with intents. I wanted to take that one step farther, so I did. I also added getting a photo from the camera. To keep things small, I set the camera still …

AOKP Nougat on my Verizon Samsung Galaxy S5!

To God be the glory! My AOKP Nougat project for the Verizon Samsung Galaxy S5 finally works! Be sure to check it out under my home made ROMs link in the menu bar!

The super cool background is supplied by the Quiet Learner, you can find more of his great …

fatal error: 'liblights/samsung_lights_helper.h' file not found

Moving on from the S4, I began work on the Note Edge, only to be greeted with this error:

[CODE]
target thumb C: lights.APQ8084 \<= hardware/samsung/liblights/lights.c
hardware/samsung/liblights/lights.c:34:10: fatal error: 'liblights/samsung_lights_helper.h' file not found
#include \<liblights/samsung_lights_helper.h>
^
1 …

Yet again, error: package com.android.okhttp does not exist

By now, I think I would remember this one by heart, yet every time, this error throws me for a loop....

[CODE]
external/apache-http/../../frameworks/base/core/java/android/net/http/SslCertificate.java:19: error: cannot find symbol
import com.android.internal.util.HexDump;
^
symbol: class HexDump
location: package com …

SyntaxError: invalid syntax

As I was wrapping up my work on the upgrade to 7.1.2 on the S4, I ran into this error, which prevented the compiler from building the userdata.img file. Here's the output:

[CODE]
get/product/jfltetmo/userdata.img
File "./build/tools/releasetools/build_image.py", line 157
print …