Archive for 2018

How to solve “NotAllowedError: play() can only be initiated by a user gesture.” audio problem in javascript android webview?

While playing audio in javascript using webview in android platform we may encounter following problem NotAllowedError: play() can only be initiated by a user gesture.. This is due to security and good user experience issue. So to enable sound play we should use following code in android: Android SDK below 17 will not support this hack so we should use the condition. Please comment if ... Full story

Android Device not detecting on computer device or android studio? Solved

I had come across weird problem i.e my android device is not being detected on any of the computer device either Mac or windows. I went through several websites but none of them worked. Being depressed one day an idea busted. I thought to clean the port. Yes i cleaned every dirt on the phones charging port and it worked like a charm. Now the android phone ... Full story

How to convert Mysql Database to SQLite database?

I have found a simple way to convert the Mysql Database into SQLite database. Following are the steps: Open PhpMyadmin on your browser. (eg. http://localhost:8888/phpmyadmin) Select database and click on Export. Make sure SQL is selected as format and click go. Make a copy of the mysqlcode and store in a file db.txt. Download DB Browser for SQLite from sqlitebrowser.org . Create new Database and create table. Navigate to Execute SQL ... Full story
Copyright © 2024 Programmer to Programmer- A website for web programming and mobile application programming tutorials.
Wordpress themes