Cordova - Capture photo / video with the same command - android

I'm using Ionic, NGCordova ( http://ngcordova.com/docs/#Capture ) and the Capture plugin, trying to start a new hybrid app. I figured out how to use it to capture a photo, a video, a sound... But I have requirements a bit more complicated in my project.
I would like to be able to switch from photo to video and back inside of the camera view. Here is an example of what I would want to do, from the Wedpics app :
As you can see, on the bottom, there is the possibility to change from pic to vid and back. Also, there is the possibility to choose a pic from the gallery - which is good but no mandatory.
Now, is this possible to do with Capture plugin ? If not, is there another plugin that gives better capabilities ? Or, if there is not, would someone be able to tell me if it's at least doable with a hybrid app ? If yes, I could simply try and make my own plugin for iOS and Android...
Thank you very much ahead !
[EDIT] Okay, there is absolutely no plugin that gives this, surprisingly. It surprises me enough for me to ask, really, if someone that already worked on that type of things could answer this : is it possible to make ? I mean, there could be a problem regarding the returned data, with no way to detect what was returned or something like this, and that would be why no one did it...
If someone can confirm me it's doable, I might give it a try, or look for a freelancer to do it for me !
Thanks again !

Related

Create Pop-Up on camera while touching the camera using React-Native

I'm really new with React-Native and I'm not a front-end developer. That's why I don't know if it's possible to do what I'm asking.
I saw some apps, like Wikitude or NearestWiki, which have like pop ups in the camera while pointing with the camera to something.
I find it pretty amazing. I'm just wondering if it would be possible to make something like that with React-Native, but instead of giving the pop-up direct from backend, permitting that the user could "post" something and that other people that are near can see it with the camera. I mean, the user touch the screen, and can write something and when the post is saved, other people with the same app, can see the post of the first user in that place.
It would be quite funny. But I don't know if that's possible. And if that's possible, I would like to know, how.
Maybe someone knows a library or module that permits something like that. Or maybe someone can tell me how could I search for it, or give me some advice how could I start to write it.
I already solved the geolocation problem, that an user could open his camera, etc... but it remains the core, that the user could touch the screen and add a post, and then show it to other users.
I would be pretty glad if someone can at least tell me where to search.
From my experience of React Native so far I would have avoided it, but it seems there's a few others that think along the same lines. There's a similar question here that has some useful info, though it's a little out of date. A quick google search for "augmented reality react native" will bring up a few handy pages like this one.
Hope that helps, please let me know if you find anything that works!

Best way to make a video merging mobile app

I am looking to make a mobile app that will allow the users to take X number of videos and it will combine them together to make a single video. Users will also be able to choose what to put in between each video recording and background music.
I have more experience with Xamarin/C# than with native Java/Obj-C but the only method I have found online that might accomplish this would be with using native with FFMPEG. Is this the case? Is FFMPEG even going to work for this? Is there a way to use Xamarin to accomplish what I need to do?
Thanks
Have a look at the AVMutableComposition and its related classes.
There's an example here, about halfway down the page: http://www.raywenderlich.com/13418/how-to-play-record-edit-videos-in-ios
It looks like it's covered by Xamarin: http://iosapi.xamarin.com/index.aspx?link=T%3AMonoTouch.AVFoundation.AVMutableComposition

How can I put an image in, magnify and minimize it?

I need to put an png to my application, magnify, minimize and moving it, as in this picture , I don't know if there was a limit or not, I don't know how!
Help please :)
Here's the official photoviewer demo from IO last year to get you started. Or if you'd rather work with an external library check out PhotoView. I believe they both have the functionality you are looking for.

How to apply different live effects to android Camera?

I want to develop a Camera 2 kind of application. So i just wanted to know how to apply live effects to android Camera .Is there any android library for that? plz help me to solve the issue.
thanks in advance....
What have you tried? I assume by live effects you mean shown on the preview.
You can try what the answer here suggested, but any sort of complicated filter implemented in java is going to slow things down. For good performance you'll probably have to write some native code to process the previews. The good news is, if you're writing NDK code you can make use of libraries like OpenCV to do the filtering for you.

Android OS - AMOLED Display Code Development Environment

I am trying to understand the OS code for AMOLED Displays in Andriod. I wanted to know if I can make changes to Android OS code for the display from a given code base, build the OS and test it on any device ? Just want to play around with the code and test it...
If yes, which type of device I need to buy ? Like locked/unlocked and where can I buy them ? Are there any tutorial or links which can help me get started with this ?
I have some experience with Display code development on other platforms but, not on Android.
Any tips and tricks will be highly appreciated.
Thanks in Advance.
Please let me know if any part of the question is vague and needs elaboration.

Categories

Resources