The video tutorial demonstrates how to use the Print API for printing content from a TextView widget in an Android application. In the tutorial, the TextView widget content is first converted into WebView format using the LoadData API. Then, the PrintDocumentAdapter, created on WebView, outputs the content via the Print API. The video provides step-by-step coding instructions along with a walkthrough of the Android application’s interface and functionalities. No changes are required in the manifest file for this process. The contact information for further queries or suggestions is also provided.
Tag: mobile
How to get current SIM card phone number in your Android App? API 34 | Android 14
The provided content is a tutorial with accompanying source code that shows how to fetch the current SIM card phone number on an Android device via an app. The method involves requesting permissions to access phone numbers, which is implemented in the MainActivity of the android application. The tutorial includes explanations with the source code for requesting necessary permissions and creating interface elements. It also provides a YouTube video link and contact details for programmers seeking additional clarification or have further inquiries.
How to capture video using camera and save it in download folder from your Android App? API 34 | Android 14
This video shows the steps to capture the video from your phone’s camera and then save the video in the download folder of 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: programmerworld1990@gmail.com Complete source code…
How to easily create your AI (ChatGPT) based virtual voice assistant Android App?
In this video it shows the steps to build your own AI (ChatGPT) based voice assistant Android App. In this demo it refers the code from programmer world’s below 3 pages:https://programmerworld.co/android/how-to-integrate-open-ai-chat-gpt-model-gpt-3-5-turbo-in-your-android-app/https://programmerworld.co/android/how-to-convert-text-to-speech-in-your-android-app-complete-source-code/https://programmerworld.co/android/how-to-create-a-personal-voice-assistant-android-app-to-create-a-text-file-complete-source-code/ Some of the questions prompted for AI/ ChatGPT tool demo were:– Who won the last football World Cup?– How…
How to share bitmap image over Telegram, WhatsApp, google photos, etc. from your Android App?
This video shows the steps to share an image over other applications such as Telegram, WhatsApp, google photos, etc. directly from your Android App. In this video it shares the image in bitmap form (as an image) and not as a file. To share the complete files one can refer…
How to fix “No emulators are currently running. To launch an emulator, use the Device Manager or run your app while targeting a virtual device.” error in Android Studio?
The below error appears when the previous process of the emulator is not closed properly in the system: No emulators are currently running. To launch an emulator, use the Device Manager or run your app while targeting a virtual device. To solve the problem, one has to kill the below…
How to implement Interstitial Mobile Ads (AdMob) display in your Android Apps?
In this video it shows the steps to implement the interstitial Ads in your Android Mobile App. It refers to following developers pages for steps on implementing and setting up the environment: https://developers.google.com/admob/android/interstitial https://developers.google.com/admob/android/quick-start For steps to setup your Admob account and create your Adunit follow steps from the below…
How to make constraint layout scrollable by using ScrollView and HorizontalScrollView in your Android App?
In this video it shows the steps to make the constraint layout scrollable in both vertical and horizontal direction by adding ScrollView and HorizontalScrollView in your App’s constraint layout design respectively. In this App it implements certain widgets in extreme bottom and right position in the layout to show the…
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…
How to navigate to Home screen (Layout/view) from your Android App programmatically using intent?
In this video it shows how one can navigate directly to the home screen layout from your Android App programmatically. 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: package com.programmerworld.homescreenapp;import android.content.Intent;import…