The content provides a tutorial video link and MATLAB code for combining two images either horizontally or vertically using App Designer. The source code defines a class ‘MergeImage’ with properties for the images and a ‘Merge’ button. The function ‘MergeButtonPushed’ reads the source of two images, merges them, and assigns the result to a third image component. Another function ‘createComponents’ constructs the UI Figure and its components (the three image components and the merge button). The code covers not only the creation of the app but also how to delete UI Figure when the app is deleted.
Tag: process
How to resize/ set the size of bitmap image using createScaledBitmap in your Android App?
In this video it shows how one can use createScaledBitmap method of Bitmap to resize or set the size of any image in the Bitmap. In this demo it uses ImageView widget to display the raw (unscaled) and resized images. I hope you like this video. For any questions, suggestions…
How to implement WorkManager to run background process (isWifiEnabled) in your Android App?
This video shows steps to implement work manager API to run certain background tasks for your Android App. In this example it checks whether is Wifi is enabled or not and displays it in a toast message. However, other functionality can also be easily implemented in the doWork() method of…
Difference between finish() and finishAndRemoveTask() in Android App code.
In this video it shows the difference between the two APIs in Android – finish() vs finishAndRemoveTask(). finish() is basically to minimize the App’s view so that the user cannot see the App’s layout anymore. It is similar to pressing back button from App’s home page to go back to…