In the grafiti of the internet, there are plenty of useless/flawed/broken/overkill/down-right-wrong ways that folks have written, many of them half-assed, to explain how to get Google Apps (Google Play Services, Google Play Store, Gmail, Google Maps, etc) to install on a Gen
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.prometheanworld.audiotest | |
import android.annotation.SuppressLint | |
import android.content.Context | |
import android.content.res.Resources | |
import android.util.AttributeSet | |
import android.view.MotionEvent | |
import android.view.View | |
import android.view.View.OnTouchListener | |
import android.widget.AdapterView |
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
public class AzureIoT | |
{ | |
private static final String sServiceHostName = "..."; | |
private static final String sServiceSharedAccessKey = "..."; | |
private final Activity mActivity; | |
private final ExecutorService mExecutorService; | |
public AzureIoT(Activity activity) | |
{ |
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"?> | |
<project name="custom_rules"> | |
<!-- | |
Suppress "Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [classes.jar:META-INF/MANIFEST.MF])". | |
Per http://www.dancartoon.com/2012/01/14/fixing-proguard-warning-cant-write-resource-meta-infmanifest-mf/ | |
Target "-obfuscate" copied from ${sdk.dir}/tools/ant/build.xml v21. | |
--> | |
<target name="-obfuscate"> | |
<if condition="${proguard.enabled}"> | |
<then> |