In this video it shows how one can overlap one widget over another in your Android App’s layout. 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 Details: Screenshots:
Tag: code
How to fix “‘org.json.JSONException’ exception Expected literal value at character” in your Android App Java code?
In this video it shows the steps to fix the error – ‘org.json.JSONException’ exception Expected literal value at character 65 of … In this demonstration it first reproduces the issue by introducing an erroneous comma (,) at the end of the JSON string and then shows the fix by removing…
How to fix “Value of type org.json.JSONArray cannot be converted to JSONObject” in your Android App code?
In this video it shows the fix for the error “Value of type org.json.JSONArray cannot be converted to JSONObject”. It reproduces this error by trying to convert a JSONArray to JSONObject. And then fixes it by rightly converting it into JSONArray and then using the index to get the right…
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.
Fix “packagingOptions(Packaging.() -> Unit): Unit’ is deprecated. Renamed to packaging” error in Android Studio Gradle file.
In this video it shows the steps to add packagingOptions block in the gradle file in Android Studio. On adding the packagingOptions block it gives the deprecated unit error. This can be fixed by using packaging block instead of packagingOptions block. Also, use resources.excludes.add instead of exclude option. I hope…
How to put a file in the download folder of Android studio emulator – AVD?
AVD = Android Virtual Device This video shows the steps to put any file in the download folder of your Emulator/ Android Virtual device running in Android Studio. This same concept can be user to put the file in any other folder or read files from any other folder. I…
How to fix Java error “Could not find tools.jar. Please check that C:\Program Files\Java\jre-1.8 contains a valid JDK installation.”?
This video shows the steps to fix the Java Error: “Could not find tools.jar. Please check that C:\Program Files\Java\jre-1.8 contains a valid JDK installation.” 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 details/ steps: Error Window:…
How to run Google’s AI PaLM APIs in your Android App using Java dependencies?
This video shows the steps to use PaLM APIs in your Android App’s Java code. It refers to the steps mentioned at https://developers.generativeai.google/tutorials/text_java_quickstart 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:…
How to set the build variant – Debug or Release – in Android Studio? – version Giraffe | 2022.3.1
Set Build Variant:1. Debug2. Release 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 Details: Screenshots: Build APK files at:
How to obfuscate the source code while building APK of your Android App? – API 34|Android 14
Steps in this session:1. Create a simple App2. Build normal APK (non-obfuscated)3. Build Obfuscated APK In this video it shows the source code in the APK file for 3 types of APKs built:1. Debug variant2. Release non-obfuscated variant3. Release obfuscated In this video it refers to the below pages:– Android…