The argument type ‘String’ can’t be assigned to the parameter type ‘Uri’. Flutter

I’m having a trouble, why I’m getting this error in my app flutter main.dart I just follow this reference link. It would be great if anybody could figure out, thank you so much in advance!. Here’s …

RecyclerView only shown on minimized [closed]

I use retrofit to get data from PHP(localhost) as JSON and display it with recycler view. My problem is my data never show whenever I go fullscreen(Image 1) and goes normal whenever I minimized the …

how to get value inside JsonObject

im trying this new method Ion. with PDO and I got stuck where I want to get value inside JsonObject. I previously used Volly with msqli but I find Ion. more organized and PDO more safe. whenever I try …

java.net.ConnectException: Failed to connect to /localhost:8080

So, I’m trying to send a POST request from my android phone to my server (laptop) both on the same network. I am getting the error as shown above. I thought this could be something about the firewall …

Retrofit Post Request Error – java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $

I am trying to make a Post Request using Retrofit, MVVM, Coroutines and Hilt. After sending the post request I get this error java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at …

Android (JAVA) – Call REST API at specific time at 9:00 am everyday

I am using Alarm Manager to Call REST API. But the Problem is when user change System clock time it get triggered immediately. To call REST API Exectly at 9:00 am mandatory. Suppose User change clock …

Codeigniter select where AND

How to do select where and with code igniter ? //select * from item_user where email=”myemail@gmail.com” and passwd=”123″ function index_get() { $email = $this->get(’email’); $passwd = $…

Android / MySQL: Spinner not populate data from MySQL

I have a problem with my code. I already created a spinner that populates from the MySQL database. The PHP code seem not have problem at all since I run the link “localhost/latihan1/menu/php”, the …

in android jsonarray cannot be converted in jsonobject

The script fetches data from phpmyadmin but android studio cause this error of type org.json.Jsonarray cannot be converted to jsonobject my code android code

Android passing username to php

I am building an android app where the users are expected to perform certain tasks individually assigned to them. To download the project information I am using HTTPServiceClass and passing in a url …