How to make P2P apps without a server? RTFM… no RTMFP.

I recently gave a talk to the Chicago Flex User Group, and incidentally the LA user group. That last was quite unexpected, and simulcast as I gave the talk.

I spoke about RTMFP on mobile devices and computers using Adobe AIR and a local network to form a Peer To Peer network without a server.

I have the slides posted up on Slideshare, and the audio is here if you care to take a listen.

How to make P2P apps without a server? RTFM… no RTMFP.

View more presentations from vandermore

Air for Android, a question of orientation.

So I’m working on AIR for Android lately with both my G2 and my Motorola Xoom, using Flex Builder 4.5. Some of you might know that I am getting them to talk together with RTMFP.

I have them talking, but the application that I am working on I need to start and stay in landscape format. So the obvious question is:

How do you do that?

Turns out the answer is easy, and I thought I would share.

In the applicationName-app.xml are settings for your AIR app. You need to change the autoOrients to “false” and the aspectRatio to “landscape” or “portrait”, depending on your needs.

If you haven’t ever taken a look at applicationName-app.xml then you really need to. It has lots of goodies there. This assumes that you are using Flex Builder, if you are coding with other editors or a text editor then you probably had to create it yourself.

That actually all you need to do!

As a side note, if your application tries to listen for the StageOrientationEvent.ORIENTATION_CHANGE event, and you have the autoOrients set to “false” then the event will never fire.

Communication, the podcast – RTMFP and Flash

I talk about RTMFP, the Real Time Media Flow Protocol, and it’s use in Flash and mobile applications.

%d bloggers like this: