Skip to content

droidhubworld/Android-Uploading-Image-Video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Android Uploading Image, Video

Android Uploading image, video, files

Screens

1 2

Stap 1 : We need to app two permission in the manifest file to first one is Internet and second is read External Storage.

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> 

Stap 2 : We need to and these line on build.gradle file

packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/license.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/notice.txt' exclude 'META-INF/ASL2.0' }

compile group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.3.1'

Stap 3 : Now follow the code.