This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!-- Add this as a debug manifest so the permissions won't be required by your production app --> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | |
<uses-permission android:name="android.permission.WAKE_LOCK" /> | |
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" /> | |
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
MACHINE=$1 | |
# Assume executing in the directory of the Vagrant file | |
# This command will prompt for the Vagrant user's password, it's usually "vagrant" | |
ssh-keygen -y -f .vagrant/machines/$MACHINE/virtualbox/private_key | \ | |
vagrant ssh $MACHIME -c "mkdir .ssh; tee -a .ssh/authorized_keys; chmod 0600 .ssh/authorized_keys" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ext { | |
coverageSourceDirs = 'src/testDebug/java' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.wadi.android.api.services; | |
import com.wadi.android.model.api.ApiContent; | |
import com.wadi.android.model.api.Message; | |
import com.wadi.android.model.appConfig.AppConfigResult; | |
import com.wadi.android.model.order.OrderReview; | |
import com.wadi.android.model.order.OrderReviewResponse; | |
import com.wadi.android.model.product.ProductBrand; | |
import com.wadi.android.model.product.ProductDetails; | |
import com.wadi.android.model.product.ProductsResult; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WidgetApi.java | |
public interface WidgetApi { | |
@GET("/widget/{:id}") | |
void getWidget(@Path("id") int id, Callback<Widget> callback); | |
} | |
// MockRetrofitClient.java | |
public class MockRetrofitClient implements Client { | |
private int statusCode = 200; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# License for any modification to the original (linked below): | |
# ---------------------------------------------------------------------------- | |
# "THE BEER-WARE LICENSE" (Revision 42): | |
# Sebastiano Poggi wrote this file. As long as you retain this notice you | |
# can do whatever you want with this stuff. If we meet some day, and you think | |
# this stuff is worth it, you can buy me a beer in return. | |
# ---------------------------------------------------------------------------- | |
# | |
# Based upon http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
05-07 11:14:39.300 15298-15298/com.wadi.android.debug I/chromium﹕ [INFO:CONSOLE(7)] "Uncaught Error: [$injector:modulerr] Failed to instantiate module willy due to: | |
Error: [$injector:modulerr] Failed to instantiate module mikey due to: | |
TypeError: Cannot read property 'getItem' of null | |
at https://b.wadicdn.com/willy/scripts/f198b568.willy.js:15:5098 | |
at Object.d [as invoke] (https://b.wadicdn.com/willy/scripts/f198b568.willy.js:7:14325) | |
at https://b.wadicdn.com/willy/scripts/f198b568.willy.js:7:13531 | |
at Array.forEach (native) | |
at f (https://b.wadicdn.com/willy/scripts/f198b568.willy.js:6:30682) | |
at k (https://b.wadicdn.com/willy/scripts/f198b568.willy.js:7:13344) | |
at https://b.wadicdn.com/willy/scripts/f198b568.willy.js:7:13421 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.pixite.fragment.widget; | |
import android.content.res.Resources; | |
import android.graphics.Canvas; | |
import android.graphics.ColorFilter; | |
import android.graphics.Rect; | |
import android.graphics.drawable.Drawable; | |
import android.graphics.drawable.Drawable.Callback; | |
import android.view.Gravity; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.overlay; | |
public class Entry { | |
private final int imageResId; | |
private final String title; | |
public Entry( int imageResId, String title ) { | |
this.imageResId = imageResId; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# built application files | |
*.apk | |
*.ap_ | |
# files for the dex VM | |
*.dex | |
# Java class files | |
*.class |