Skip to content
Advertisement

Tag: java

why is my recycler view only showing 1 card

the app is used to sign up for events. Now I am unable to display more then one card in the recycler view even though there is data in the database.it only would display only the first row of data. I know this as I have deleted the first row and the app shows the new first row. The php

REST Server-Client Communication

I’m developing an Android app in Java and I need to add a REST Server-Client Communication feature to it. I assume that the following code should post data to a .php file and will be thankful if someone explains to me what does it do and how to use it properly: Answer My answer is in as comments in your

How do PHP mb_convert_encoding functions use in Java?

I have a base64 encode want convert to utf8 string ,use php mb_convert_encoding convert is normal,code by: How to convert to utf8 string in java. I want result is : Answer Use Hex class in commons-codec library. use import org.apache.commons.codec.binary.Hex; and then: Since in your PHP code the string is selected from byte 1 (substr($p, 1, 12)) you need to

Updating stocks quantity in Product Table from Cart

Hello everyone so basically I have this 2 tables ProductLists and Cart Note: Cart table contains temporary datas inside it, if the orders inside cart table are already paid the table itself will truncate. I tried running this query and this happened output any advice on how to do this without making the stocks of the other products go Null?

Getting the exact ping in ms from the server [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 9 months ago. Improve this question i’m having trouble trying to get the exact ping value in ms from the server and storing it. I’m trying to make a website that

Advertisement