I'm writing an application that have to get data from this site: https://api.spacex.land/graphql/.
I'm using retrofit for the first time and I don't have idea how I have to set the API service to get, for example, the launchLatest from this site.
This is my model:
data class LaunchModel(...
I'm trying to connect posts from a Wordpress website using the Wordpress plugin and Firebase for cloud messaging. So whenever there's a new post in the website, the app users will receive a notification about it First, I need to send an API POST request with the device's token to the plugin. Ex...
Hi,
I am trying to use retrofit to upload an image from the android device to mysql database and server. Below is the java code that I am using for uploading the image:
```
private void uploadImage() {
Bitmap fullSizeBitmap = BitmapFactory.decodeFile(pathToFile);
Bitmap...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.