I used the code below to set a minimum video recording duration, but it does not work. I tested it on Android 2.2 and Android 2.3.3.
intent.putExtra("android.intent.extra.durationLimit", 60);
What is the right way to do this?
I use
target.putExtra (MediaStore.EXTRA_DURATION_LIMIT, 60);
Source: https://habr.com/ru/post/1388303/More articles:Compile Python 3.4 with sqlite3 - pythonCalculate container height after loading font files - javascriptAndroid button not working - javaPassing arguments or environment to Mac installer script - installerPostgreSQL - convert year to year - postgresqlGetting all the kids for a deep multidimensional array - iteratorCreate tree from child node - iteratorHow to add checkbox to wix installer - installerprevent php class extension - phpClassification of syntax highlighting in sql server management studio? - sqlAll Articles