Bluetooth data + screen

Dear BB community,

I'm playing with the BluetoothDemo code example provided with JDE4.5.

I managed to connect the BB (8310) to a PC and send/receive characters.

My problem is that once the characters fill to the top of the screen of BB I can't scroll down to see the next

batch processing. Anyone have any suggestions on how I could make the scrolling of the screen that it has received new data.

Thanks in advance.

David

Proj files:

AppScreen.java

SSPScreen.java

Bluetoothdemo.Java

Figured it out!

Changed the field of incoming stream of RichTextField.NON_FOCUSABLE to RichTextField.FOCUSABLE txt

Tags: BlackBerry Developers

Similar Questions

  • How to read the tag bluetooth data in labview 2015 running on Windows 10

    Hi all

    I have a Development Board Nordic semiconductor nr51. This card is programmed as a tag bluetooth which simply announces his address with 16 bits of data appended to the end.

    My laptop came with loan materials smart bluetooth. I installed an app interactor lighthouse to bluetooth on my laptop and the software is able to detect the tag as if shown on the image below.

    I wanted to write a LabVIEW program that will simply be careful bluetooth headlights and notify me in my computer every time a lighthouse with the specified address is detected. This mobile application below is provided by the manufactuerer of the Board of Directors and I wanted to develop a LabVIEW program something similar to what will read the given data and extract values.

    Somehow, all the sample applications provided data only shows how to read and write in a connected bletooth device but not analysis for tags. I also tried using the Bluetooth ' discover ' and it does not detect the bluetooth beacons.

    Could someone provide me with the necessary information or example program for detecting / reading of tags bluetooth in LabVIEW 2015 running on Windows 10?

    Do I need to install a third-party software to read data from bluetooth?

    Bluetooth in LabVIEW function nodes using the Winsock interface to access bluetooth resources. This works very well for Bluetooth 2.0 devices but not Bluetooth 4.0 devices WHEAT aka. Microsoft has created a completely different interface for these resources API as the model of overall service for WHEAT devices has radically changed.

    The API to use WHEAT devices is the API of the GATT (generic attribute profile) in Windows. There is supposedly a .net interface available that you can try to use (Windows.Devices.Bluetooth.GenericAttributeProfile). The WinAPI to lower level (https://msdn.microsoft.com/en-us/library/windows/hardware/hh450825(v=vs.85).aspx) is a C DLL API and does not lend at all to be called directly by the LabVIEW call library node, since some of the parameters of the function are quite complicated and you need to also access the SetupDI APIs to enumerate resources WHEAT and even harder to function parameters. In order to access this low-level API to write an intermediate DLL which results in low level API C a more acceptable API for LabVIEW.

    Another possible problem is that Windows don't at least in Windows 8 not allows devices to pair per program. Microsoft wanted to force developers in the use of the "inbox" experience, which means that all users must go through Microsoft provided service pairing, instead of each request for implementation of his own matching technique.

  • every day computer requires me to take to remove the data screen and start Recovery

    Hi I actually had this problem for many years. I have an emachines t5052 deskop with about 1 GB of ram and a 100 GB hard drive, I got upgradedto windows vista and the computer screen would be just black when I went back to it. so I have to unplug the unit twice for deleting system restore data and screen start option making this option would start the computer for vista. recently, I did a clean install of windows 7 32 bit and was hoping id never have to deal with this again but I still have to and seems to be worst im running norton 360 and have all the updates. How can I solve this ive already tried sfc/scannow, he said all the files the integrity

    Try updating the chipset and graphics drivers. If no update is available, uninstall the drivers, reboot the PC, install the drivers, reboot the PC and then check.

    Answer if the problem persists.
  • Construction of a game based on XML data screen

    I just put a list of clips on the screen using the data of positioning of an xml document.

    I created 2 movieClips in my library with the link of the box01 class and box02.

    I have an xml document that describes the x and there contact information I want to use:


    <? XML version = "1.0" encoding = "iso-8859-1? >
    < data >
    < name of art = "box01" x = "50" y = "50" / >
    < name of art = "box02" x = "100" y = "100" / >
    < / data >

    I am able to analyze this xml document in flash and see the data:
    trace(XMLDATA.art[0].@Name) displays "box01.

    Now I want to loop through the length of my elements of 'art' xml and generate my screen (by calling the movieClips box01 and box02 located in the library).

    But I don't know how to use the name box01, box02 etc of the doc xml to create my case.

    It works, but more or less like this:

    var i: uint;
    for (i = 0; i < xmldata.art.length (); i ++) {}
    trace (XMLDATA.art, , .@name);
    var myMovieClip: [xmldata.art
    .@name] = new [xmldata.art .@name] ();
    myMovieClip.x = xmldata.art
    .@x.
    myMovieClip.y = xmldata.art .@y.
    addChild (myMovieClip);
    }


    Sound this line that I need the help of the syntax on:

    var myMovieClip: [xmldata.art
    .@name] = new [xmldata.art .@name] ();


    I want the name of my case to be the 'name' of my xml doc attribute.

    I'm close - could someone please help me understand this?

    Thanks - I'll put my complete code below.








    -COMPLETE ACTION SCRIPT-

    package {}
    import flash.display. *;
    import flash.events. *;
    import flash.net.URLLoader;
    import flash.net.URLRequest;

    public class myXMLDoc extends MovieClip {}
    private var xmldata:XML;

    public void myXMLDoc() {}
    XMLDATA = new XML();
    var xmlURL:URLRequest = new URLRequest ("myXMLDoc.xml");
    var xmlLoader:URLLoader = new URLLoader (xmlURL);
    xmlLoader.addEventListener (Event.COMPLETE, xmlLoaded);
    xmlLoader.addEventListener (IOErrorEvent.IO_ERROR, xmlLoadError);
    }

    function xmlLoaded(event:Event) {}
    XMLDATA = XML (event.target.data);
    trace(XMLDATA.art[0].@Name);
    trace ("data loaded successfully.");
    buildScreen();
    }

    function xmlLoadError(event:IOErrorEvent) {}
    trace (Event.Text);
    }

    function buildScreen() {}
    trace ("display building");
    var i: uint;
    for (i = 0; i < xmldata.art.length (); i ++) {}
    trace(XMLDATA.art
    .@Name);

    This next line is where I want to add my movieClips box01 and box02 on-screen *.
    and the use of x and y, the xml data placement *.

    var myMovieClip: [xmldata.art .@name] = new [xmldata.art.@name] ();
    myMovieClip.x = xmldata.art .@x.
    myMovieClip.y = xmldata.art
    .@y.
    addChild (myMovieClip);
    }
    }
    }
    }

    It's beautiful. Thank you!

  • Bluetooth data transfer between two laptops

    I have the model of laptop (5200-701) and it built in (PA3121U-1BTM) Bluetooth device & softwrare version is (1.02.17). It works well, but I could not transfer any file document or movies to any other computer that has Bluetooth technology, do not, weather me Bluetooth software device that supports it or not. Also please tell me what software version update me if available Bluetooth device?

    Hello

    If you want to check this page http://aps.toshiba-tro.de/bluetooth/

    Good bye

  • Data review screen problem

    Hello

    If the data review screen is used to change the answers in an Interview, the user is repeated in the data review screen itself. The user must then go to the summary screen to conduct the interview. What is a normal feature of OPA?
    If so, is there a way to continue the interview without summary screen (after changing responses to the review of the data)?
    If not, please let me know what could be the cause of this problem.

    Thank you
    Lokesh

    Hi Lokesh,

    Sorry, I should probably went into more detail in my first answer. The behavior you're seeing in regards to the flow of the screen reminder data screen is always the browsing behavior regardless of what you could have on the summary screen. The reason is, as I mentioned earlier, once you go to the data review screen you left the interview and it is impossible to know what purpose (survey/interview) needs to be resumed.

    In the revisions of Web (or any other component runtime also), it is possible to study any attribute in the session - its not confined to what purpose controls are located on the summary screen. Thus, the sum total of all the goals in a given Web determinations session is the list of all the attributes in the modules more all stream screen set. Therefore, the only way for a modules have only one purpose is for her only contain an attribute, in which case it probably won't be very useful :).

    You can change this behavior for navigation, but it will take you to implement an extension Web determinations.

    Thank you
    Kristy

  • iPhone bluetooth name 7 incorrect

    Hello. Through background I have recently updated from iPhone to iPhone 6 7. I followed the normal process "full backup using iCloud" copy that whole, including the name of phone (in general/about/name) which initially was "iPhone 6" but I modified manually to "iPhone 7". "

    Today I went to connect to iPhone using bluetooth to attach new 7 and I could not find my iPhone anywhere (even if I could see my iPhone 6 on the list of known devices). After much exploration, I found that despite the iPhone bluetooth 7 screen saying ' now discoverable as iPhone 7 ", its been always seen as the iPhone 6. So, I deleted my old relationships and reconnected to "iPhone 6" (really my iPhone 7) and it worked.

    Am I missing something, or is it a flaw in the operating system that needs fixing?

    I use:

    7 iPhone with iOS 10.0.1

    MacBook Pro 13 "with MacOS 10.11.6 retina

    Thank you

    Joe

    Hello Joe,

    Thank you for asking questions about the name of the device here in Apple Support communities. I am pleased to offer a preview of it and then help you to change the name of the bluetooth connection, so that it matches the new iPhone 7.

    There is nothing wrong, it's just that some areas of the aircraft (such as the name of the phone) will change since you have a new device, because it happens that the information of the current system, as well as the serial number and other information for the personal. That's how he'll distinguish your iPhone backups 7 former iPhone 6 and all other backups device iOS that you bring in iCloud or iTunes. Other areas, such as the name of a device on your Mac, will not access these same areas. If you actually see the name that was saved from the old device in the backup and presented the new device. Fear not though, we can manually change this.

    Please open this help link: change of the name of a Bluetooth device. I'm sure this is the article that you need to change the name of the device on your Mac.

    Thanks again and have a great rest of your day!

  • It is Chinese or Japanese writing on my lock in ios 10 screen

    I recently installed ios 10 and it works fine, but on the lock under the date screen, it shows the date in Chinese or Japanese. How can I fix?

    Hello. Which can come from a lock screen widget, not iOS. If you press Edit, you can review your widgets.

  • iOS 9.2 bluetooth pairing

    Does anyone else's problems do with Bluetooth pairing once upgraded to iOS since iOS 9.1 9.2? As soon as I made my Garmin Forerunner 630 was no longer able to communicate with my iPhone 6 (Note: it worked perfectly, while running iOS 9.1 before nightfall iOS which should be upgraded).

    Measures taken to try to resolve the problem

    1. Forget the camera and rematching. This has compounded the situation - the iPhone could not 'see' the device to try to match.
    2. Pairing my Garmin 630 with a friend (Android based) phone - it works immediately - he can see the Garmin and cannot pair it, no problem.
    3. My Garmin 630 with my iPad Air matching - the iPad is also running iOS 9.2 and he too can not even 'see' the device.
    4. Pairing my iPhone 6 and iPad in the Air with a bluetooth (EU Boom) speaker - it works.
    5. Complete reset of my iPhone 6. Twinning with 630 Garmin still does not work.
    6. Reset complete my Garmin 630. No change.
    7. Following the advice of Apple here: Wi - Fi and Bluetooth: potential sources of interference wireless - Apple Support

    Conclusion

    In summary, it seems that Bluetooth still work on the Garmin 630 and the iPhone and the iPad, but Apple has made some sort of change in 9.2 iOS that prevents matching with certain types of Bluetooth device.

    Similar reported problems

    I've seen a few similar reports on support for other devices forums (not "seen" / "detectable") after the upgrade to iOS 9.2:

    Does not connect via Bluetooth, iOS 9.2 to my home theater of sonny,

    Since iOS 9.2 my Bluetooth PlayStation keyboard no longer works

    iPhone 5 sec bluetooth not working after iOS 9.2

    as well as more general questions of Bluetooth for devices that are already paired:

    No bluetooth after 9.2

    iPhone 5 sec bluetooth not working after iOS 9.2

    iCade/bluetooth controller + iOS 9.2

    None of the posts that i reference above gives no real solution.

    Questions

    1 Apple Please recognize that there is a problem with iOS 9.2 on Bluetooth?

    2 - is anyone else seeing problems similar to what I reported and the posts that I've referenced?

    Problem solved, a bit of a schoolboy error.

    For some reason, the iOS to 9.2 upgrade means that the phone and the Garmin 630 were no longer able to communicate. Try to pair again via the iOS Bluetooth settings screen did not work (the unit has not appeared).

    It seems that matching works only if launched from the Garmin Connect app works on the iPhone / iPad. Once you have coupled the app will Garmin 630, then appear in the Bluetooth settings screen standard iOS, showing as connected.

    In summary:

    (1) not all Bluetooth devices will not necessarily be available for matching in the iOS Bluetooth settings screen (didn't know it until now), and

    (2) previously associated device no longer works after update iOS. Not a huge problem, but a bit annoying.

  • timestamp does not match data

    Hi, I am reading in 3 pieces of data every 10 seconds and the Save using writing to the service file with a timestamp wired on the comments of the service PIN. However, it seems to be that the first timestamp value is incorrect, and each element of data later is mislabeled.  If you look at my attachment, the first 3 time in seconds (x_value), the points are 0,.007 et.113007 and the associated timestamp is 01:44:24, 01:44:33 and 01:44:33. Now, the time of the next 3 items in are10.00057 seconds, 10.00257 and 10.07058 and timestamps are 01:44:33, 01:44:43 and 01:44:43.  The timestamp of the first of the second 3 points (1: 44:33) should have been with the first 3. The time in seconds seems correct, but how can I make sure that the time stamp is stamped to the point of correct data?

    I think you could get you burn while waiting for the bluetooth connection.  Since date playback time is independent of the bluetooth read, it runs as soon as the loop begins.  If bluetooth read takes ten seconds to run (for example), then the time well before the read finishes Bluetooth data.

    Try putting a flat structure sequence around the get time and write part of measure of your code files so that the single wire entering that structure the tension.  See if that solves your problem of synchronization.

    You can always create your own vi get time with terminals of the error in order to use the wire of the error to apply data streams.  This would be a solution of cleaning long term use of sequence structure flat.

  • C2Y65AV dv7 Bluetooth question WANT after the victory of 8.1 to Win 7 Downgrade

    My laptop is an ENVYdv7 C2Y65AV

    He came originally with Windows 8.0, and I later upgraded to 8.1.

    I never liked 8.0 or 8.1 so I "had" to Windows 7 Professional. I did my research, realizing that there may be questions. I downloaded the drivers, bought a new drive hard, etc..

    Everything went past better than expected and I'm happy with the "downgrade", except for 1 issue.

    1. I have difficulties to get my Bluetooth to connect completely to one of my devices (headset or headset).
    My WiFi works well, I think the Bluetooth 4.0 is part of the Intel Centrino WiFi card. When connecting to any Bluetooth device, it appears in the Bluetooth devices screen. It will discover and 'connect', but nothing happens when I try to use them. The sound always comes through the laptop speakers.

    I have the Intel Centrino Wireless N 2230 BNHMW came with the laptop. It worked fine with Windows 8.1. All my devices Bluetooth paired easily with the laptop when Windows 8.1 is running.

    I went to the Intel Web site, made sure my driver for the wireless card for Windows 7 is the most recent and correct version. They have a software utility that installs on your laptop, then search and download the last correct version.

    I downloaded all the drivers for this HP downgrade, driver and software help section () of the Internet site. What great resource is this site!

    Suggestions? Advice?
    I appreciate any help!

    Thank you
    James

    P. S.

    One interesting thing about Windows 8.1.

    When I installed Windows 7 Professional, I bought a new hard drive SSD just for that purpose. I had saved my hard drive took a shot with 8.1 Windows on it just in case this downgrade are successful.

    Just for grins, I added it as a second hard disk (later) in the case where I needed to get the missed files.

    When I restarted my laptop, I went into the Manager startup and selected my main drive with Windows 7. It started normally.

    Then the seconds after startup, a message pops up saying that I had to reboot for the changes to take effect. I don't remember making some, but thought that something was updated?

    So I did. I rebooted and Windows 8.1 supports and edit files on my hard drive SSD (disk win 7) which ultimately disabled the Windows 7 boot disk.
    Attempt to start the hard disk Windows 7 has frozen just after the start of Windows 7 screen.

    I pulled the plug on the rebooted Windows 8.1 to Windows 7 hard disk. Before I could however, he had to scan the hard disk for changes and correct. Then Windows 7 booted up normally.

    This Windows 8.1 is of course control. Can you say 'Hal' from the film '2001 A Space Odessay'

    Hello

    The 2230 Intel chip is crap. I suggest to get decent bth less Intel 6235 or 7260AC to get a connection. The 2230 provokes many questions it is better to get rid of and use a correct wifi card.

    See how to change the order of boot on Windows 8 laptops:

    http://superuser.com/questions/663733/Windows-Boot-Manager-and-two-hard-disks

  • Lower half of the screen of list drop-down settings of notification/unresponsive

    This is particularly visible in the drop-down list of parameters Lollipop (menu you get when you drag to the bottom of the top of the screen twice or with two fingers), but also occurs when I have many notifications.

    All the icons on the two lower lines (lamp pocket, flight Mode, Portrait, Mobile Hotspot, data & screen Cast) almost always do nothing when I type directly on them. It's as if the tactile area of the icon is very small, so 95% of the time that I can't trigger the action. I've found that I can trigger the icons on the 2nd line by typing slightly above them, although it is still dark.

    Although I have many notifications, I struggle to slip far lower levels and pressing 'Clear all' is very difficult.

    I can post a video showing so useful button.

    Edit: turn the unit off and on again the fixed, at least temporariliy. Will post a vid if it happens again - this is a very annoying bug when it arrives!

    @amwoo

    I have not been able to replicate this, what would you say if you can start in safe mode and try again.

    http://talk.sonymobile.com/T5/FAQ/How-to-boot-your-phone-into-safe-mode/m-p/348008#U348008

  • Settings / use of data do not react

    When I opened the settings / data using a black screen appears, and later on the message that the parameters did not react, with options to close or wait. Waiting by selecting the same message appears again a few seconds later. To the use of data screen may open the instances, but without any information and reacts don't either. After a few messge still same seconds appears parameters does not react.

    I am under Android 5.02

    @rouleur

    repair your phone with PCC

    PC Companion (CCP)

    Bridge (for Mac)

    Alternatives on how to backup Xperias

    http://talk.sonymobile.com/thread/36355

  • Display HTML table in the BBUI screen

    I want to write an application that displays a custom calendar (month view). Now, I use java script to render an HTML table, and insert this code in the data screen as below.

    function viewSelectedMonth() will make only the HTML for the table. But when I run the action menu does not work. Could you tell?


       


           
    Help

           
    On

           
    Parameters

       


        
        


       


           

    Home

           
    Toast


           

    Today


    Hi there, I don't have an exact answer as to why your code behaves like that.

    The best thing I can say is that you use Web Inspector to debug your application. If there are errors as they appear in the Console of the Web Inspector, and you will be able to solve much better.

    More info @ https://developer.blackberry.com/html5/documentation/v2_2/getting_started_web_inspector.html

  • Loading screen, do not appear

    I'm working on a code that was developed by my colleague. I think that there are some flaws in the design. I'm putting a loading screen when browsing the A SCREEN-> SCREEN B.

    The reason to use the loading is, data SCREEN B screen is obtained from network, communicating with the server, the analysis with the EVENT THREAD, in the listener fieldchange the field button I get this code.

    public void fieldChangeListener (field has, int context)

    {

    UiApplication.getUiApplication.pushScreen (loadingScreen);

    ---------------------------->>>POINT A

    UiApplication.getUiApplication.invokeAndWait (new Runnable()

    {

    Network connection, analysis SAX, etc.

    }

    );

    If (condition for next screen)

    {

    Condirion to the next screen

    SCREEN B or C of the SCREEN or SCREEN D

    }

    }

    //-------------------------------->>>POINT B

    The popup screen is missing or sandwiched between the two A and B, which occur once I got back from B.

    When the code between POINT A and POINT B is commented, loading screen occurs.

    Help of any kind is appreciated!

    A Y.

    Erez,

     

    Thanks for your response! It was a great help!

    ========================================================================================

     

    The problem is with the design patterns, the loading screen is appeared when I'm moving from Ecranun to screen B, but it is not visible as A SCREEN (which is still visible) always takes action the network at the end of who I am popping screen B! Thus, the anti-pop responsible without being noticed is covered by SCREEN B.

     

    There are two possible ways to get what I need,

    (a) put the network wire in another code

    (b) use a dialog box!

    The problem is with the model of design thinking, I want to mark this thread as it is closed!

    A Y.

Maybe you are looking for