In preparation for my new job, I’ve started to explore Java and Netbeans. In the process, I figured I would revisit using Git to cross reference some example code on Java.net while trying to learn about CRUD operations. Below is a list of links I found quite helpful.
Over Christmas 2015, I picked up a $45 Android tablet with the intentions of mounting it into my 2010 Honda Accord as a media device. For now, I’ve used some black Velcro to mount it but would eventually like to explore the 3d printer realm and create a custom mount for it. I disabled many of the pre-installed applications, installed Spotify (a music subscription service), and installed a neat application called Tasker.
I used Tasker in conjunction with AutoInput which essentially mirrors any programmed key-presses by searching for the internal UI shell command. All of this can be accomplished without rooting. I purchased a USB charger for the center console power port in addition to a thin USB cable and 1/8″ cable. Luckily, my car turns off the power port automatically when the car is off, unlike some other domestic models. After about an hour of tweaking, I had a working in car entertainment device that would:
- On power/charging detection, would turn on the screen, open the Spotify app, wait 6 seconds, and Play music from the last specified playlist.
- On power/charging off, would pause Spotify, wait 3 seconds, and dim the screen. By leaving the app open, it syncs with my Wifi network when I pull into the driveway nightly.
- From 7am to 5:30pm, would turn the screen brightness to max setting.
- From 5:31pm to 6:59am, would turn the screen brightness to min setting.
A helpful guide I followed for programming Tasker is here, with the exception of the input commands, as those were taken care of by the AutoInput application. The most important thing to note is the use of wait times in Tasker, so that the device is provided with enough time to execute each operation and not ignore overlapped operation requests.
The latest development with this project, is that under extreme cold temperatures, the tablet greatly misbehaves. I need to probably program the tablet to turn off based on a weather forecast. We had a 10F low and I found that it had factory reset itself after being left in the car all night, which means that I need to reprogram it entirely. Avoiding that scenario, I will probably look for a custom recovery which would allow me to take a full image backup to keep on the Micro SD card.
The tablet I purchased can be found here. (as of Jan 2016)
cd RubyDevKit //folder where dev kit is installed
ruby dk.rb init
ruby dk.rb install
gem install json–platform=ruby
gem install sass
Then, install Scout App.
Just a quick note on installing SASS. I couldn’t find this anywhere.
“As the days followed, debris from Frostburg was found up to 100 miles away. A jacket, bought by a woman on June 2 in Frostburg, was found with the bag and receipt near Levels, WV, 25 miles away. A 400 acre farm in Gorman, Maryland, just across the river from Paw Paw, WV (about 27 miles from Frostburg) had debris strewn across it. The farmer found shingles, pieces of siding and insulation. House debris was found in Paw Paw, WV and into the northern tip of Frederick County, VA. A JC Penny catalog belonging to the family whose house was wiped off its foundation was found in Winchester, VA, 60 miles away, along with a piece of a high school diploma from a school in Frostburg. Another part of a high school diploma was found north of Berryville about 80 miles away. A bill that had been in a basement file cabinet in the Frostburg house was found in Sterling, VA which is about 100 miles from Frostburg.” – NOAA
1. Go to the command line interface in Sublime Text
2. Add http://wbond.net/sublime_packages/package_control
3. Enable Package Control
4. Open Command Palette in Tools Menu
5. Search Package Control: Install
6. Enter and Search for SASS
Rabbit Hole of Research #1