This video shows the steps to create AR (Augmented Reality) Android app by superimposing your own 3D model image on camera view. In this video it shows the below steps: 1 Create GLTF file2 Put the file in your GitHub public repo3 Update the Android code The Android code in…
Tag: view
How to convert TextView to WebView (HTML) using the WebView.loadData in your Android App?
The video demonstrates how to convert a TextView to a WebView using the loadData API in HTML MIME type. This conversion is performed using the Java package com.programmerworld.textviewtowebview by creating a ‘MainActivity’ class with TextView and WebView properties. Then, in a method called ‘buttonGTextViewToWebView’, the TextView is converted into a string and loaded as ‘text/html’ into the WebView. The corresponding XML design layout uses a ConstraintLayout containing a TextView, Button, and WebView. For queries or suggestions, viewers can contact through the given website or email.
How to print a WebView using the installed printer (or PDF) from your Android App?
The content provides a video demonstration of the code to print the complete content of a WebView widget utilizing the Print API from the PrintManager class in Android development. The demonstration specifically shows how to print the content of the home page of the ‘programmerworld.co’ website. It also provides the complete source code for this operation, including definitions for the MainActivity class, the manifest file, and the XML layout file. For further queries, suggestions, or feedback, it directs users to contact via the website contact form or email.
How to toggle between design and code view of the layout (XML file) in your Android Studio – Hedgehog | 2023.1.1?
The video highlights the feature of switching between Design, Code, or Split view in Android Studio while creating a layout. It provides guidance on how to examine the corresponding XML code of the layout being designed, offering a helpful solution for those interested in the programming aspect. The creators of the video welcome feedback and inquiries, and have provided contact methods via a website and email. A screenshot of the process is also included.
How to access HDMI input in your Android TV App?
In this video it shows the steps to access the HDMI input in your Android App. It uses VideoView to show the content of the input channel by converting it to the respective uri. For the complete list of input types, such as TYPE_DVI, TYPE_HDMI, or TYPE_VGA, please refer to:…
How to auto fit (auto scale or Zoom) an image in webView of your Android App? – Android Studio code
This video shows the steps to auto fit/ auto scale an image file in the WebView widget of your Android App. It uses below attributes in the settings of the WebView object to enable the auto-scaling:webView.getSettings().setLoadWithOverviewMode(true);webView.getSettings().setUseWideViewPort(true); For testing purpose, it uses below image from the testing page of programmer world…
How to generate PDF report using PUBLISH command in MATLAB?
In this video it shows the use of PUBLISH command to generate a PDF report for your MATLAB code. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com Complete source code and other details: Sample MATLAB Script for…
How to rotate the picture in ImageView of your Android app?
This video shows the steps to rotate the pictures in the image view of your Android App. It uses the SetRotation property of the ImageView to rotate the image. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com…
How to import image as asset and show it in ImageView (as static image) in your Android App?
In this video it shows the steps to import an image as an asset in Android Studio environment and then display it on an image view in your Android App. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at:…
How to get Bitmap from View (of a widget) from layout in your Android App? – Android 13 API 33
In this video it shows the steps to convert the view of any widget (or layout) to Bitmap form in your Android App. This Bitmap is later used to display the image form in an imageView. I hope you like this video. For any questions, suggestions or appreciation please contact…