Communication between two apps in Android - android

I have a question regarding the communication between two apps in Android. Below is my question,
Let's say I'm watching a video using any mobile browser or a native android app. Firstly, Can I Use something like an snipping tool (or an alternative tool) to crop a persons face in the video (and this should not send my video running application to background)? and Secondly, Can I send the cropped image to another native android app (my own created app) running in the background?
Is this possible, please let me know.

First of all you need to download the video you are watching and then you can edit/crop video but while editing your video player app will go in back ground.
And yes you can definately share video with other app, for that you ca nuse MediaStore class.
http://developer.android.com/reference/android/provider/MediaStore.html

Related

Making an app like Udacity - How to host video files?

I'm building an Android app that works similar to Udacity app.
My requirements
All my videos should only be viewed via the app.
I will be using my own video player inside the app, and I want the
option to choose quality of video (Like in YouTube app)
Offline download option
Considering these requirements, how would I want to host the videos?
I'm familiar with the Android app side of things, but the rest I know nothing.
Did 3 hours of googling before posting this question here, and found out udemy is using AWS and Brightcove.
Can anybody explain the procedure of hosting and encoding videos for my requirements.
Firstly, big organizations like Udemy, Coursera and Udacity design and develop their own video encoding tool to show in the application. Udacity, for instance, has two modes - YouTube and their own player which the user can set based on their preference.
You can't develop your own codec or player in a jiffy, it needs a lot of dedication and more work which one person cannot develop in days.
For your query, you can use ExoPlayer, YouTube Embed, Vimeo Player, related kinds of open source or publically available players.

Voice recordering in Android web view app using Cordova

I am trying to open my web page as Android app. I want to add voice recording functionality using phone microphone in my web app. When a link on web app page is clicked it should start recording and save the recorded file.
After searching its possibility, i came up with "Cordova". But still not able to make it.
Thanks in advance.
I've got a solution for this issue. Web page can be opened in an iFrame and then it can communicate with the app.
Refer example below for using Camera of the device.
[http://hackerluddite.wordpress.com/2012/04/15/getting-access-to-a-phones-camera-from-a-web-page/][1]
It works...:)

Android : Build a video

I'm trying to develop an app on Android and I would like to know if it's possible to build a video with photos.
I actually have several pictures (Bitmap), and I would like to create a video (programmatically) by animating these pictures I have. At the end, I would have a video file..
Is that even possible?
Yes it is definitely possible in android and can be achieved in two ways.
First and most common one, that most of the apps in android follow is to let users select certain images and then upload them to a server where you can use any video maker tool to create your desired slideshow and then send the video back to user's phone by provide a download link.
Second method is to create the video locally on the device which would require a native library like ffmpeg compiled for android which provides basic functionality of creating video but it doesn't provide any way to apply transition effects between images for that you can use another library ImageMagick. you need to have knowledge about NDK for this
follow this links for more details on how to import native lib in android

Webcam Live Broadcast android

Yesterday when I was searching for different kinds of apps in Google Play, I found several apps that broadcast live camera feed from the mobile. I made some research like what would be the concept. But could not find many details. Can anyone briefly give some idea? I want to try the same concept in one of my apps.
Ref: https://play.google.com/store/apps/details?id=com.pas.webcam
Check out this Google code project for android ip camera, it used nanoHttpd server for streaming video in android device
http://code.google.com/p/ipcamera-for-android/
download source and try it

Generic Android image upload app (like Picup for Iphone)

I am looking for a way to upload pictures from an HTML5 app on Android (so no Java, no Phonegap, no Titanium etc. ... if possible).
On iOS there is a generic picture upload app called PicUp. You prepare a website in a special way, this website will open picup, picup will handle the file upload for you and then you proceed surfing on the website. Pretty seemless process from the user's point of view.
Now I am looking for a way how to do it on Android.
I already read that as from Android 2.2. the Android OS can handle file uploads and there is nothing to do. But what can I offer people having Android 2.1 and below?
P.S. Here's a video on how the "picup" way looks like in case you are interested:
http://picupapp.com/

Categories

Resources