Some useful ways to manipulate files: Array: Array could be crated like You can see that values are separated through space. Store multiline string to variable: Use cat command like below: Be careful with ‘END’ word. There should be any space before it, otherwise it will considered as a line. Looping through array: We can … Read more
In react native if you want to list all the assets (base directory files and folder), use the following in the onCreate method of MainApplication.java
To listen to the route change events of AvAudioSession use the following observer. Now add the handler used in the #selector: Cheers and Peace out.
To fit an image to a screen we need to calculate the dimentions first. On browsers it’s easy to do, because they calculate in internally, but on when we move to native side, then we have to calculate the size. The following code will help you to achieve that. Cheers and Peace out!!!
Hi all, I gathered some links to information regarding the timeout in Microsoft Speech SDK: Links with explanation of timeouts: Cheers and Peace out!!!
Today I faced an issue, where I had an array in a schema. After reading the record from realm database, I was converting that record to a JSON manually (We should generally use the toJSON method provided realmJS). I had copied all the values into a new object but assigned an array as it is … Read more
Sync may be required Solution Delete .gradle folder (which is in project’s root folder), and in Android Studio, from File menu click “Sync Project with Gradle Files” option. Reason Once this happened to me after switching Git branches: In branch feature/a I had a Gradle module named a. In branch feature/b there was no module … Read more