karthipnsmy / audiorecorder Goto Github PK
View Code? Open in Web Editor NEWTitanium audio recorder module for Android
Home Page: http://www.titaniumtutorial.com/2013/09/audio-recorder-module.html
License: Other
Titanium audio recorder module for Android
Home Page: http://www.titaniumtutorial.com/2013/09/audio-recorder-module.html
License: Other
Hi - trying to use internal storage - looking at the Java file it seems like you should be able to just set location = 'internal' - but it's not working. Anything I might be missing?
Hello,
please can you publish new version compatible with 7.0 SDK?
Thanks
Hi Railskarthi, Can you help me point out how to output format WAV? thanks .
Hi,
in my simple app (android 5-.* Nexus5) comes after 'audioRecorder.startRecording' the error message:
02-03 12:01:59.316 203 822 W ServiceManager: Permission failure: android.permission.RECORD_AUDIO from uid=10231 pid=26728
02-03 12:01:59.316 203 822 E MediaRecorderService: Request requires android.permission.RECORD_AUDIO
02-03 12:01:59.316 26728 26749 W System.err: java.lang.RuntimeException: setAudioSource failed.
Here my code snippet:
var audioRecorder = require('titutorial.audiorecorder');
audioRecorder.startRecording({
outputFormat : audioRecorder.OutputFormat_MPEG_4,
audioEncoder : audioRecorder.AudioEncoder_AAC,
directoryName : "recordings",
maxDuration : MAXDURATION,
success : function(e) {
},
error : function(d) {
}
});
Remark:
in my manifest is outside of application the entry:
uses-permission android:name="android.permission.RECORD_AUDIO"/
I found in /system configuration/apps/myApp/permissions an unset checkbox for microphone. After setting I can start the recorder without problems. I think we need a method audioRecorder.hasMicrophonPermission() and an intent to this configuration of app.
Like this:
Intent intent = new Intent();
intent.setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
Uri uri = Uri.fromParts("package", activity.getPackageName(), null);
intent.setData(uri);
context.startActivity(intent);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.