iPaulPro / aFileChooser

[DEPRECATED] Android library that provides a file explorer to let users select files on external storage.
Apache License 2.0
1.79k stars 847 forks source link

gradle build for android studio? #63

Open spurdow opened 9 years ago

spurdow commented 9 years ago

gradle build for android studio?

marbat87 commented 9 years ago

+1

vipulyaara commented 9 years ago

+1

tomb50 commented 9 years ago

+1

jsteinaker commented 9 years ago

I've forked and made a gradle build for the command line tools, shouldn't be very difficult to make it work on Android Studio. It's on jsteinaker/aFileChooser in case you need it.

pjohnsonbsf commented 9 years ago

+1

aryarohit07 commented 9 years ago

+1

kashban commented 9 years ago

@jsteinaker Thanks, will have a look into it.

bfell commented 9 years ago

+1

johnernest02 commented 8 years ago

+1

ivanovpv commented 8 years ago

Here's gradle build file build.gradle

apply plugin: 'com.android.library'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.2"

    lintOptions {
        abortOnError false
     }
    defaultConfig {
        minSdkVersion 7
        targetSdkVersion 22
     }

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

dependencies {
    compile 'com.android.support:support-v4:23.1.1'
}
yduman commented 7 years ago

compile 'andhradroid.dev:aFilechooser:1.0.1'

kashban commented 7 years ago

Thanks, I'll give it a try.

yduman commented 7 years ago

@kashban It should work :) , I used it successfully.

kashban commented 7 years ago

@yduman I believe you :-). Unfortunately there was a change in the API between the library version I use and this one. And it does not seem to adhere mimetype filtering which I require. So I will probably ditch afilechooser alltogether and go for Android standard, since I upped my minSDK version to API 19.