Nativescript record audio - audio

I am searching for a solution to record audio and save the file on the device. I am building my app with Nativescript for IOS and Android, but i can not seem to find any documentation about recording audio only. Does Nativescript have this? Or would it be wise to build native apps for IOS and Android?

This plugin was recently finished to include iOS support: https://www.npmjs.com/package/nativescript-audio
If you have any issues the repo is here: https://github.com/bradmartin/nativescript-audio
You can record audio and play back audio files via URL or locally.

Related

Writing Plugins for Linux in Flutter documentation/tutorial (Trying to write Desktop Camera Plugin)

I am trying to create Flutter desktop application that can access webcam on desktop (Windows/Linux). It seems like there is no Flutter plugin that support camera for desktop.
Is there any documentation or tutorial about how to write Plugins for Linux/Windows in Flutter?
While the main Flutter documentation on plugins doesn't yet cover writing desktop plugins (since desktop support is still in alpha) there is an Flutter desktop codelab that includes a section on writing plugins
The plugin APIs themselves also have header documentation if you're looking for more detailed information about using the APIs.
(A camera plugin in particular will for Linux and Windows will run into the problem that there isn't yet Texture support for those platforms, so there's no good way to show the live camera view inline; you'd have to do something like display it in another window for now. However, there is work in progress at the time of this answer to provide preliminary support for Texture on both platforms.)

installing the barcode scanner plugin for iOS phonegap

I'm looking to install the the phonegap barcode scanner plugin but I'm not quite sure where to start. I have already coded an app on the android using the same plugin so I'm looking to port this same app over to iOS. I was following a very easy tutorial for the android version so it was all straightforward and most of the hard work was done for me. But for the iOS version, it's not quite the same case.
Can I get some help confirming if my steps are correct? Also, since this plugin supports both android and iOS, my app should have no problem being ported correct?
right now, I'm thinking of doing the following:
1.http://wiki.phonegap.com/w/page/39991939/Getting%20Started%20with%20PhoneGap%20iOS%20using%20Xcode%204
this would get a template app running for the iOS
2.follow the install plugins direction on the github page
3.import main.js and index.html from my android code
4.success
is it as simple as I've described it? Am I missing something?

Phonegap - UrbanAirship - Blackberry Mobile Push Notifications

We've been very happy with UrbanAirship on iOS and Android but not on Blackberry. After spending over 100 hours and blowing our estimates we have been unable to get UrbanAirship to work with Phonegap on the Blackberry.
Using Eclipse, BlackBerry webworks SDK, and Phonegap 1.0 (can't use > 1.0 on BB). We got the information from UA’s sample app (https://github.com/urbanairship/bb-push-sample-os5) for the push integration. Then the Phonegap plugin from here (http://wiki.phonegap.com/w/page/35799737/How To Create a PhoneGap Plugin for BlackBerry WebWorks).
The UA sample code was distilled down to what was needed (eliminate special UI, temporary storage, etc) and then shoehorned into the Phonegap plugin structure. Had success calling the plugin from our javascript files (in doing so executing methods in the java plugin, and those hitting the BB core). Failure comes trying to get the plugin to act as an event listener for push notifications.
UrbanAirship has been great in helping us out but is unwilling/unable to provide a Phonegap plugin that works with BlackBerry.
Any help would be greatly appreciated.

Can I test my apps on a first generation iPod Touch using Xcode 4?

Hi I have an app that supports iOS 3 however I've only ever tested it on an iPhone 4 (very bad practice I know). Lately in my updates people have been emailing me that my app is crashing on their older device, still running iOS 3. I am clearly including features only available in iOS 4 SDK but I can't find where they are in my code.
So to fix this I bought a first generation iPod touch from ebay (which I haven't received yet). Will I be able to build and run my app on this iPod touch or do I need to locate an older version of Xcode and the iPhone sdk (i.e Xcode 3.2.2) and build it using that?
If you haven't used any iOS 4+ specific APIs, you can test your apps on the iPod touch using Xcode 4.

RTSP Streaming on ios 4.0?

I am working on an application that runs the live video taken from the server and play it on iphone os4.0 . When I run the application on iOS 4.0,, after few seconds it gets paused, even if i play it it wont work any more.
I tried a lot but it doesn't worked. But it is clearly stated in iOS 4.0 documentation that iOS 4.0 supports rtsp streaming. Can anybody has any idea about it?
"Also, HTTP Live Streaming is supported in Safari and the media player framework on iOS. RTSP streaming is not supported."
That's from the FAQ in the HTTP Live Streaming Overview in the iOS 4.1 docs. RTSP is explicitly not supported. I've seen it done on iOS - in VLC, for example - but no, it's definitely not supported natively.

Resources