Reputation: 250
Using below: (Mentioned here):
ActivityResultLauncher<String> imageActivityResultLauncher = registerForActivityResult(
new ActivityResultContracts.GetContent(),
uri ->
//do something with uri (that needs an IPAddress specific for each request)
});
and:
imageActivityResultLauncher.launch("image/*");
trying to select and upload a file. How can I pass the IP address that I want the file to be uploaded to and is specific for each request?
Thanks in advance...
Upvotes: 1
Views: 579