Skip to content

Instantly share code, notes, and snippets.

@framundo
framundo / Android OpenGL 2.0.md
Last active April 12, 2016 21:54
Android OpenGL 2.0

Basic Android OpenGL 2.0 usage

@framundo
framundo / README.md
Last active September 25, 2024 23:05
Android README example

Android Example Application

This is an example Android Application README to show briefly the sections your app README should contain.

Installation

Clone this repository and import into Android Studio

git clone git@github.com:wolox/<reponame>.git
public class Configuration extends BaseConfiguration {
public static final int ITEMS_PER_PAGE = 5;
}
public class BaseConfiguration {
public static final String API_URL = "https://someapi.wolox.com.ar";
}
productFlavors {
stage {
signingConfig signingConfigs.stage
applicationId defaultConfig.applicationId + ".stage"
versionName defaultConfig.versionName + "-stage"
}
production {
signingConfig signingConfigs.production
}
apply from: 'keystore.gradle'
ext.key_alias='playstore'
ext.key_password='playstore'
ext.store_password='playstore'
signingConfigs {
stage {
storeFile file('keystore/stage.keystore')
storePassword 'android'
keyAlias 'androiddebugkey'
keyPassword 'android'
}
production {
storeFile file('keystore/playstore.keystore')
storePassword store_password
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
signingConfig null
}
}
@framundo
framundo / BaseConfiguration.java
Last active August 29, 2015 14:22
Product variants
public class BaseConfiguration {
public static final String API_URL = "https://someapi.wolox.com.ar";
}