Questions tagged [fast-android-networking]

Library project Github page

14 questions
6
votes
3 answers

Problem when uploading video: Stream was reset: NO_ERROR

I'm working on an app that uploads videos to Vimeo using the TUS approach. I wrote a simple wrapper for Fast Android Networking to use for uploading each part of the video file. fun patch( destination: RequestDestination =…
Renzo Tissoni
  • 642
  • 9
  • 21
1
vote
0 answers

How to handle different types of response in Fast Android Networking library

I have success response and error response class. When error I get 200 status code. My question is to get the error json object to error kotlin class. How can I handle different types of response in FAN library. I have used JSONDeserializer in…
Saugat Rai
  • 105
  • 1
  • 2
  • 10
0
votes
0 answers

Error in using Fast Android Networking API in project

I have been working on a project and using the fast android networking api. I have added the below dependency - ( implementation 'com.amitshekhar.android:android-networking:1.0.2') in the gradle module file and also added the internet permission in…
0
votes
1 answer

Initialize addheaders as global in okhttpClient

As I need to initialize add headers as global to get headers in all API call, I have tried but while debug its not sending the headers in API call. val client = OkHttpClient.Builder() .authenticator { _, response -> …
0
votes
0 answers

Moshi implementation with Fast Android Networking

I am facing problem in understanding the moshi and how it can be implemented in Fast android networking, I am using java for creating the application if someone have implemented it help me out.
0
votes
1 answer

How to upload multiple image files with JSON to server from android?

I have to upload multiple images included in JSON from android. { "topicId" : 1, "QuizTest": [ { "question": "This first question for test", "Image" : "file:///D:/Images/fb_logo.png", …
0
votes
1 answer

Can't Input Data to MySQL Using Fast Android Network From Android

I try to make simple CRUD with Android and MYSQL , PHP for server REST API. I use Fast Android Network Library, and everything is ok and runing, but if i click "Tambah Data / Add Data" it SHow " Failed add to database " . I have some code here for…
0
votes
1 answer

Fast Android Networking - Upload file and receive it using php code

I am trying to upload a file to my server using Fast Android Networking library. This is my android code which seams to work well. private static void uploadZipFile(File zipFile,String TAG,String public_key) { …
stavros.3p
  • 2,244
  • 6
  • 20
  • 37
0
votes
0 answers

How to resolve repeat function in kotlin it is not working

here is my code How to use repeat function in kotlin : var it = 0 val uploadImage=AndroidNetworking.upload(Constant.BASE_URL + "app.php?api=editprofile") repeat(imagesFiles.size){ uploadImage.addMultipartFile("image",…
bugfreerammohan
  • 1,471
  • 1
  • 7
  • 22
0
votes
1 answer

Android Fast networking Library getting Images issues

I am using Android Fast Networking Library When I am trying to get Images from Server I am getting the error even I have successfully Uploaded all images to server error in getting back them 6 images private fun callProfileApi() { …
bugfreerammohan
  • 1,471
  • 1
  • 7
  • 22
0
votes
0 answers

how to send Multiple Images to backend in Android Fast networking Library

I am getting Struggle to send an array of images to backend API param here is my code : var imagesFiles: ArrayList = ArrayList() val mMultiPartFileMap:HashMap> = HashMap>(); …
bugfreerammohan
  • 1,471
  • 1
  • 7
  • 22
0
votes
1 answer

Android java.io.FileNotFoundException No such file or > directory, although permissions are granted

I am trying to upload an image that was previously taken from the camera, and I can confirm that I am granted the permission to READ_EXTERNAL_STORAGE. I am using minSdkVersion 23 in Gradle. Th Uri of the image is saved in a database, and when I try…
PhilBlais
  • 1,076
  • 4
  • 13
  • 36
0
votes
1 answer

Getting bad request with AndroidNetworking.upload()

AndroidNetworking.upload() is giving bad request in every case. Testing API on postman which is working fine, but unable to create the same request in AndroidNetworking, any help would be appreciated Tried AndroidNetworking.post() method which gives…
-1
votes
1 answer

Error says. No adapter attached; skipping layout

I am trying to fetch data from database to my recyclerview but error keeps on showing no adapter attached. Below is my code for recyclerview. XML code with my recycler view