I want pass image and multi string to server.. for send image to server ,I use library "net.gotev:uploadservice:2.1"
but,because my character is utf8,when save in db ,displayed ???? What should I do?
my code in android:
new MultipartUploadRequest(this, uploadId, Constants.UPLOAD_URL)
.addFileToUpload(path, "image") //Adding file
.addParameter("name", strFileName)
.addParameter("iduser", iduser+"") //Adding text parameter to the request
.addParameter("madah",madah.getText().toString() )
.addParameter("phone",phone.getText().toString())
.addParameter("sokhanran",sokhanran.getText().toString())
.addParameter("startdate", startdate.getText().toString())
.addParameter("enddate",enddate.getText().toString())
.addParameter("descript", descriptin.getText().toString())
.addParameter("linkax", linkax)
.addParameter("address",address.getText().toString())
.setNotificationConfig(new UploadNotificationConfig())
.setMaxRetries(2)
.startUpload();
Firebase Cloud Functions: PubSub, "res.on is not a function"
TypeError: Cannot read properties of undefined (reading 'createMessageComponentCollector')
I have a database table that stores image detailsFrom this I want to get a exactly 6 images (as strings only) and display the images as background images on figure tags
I am trying to do exist query but by using indexing
the from_date should be greater than or equal to start_date of pr_shift_roster table and to_date should be less than or equal to the end_date of pr_shift_roster tableI am using the below query in the model but unable to get proper result