Rtmfp android to android not working

I'm testing a small multiplayer app using rtmfp. The problem is it's not working when testing the app android to android. Only from PC to android device.
After testing a lot I tried using Cirrus. And got it working when I set groupspec.serverChannelEnabled = true. BUT I would prefer not using Cirrus but the rtmfp protocol alone. Here's part of the code:
nc = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatus);
nc.connect("rtmfp:");
//nc.connect("rtmfp://p2p.rtmfp.net/***keyhere***/"); //use cirrus.
function netStatus(event:NetStatusEvent):void{
          switch(event.info.code){
  // The connection attempt succeeded
                    case "NetConnection.Connect.Success":
                              trace("setup group" );
                              setupGroup();
                              break;
                    // The NetGroup is successfully constructed and authorized to function.
                    case "NetGroup.Connect.Success":
                              // Do nothing
                              trace("connect success "+nc.nearID.toString());
                              break;
                    // A new group posting is received
                    // post received
        case "NetGroup.Posting.Notify":
             // post received
                   if (event.info.message.word) {
                               game_mc.okknap_mc.visible=true;
                      writtenWord= event.info.message.word
                       addThisWord(writtenWord);
                              break;
                  // routed message received
        case "NetGroup.SendTo.Notify":
           trace("notify received");
             break;
                    // user joins?
                    case "NetGroup.Neighbor.Connect":
                                trace("user joined "+ event.info.peerID.toString());
                    break;
function setupGroup():void {
          // Create a new Group Specifier object
          var groupspec:GroupSpecifier = new GroupSpecifier("testing");
          // Enable posting
          groupspec.postingEnabled = true;
          // Enable routing
    //groupspec.routingEnabled = true;
          groupspec.ipMulticastMemberUpdatesEnabled = true;
   //groupspec.serverChannelEnabled = true //it works with cirrus when I enable this. If not using cirrus it doesn't work even if this is enabled.
  // Causes the associated NetStream or NetGroup to join the specified IP multicast group and listen to the specified UDP port.
          groupspec.addIPMulticastAddress("225.225.0.1:30303");
          // Constructs a NetGroup on the specified NetConnection object and joins it to the group specified by groupspec.
          group = new NetGroup(nc,groupspec.groupspecWithAuthorizations());
          // Set the NET_STATUS event listener
          group.addEventListener(NetStatusEvent.NET_STATUS,netStatus);
function post2members():void {
var obj:Object = {};
                                        game_mc.okknap_mc.visible=false;
                                        // Set the peerID to a group address suitable for use with the sendToNearest() method.
                                        obj.sender = group.convertPeerIDToGroupAddress(nc.nearID);
                                        obj.word=writtenWord;
                                        obj.id = new Date().time;
                                        // Sends a message to all members of a group.
                                        group.post(obj);

I too have the same problem>>>> somebody help us 

Similar Messages

  • Peer2Peer Android Adobe Air Not Working !!!!!

    Hello All,
    I tried to create a small app for my mobile ( android 2.2.1 ) to chat, the app is not working here is the code :
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" creationComplete="view1_creationCompleteHandler(event)"
            xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView">
        <fx:Script>
            <![CDATA[
                import mx.events.FlexEvent;
                import flash.net.NetConnection;
                import flash.net.NetGroup;
                import flash.net.GroupSpecifier;
                private var nc:NetConnection;
                private var group:NetGroup;
                protected function view1_creationCompleteHandler(event:FlexEvent):void
                    this.title = "P2P Chat App";
                    NativeApplication.nativeApplication.systemIdleMode = SystemIdleMode.KEEP_AWAKE;
                    nc = new NetConnection();
                    nc.addEventListener(NetStatusEvent.NET_STATUS, netStatus);
                    nc.connect('rtmfp://p2p.rtmfp.net', 'key');
                protected function CloseButClick(event:MouseEvent):void
                    NativeApplication.nativeApplication.exit();
                protected function netStatus(event:NetStatusEvent):void
                    trace(event.info.code);
                    switch(event.info.code)
                        case "NetConnection.Connect.Success":
                            setupGroup();
                            break;
                        case "NetGroup.Connect.Success":
                            messages.appendText("Room Connected\n");
                            break;
                        case "NetGroup.Neighbor.Connect":
                            messages.appendText("New Client Connected\n");
                            break;
                        case "NetGroup.Posting.Notify":
                            messages.appendText(event.info.message.message + "\n");
                            break;
                private function setupGroup():void
                    trace(nc.nearID);
                    var groupspec:GroupSpecifier = new GroupSpecifier("myGroup/group0");
                    groupspec.postingEnabled = true;
                    groupspec.ipMulticastMemberUpdatesEnabled = true;
                    group = new NetGroup(nc, groupspec.groupspecWithAuthorizations());
                    group.addEventListener(NetStatusEvent.NET_STATUS,netStatus);
                    topGroup.enabled = true;
                protected function send_message_clickHandler(event:MouseEvent):void
                    var message:Object = new Object();
                    message.message = user_message.text;
                    group.sendToAllNeighbors(message);
                    user_message.text = "";
            ]]>
        </fx:Script>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:layout>
            <s:VerticalLayout gap="5" paddingBottom="5" paddingLeft="5" paddingRight="5" paddingTop="5"/>
        </s:layout>
        <s:HGroup width="100%" verticalAlign="middle" enabled="false" id="topGroup">
            <s:TextInput width="100%" id="user_message"/>
            <s:Button label="Send" id="send_message" click="send_message_clickHandler(event)"/>
        </s:HGroup>
        <s:TextArea id="messages" width="100%" height="100%" editable="false"/>
        <s:Button label="Close" id="close_but" click="CloseButClick(event)"/>
    </s:View>
    and I visited the cc.rtmfp.net and got all greens except the first one : knows public ip address of self

    you say that cc.rtmfp.net shows all green except for "knows IP address of self".  is that the case on both computers that you're trying to do P2P between?  are your two computers actually on the same LAN?  if one is on a wired network and the other is on WiFi, they may not be on the same LAN and may be double-NATted.  if your network topology involves double-NAT and the two computers aren't on the same LAN, AND the outer-most NAT doesn't do hairpinning, P2P communication might not be possible in that configuration.
    if you use the sample 1:1 P2P app, VideoPhoneLabs (link below), can you do P2P between the two computers?  how about on the same computer in two browser windows?
       http://labs.adobe.com/technologies/cirrus/samples/
    if P2P on one computer works but not between two computers, there is probably a NAT or firewall issue going on.  depending on the results from cc.rtmfp.net on both computers, i might be able to deduce what's going on.

  • Android mobile does not work with submit fdf format

    I want to gather data by mobile device (Android) as JavaScript does not work well in this environment, I intend importing the gathered data into a report PDF form with JavaScript functions etc., however the Acrobat mobile reader does not appear to work with the submit function for sending data (FDF format) by E Mail.
    We are using Acrobat XI in most cases to gather this data and this works well, however we are experimenting with mobile options which are very limiting, and therefore we thought by just gathering the data on a mobile device we could import it into our working windows pdf form, our trials using this concept in a windows environment work, but we stumbled once we found that the submit button does not work in the android reader to send the FDF data.
    Does anyone know of a work around?
    Regards Mike

    FormsCentral can be a bit confusing, so I'll try to clarify some things. It allows you to work with two completely different types of forms: web forms and PDF forms. Web forms are HTML forms and are hosted on the FormsCentral server and loaded into and submitted via the user's browser, so web forms do require internet access.
    FormsCentral can also process submissions from PDF forms, and the forms can either originate from Acrobat or the FormsCentral designer, either the desktop app that comes with Acrobat 11 or the browser-based app. The FormsCentral designer allows you to create PDF forms with simple layouts, whereas Acrobat gives you much more flexibility. Designing a PDF form in FormsCentral can be helpful if you want to be able to use the same form for both a web form and a PDF form, allowing to to take advantage of each type at the same time, but you are not limited to PDF forms that are created by the FormsCentral designer.
    Regardless of how the PDF was created, it can be set up to submit the form data to the FormsCentral server, which is done using the same format as a web form. It is done securely using HTTPS. There are certain features that are supported with PDF forms that aren't supported by FormsCentral, but this is usually not a problem. The most significant limitation is the 500 field limitation, so some larger forms aren't possible.
    Once you have a PDF form created in Acrobat, you simply import it into FormsCentral and it gets uploaded to the FormsCentral server, where it is Reader-enabled, a submit button is automatically added, and is then downloaded so you can distribute it by placing it on your web site, sending by email, etc. So unlike web forms, FormsCentral does not host them for you.
    It is possible to use Acrobat to modify the PDF that you download, first by selecting in Acrobat "File > Save a Copy", opening the copy, and making the changes. This is often done to change the submit button (size, location, other properties) of the submit button that gets added. You can then Reader-enable in Acrobat if needed and distribute the form.
    Since it's a normal PDF form that is Reader-enabled, Reader users will be able to open it, fill it in, and save it at any time using Reader for Windows/Mac or Reader for Android/iOS. The latter currently only support submitting via email or to FormsCentral, as opposed to your own web server. Once the user has access to the internet, they can open the form and press the submit button. If the submit is successful, the FormsCentral server returns a response so the user gets some feedback, unlike with email "submits".
    Each submission is automatically stored in the responses table, which you and team members can view at any time. An individual response can be downloaded as a filled-in PDF, or you can download the entire table and import the data into a spreadsheet for further analysis. As mentioned earlier, you can set it up so that you and others can receive an email for each submission, and it can include the form data in the body of the email if wanted.
    Post again if you have any questions, or go to the FormsCentral forum here. The forum is generally very good, but sometimes questions about PDF forms are not answered entirely accurately, so it's sometime helpful to post here too.

  • Download in the Android Market is not working Samsung Captivate

    When trying to download in the market it says it is not found.

    This problem appears to be related to the fairly recent Android Market app update and we continue to investigate the cause. If you go to Settings/Applications/Market and choose Uninstall you can uninstall the update and then you should be able to search for and install Firefox from the marketplace.
    Or, you can check if your phone is supported here:
    https://wiki.mozilla.org/Mobile/Platforms/Android
    and then download the app directly from here:
    http://ftp.mozilla.org/pub/mozilla.org/mobile/releases/4.0b3/android-r7/multi/
    (Note: If your phone is from AT&T, you will have to search for instructions on "sideloading" the APK file, since AT&T disables the option to install from non-Market sources.)

  • Android Flash update not working

    I recently got a Samsung Galaxy Tab 10.1, so the fist thing I did was to see if I could watch online videos on yahoo-it worked. Then all of a sudden it stopped playing flash and also has blue boxes with white question marks in them in place of images. The web page went to links, and would not load anything, and said flash player was not installed but it was. I attempted to uninstall updates, taking to factory installed version which did not work, I ensured javascript on, and plug ins always on. did not work. I have attempted to update and the version only updates to 11.1.111.9 & your site says this androd3.1 system requires 11.2.202.235. The os is Linux 2.6.36.3 (32bit), with browser safari. I have wasted hours trying to get to work, even trying firefox, but also uninstalled that. any help would be much appreciated. thanks

    I don't have one of these devices so I can't check myself.  Did you change the OS to Linux?
    Chris

  • Android App does not work for me

    Hello:
    I have an Android Tablet with 2.3.3 version.
    The tablet has flash player 10.1 and  Adobe Air 3.0 installed.
    I have made a simple apk in flash CS5.5 iwith Adobe Air SDK 3.1.
    The application only has a frame with a "Welcome" label.
    When I install the application in the tablet is OK but when I run it I have no error only a black screen,
    Can you help me to solve this, Please?
    thank you very much.

    The device I run from is Android 4.1.  It does work but the screen ratio is wrong.  Not slating BT.  The app is brilliant but want to watch in full 16:9.  I think it's a slight oversite on there part which can be easily fixed.
    My device connects to the TV via HDMI so I suspect the BT sports apps does not recognise this and plays it in 4:3 left justified.
    Live screen shot courtesy of the BT Sport App.
    Playing stream before going full screen and preview stream is 16:9
    Playing full screen and ratio is 4:3

  • Air For Android - Full Screen not working

    Opened CS5.5 > Chose "Air For Android" which gave me a stage dimension of 480x800 default. I then created my app.
    I am using a Droid Bionic and testing my app on it. It will not go to full screen, regardless of how I am holding the Droid. When publishing, I clicked "Full Screen" and Portrait, Landscape, Auto Orientation, etc. I tried all of the publishing options, yet still there is white screen on the eastern and southern side of the screen.
    I have a picture on the main screen, and it fits perfectly within the 480x800 dimmensions when playing in Flash. After publishing to an APK file and testing it on Droid, I have that white space as mentioned, as if the stage size grew larger than the picture / app. I also shrank the stage(480x800) dimensions to to (340x600) , but still the same amount of white space. When I move the picture to the right a bit, and publish, it shows the white space on the left hand side of the stage. This can only mean that when I publish, the stage size grows but everything on the stage stays the same. 
    Any ideas?
    Thanks!

    I removed:
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    from AS3 and it works better. Now there is even white space on the north and south side of the screen. Clicking "Full Screen" in the publish settings, makes a little more white space, which is weird. It as if now the stage is expanding its height, rather than its height and width due to me using the above code. Still, would like to get rid of that extra white space.
    Edit: It looks like the stage height grew by 60. If I expand the picture by 60, placing it on the stage at 0x and -30y, it fits fine on the bionic. I don't understand why this is happening, and scared that it may be different for each device.

  • TS4337 My android 3 is not working with iCloud.  I've tried EVERY setting imaginable.  Any new information?

    Today is June 30th and I've transferred my MobileMe to iCloud.  Problems with my email folders appearing in iCloud but not on my computer email. Also, I have an Android 3 and am very happy with this phone.  My problem is I'm no longer receiving my mac/me.com email messages or ICal schedules which I had before set up through my gmail account. I've tried every setting suggested on line on my phone - still coming up with either username/password error messages or smtp connection error.  Ive' tired smtp.me.com and smtp.mail.me.com - neither work.  Please HELP!

    I recently got the ICS update for my Razr and my me.com email stopped working. I found this article (http://www.wowtechy.com/how-easily-setup-icloud-email-android-running-ics/ ) and now my me.com email acoount works.
    Hope it helps you.

  • HT4864 My android 3 is not working with iCloud.  I've tried EVERY setting imaginable.  Any new information?

    Today is June 30th and I've transferred my MobileMe to iCloud.  Problems with my email folders appearing in iCloud but not on my computer email. Also, I have an Android 3 and am very happy with this phone.  My problem is I'm no longer receiving my mac/me.com email messages or ICal schedules which I had before set up through my gmail account. I've tried every setting suggested on line on my phone - still coming up with either username/password error messages or smtp connection error.  Ive' tired smtp.me.com and smtp.mail.me.com - neither work.  Please HELP!

    I recently got the ICS update for my Razr and my me.com email stopped working. I found this article (http://www.wowtechy.com/how-easily-setup-icloud-email-android-running-ics/ ) and now my me.com email acoount works.
    Hope it helps you.

  • Android File Transfer not working with MAC OSX 10.9.5

    I have a Kurio Extreme for my child, and I have downloaded and used Android File Transfer in the past. Recently two things have changed. My OS, and the Kurio tablet. I attempted to use it today, and the device is not recognized.
    I reached out to the Kurio Helpdesk and they state that the issue is either with the OS software or AFT. I have removed AFT, rebooted the computer, downloaded it again, all to no avail.
    Any ideas on how to fix this issue?

    This problem could arise if you have installed Kies. What it does is, it installs drivers which is not compatible with android file transfer app.
    Now the solution for this problem is properly uninstall kids from your mac, to do this follow the steps:
    1. Check the security and privacy settings in your system preference whether the settings for "Allow apps download from" to "Anywhere" (to set this first click the lock button on the left of your screen by entering your password, this will enable the option to be changed)
    2. After you are done with the first step open the kies installation file (file that is used to install kies, if you have deleted the file, download it again) open the file there you will find an option "uninstall". Click and follow the instruction.
    3. When you have successfully deleted the app, restart your mac.
    4. Install Android file transfer app if you haven't done it yet.
    5. Connect your android device
    6. BANG! It will work just fine. Hope it helps!!

  • Captivate 6/Android HTML5 - Sound not working

    The default captivate output for HTML5 works with audio for iPad, but not for Google Nexus 7 with Android 4.1.
    Using the Nexus 7, my slide audio will not play at first with the console error:
    StAd1 /members/ERISK_content/ERISK_1_1_1/ar/StAd0.mp3 gotStuck @0
    But, if I Pause the project for a while and then play it again, it works fine. The audio will not eventually load if I simply let it play - It needs to be paused before it loads. Does anyone know what is going on?

    Go take a look at this page with your Android browser:
    http://www.jplayer.org/HTML5.Audio.Support/
    If this page shows your browser does not support the <audio> tag, Audio() object, or MP3 then you are currently sunk and this issue is NOT Adobe or Captivate's fault.
    HTML5 is quite frankly a nightmare to support at the moment because everyone seems to somehow expect it to be as good or better than Flash SWF output, even though the browsers across this new landscape are a dogs breakfast of incompatibilities.
    Bottom line: If you are planning to try and use HTML5 output from Captivate, TEST, TEST, TEST, TEST, in ALL browsers used by your target audience BEFORE you promise anybody anything.
    UPDATE: Here's another good link for testing purposes:
    http://html5test.com/

  • Dial Pad Auto-complete feature in Android 4.3 not working.

    Hi! 
    I've been using Xperia devices for quite a long time and I just got myself the new Z1. I've updated it to Jelly Bean 4.3 OTA using Update Centre on the phone. According to the release there is an improved Dial pad auto-complete feature but I can't seem to see it work like it used to on my previous Xperia devices. The numbers I type in only shows up names of people whose phone number have the typed in numbers. But with my previous Xperia devices I could type in '323' and get 'Dad' as suggestion. Has this feature been removed from the new update?
    Hope you guys can help me find a solution to that without having to install third-party apps.
    Thanks!
    Sony Xperia Z1
    Android 4.3 Jelly Bean
    14.2.A.0.290

    I would love to have a solution to that too, seeing the 4.3 update for my Xperia V has the same crippling issue. It's no longer possible to type in "letters" into the dialer and find corresponding names, and as an inferior option there is no dial auto-complete option anywhere either.

  • Firefox for Android: search/address not working

    I just put firefox on my new phone and I found that the search/address bar almost always considers one word searches to be an address, see pic: http://i.imgur.com/1dpIH2L.png (very annoying by the way)
    is there any way to make it properly recognize one word entries as searches, or change it so that it only functions as a search bar?
    And instead of making a 2nd post, is there any way to disable address autocomplete? I can deal with it if not but I just find it distracting.

    Hi,
    What version of Firefox for Android are you using?

  • Adobe AIR for Android as3 codes not working for this one project

    I'm trying to use Accelerometer in my flash game, which works for every other project I'm working on, but for some reason on this one project if I try using it I get errors, using the same code i've used before, such as this. 
    1046: Type was not found or was not a compile-time constant: Accelerometer.
    1180: Call to a possibly undefined method Accelerometer. 
    This is a fairly old file, not that old, so are there files I need to add to it to get it to work, or settings I need to change? This is very frustrating, I don't know what the problem possibly could be. Can anybody help me?

    The error message is indicating it cannot find the class.  Make sure you are importing it:
         import flash.sensors.Accelerometer;

  • AIR 3.3 + CameraUI + Android 4.1 not working

    Whats the catch here...
    Using Nexus S with Android 4.1
    Air 3.30.3650 and CameraUI from same AIR SDK (in FP cs6)...
    getting a error: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="ioError" errorID=2038]
    Also testing Tour de flex, CameraUI wont appear there either.
    Any ideas ?

    No one , anyone ?
    EDIT: Also tested with air 3.4b (runtime and sdk) but those wont trigger cameraui either...
    Bug reported: https://bugbase.adobe.com/index.cfm?event=bug&id=3306444

  • Adobe air 3.6 for android video camera not work!

    1. air 3.6
    2. andorid 4.1
    3. sumsung note2
    code:
    var cam:Camera = Camera.getCamera();
    var video:Video = new Video();
        video.smoothing = true;
        video.width = videoDisplay.width;
        video.height = videoDisplay.height;
        videoDisplay.addChild(video);
        video.attachCamera(emMaster.camera);
    video camera ok!,but when device rotate,video turn to black
    air 3.7 beta , video is black anyway
    air 3.5 also has a bug , someone mention before
    air version < 3.5,seems work fine
    anyone met this problem ,has any solution,please help me ,thanks!

    Could you please open a new bug report on this over at bugbase.adobe.com?  When adding the bug, please include sample code or an application so we can quickly test this out internally.  If you'd like to keep this private, feel free to email the attachment to me directly ([email protected]). 
    Once added, please post back with the URL so that others affected can add their comments and votes.
    Thanks,
    Chris

Maybe you are looking for

  • Certain buttons on certain websites do not work

    There should be a break - a choice - after I've been asked whether or not I want to update Firefox and then Updater tells me that certain add-ons will not work THEN I should be given a choice whether or not I want to continue. I had to remove Firefox

  • RAW support for Canon EOS 70D in Lightroom 4.

    I have LR 4 and now I have bought a Canon 70D.  Lightroom said it was unable to interpret the RAW files and directed me to get an update.  I have updated to 4.4 and still have the same problem.  How can I get my RAW files into Lightroom 4?

  • Certificate problem / STRUST

    Hi everybody I tired to setup a HTTPs connection. Therefore I maintain a HTTP destination (Type G) under SM59. Under STRUST I imported the certificate. I expected now to be able to assign the certificate under SM59 to my HTTP connection under SSL Cli

  • Column Text in Tree

    How to change the column text in a tree? when the column length is very small, it should show the Heading from the Data Element.As the column length increases, column header should be Short Label,Medium Label,and long field label??

  • Export problem with WMV

    Why is it when i try to export a 1 minute movie in WMV format it only exports the first 30 seconds but if i do it in Quicktime it gets the whole thing?