I want to execute following code in Unity.
UIImage *image = [UIImage imageNamed:@"roadfire.png"];
NSString *message = @"Best image from my application.";
NSArray *postItems = @[message, image];
UIActivityViewController *activityVc = [[UIActivityViewController alloc]initWithActivityItems:postItems applicationActivities:nil];
[self presentViewController:activityVc animated:YES completion:nil];
I have implemented similar code for Android using AndroidJavaObject and AndroidJavaClass object but I can't able to understand how to convert this code?
Only starting point become enough for me.
↧