Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .classpath

This file was deleted.

46 changes: 32 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,28 +1,46 @@
# Built application files
*.apk
*.ap_
### Android Studio ###
.externalNativeBuild
.navigation/
captures/

# Files for the Dalvik VM
### ART/Dalvik VM ###
*.dex

# Java class files
*.class
### Built application ###
*.ap_
*.apk

# Generated files
### Eclipse ###
bin/
gen/
out/
proguard/

### Emacs ###
*~
.*~
.\#*
\#*

# Gradle files
### Gradle ###
.gradle/
build/

# Local configuration file (sdk path, etc)
local.properties
### Intellij ###
*.idea/
*.iml

# Proguard folder generated by Eclipse
proguard/
### Java class ###
*.class

### Keystore ###
*.jks

### Local (SDK, PATH, etc) ###
local.properties

#Log Files
### Log ###
*.log

*.local
### OS X ###
.DS_Store
33 changes: 0 additions & 33 deletions .project

This file was deleted.

4 changes: 0 additions & 4 deletions .settings/org.eclipse.jdt.core.prefs

This file was deleted.

8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ Here is the [iOS tutorial](https://parse.com/tutorials/anypic) from which this v

## Initial Setup

Make sure you have the Android SDK installed on your system. The version of the Eclipse IDE with ADT (Android Developer Tools) built-in can be found [here](http://developer.android.com/sdk/index.html)
Make sure you have the Android SDK installed on your system. The version of the Android Studio with ADT
(Android Developer Tools) built-in can be found [here](http://developer.android.com/sdk/index.html)

## How to Run

1) Clone the repository and open the project in Eclipse

* (For Android Studio set up, you're on your own)
1) Clone the repository and open the project in Android Studio

2) Create your Anypic App on [Parse](https://parse.com/apps).

Expand All @@ -30,6 +29,5 @@ Parse.initialize(this, "<APP_ID>", "<CLIENT_KEY>");
```java
ParseFacebookUtils.initialize("YOUR FACEBOOK APP ID");
```
* **Make sure that the `facebooksdk.jar` file is [added as an Android Dependency](http://stackoverflow.com/questions/20355971/how-do-i-add-a-new-library-to-android-dependencies-using-eclipse-adt) to your project**.

5) Build the project and run
3 changes: 3 additions & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Android Studio ###
/app.iml
/build
32 changes: 32 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
apply plugin: "com.android.application"

android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig {
applicationId "com.parse.anypic"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "0.0.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
}

dependencies {
// Application dependencies
compile "com.android.support:appcompat-v7:$rootProject.supportLibraryVersion"
compile "com.facebook.android:facebook-android-sdk:3.19.0"
compile fileTree(dir: "libs", include: ["*.jar"])

// Dependencies for local unit tests
testCompile "junit:junit:$rootProject.ext.junitVersion"
}
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions app/lint.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<lint>
</lint>
File renamed without changes.
4 changes: 0 additions & 4 deletions AndroidManifest.xml → app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="19" />

<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus"/>

Expand Down
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
31 changes: 31 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// 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.3.0'
}
}

allprojects {
repositories {
jcenter()
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}

ext {
// SDK and tools
buildToolsVersion = '25.0.2'
compileSdkVersion = 25
minSdkVersion = 16
targetSdkVersion = 25

// Application dependencies
junitVersion = '4.12'
supportLibraryVersion = '25.0.0'
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Fri Mar 10 19:47:36 BRT 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
160 changes: 160 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading