skip to Main Content

Firebase – why does the wrong toast message keep appearing?

I have a class called BookRoomActivity: public class BookRoomActivity extends AppCompatActivity { String staffPromotionCode; EditText etRoomName,etprice,etDate,etCapacity,etPromotion; Button btnBook; FirebaseFirestore db; final boolean[]promotionCodeMatched = {false}; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_book_room); // Retrieve promotion code set by staff from…

VIEW QUESTION

Javascript – Pass bytes array from AJAX to Java

I'm trying to send a byte array to the server through AJAX: $.ajax({ url: armd.scieldan.server + "/detachedSignFile/", timeout: 120000, type: "POST", data: byteArray, responseType: 'arraybuffer', success: function(response) { console.log("Sign: " + response); }, error: function() { console.log("error"); } }); And…

VIEW QUESTION
Back To Top
Search