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
# | |
# Android build configuration for CircleCI.com | |
# | |
general: | |
artifacts: | |
- /home/ubuntu/your-app-name/app/build/outputs/apk/ | |
machine: | |
environment: |
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
*.iml | |
.gradle | |
/local.properties | |
/.idea/workspace.xml | |
/.idea/libraries | |
/build | |
/captures | |
# Built application files | |
*.apk |
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.mirhoseini.gcm; | |
import com.google.android.gcm.server.InvalidRequestException; | |
import com.google.android.gcm.server.Message; | |
import com.google.android.gcm.server.MulticastResult; | |
import com.google.android.gcm.server.Sender; | |
import java.io.*; | |
import java.text.DateFormat; | |
import java.text.SimpleDateFormat; |
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
android { | |
. | |
. | |
. | |
defaultConfig { | |
. | |
. | |
. | |
// Enabling multidex support. | |
multiDexEnabled true |
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.mirhoseini; | |
import android.content.Context; | |
import android.telephony.TelephonyManager; | |
public class IranSimCardUtil { | |
public static String MCI_OPERATOR = "43211"; | |
// Telecommunication Kish | |
public static String TKC_OPERATOR = "43214"; |
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
language: android | |
sudo: required | |
android: | |
components: | |
- tools | |
- platform-tools | |
- build-tools-24.0.3 | |
- android-24 |
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
include ':marvel-app', ':marvel-core', ':marvel-console' | |
project(':marvel-app').projectDir = new File('app') | |
project(':marvel-core').projectDir = new File('core-lib') | |
project(':marvel-console').projectDir = new File('console') |
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 { | |
minSdkVersion = 9 | |
compileSdkVersion = 25 | |
buildToolsVersion = "25.0.0" | |
//Android | |
androidSupportVersion = "25.0.0" | |
butterknifeVersion = "8.0.1" | |
/*...*/ |
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
// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:2.2.2' | |
/*...*/ |
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
apply plugin: 'com.android.application' | |
/*...*/ | |
android { | |
compileSdkVersion rootProject.ext.compileSdkVersion | |
buildToolsVersion rootProject.ext.buildToolsVersion | |
/*...*/ | |
} |
OlderNewer