Jump to content
JohnLM

Creating a simple image app for Android

Recommended Posts

SPECS:  Windows 7, Delphi XE7, FMX, Galaxy S10+ phone, Android version 12

 

I want to create an Android app that will accept a clipboard image via menu-select of "copy to clipboard" so that I can paste it into my custom-made app that I want to accept and display in a window on an Android phone.  I'd like the image to be "pinched" enabled in order to inlarge the size of the image as well. 

 

This is the situation: 

 

For instance, when I am Google searching on the phone, there are times when, if I hold down the pen (or my finger) on a certain spot on the phone, a short popup menu will display and offer me to copy-image-to-clipboard.  Other times, I may screen-grab as an image to the clipboard via (Power-button+Vol-Down buttons).

 

I want my app to grab what is in the clipboard and paste it into my app so that I can see it, and maybe crop some of it if necessary, then put it back into the clipboard so that I can paste it into a Message for texting back to the recipient.

 

In my app, I mainly want to be able to see the image and be able to enlarge it if necessary, though cropping it would be a bonus. 

 

Is this possible and how would I go about it?
 

Edited by JohnLM
typo

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×