Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
| android { | |
| defaultConfig { | |
| versionName "actionbar" | |
| } | |
| signingConfigs { | |
| release { | |
| storeFile file("android.keystore") | |
| ... | |
| } | |
| } |
Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
| configurations { | |
| apt | |
| } | |
| dependencies { | |
| compile 'com.squareup.dagger:dagger:1.1.0' | |
| apt 'com.squareup.dagger:dagger-compiler:1.1.0' | |
| } | |
| android.applicationVariants.all { variant -> |
| class Api::RegistrationsController < Api::BaseController | |
| respond_to :json | |
| def create | |
| user = User.new(params[:user]) | |
| if user.save | |
| render :json=> user.as_json(:auth_token=>user.authentication_token, :email=>user.email), :status=>201 | |
| return | |
| else |
Quickly deploy Volley to your maven repository. Volley is a library that makes networking for Android apps easier and most importantly, faster. For an example to use Volley in your app, check out Folly.
git clone https://android.googlesource.com/platform/frameworks/volley
cd volley
(download the pom.xml)
mvn clean install
___an infinite space
45 ways to visualize two numbers http://blog.visual.ly/45-ways-to-communicate-two-quantities/
___navigating the infinite space
knights movement:
| import com.google.gson.Gson; | |
| import com.google.gson.JsonSyntaxException; | |
| import com.android.volley.AuthFailureError; | |
| import com.android.volley.NetworkResponse; | |
| import com.android.volley.ParseError; | |
| import com.android.volley.Request; | |
| import com.android.volley.Response; | |
| import com.android.volley.Response.ErrorListener; | |
| import com.android.volley.Response.Listener; |
| // Apache 2.0 licensed. | |
| import android.content.Context; | |
| import android.view.LayoutInflater; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| import android.widget.BaseAdapter; | |
| /** An implementation of {@link BaseAdapter} which uses the new/bind pattern for its views. */ | |
| public abstract class BindableAdapter<T> extends BaseAdapter { |