Send video file from Android to desktop in AIR? - android

I'm building a mobile AIR application that connects to my desktop AIR application.
In the mobile application, I'm recording video with my Android device with flash.media.CameraUI.
This works perfectly, but now I'd like to send this file to my desktop application so I can do stuff with it. I've got a server written in AS3 running on my desktop (the application itself) listening to AMF messages on a certain port. I can send data through sockets, I've already tested it with accelerometer data, so that's not the issue.
What would be the best way to send video to my desktop AIR app? I've tried multiple things already; serializing using registerClassAlias, ByteArrays, ...
Any help is much appreciated, or just a push in the right direction to get me started. Thanks!

Have you tried running a socket server on the desktop app and connecting to it from the phone, then send using a socket, writing and reading bytes?
J

Just asked my teacher. He said I needed a way to upload it, so my PHP solution IS the best way to do it. Thanks anyway, Zárate.

Related

Recording Video via webcam on webpage and saving it to server

I want to develop a web application where the user can access the webpage and record a video message , and that video message gets saved on the server. The trick is that it must be accessible via any mobile device.
I know there are answers out there like this:
Video Recording with webcam on a webpage
but it does not encompass all devices. I was thinking of using angular JS but it should work on Microsoft windows phone 8/10, android and ios. That is the tricky part.
The solutions I have researched all requires FF or Chrome and neither IOS or Windows mobile comes standard with those. I want to avoid flash as well.
Many thanks.

Android Xmodem file transfer over Bluetooth

Im building an android app to send files to my device over bluetooth. This sounds simple enough, however the device can only receive data with the XMODEM file transfer protocol.
After extensive searching, I have not found any useful resources or examples of this working
My question is: has anyone ever successfully sent files over bluetooth with and android using XMODEM ftp?
Thanks!

Android app connect with Windows app on my desktop

I am trying to develop a Windows Desktop app similar to Task Manager which can monitor my PC with Visual Studio Express. Now I want to develop one app for my Android phone with which I can connect to this Windows App from anywhere and see some of the graphs and little info (light weight) on my phone in a secure way.
What tools do I need on my desktop and Android phone to develop the app. How can I develop and connect it? If you can help me it will be great.
Thanks.
Probably the easier way for you to do this is to create a server application which both your apps connect to which will need to be on the internet or on a network where both have access to it. The desktop app would be sending its' information and the phone application would be requesting that information. As for what the server needs to be, that is agnostic, however using REST or Websockets (More ideal but a bit harder to work with) for communication would probably be ideal.
To get started I would suggest looking up a tutorial where you do API requests to a server (On either Android or Windows Store Apps). Then look at building your own server application to distribute your own API.
I hope this helps.

flash app converted to native iphone/android/windows phone?

I need some advice please, I once made an app for iphone with flash builder. I didn't submit it to apple but got it on an iphone. I was wondering if this is something that can be done as I don't want to re learn xcode, and have zero interest in android and windows mobile...
I have client that wants me to build a radio streaming app (the same app on three platforms).
also wondering if i should use node.js for the backend as i can already connect flash or use something like this http://www.streamsolution.net/it/streaming/audio/ ?
I also would be fine with js in the app if that is viable? what do you think i my best solution?
On one hand I am worried about load balancing lots of listeners on node.js and on the other I'm not sure about these phones and how the deal with both flash apps and streaming?
Wize words?

Speech to text on emulator

I am developing an app that converts speech to text, however, it appears that the
Emulator doesn't have a microphone feature from what I researched on the forums.
I have android phone, and can run it on the phone phone.
But is there any way to get speech from the telephone, and run application on emulator, because I want to develop my app on higher api than my phone.
This is not a perfect answer, but there is a great community out there for flashing ROMs on to your phone, and putting a newer version of android onto it. One of the most common ones is CyanogenMod, and I would suggest seeing if there is a ROM available for your specific phone model.
This may be a little involved but you could try writing a socket server that would run on the emulator while creating a socket client that runs on the physical phone. The phone would capture the audio and send it via socket stream to the server which would make it available to your app via an interface. The hidden benefit here would be that your app would bind to an interface rather than a concrete class which would make altering the source of the incoming audio more flexible. The socket server may sound like a lot but it's not too difficult, I've written such a socket server for desktop to device communication and it feels difficult until you realize how to properly read/close your streams.

Categories

Resources