Profile

Cover photo
Thomas Amsler
Works at UC Davis
Attended UC Berkeley
Lives in West Sacramento
918,983 views
AboutPostsPhotosYouTube+1'sReviews

Stream

Thomas Amsler

Shared publicly  - 
3
Add a comment...

Thomas Amsler

Shared publicly  - 
 
 
Nice video about our proposed campus released today!
246 comments on original post
1
Add a comment...

Thomas Amsler
moderator

Discussion  - 
 
Lesson 2 Notes (2/17/2015)

- Connecting to the cloud

- Accessing REST APIs
-- Data for one week per ZIP code
-- Response from server in JSON format
-- https://gist.github.com/anonymous/1c04bf2423579e9d2dcd

- HttpUrlConnection vs HttpClient
-- HttpUrlConnection is recommended

- Log / LogCat
-- Avoid log spam

- NetworkOnMainThreadException

- Threads
-- Main Thread
-- Background Thread (Networking, DB, ..., long running IO)

- AsyncTask
-- http://developer.android.com/guide/components/processes-and-threads.html
-- onPreExecute (UIT)
-- doInBackground (BT)
-- onProgressUpdate (UIT)
-- onPostExecute (UIT)

- Refactor ForecastFragment (separate file)

- Refresh menu option (FOR DEBUGGING ONLY!!)

- Fetch data from Activity?
-- Fetch data from a Service, SyncAdapter, Google Cloud Messaging

- Menu Options
-- Add "setHasOptionsMenu(true) to fragment

- Permissions & Security Exception
-- Internet Permission
-- android.permission.INTERNET

- UriBuilder

- Process data that comes back from the server
-- JSONObject obj = new JSONObject("JSON string...");

- ArrayAdapter change data
-- adapter.notifyDataSetChanged()
1
Add a comment...

Thomas Amsler
moderator

Discussion  - 
 
Lesson 3 Notes (2/24/2015)

- Learn about activities and intent framework

- Show detail view when user clicks on an item in the list
-- setOnItemClickListener
-- Inside ForecastFragment in onCreateView method
-- Show info via Toast message

- Create detail activity
- Declared in AndroidManifest file

- Start DetailActivity
-- startActivity(Intent)
-- Explicit vs Implicit intents
--- Explicit : class name
e.g.
Intent intent = new Intent(getActivity(), DetailActivity.class).putExtra(Intent.EXTRA_TEXT, forecast);
startActivity(intent)
--- Implicit : define action and data ;
e.g.
VIEW : http://d.android.com
DIAL : Tel: 555-2368 - In DetailActivity get intent data
-- in onCreateView
Intent intent = getActivity().getIntent();
String forecast = intent.getStringExtra(Intent.EXTRA_TEXT)
--- Set TextView content

- Setting UX
-- Location
-- Pick your units
-- Stores data in default SharedPreferences file
-- http://developer.android.com/guide/topics/data/data-storage.html
- PreferenceActivity vs PreferenceFragment

- When fetching data from the weather service, we get the location from the stored preferences.

- Update weather via "updateWeather()" by placing in the "onStart()" method in ForecastFragment.

- ListPreference to store units
-- metric or imperial

- Debugging & Breakpoints

- Preferred location
-- Implicit intent to open map

- ShareActionProvider
-- Additional icon in action bar

- Broadcast Intent (BroadcastReceiver)
-- Device is charging etc.
-- SendBroadcast
-- Register BroadcastReceiver in manifest or programmatically
-- Difference
--- Manifest : receives broadcast : App Running & App Terminated
--- Programmatically : receives broadcast : App Running
1
Add a comment...

Thomas Amsler
moderator

Study Group  - 
 
Please don't forget to signup for our Lesson 4 study group:
http://www.meetup.com/gdgsacramento/events/220097438/
1
Add a comment...

Thomas Amsler
moderator

Study Group  - 
 
How to use a Content Provider: https://www.udacity.com/course/ud258
1
Add a comment...

Thomas Amsler

Shared publicly  - 
 
Gobot is a framework for robotics, physical computing, and the Internet of Things, written in the <span> Go programming language</span>.
1
Add a comment...
 
The Sacramento HackerLab is running a second round of their Intel IoT incubator.  This is a 6 week program aimed to help people prototype new products, learn skills, meet people, and showcase what they made.  All participants get free hardware and a $200 project budget, in addition to a bunch of other resources.
Signup: http://www.meetup.com/HackerLab/events/220444688/
We’re back for round two of the Intel IoT Incubator. This time, better than ever.  This program is designed to help you: • Build your dream products • Learn new skills • Meet local developers • Showcase what you made Join us on March 11th to:  - Learn about the Intel IoT Incubator #round2  - Pitch your project idea to the community - Form teams - Check out Arduino Galileo and Edison product demos  - Eat pizza and meet fellow makers Apply Today!...
2
Add a comment...

Thomas Amsler

Shared publicly  - 
 
 
I know you guys love Polycasts, so I threw together a site with all of the Polycasts and will add more as they are made.  The site is made with Polymer, of course.  Check it out at infinitech.org/polycasts!
1 comment on original post
1
Add a comment...

Thomas Amsler
moderator

Study Group  - 
 
02/24/2015 : Lesson 3 : Study Jam
We will meet in the downstairs main area at the HackerLab.
1
Add a comment...
Story
Tagline
Dad, GDG Sacramento Organizer, Android Developer, Open Source ...
Introduction
I'm the tech lead for the Smartsite (Sakai) team at UC Davis.  I'm living in West Sacramento California, but I'm originally from Switzerland.

Android Mobile Apps:
Education
  • UC Berkeley
  • UC Davis
Basic Information
Gender
Male
Apps with Google+ Sign-in
Work
Occupation
Programmer
Skills
JavaScript, Java, Android, Node.js, MongoDB, AngularJS
Employment
  • UC Davis
    Programmer, present
  • UC Davis IET, CA, USA
  • UC Davis Computer Science Department, CA, USA
  • UC Davis Center for Neuroscience, CA, USA
  • UC Berkeley, CA, USA
  • Quest Software, CA, USA
  • Peerless Systems, CA, USA
  • Russell Information Sciences, CA, USA
  • Telekurs AG, Zurich, Switzerland
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
West Sacramento
Previously
Baden, Switzerland
Thomas Amsler's +1's are the things they like, agree with, or want to recommend.
Gobot - Golang framework for robotics, physical computing, and the Inter...
gobot.io

Gobot is a framework for robotics, physical computing, and the Internet of Things, written in the Go programming language.

Android UI Patterns: How We Created Scalable UI - A Case Study
www.androiduipatterns.com

I rarely get to write about projects I've been involved with myself so writing this one makes for a pleasant change. For more than a year I'

Masashi Katsumata
developers.google.com

Masashi Katsumata has been a fan of Google Maps API from version 1. His works and interest focuses on Maps mashups, and has created DIY stre

Google SoundScript: faster OOP for JavaScript
www.2ality.com

Google is currently working on SoundScript, a way to speed up object-oriented programming in JavaScript. The content of this blog post is co

RethinkDB 1.16: cluster management API, realtime push - RethinkDB
rethinkdb.com

Today, we're happy to announce RethinkDB 1.16 (Stand by Me). Download it now! The 1.16 release is a precursor to the upcoming 2.0 release, a

Home | Aurelia
aurelia.io

Aurelia is the most powerful, flexible and forward-looking JavaScript client framework in the world.

Web Animations LCA Multimedia Miniconf Animations on the web today ...
alancutter.github.io

Web Animations. LCA Multimedia Miniconf. Animations on the web today. CSS Animations; SVG Animations; JavaScript Animations (requestAnimatio

Using Containers to Build a Microservices Architecture
medium.com

We’ll explore how many of the characteristics of containers make them an excellent choice for building a microservices-b…

Android-Libs
android-libs.com

Android-Libs is a portal with hundreds of android libraries and tools for developers.

[Deal Alert] Udemy Currently Has Over 9,000 Courses On Sale (Including P...
www.androidpolice.com

Udemy is one of the numerous ways you can learn something new from your computer without having to physically get to class. The site has tho

Best Online Courses | Udemy
www.udemy.com

Udemy is the world's largest destination for online courses. Browse the featured courses on Udemy and start learning a new skill today.

WarSting: A Wi-Fi scanning sword for Hobbits. — Spark Blog
blog.spark.io

We hacked a toy sword to make it turn blue near unsecured Wi-Fi networks.

Generating code - The Go Blog
blog.golang.org

Generating code. 22 December 2014. A property of universal computation—Turing completeness—is that a computer program can write a computer p

Great food and welcoming atmosphere.
Food: ExcellentDecor: ExcellentService: Excellent
Public - 2 years ago
reviewed 2 years ago
Public - 4 years ago
reviewed 4 years ago