Questions BB10 NFC P2P/SNEP (ping: mwoolley / jomurray)

Hi Martin, Jo and all.

I'm doing some research development trying to validation of data transfer between an Android (Galaxy Nexus - 4.0.1) device and the Alpha of Dev BB10 via NFC P2P/SNEP.  I grabbed your NfcTool and was able to transfer a vCard from the Alpha to the Android smoothly - vCard mailing (SNEP) running in the results of the tool in the Nexus receiving the vCard and saving it as a contact.  It's the other way I have problems with...

I created a new task in the NfcTool by the framework of the task of duplicating sending vCard, stripping out and giving me a sandbox to play in.  On the side of Android, I wrote a trivial little activity to use the

setNdefPushMessageCallback() method to send a TNF_WELL_KNOWN RTD_URI message.

In my NfcWorker: prepareToTestSnep() I called him nfc_register_ndef_push(), and in my::handleTestSnepEvent() NfcWorker I get successfully NFC_NDEF_PUSH_EVENT code every time I put the devices back to back and touch the screen of the Android.

The problem is, as far as I know, there is no method of support on the side of the operation of the SNEP (!) reading.

The call to nfc_get_ndef_message_count() in parseNdefMessage() returns 0, so there seems to be no messages actually receive at this point, without doing anything else... I don't know what method to call or what to do to receive the message of the Android.

As far as I know, the call of nfc_register_ndef_push() only lets you configure to be able to do a nfc_create_ndef_message() to send, but is not the right thing to you set up to make a reception.

Can someone please shed some light on how the side reception of the SNEP transaction is performed on BB10 or if it's even possible yet?

I've tried everything I can think, swim around in that time service of NFC platform without papers, without success.  I've implemented nfc_register_ndef_reader(), nfc_register_tag_readerwriter(), nfc_llcp_register_connection_listener(), but no matter what, I get only the NFC_NDEF_PUSH_EVENT code when devices are in the range, and it seems there is no way to receive the data.

Please inform me!  Thank you!

Ryan

Hey once again Martin,

I really appreciate the effort you spent on another tool tests and writing / confirming the SNEP feature in the Dev Alpha.  Your confirmation it works gave me encouragement to continue trying to get this to work - and I finally did!  As a result, I have some great results to share:

The problem was not with the format of the URI registration, which was quite valid (TNF type 1, completely adhering to the definition of the Type of folder URI NFC Forum RTD - URI 1.0).  Has not solved the problem by trying a text record type instead.  The problem did not manifest itself between two Android Galaxy Nexus, who had no problem exchanging URI, text documents, etc.

The problem was this: the NFC on my Dev Alpha does NOT work correctly when the device is connected to the computer via USB!

It is a conclusion that is always reproducible.  When I reboot the Dev Alpha and never connect it to the computer, I can run the NFCTool and read properly URI valid TNF_WELL_KNOWN and text documents sent from the Android device.  If at any time I connect it to the computer, this feature stops working entirely and will resume only if I turned the unit off and it reboot again without connection to the computer.  I can't just unplug it without restarting, because it does not address the issue.

Well, then!  Is this a known fault?  This documented anywhere?  Is this a fault with all Alphas Dev or just that we received?  Y at - it solution to address the State of the NFC system without requiring the long reboot of the device?  I'm really intrigued to hear what you / RIM have to say about it.

I'm not happy all the time lost to spin my wheels with a configuration that was destined to never function properly... but on the other hand, I am incredibly relieved that I figured out the problems and can begin to move forward with development.  I hope that others can benefit from my troubles!

Thanks for your help Martin - I'm happy just having someone to keep with me through this fiasco.  Ciao for now.

Ryan

Tags: BlackBerry Developers

Similar Questions

  • Runtime Android and model question BB10

    Hello

    I have an Android app that works very well on the Blackberry Playbook.

    According to the value of Build.MODEL to the Android SDK, I display a message to the user about the model of the device.

    For Blackberry Playbook, Build.MODEL returns "BlackBerry Runtime for Android applications".

    At the moment, I have trouble running BB10 Simulator to check what is the value returned by BB10 device so that I can display the appropriate message.

    Does anyone know what Build.MODEL returns Blackberry 10? Is this the same as on the Playbook?

    Thank you.

    Katerina

    In my alpha dev machine, I get '10 Dev Alpha' when I get the Build.MODEL

  • Application VPN ping problem

    I installed a vpn for access to HVAC equipment suppliers.

    The profile is RCPS_Vendor

    DHCP pool is RCPS_Vendor

    Finished outdoor int

    Here are the steps I took:

    remote access, outside of the--> psk (password), RCPS_Vendors-> authentic local name-> Hoff_Vendor (password)-> RCPS_Vendors 192.168.10.2-192.168.10.128->10.1.252.101/103->3DES SHA 2-> 3DES SHA->10.0.0.0/8 en split tunnel

    from: http://www.cisco.com/en/US/docs/security/asa/asa71/getting_started/asa5500/quick/guide/rem_acc.html

    The question is the seller has ping internal unit, and its program does not connect to units.

    Updated the attached config.

    Thanks in advance.

    All receivers are a section of the ASA, so could you put this static route on each of these units. That would point to the inside interface on the ASA. The ASA would use its default route to send traffic to the VPN clients.

    If the receivers are further inside your network and you are using a dynamic routing protocol, you can redistribute the static route to 192.168.10.0/24 on the next (from ASA) inside your network hop router so that the internal units default gateways to know where to send the traffic destined to 192.168.10.0/24.

    Since your remote clients are sending traffic in VPN tunnels I don't think you need to add an ACL on the ASA to allow specific traffic from VPN clients for the receivers.

  • Block P2P software using the ASA-AIP-SSM-20 module

    Hello

    I have a question about blocking P2P traffic on ASA AIP module. I've searched the forums and all I could find were solutions using regex, port block, MPF, but no example of implementation of AIP.

    Could someone point me in the right direction please?

    Thank you very much

    Martin

    Hello

    You can find all the associated p2p signatures in:

    http://Tools.Cisco.com/Security/Center/home.x

    A search using Signatures, p2p, all. Then, you can set the respective signatures to your needs.

    SPSP

  • fall of site to site vpn icmp packets

    Hello

    I test site to site vpn between ASA and cisco router with GNS3, topology is base the tunnel is up but the question when the remote host ping from both sides it is drops icmp, see router command and ASA do not include droppings. Here is a sample output from ping when I try to remote client ping. any help is appreciated :)

    Instant topology is attached, also configs

    Thank you

    84 bytes from 10.20.20.5 icmp_seq = 59 ttl = 63 times = 79,004 ms
    10.20.20.5 icmp_seq = timeout 60
    84 bytes from 10.20.20.5 icmp_seq = 61 = ttl 63 times = 70,004 ms
    10.20.20.5 icmp_seq = timeout 62
    84 bytes from 10.20.20.5 icmp_seq = ttl 63 time = 63 = 59,004 ms
    10.20.20.5 icmp_seq = 64 timeout
    84 bytes from 10.20.20.5 icmp_seq = 65 = ttl 63 times = 50,003 ms
    10.20.20.5 icmp_seq = timeout 66
    84 bytes from 10.20.20.5 icmp_seq = 67 ttl = 63 times = 59,003 ms
    10.20.20.5 icmp_seq = timeout 68
    84 bytes from 10.20.20.5 icmp_seq = 69 = ttl 63 times = 50,003 ms
    10.20.20.5 icmp_seq = timeout 70
    84 bytes from 10.20.20.5 icmp_seq = 71 ttl = 63 times = 58,003 ms
    10.20.20.5 icmp_seq = timeout 72
    84 bytes from 10.20.20.5 icmp_seq = 73 = ttl 63 times = 50,003 ms
    10.20.20.5 icmp_seq = timeout 74
    84 bytes from 10.20.20.5 icmp_seq = 75 ttl = 63 times = 69,004 ms
    10.20.20.5 icmp_seq = timeout 76
    84 bytes from 10.20.20.5 icmp_seq = 77 ttl = 63 times = 237,013 ms
    10.20.20.5 icmp_seq = timeout 78

    R1 ipsec crypto #sh her

    Interface: FastEthernet0/0
    Tag crypto map: map, local addr 100.100.100.2

    protégé of the vrf: (none)
    local ident (addr, mask, prot, port): (10.20.20.0/255.255.255.0/0/0)
    Remote ident (addr, mask, prot, port): (10.20.10.0/255.255.255.0/0/0)
    current_peer 100.100.100.1 port 500
    LICENCE, flags is {origin_is_acl},
    #pkts program: 14, #pkts encrypt: 14, #pkts digest: 14
    decaps #pkts: 28, #pkts decrypt: 28, #pkts check: 28
    compressed #pkts: 0, unzipped #pkts: 0
    #pkts uncompressed: 0, #pkts compr. has failed: 0
    #pkts not unpacked: 0, #pkts decompress failed: 0
    Errors #send 0, #recv 0 errors

    ciscoasa # sh crypto isakmp stats

    Global statistics IKEv1
    The active Tunnels: 1
    Previous Tunnels: 1
    In bytes: 1384
    In the packages: 12
    In packs of fall: 0
    In Notifys: 8
    In the constituencies of P2: 0
    In P2 invalid Exchange: 0
    In P2 Exchange rejects: 0
    Requests for removal in his P2: 0
    Bytes: 1576
    Packet: 13
    Fall packages: 0
    NOTIFYs out: 16
    Exchanges of P2: 1
    The Invalides Exchange P2: 0
    Exchange of P2 rejects: 0
    Requests to remove on P2 Sa: 0
    Tunnels of the initiator: 1
    Initiator fails: 0
    Answering machine fails: 0
    Ability system breaks down: 0
    AUTH failed: 0
    Decrypt failed: 0
    Valid hash fails: 0
    No failure his: 0

    Hello

    On router R1, you gave the default route as output interface. Instead of using the output interface replace the IP address of the next hop. It will solve the issue of the reduction of ping.

    IP route 0.0.0.0 0.0.0.0 FastEthernet0/0

    IP route 0.0.0.0 0.0.0.0 100.100.100.1

    HTH

    "Please note the useful messages and mark the correct answer if it solves the problem."

  • Error in DGMGRL > see Configuring

    Primary database: open State

    First aid: read-only

    Second reserve: read-only.

    Now when I run see the DGMGRL command projection is as follows.

    DGMGRL > see Configuring

    Configuration - Dataguard_DGTEST

    Protection mode: MaxPerformance

    Databases:

    DG_P - primary

    Error: ORA-16810: multiple errors or warnings found for the database

    DG_D - physical of the standby database

    Error: ORA-12518: TNS:listener could not hand off client connection

    DG_H - physical of the standby database

    Error: ORA-12514: TNS:listener does not know now of immediate service

    d connect descriptor

    Fast-Start Failover: DISABLED

    The configuration status:

    ERROR

    Hi all, question deleted. The tns ping was fine and there was no problem with the earpiece or the tns. The value of the parameter initialization process was less. I discovered the alert in the alert log and it increased to 1000. Then I restarted the database and now it was working fine. Thank you.

  • 7 Pro VM fusion for VM network communication problems

    I have a strange problem that I can't understand. My host system is a Macbook Pro with OSx 10.9.4. I have two machines 2012R2 comment server.

    Scenario 1: The two VMS are defined to use bridged network, both get good IP from my router and able to reach internet, etc. I can ping other physical computers on the network. It is cannot ping each other.

    Scenario 2: Two VMS are defined to use the host network only, both get IP on the same subnet and appropriate. The question is not one can ping each other.

    Scenario 3: Virtual machines are set to use NAT, both get appropriate IP and on the same subnet, both can access the internet. Neither one can ping each other.

    Basically, comments of host communication works very well with any network set up, but guest to guest does not. I tried to restart my Mac and reinstall Fusion 7 several times, no luck,

    Any suggestions where to look next? Thank you!

    Check if the ICMP traffic is allowed between the two guests, because the default configuration of Windows Server R2 2012 is to deny.

    You can easily make a test only to disable the Windows Firewall on both virtual machines.

  • NFC Interaction between BB10 and Windows Phone 8

    Hello

    NFC Peer communication Peer is not the case between BB10 and Nokia Lumia 820 (phone 8 window).

    communications made using the Protocol of the SNEP.

    My request in BB10 able to receive Windows Phone data, but the application in windows phone 8 does not receive the data of BB10 when app in BB10 writing data on it.

    WIndows Phone 8 application works very well (to receive and write data) when I hit with BB 7.1 (curved) Mobile, does not work with BB10.

    app in BB10 works well with all mobile BB, the problem only comes with Windows phone 8. But I could not face this kind of problem with BB7.1.

    Problem is that when I type BB10 with Windows phone 8.

    If a question is existed in app BB10, it should not work with mobile BB

    If a question is existed in Windows Phone 8 App, it won't work with BB 7.1 Mobile also.

    I don't come to the solution where the problem is present.

    Please let me know where is the problem?

    Hello

    I got a more or less immediate response from BlackBerry NFC dev team. There are a number of problems known, all rooted in problems with the device of Lumia. I am told that the NFC open P2P connection Bluetooth transfer on the Lumia is inconsistent with the NFC Forum specification. In addition, there are a problem whereby the Lumia P2P server hangs when used with BlackBerry 10. Once again, our engineers are categorically that the problem is with the Lumia. BlackBerry 10 P2P works very well with devices Android and other Nokia devices.

    Concerning

    Martin

  • WiFi Direct | Bluetooth THE | NFC - Questions

    does not do anything with WiFi Direct even as a developer - only as a user for Miracast.

    have tested the sample application

    now have a few questions before I decide to use it

    Maybe someone can share some details

    ---

    WIFI DIRECT

    Is it possible after the first synchronization of time to connect without user interaction?

    If possible it is possible the app without a head?

    ....

    think of this workflow:

    environment:

    * Peripheral BB10

    * W Arduino THE BT / WIFI live support

    UseCase:

    User with BB10 device detects via THE BT as its is close to the Arduino

    BB10 App connects to the Arduino via WIFI Direct

    Data are transferred from Arduino to BB10 via WIFI Direct

    better would be if - after the first time synchronization is made - it could be done in the background

    (without head on BES10)

    If the background is not possible could also be executed if reduced

    most important:

    ANY intervention from the user to connect via THE BT and WIFI Direct

    If this cannot be done without - is it possible to be done using NFC tags?

    ----

    more details on the usecase:

    (a) a truck driver already running BB10 business app for managing work orders

    (b) inside of the truck, there is an Arduino by CAN - bus of tracking data and Mongo DB collection

    Truck driver going in and out of the truck and if there inside the truck collected data should be transferred to the BB10 device, then BB10 sends the CAN bus data to the server via MQTT if there is network coverage or later via WIFI in the office

    The great thing: customer didn't need additional SIM for CAN-bus-transfer of data, the BB10 device is already used for orders and sends data via REST to the server

    I modified the sample WiFiDirect-ion, so that half of the application that receives connections ran without head and it worked.  The one catch is that notification of the API is always displayed.  Here's a picture of what it looks like to my blog a WiFi direct connection mode that displays the command prompt.

    So you could do the Wi - Fi Direct connection from an application without a head without requiring the intervention of the user, but the dialog box is displayed.  But you can't have a WiFi connection to Direct a headless application without the user accepts the connection (see this screenshot of the same blog).

    So for your case, it should work since you could do your application BlackBerry 10 connection to the Arduino.

  • NFC in the BB10 devices

    Hai,

    I am trying inetgrate NFC inot my camera BB10... East of the tags available in the integration of the NFC?

    Thank you

    Dembélé

    Yes, the NFC is supported on BlackBerry 10:

    http://supportforums.BlackBerry.com/T5/native-development/NFC-on-BlackBerry-10-reading-and-writing-T...

    http://supportforums.BlackBerry.com/T5/native-development/NFC-on-BlackBerry-10-peer-to-peer-Communic...

    Although none currently have an API WebWorks created for NFC.  Currently waiting on improvements to how custom 3rd party extensions can be created (made while we're talking R & D WebWorks team) until this can be implemented.

  • BlackBerry 10 Questions on app and updates BB10

    I recently got a classic BlackBerry and I have a few questions.

    First of all, BlackBerry apps world somehow checked or scanned for malware? I'm pretty skeptical of third party software, but I would like to install a terminal emulator any. I was looking at Term48.

    Secondly, I read that the new private will have Android on it. Does that mean that BlackBerry will become yet another Android phone salesman and that 10 BlackBerry will be interrupted/not supported in the near future?

    Thanks for your time.

    Linux123 wrote:

    First of all, BlackBerry apps world somehow checked or scanned for malware? I'm pretty skeptical of third party software, but I would like to install a terminal emulator any. I was looking at Term48.

    Applications submitted through BBWorld indeed pass tests and checking for malware. Indeed, even if you install APKs (that you can on a device BB10), those are also checked by the Guardian BB app to see if they are known to contain malware or other problems. It is perfect? Without no doubt... but I do not remember all any confirmed report of malware, viruses, or other such things on BB devices. BBs are still safer mobile devices available.

    Linux123 wrote:

    Secondly, I read that the new private will have Android on it. Does that mean that BlackBerry will become yet another Android phone salesman and that 10 BlackBerry will be interrupted/not supported in the near future?

    No one here in this community of users may know (or, if they are not, reveal) what the future holds. My speculation is that indeed the PRIV aura Android, but BB powered secure... a kind of hybrid OS. BB10 is not known to be scheduled for the end of life, and don't we know if the PRIVATE is the only, or the first, this device to be released by BB. We all need to wait and see.

    Good luck!

  • NFC Secure element coming BB10 combined and platform access

    Hello world

    Because Java development right will not be supported on BB10 (am I right?), at least not without using the Runtime Java Android (which I don't want to use), I would like to know if there is official support and a RIM official API for access to the content and the writing on the element to secure upcoming BB10 handsets. I am a developer who plans the BB10 platform to develop an application that need to read/write operations on the item to secure. Would this be possible? Could I need special permits and/or the keys to the RIM?

    Thank you very much for your answers! Apparently, there is not a lot of documentation on the subject so far.

    Hello

    You will find the answer here I think:

    https://developer.BlackBerry.com/native/beta/reference/com.QNX.doc.NFC/topic/manual/nfc_lib_nfc_conc...

    the header files that relate specifically to the nfc_se_access.h and nfc_se_transaction.h.

    These API is present in the recent upgrade of Dev Alpha and the NDK for this version.

    John (@jcmrim)

  • BB10 Beta4 ActionBar questions

    There seems to be a lot of problems with the ActionBar BB10 AIR SDK 4 beta. I then test the code to create a simple ActionBar:

    package
    {
    import flash.display.DisplayObjectContainer;
    import flash.display.Sprite;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    import flash.events.Event;
    import qnx.fuse.ui.actionbar.ActionBar;
    import qnx.fuse.ui.actionbar.ActionPlacement;
    import qnx.fuse.ui.core.Action;
    import qnx.fuse.ui.core.TabAction;
    
    [SWF(backgroundColor="#777777", frameRate="60")]
    public class ActionBarTest extends Sprite
    {
    
      private var actionBar:ActionBar;
      private var actionBarOverflow:Sprite;
    
      public function ActionBarTest()
      {
        super();    // set up stage
        stage.align = StageAlign.TOP_LEFT;
        stage.scaleMode = StageScaleMode.NO_SCALE;
        stage.addEventListener( Event.RESIZE,   function(e:Event):void { actionBar.y = stage.stageHeight-actionBar.height; });
    
        // set up overflow
        actionBarOverflow = new Sprite();
        addChild(actionBarOverflow);
    
        // set up actionbar
        actionBar = new ActionBar();
        actionBar.backButton = null;        
    
        if(true) // test: turn tabOverflowParent on/off
          actionBar.tabOverflowParent = actionBarOverflow;
    
        if(false) { // test: switch between actions and tabs
          actionBar.showTabsFirstOnBar(false);
          actionBar.reserveActionSpace(true);
          actionBar.backButton = null;
          actionBar.addAction(new Action("A1", "star.png", null, ActionPlacement.ON_BAR));
          actionBar.addAction(new Action("A2", "star.png", null, ActionPlacement.ON_BAR));
          actionBar.addAction(new Action("A3", "star.png", null, ActionPlacement.ON_BAR));
          actionBar.addAction(new Action("A4", "star.png", null, ActionPlacement.ON_BAR));
          actionBar.addAction(new Action("A5", "star.png", null, ActionPlacement.IN_OVERFLOW));
          actionBar.addAction(new Action("A6", "star.png", null, ActionPlacement.IN_OVERFLOW));
          actionBar.addAction(new Action("A7", "star.png", null, ActionPlacement.IN_OVERFLOW));
          actionBar.addAction(new Action("A8", "star.png", null, ActionPlacement.IN_OVERFLOW));
          actionBar.addAction(new Action("A9", "star.png", null, ActionPlacement.IN_OVERFLOW));
          actionBar.addAction(new Action("A10", "star.png", null, ActionPlacement.IN_OVERFLOW));
          actionBar.addAction(new Action("A11", "star.png", null, ActionPlacement.IN_OVERFLOW));
          actionBar.addAction(new Action("A12", "star.png", null, ActionPlacement.IN_OVERFLOW));
        } else {
          actionBar.showTabsFirstOnBar(true);
          actionBar.reserveActionSpace(false);
          actionBar.addAction(new TabAction("T1", "star.png"));
          actionBar.addAction(new TabAction("T2", "star.png"));
          actionBar.addAction(new TabAction("T3", "star.png"));
          actionBar.addAction(new TabAction("T4", "star.png"));
          actionBar.addAction(new TabAction("T5", "star.png"));
          actionBar.addAction(new TabAction("T6", "star.png"));
          actionBar.addAction(new TabAction("T7", "star.png"));
          actionBar.addAction(new TabAction("T8", "star.png"));
          actionBar.addAction(new TabAction("T9", "star.png"));
          actionBar.addAction(new TabAction("T10", "star.png"));
          actionBar.addAction(new TabAction("T11", "star.png"));
          actionBar.addAction(new TabAction("T12", "star.png"));    }
    
        addChild(actionBar);      
    
      } // constructor
    } // class
    } // package
    

    He has a couple of if(true/false) conditions to test different scenarios.

    With actions A1... A12:

    • "Back" button is always reserved, even if there is no back button
    • Only 3 actions are displayed, even if there is room for a 4th
    • Order of measures on ActionBar is incorrect: A4 A1 A2
    • Menu of overflow of action appears in the "extended" form, and not with some icons like waterfalls/Webworks
    • Menu of overflow of action is never displayed on the desktop AIR
    • Action tags do not appear in the peripheral action of 720 x 720 bar

    Tabbed T1... T12:

    • When the tab overflow is displayed again, the before selected tabs have blue border
    • The tab in ActionBar buttons are grayed out sometimes out (but still selectable)
    • If actionBar.tabOverflowParent is defined, menu overflow is never hidden on the selection of the item or by tapping elsewhere
    • If actionBar.tabOverflowParent is not set, the tab overflow is not displayed on the desktop AIR
    • Menu of infinity tab is badly calibrated, making it the last tab inaccessible if overflow is behind actionbar and there are several tabs will fit on the screen
    • Tabs do not appear in the peripheral action of 720 x 720 bar

    Hey Jon,

    Here are the answers to your questions below, or in some cases as to why explanations sometimes. John, with an 'h', has responded and is correct on some of them, but thought I would confirm them as well.

    With actions A1... A12:

    "Back" button is always reserved, even if there is no back button

    [JD] - it is correct based on the directives of UX

    Only 3 actions are displayed, even if there is room for a 4th
    [JD] - ActionBar won't show up to 3 shares.

    Order of measures on ActionBar is incorrect: A4 A1 A2
    [JD] - need to double check the rules on this one.

     

    Menu of overflow of action appears in the "extended" form, and not with some icons like waterfalls/Webworks
    [JD] - menu overflow of Action appears always expanded. I think you are confused with the context Menu, which looks like, but has different behavior.
    You can see that it is the same thing as waterfalls if you add a contact, then select this contact. 3 points in the actionbar button shows the overflow from the action.
    If you long press the contact in the list, you will see the context menu, which is different.

     

    Menu of overflow of action is never displayed on the desktop AIR
    [JD] - in this case is because we have no way of knowing how deep should show the menu to. So we use NativeWindows to display the menu at the top of your application window. Because NativeWindows is not supported on any other mobile AIR platform in addition to BlackBerry, Flash Builder will not be displayed on the desktop. FDT allows you to show on the desktop if you add the following to your app descriptor, extendedDesktop mobileDevice extendedMobileDevice.

     

    Action tags do not appear in the peripheral action of 720 x 720 bar
    [JD] - what is expected. This is the same behavior when you use the ActionBar in landscape on the device of 768 x 1280 as well. It's making the content more room.

    Tabbed T1... T12:

    When the tab overflow is displayed again, the before selected tabs have blue border
    [JD] - corrected in the final version of the sdk.

     

    The tab in ActionBar buttons are grayed out sometimes out (but still selectable)
    [JD] - in this example, it looks like a bug, but it is in fact correct. When the tab overflow menu is fully developed, actions are disabled. In most cases they are not visible because the action bar hosted on the right. Here things look like it is in a weird State, but if implemented properly things work as expected.

     

    If actionBar.tabOverflowParent is defined, menu overflow is never hidden on the selection of the item or by tapping elsewhere
    [JD] - it is because it is expected that you cover the tabOverflowParent with your content. This property is here so that you can control the depth of the menu. Based on the UX guidelines menu should be under your content and the content comes alive to the right to reveal.

    If actionBar.tabOverflowParent is not set, the tab overflow is not displayed on the desktop AIR
    [JD] - we use NativeWindow in this case. Same as above.

    Menu of infinity tab is badly calibrated, making it the last tab inaccessible if overflow is behind actionbar and there are several tabs will fit on the screen
    [JD] - when the overflow tab menu is visible the actionbar should animate the road indicating the correct size of the menu tab overflow.

    Tabs do not appear in the peripheral action of 720 x 720 bar
    [JD] - same as Actions

    Here is a sample of update based on your which helps to show how you really want to set up.

    package
    {
        import qnx.fuse.ui.actionbar.ActionBar;
        import qnx.fuse.ui.actionbar.ActionPlacement;
        import qnx.fuse.ui.core.Action;
        import qnx.fuse.ui.core.TabAction;
        import qnx.fuse.ui.events.DragEvent;
    
        import flash.display.Bitmap;
        import flash.display.BitmapData;
        import flash.display.Sprite;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.events.Event;
    
        [SWF(backgroundColor="#777777", frameRate="60", width=768, height=1280)]
        public class actionbarsample extends Sprite
        {
            private var actionBar:ActionBar;
            private var actionBarOverflow:Sprite;
            private var __slideX:Number = 0;
            private var content:Sprite = new Sprite();
    
            public function actionbarsample()
            {
                super();
    
                // set up stage
                stage.align = StageAlign.TOP_LEFT;
                stage.scaleMode = StageScaleMode.NO_SCALE;
                stage.addEventListener( Event.RESIZE, function( e:Event ):void
                {
                    actionBar.y = stage.stageHeight - actionBar.height;
                } );
    
                // set up overflow
                actionBarOverflow = new Sprite();
                addChild( actionBarOverflow );
    
                content.addChild( new Bitmap( new BitmapData( stage.stageWidth, stage.stageHeight, false, 0xFFFFFFFF ) ) );
    
                addChild( content );
    
                // set up actionbar
                actionBar = new ActionBar();
                actionBar.backButton = null;
    
                actionBar.addEventListener( DragEvent.DRAG_MOVE, onDragMove );
    
                if (true) // test: turn tabOverflowParent on/off
                    actionBar.tabOverflowParent = actionBarOverflow;
    
                if (true)
                {
                    // test: switch between actions and tabs
                    actionBar.showTabsFirstOnBar( false );
                    actionBar.reserveActionSpace( true );
                    actionBar.backButton = null;
                    actionBar.addAction( new Action( "A1", "star.png", null, ActionPlacement.ON_BAR ) );
                    actionBar.addAction( new Action( "A2", "star.png", null, ActionPlacement.ON_BAR ) );
                    actionBar.addAction( new Action( "A3", "star.png", null, ActionPlacement.ON_BAR ) );
                    actionBar.addAction( new Action( "A4", "star.png", null, ActionPlacement.ON_BAR ) );
                    actionBar.addAction( new Action( "A5", "star.png", null, ActionPlacement.IN_OVERFLOW ) );
                    actionBar.addAction( new Action( "A6", "star.png", null, ActionPlacement.IN_OVERFLOW ) );
                    actionBar.addAction( new Action( "A7", "star.png", null, ActionPlacement.IN_OVERFLOW ) );
                    actionBar.addAction( new Action( "A8", "star.png", null, ActionPlacement.IN_OVERFLOW ) );
                    actionBar.addAction( new Action( "A9", "star.png", null, ActionPlacement.IN_OVERFLOW ) );
                    actionBar.addAction( new Action( "A10", "star.png", null, ActionPlacement.IN_OVERFLOW ) );
                    actionBar.addAction( new Action( "A11", "star.png", null, ActionPlacement.IN_OVERFLOW ) );
                    actionBar.addAction( new Action( "A12", "star.png", null, ActionPlacement.IN_OVERFLOW ) );
                }
                else
                {
                    actionBar.showTabsFirstOnBar( true );
                    actionBar.reserveActionSpace( false );
                    actionBar.addAction( new TabAction( "T1", "star.png" ) );
                    actionBar.addAction( new TabAction( "T2", "star.png" ) );
                    actionBar.addAction( new TabAction( "T3", "star.png" ) );
                    actionBar.addAction( new TabAction( "T4", "star.png" ) );
                    actionBar.addAction( new TabAction( "T5", "star.png" ) );
                    actionBar.addAction( new TabAction( "T6", "star.png" ) );
                    actionBar.addAction( new TabAction( "T7", "star.png" ) );
                    actionBar.addAction( new TabAction( "T8", "star.png" ) );
                    actionBar.addAction( new TabAction( "T9", "star.png" ) );
                    actionBar.addAction( new TabAction( "T10", "star.png" ) );
                    actionBar.addAction( new TabAction( "T11", "star.png" ) );
                    actionBar.addAction( new TabAction( "T12", "star.png" ) );
                }
    
                content.addChild( actionBar );
            }
    
            private function onDragMove( event:DragEvent ):void
            {
                __slideX += event.deltaX;
                content.x = Math.round( __slideX + stage.stageWidth );
            }
            // constructor
        }
        // class
    } // package
    
  • [Service of NFC - ON / OFF - when locked screen - BB10]

    Dear RIM,

    I have a question:

    When the device is locked, the NFC service will be switched off. We somehow serving the NFC always be on when the device locked?

    Thank you.

    Best regards

    Dennis.

    When the screen is locked the NFC is off (you can check if you have an external NFC reader) so it is impossible to detect a passive target presented to the handset - there is no field of radio NFC being generated by the handset to the passive target to interact with. That's why no event NFC associated with present or remove a passive target (for example, an NFC tag) will be generated.

    As I have already mentioned, in card emulation mode, a player external (active target) is able to interact with an element that is secured at the level of the handset to the NFC, even when the screen is locked or put off the unit (this is configurable as already reported as well)-because the external reader generates a field radio NFC handset (as a passive target) can interact with.

  • Question of P2P VPN One Way

    Hello support,

    I'm having a problem with a P2P VPN. Our side is a Cisco ASA 5512 and peripheral supplier is a firewall of some sort. When launch us the VPN from Cisco ASA end 5512, the VPN is fine without problem and communication goes on both sides. If I take the VPN down and then he tries to launch the VPN, I never see same traffic come into our firewall, and it does not come to the top. When we do a trace of their inside network inside our network (when you start their end), the trace goes to some edge devices at their end and outside the ISP. There are actually a few public IPs in the traceroute, but when launch us the VPN to our end and before you run a trace on their end, these same public IPs do not show in the trace.

    It almost seems like they have a device on their end which does not correctly handle the NAT or SHEEP for private subnets. Does this sound accurate?

    Just to remind, when launch us the VPN, look clean and only private IPs see traces on both ends. When they start the VPN, traffic never hit our firewalls and traces of their late show public IPs on the route.

    From now on, we keep a ping running to keep alive the VPN, but it's not ideal. Here, any help would be greatly appreciated.

    Hey John,

    are you sure that when they start their home subnet traffic, it is hitting the vpn.

    Please ask them to run debug crypto since their end and if the first protocol udp 500 is even sent to their end.

    Now, in order to follow the tunnel, you can configure SLA monitoring on the ASA:

    Please follow the discussion below to set up the same:

    https://supportforums.Cisco.com/discussion/11012751/IP-SLA-monitor-VPN

Maybe you are looking for