Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-2 votes
0 answers
9 views

Unresolved reference: card_details

class CustomAdapter( var context: Context, var id: List , var tagId: List , var tagName: List, var logTime: List, var value: List ) : RecyclerView.Adapter<CustomAdapter.MyViewHolder>() { ...
AnushaRam Banisetti's user avatar
-1 votes
0 answers
37 views

json to object in KMP

I have a json file in which there is information about animals and their names. I am attaching this json file for you. I want to know if I can use this file in multi-platform Kotlin and for Android ...
Aristotele Songhori's user avatar
0 votes
1 answer
38 views

Get HashMap value from object [duplicate]

I have a json like this { "data": { "category": { "name_en": "Trend", "style": "normal" }, "items"...
SugarSecret's user avatar
0 votes
0 answers
49 views

How to specify where json files are stored using flutter?

I have been using the diagram_editor package (https://pub.dev/packages/diagram_editor/example) and trying to understand how it serializes json files. I am trying to look at a serialized json file so I ...
user8016440's user avatar
-1 votes
0 answers
45 views

Extract Body from a http response with error code in Kotlin

I am building an app and after placing a call to the backend, I received an error response. I need to extract the body of the http response but I cannot find a good way to do it. The response has an ...
Seb's user avatar
  • 3,175
0 votes
0 answers
19 views

Hi Where can I find a sample Google fit data directly after it being exported and some info about data export

I am working on a project and I need participant to export the health data (fit app.) I use an iPhone which only has one health app and exporting it is kinda easy, but I am not sure with Android. I ...
Ali Bohliga's user avatar
-1 votes
2 answers
81 views

Remote JSON parsing (Kotlin) [duplicate]

Sorry for newbie question: I'm new in Android/Kotlin. There is the RecyclerView in which a remote JSON is being parsed. Here is an actual code of the Activity with this RecyclerView: import android.os....
Alexey Pavlov's user avatar
0 votes
1 answer
34 views

How can i update the content of a json file dynamically in android/app/src/main/raw directory

I am using AWS Rekognition feature in my flutter project where i had to put the amplifyconfiguration.json file in the android/app/src/main/raw directory of the project. the file content is: { "...
IKRAM UL HAQ's user avatar
0 votes
2 answers
48 views

Data in my ArrayList is always overwritten but I need it to remember the previous values

I get JSON from weather API, it contains Array of date and time, temperatures, wind speed, etc. I tried to create a new conditionArray in which correspondence between the weather condition and date (...
user25407839's user avatar
1 vote
1 answer
48 views

Android: where to store json file to be accessible to both app and user?

I'd like to use a small local JSON config file with a few fields, so my app can read it and know what to do. This file will not be shipped as part of my app. The idea is that the user creates the file ...
Granjero's user avatar
  • 362
1 vote
1 answer
22 views

POSTing JSON objects to server does not work on specific networks, and times out instead

CODE: private suspend fun sendJsonFile(file: File) { val url = URL(EC2_URL) val urlConnection = url.openConnection() as HttpURLConnection try { sendJsonFileLog =...
John Mulholland's user avatar
0 votes
0 answers
26 views

How to display deserialized JSON data in a RecyclerView using Kotlin?

I am currently working on a project that requires a search feature that retrieves JSON data from a website. The app is supposed to display that data using a RecyclerView. However, Android studio ...
Jake Ramirez's user avatar
0 votes
0 answers
105 views

Error of Ionic Capacitor - Unable to open asset url - https://localhost/src/index.jsx

So basically I'm facing this error from pas 2 hours. I tried editing capacitor.config.ts in my project as well as capacitor.config.json in android assets folder and many other ways. But nothing seems ...
Shreyash Pingle's user avatar
1 vote
2 answers
60 views

Will proguard obfuscation affect my json data?

I have a class that is serialized to get: class test{ string test1; string test2; string test3; string test4; } out: { "a": "...", "b": "...&...
user avatar
0 votes
1 answer
26 views

How drag and adjust the image in a imageView then mask that imageview with another imageview

I can make a story make r application simpaly i can call json to create layout programatically in this: I can pick an image from Gallary and make it mask the selected object. Give me the coding side ...
vraj kalathiya's user avatar

15 30 50 per page
1
2 3 4 5
1694