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…
Tag: read
How to open Device Explorer of Emulator (AVD) in new UI of Android Studio HedgeHog | 2023.1.1?
This video shows the steps to open the device explorer window in the new UI of Android Studio HedgeHog (2023.1.1). The device explorer window can be used to access and even place the files in the device’s folders, such as in download folder. I hope you like this video. For…
How to read an image file from Download folder and show it as bitmap in ImageView of your Android App?
This video shows the steps to read an image file from the download folder and then show it as bitmap in imageView widget of 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 Complete…
How to download an image file from internet and display in UIAxes using MATLAB script in App Designer?
In this video it shows the steps to download an image file from the internet (https URL) and save it in the local PNG file. In this video it uses sample images from the below webpage:https://programmerworld.co/android/how-to-create-a-gif-from-jpeg-images-in-your-android-app-android-studio-complete-code/ And below are the respective images’ URLs:https://i0.wp.com/programmerworld.co/wp-content/uploads/2022/11/images.jpeg?w=452&ssl=1https://i0.wp.com/programmerworld.co/wp-content/uploads/2022/11/images1.jpeg?w=679&ssl=1 It uses WEBREAD command to read the…
How to read different sensors data in your Android app? Demo using virtual sensors in Android 13 emulator
This video shows the steps to read the sensors data in your Android App. It uses the emulator and respective virtual sensors to demonstrate it for Android 13/ API 33 level. In this video it shows the steps to read data from below type of sensors: I hope you like…
How to read numbers from an image in matlab using ocr (optical character recognition)?
This video shows how one can use OCR from Computer Vision toolbox of Matlab to easily read numbers or digits from an image. It further shows how we can superimpose a rectangle over the boundaries of the text part identified by the OCR in the image. I hope you like…
How to create your own custom browser Android App? – Android Studio code
In this video it shows simple steps of how to create your own custom browser App in Android. It uses WebView to create the web browser layout and then registers it as web client in your App. It further uses loadUrl method to load the url in the webview making…
How to add a new contact in phone using intent from your Android App?
In this video it shows steps to add new contacts in your phone using the intent type ContactsContract.RawContacts.CONTENT_TYPE. In this video the major part of the code is taken from the below page of Android developers:https://developer.android.com/training/contacts-provider/modify-data#InsertContact However, in this video it shows the above code in action. I hope you…
How to read texts from an image (OCR) using google vision library in your Android App?
This video shows the steps to implement the google vision library to read or detect the texts and strings from an image, like an OCR (Optical Character Recognition). It demonstrates the functionality using different fonts and text sizes in the different images. I hope you like this video. For any…
How to access public files from the external directories, such as download or Image/ Picture folder, in your Android App? – Android 12 | API 31
This video shows the steps to enable your App to access the files outside of your App’s data folder. Using these methods one can access the files available in external public directories which can be easily accessed by all the Apps. In this video it shows two ways to get…