In this video will see how to count any specific type of webElements (e.g no. of hyperlinks, input boxes, images etc). In other words we can get how many times any webelement occurred on any given point of time. We will also see how to print the text of webelements….
Tag: list
How to get the list of input IDs (of available channels) in your Android TV App? – Complete source code
The video demonstrates how to retrieve a list of input IDs from the channels on your Android TV using the TvInputInfo object from the TvInputManager class. In addition, the TvInputInfo object can retrieve package and service info. The source code for accomplishing all these is shared, showing how to import the necessary classes and specify a MainActivity. The video also highlights that the Input IDs vary based on the TV brand and model number. Any inquiries, suggestions, or appreciation can be addressed via the posted contact details.
How to upload a file in OpenAI(ChatGPT) for Fine Tuning?
Steps to upload the file is provided in the below URL: https://platform.openai.com/docs/api-reference/files/create The sample curl command provided in this page is: One will have to update this curl command with one’s details. Below is my example: Then run it in Windows command prompt as below: =========== To get the files…
Difference between List vs Set in Java code of your Android App?
As shown in this video, the main difference are: Set: List: 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: With Duplicate entry of “Tokyo” Without any duplicate entry:
How to scroll RecyclerView (Page up and down) programmatically from your Android App?
In this video it shows how to use ScrollBy API of RecyclerView to scroll the pages in recycler view programmatically from your Android App’s code. To build the recycler view it re-uses the part of code previously published in our below page:https://programmerworld.co/android/how-to-show-images-in-recycler-view-in-your-android-app/ I hope you like this video. For any…
How to show images in Recycler View in your Android App?
In this video it shows how to place and show the images in recycler view in your Android App. It creates the RecyclerViewCustomAdapter class for showing the images by setting the respective bitmaps of the images in the imageview. It uses a Frame layout containing ImageView used for the RecyclerView…
Show string array in Recycler View of your app – Android Studio Tutorial
In this video it shows steps to display a list of strings (array) in the recycler view of your Android App. It shows the steps to create the recycler view adapter class and use it to set the adapter value of the recycler view. It refers to below page from…
How to get the list of all the Apps installed in your Android phone? – Android 12 | API Level 31
In this video it shows how to get the list of all the apps installed in your Android phone in the latest version of API level 31. From API level 30 onwards, it has introduced restrictions to get the list of all the apps by default. For Apps, such as…
How to customize long press app icon item list (ShortcutManager menu dialog) for your Android App?
In this video it shows how one can customize the long press menu item list for the Android App. When a user presses the icon of any App, Android shows up some of the options. This list of options is called shortcut info list and the dialog is shortcut manager….
How to get the list of Apps installed on the phone from your Android App? – complete source code
This video shows a simple method to get the list of all the Apps installed on your phone. It uses the Package Manager to get the list of all the packages installed and then extracts the package name from it. It uses list view to display the package names (installed…