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 …
Tag: android
App crashes when receiving notification from firebase PHP API
I want to send a notification to a user via firebase PHP API. I followed a tutorial but the app crashes when the API runs and if the app it’s not open nothing will happen. this is the code: <?php …
I can received the reset password mail, but it always show error code
I can received the reset password mail, but it always show error code. this is my app code private void sendEmail(String email) { final String sendEmail = email; StringRequest …
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 …
Regex for Group Links For WhatsApp URL [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about programming within the scope defined in the help center. Closed 1 year ago. Improve this question I am using the following regex for validating Group Links For WhatsApp url’s. I want the regex to support the following
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 …
$_POST request works with postman but not in android app
I’ve been on this problem for a while now currently trying to convert my php scripts to PDO but the $_POST are always giving me null when ran through isset(). My code in android works fine with my other scripts but this one only works in postman when I change the $_POST to $_REQUEST on each item and the links
get xAxis mpchart android from database with retrofit
I want to get xAxis from database which is result of distinct query so my chart can display data dynamically. for static mpchart i have no problem with that. I called this function in onCreate. this line which i to make dynamic. so far i’ve tried some experiment from what i found in google. this one is closer. Log.d display
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 = $…