NFC API ReaderWriterManager.addDetectionListener () hangs
Hello
I'm currently running NFCReaderDemo but always see that the program crashes to the following line:
class: DemoFieldChangeListener
method: public Sub startDetecting()
line: _rwManager.addDetectionListener (_targetDetector, new int [] {Target.NDEF_TAG, Target.ISO_14443_4, Target.ISO_14443_3});
Running environment:
-JDE 7.0 (1.5.0 later)
-BlackBerry Simulator 7.0.0.33
-OpenNFC controller Simulator + connection Center _ Trace Server
-Firewall does not
Connection Center, I can say that the BlackBerry and NFC Simulator Simulator has been interconnected.
Server trace, he following error message for fledge.exe
56-1 fledge.exe 00:00:00.203.096 PNFCControllerBoot NFCC_B ERROR: version NFC HAL charger not supported
2541 1 fledge.exe 00:00:26.144.551 PReaderSetPulsePeriod REG ERROR: error W_ERROR_BAD_NFCC_MODE
2548 1 fledge.exe 00:00:26.206.398 PReaderSetPulsePeriod REG ERROR: error W_ERROR_BAD_NFCC_MODE
2555 1 fledge.exe 00:00:26.244.154 PNALServiceExecuteCommand NFC_HAL ERROR: the instance isn't open
Any ideas? Your help is greatly appreciated.
-Kevin
I can confirm that only the version 4.2.3 of the OpenNFC Simulator is currently supported for use with BlackBerry 7.0 simulators.
Tags: BlackBerry Developers
Similar Questions
-
Hello
I saw a bunch of videos of demonstration of tag BlackBerry of all the cool things you can do with the NFC, but it wondered, what happens if all my other antenas wireless, WiFi and Bluetooth, are out of?
NFC can be used to transfer data, but it is not good for large quantities. I looked a little further and I found this cool video showing the difference to use Bluetooth 2.1, Bluetooth 3.0 high speed and Wifi Direct to transfer large files, such as videos. BB10 already does support Wifi Direct? Bluetooth 3.0 high speed?
I hope that BB10 supports ALL the performance and maximum compatibility.
I don't know where to post this question so here's. Please move was a better place. I think that the community needs a session of general development for wider issues.
See you soon!
Hello
Tag BlackBerry, and the APIs available for developers will automatically perform the best way to transfer the data. NFC supports something called "connect transfer" and are the largest payloads or certain types of data (photos, for example) rather than by peer-to-peer NFC, NFC mode data transfer is just used to negotiate alternative transport. In the case of the BlackBerry smart phones, this alternative will be bluetooth.
For users of touch devices, there is a brief 'conversation' between the devices on the NFC and this translates into a bluetooth connection set up and data transfer initiated through the bluetooth connection faster. This is all without the usual matching process. After reaching the stage of bluetooth devices need closer will be of course.
The same principle applies to both 7 BlackBerry and BlackBerry 10. In fact talk us a bit about this in our latest article on BlackBerry 10 NFC API:
I hope this helps.
For more information on see NFC:
http://supportforums.BlackBerry.com/T5/Java-development/NFC-article-and-code-index/Ta-p/1538775
-
service tag and nfc without head
Is it possible assigned to an application when a service without head bed tag nfc with specific information?
Just to add to the response from Marc that I would be interested to know what use cases you have in mind that you think would require you to have access to an NFC tag from an application without a head.
The nature of the NFC as a short-range radio link forced use cases to those where the end-user must take physical measures to "tap" of the handset in a NFC tag, an NFC reader, or even another NFC device. NFC use cases generally require an element of interaction with an application through the user interface - for example, it would be unacceptable and illegal to allow an application to approve a purchase of credit card contactless without verifiable consent from the user. For this reason, NFC apis and radio, are usually fully accessible only when the application is in the foreground. NFC is also tightly integrated with the framework of the call that allows the OS to launch the appropriate application in the detection of an NFC event plan so the need to use an application without a head is not necessary.
-
Disappointed with the availability and restrictions
Hey community!
I live in Czech Republic, Central Europe. We have one of the best in Europe's contactless payment structure. As soon as this month in my country, banks are the release of applications for the Android platform (since they have an open NFC API) that pretty much everyone can link their bank account to a phone with NFC and pay with it in a few seconds.
I have always supported Apple and I'm loving my iPhone 6 Plus with my new Apple Watch. But since I only paid not a small sum of money for this devices and "Apple pays" is a large part of their feature set, that I would like to ask you what is the motivation of locking down the APIs of NFC (?) When Apple cannot deliver Apple pay and I have absolutely no interest in many European countries. Even the younger Samsung pay is already ready for payments worldwide.
It is a huge limitation for me and many other people here and in other countries, very angry about this.
Best regards
Ondra
oli.exe wrote:
.. I would like to ask you what is the motivation of locking down the APIs of NFC (?)
.. very angry about this.
Hi Ondra
I'm afraid that anyone here can answer that (it is a community based on the user - you don't talk to Apple here) and it is also not permissible here to discuss or speculate on the policies or decisions of Apple.
If you want to submit feedback to Apple, you can do it here:
-
How to fix Firefox 31, 0-1 crashing on the Audio-Api - for example on quizlet.
Dear Firefox team,
Since yesterday (after the updates), Firefox hangs when it tries to play a sound. I think because of the Audio Api? It crashes on Google-Mail and Quizlet.
For quizlet, I found a site where they describe how their sound: http://quizlet.com/help/how-does-audio-work-on-quizlet
When I opened the file audio-test firefox crashes instantly without an errormessage. Here you get the example file: http://a.s.quizlet.com/en.mp3?v=5 & b = SWYgeW91IGNhbiBoZWFyIHRoaXMsIGF1ZGlvIGlzIG5vdCBiZWluZyBibG9ja2VkLg & s = LAhrMA-0
Can I do something about it? Its really hard for me to understand why it crashes.
Hey again once, unfortunately I can't reproduce the problem on a windows pc and the console log is not very descriptive (at least for my level of knowledge).
If you can reproduce the same breaks down while you use firefox in safe mode, I would recommend filing a bug to the bugzilla.mozilla.org of this regression, so that developers have a closer look.
-
OR USB-6009: Examples NIDAQmxBase hang in Ubuntu 10.04.1
Hello!
I installed NIDAQmxBase in Ubuntu 10.04.1 Server according to the various instructions in this forum. After a lot of trial and error, I managed to get the NI USB 6009 recognized in lsdaq.
-------------------------------- Detecting National Instruments DAQ Devices Found the following DAQ Devices: NI USB-6009: "Dev1" (USB0::0x3923::0x717B::01586A5A::RAW) --------------------------------
However the examples hang.
These are my core modules:
arc4 1153 2 bitblit 4707 1 fbcon cfg80211 126528 2 rt2x00lib,mac80211 crc_ccitt 1339 1 rt2800usb fbcon 35102 71 font 7557 1 fbcon i2c_isch 3375 0 led_class 2864 2 rt2x00lib,sdhci lp 7028 0 mac80211 205402 2 rt2x00usb,rt2x00lib mii 4381 1 r8169 Module Size Used by nidimk 322759 2 nipxirmk nikal 57594 1 nipalk niorbk 95647 2 nipxirmk,nidimk nipalk 1220783 6 NiViPciK,nipxirmk,nidimk,niorbk nipxirmk 115018 1 NiViPciK 79087 0 output 1871 1 video parport 32635 1 lp pata_sch 1963 0 psmouse 63245 0 r8169 34364 0 rt2800usb 31531 0 rt2870sta 461971 0 rt2x00lib 27541 2 rt2800usb,rt2x00usb rt2x00usb 9703 1 rt2800usb sdhci 15654 1 sdhci_pci sdhci_pci 5502 0 serio_raw 3978 0 snd 54180 6 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer snd_hda_codec 74201 2 snd_hda_codec_idt,snd_hda_intel snd_hda_codec_idt 51978 0 snd_hda_intel 22101 0 snd_hwdep 5412 1 snd_hda_codec snd_page_alloc 7172 2 snd_hda_intel,snd_pcm snd_pcm 70918 2 snd_hda_intel,snd_hda_codec snd_timer 19098 1 snd_pcm softcursor 1189 1 bitblit soundcore 6620 1 snd tileblit 2031 1 fbcon usb_storage 39585 2 vga16fb 11385 1 vgastate 8961 1 vga16fb video 17375 0
What are the processes running (for clarity I have included only processes whose name starts with or):
1222 pts/0 00:00:00 nipalps 1234 ? 00:00:00 niLxiDiscovery 1242 ? 00:00:00 nimdnsResponder 1248 ? 00:00:00 nipalsm
These are neither installed packages:
ii nidaqmxbase-board-support 3.4.0-1 NI-DAQmx Base Hardware Support ii nidaqmxbase-cinterface 3.4.0-1 NI-DAQmx Base API (C version) ii nidaqmxbase-common 3.4.0-1 NI-DAQmx Base Common Configuration Utilities ii nidaqmxbase-labview2009-vis 3.4.0-1 NI-DAQmx Base API (LabVIEW 2009 version) ii nidaqmxbase-labview2010-vis 3.4.0-1 NI-DAQmx Base API (LabVIEW 2010 version) ii nidaqmxbase-labview85-vis 3.4.0-1 NI-DAQmx Base API (LabVIEW 8.5 version) ii nidaqmxbase-labview86-vis 3.4.0-1 NI-DAQmx Base API (LabVIEW 8.6 version) ii nidaqmxbase-usb-support 3.4.0-1 NI-DAQmx Base USB Device Support ii nidimi 1.10.0-f0 NI-DIM ii nimdnsresponder 1.1.0-f3 National Instruments mDNS Responder Service ii niorbi 1.9.3-f0 NI-ORB ii nipxirmi 1.6.0-f0 NI-PXI Platform Services ii nirpci 4.2.0-f0 NI-RPC user library un nis
(keine Beschreibung vorhanden) ii nivisa 5.0.0-f0 NI-VISA Runtime Engine -- Abtraction layer for access to NI-488, PCI/PXI, USB, ii nivisak 5.0.0-f0 NI-VISA Runtime Engine Kernel Support These are dependencies of the sample program:
linux-gate.so.1 => (0xb78df000) libnidaqmxbase.so.3 => /usr/local/lib/libnidaqmxbase.so.3 (0xb78d2000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb78b3000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7758000) libnidaqmxbaselv.so => /usr/local/lib/libnidaqmxbaselv.so (0xb774e000) /lib/ld-linux.so.2 (0xb78e0000) liblvrtdark.so.10.0 => /usr/local/lib/liblvrtdark.so.10.0 (0xb6529000) libstdc++.so.6 => /usr/local/lib/LabVIEW-2010/patchlib/libstdc++.so.6 (0xb6447000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb6421000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb641d000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb6404000)
I would appreciate your help to find out what makes the examples hang.
Because of the size limitations post I'll post my gbd debug session in the next post.
Martin Jukel
Martin Jukel wrote:
That is why it seems to me that there is a problem starting, because with acquireNScans the elapsed real time 9,671 s longer then that time consumed user is only 0.904 s longer.
Yes and there is a work around. Please see my post in another thread:
libnipalu.so, failed to initialize
http://forums.NI.com/T5/Multifunction-DAQ/libnipalu-so-failed-to-initialize/m-p/1282246#M60196
-
DirectSound: program hangs on IDirectSoundCaptureBuffer_Release
Hi, this is a copy of
https://Bugzilla.gnome.org/show_bug.cgi?id=763322
basically: sometimes windows IDirectSoundCaptureBuffer_Release method hangs forever or until I unplug all audio device that is used.
Occurs only with devices usb and direct its api. Tried with windows 7 latest version of different PCs.
Does anyone know how to get more information, help, correction...
Stack trace:
wow64cpu.dll!CpupSyscallStub+0x9 wow64cpu.dll!WaitForMultipleObjects32+0x3b wow64.dll!RunCpuSimulation+0xa wow64.dll!Wow64LdrpInitialize+0x429 ntdll.dll!??_C@_0BN@KLOBBEB@Enabling?5heap?5debug?5options?6?$AA@FNODOBFM@+0x29364 ntdll.dll!LdrInitializeThunk+0xe ntdll.dll!_ZwWaitForMultipleObjects@20+0x15 kernel32.dll!_WaitForMultipleObjectsExImplementation@20+0xe0 kernel32.dll!_WaitForMultipleObjects@16+0x18 dsound.dll!?LockOrEvent@CMutexLock@@QAEHPAX@Z+0x22 dsound.dll!?TpEnterDllMutex@CThread@@IAEHXZ+0x22 dsound.dll!?HandleFocusChange@CDirectSoundAdministrator@@AAEXXZ+0x2c dsound.dll!?UpdateGlobalFocusState@CDirectSoundAdministrator@@QAEXH@Z+0x6e dsound.dll!?ThreadProc@CDirectSoundAdministrator@@EAEJXZ+0x37 dsound.dll!?ThreadLoop@CThread@@IAEJXZ+0x1d dsound.dll!?PrivateThreadProc@CThread@@AAEJXZ+0x32 dsound.dll!?ThreadStartRoutine@CThread@@CGKPAX@Z+0xd kernel32.dll!@BaseThreadInitThunk@12+0xe ntdll.dll!___RtlUserThreadStart@8+0x70 ntdll.dll!__RtlUserThreadStart@8+0x1b
Hi Thomas,
Thank you for the update.
It is unfortunate that suggestions have not worked so far. This is why I would recommend posting your query in MSDN for the best possible answer.
Please post your question in MSDN.
-
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.
-
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:
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.
-
Lack of 4.2.2 Android API of the basic documents
Hey people,
I was pleased with the release of support of 4.2.2 with the Android Runtime Android. I looked for an updated list of supported APIs, but the only thing I could find was:
The BlackBerry Runtime for Android apps applications supports Android 4.2.2 (BlackBerry 10.2 beta) and 2.3.3. 4.2.2 Android API support information will be available soon.
On the official Android Runtime API Support Page (https://developer.blackberry.com/android/apisupport/).
Do you have any delivery date for documentation that you can share with us? I'm very curious to know if the NFC is supported in the new version of Runtime Android.
Thank you for your help.
Best regards
Raphael
Hi RThie,
Thanks to touch base.
By our roadmap, the Gold release 10.2 for the iteration of Jelly Bean of the Runtime for Android BlackBerry applications will be in August. At that time, the Jelly Bean 4.2.2 documentation will be available.
Note: Near Field Communication (NFC) is not on the roadmap for inclusion in the next update. However, it is supported on the platform of development native/Cascades.
Duration of blackBerry for apps Android - Developer Roadmap
https://developer.BlackBerry.com/native/downloads/roadmap/
Native blackBerry/Cascades - near field Communication API Docs
-
NFC - interception unsupported Tags Event - UID reading only
Hi, I worked on a few ideas of NFC where I find that I am running in unsupported tags. Like the classic Mifare 1 K
(NTAG06)
Ideally I need only UID of these and I can move forward. My understanding is that it is ultimately in the negotiation of the initial Protocol of LLCP?
I read a lot of great posts on NFC with waterfalls, which led me to see that I need to the native library of the nfc to reach probably catch the event.
My main question is how / where I hang for the event "tag empty or not supported"?
My goal is to save my application for the event of invocation, but the record seems to imply that the MIME type will be together...
Can anyone provide a reference for the serial number of an unsupported tag before trying to treat a NDEF or knowledge Mime?
THX
Neil
OK I figured it (this always happens after I post...)
OK the place to get the UID to any Mifare Classic 1 K can be demonstrated in the application of the NFC tool when you sign up for a reading for 14443 (example of the GVB transport card)
There is a check it for variants...
In the "else" of the audit of the variant, you can just run displayTagInformation (target, false);
This will then display it...
The direct method is the snage it the nfc_event for the 14443 scan using (nfc_get_tag_id) and pass the appropriate parameters to fill a table/buffer ID.
The NDEF is Mifare classic mistake - but if you write a cloud apps like me then a UID is all that is necessary.
Neil
-
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:
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)
-
NFC allows to open my application?
Hello
I'm new on using NFC.
I have so much to read a label and to write to a tag (learned the post official supportforums.blackberry on NFC)
...However this is question is "how to open my application when the NFC is triggered.
say that I write the following string in my tags "myAppName_ [id]: url = 1".
where "myAppName_ [id]" is unique.So the problem is that after reading any tag, I have a DIALOGUE BOX WILL pop up that contains the data of the nfc.
is there a way to open my application instead of get this DIALOG box?same question in terms (sorry because I am not knowing how to express myself as well):
Is it possible to open my app (or bring to foreground to background), after reading and verification (check via myfunction which will ensure that this tag is mine!) the tag (using NFC).Hello
Yes, using a custom type is a good idea. Note that it is always "NDEF" If... the NDEF format allows you to define your own types. But since no other type will know what you invented, that your application is registered.
BlueTooth scenario is a little different. It's something called transfer of connection. It is triggered by the camera during certain types of message NDEF are produced automatically, and usually the NDEF message is forwarded using the so-called SNEP (Simple NDEF Exchange Protocol) instead of standard tag reading... the difference being that the SNEP is a protocol of peer-to-peer. I don't worry about this if I were you, because I don't think it's important for your goal.
Invent your own type. You need a value type and domain, and then specify when you sign up as a single separate string by a ': ', for example:
com Martin: special_type
If your code might look like this:
ReaderWriterManager nfcManager = ReaderWriterManager.getInstance ();
nfcManager.addNDEFMessageListener (listener,
NDEFRecord.TNF_EXTERNAL, 'com.martin:special_type');Good luck
Martin
-
Hello world.
I'm new to BB tablet development but have been a professional developer of BB Phone for a lot of new times. I'm currently researching a project I'd like to undertake that would suit the BB Tablet and I have just a few questions that I would apprectiate anyone in the know have a look;
1: it is possible to integrate the image of the camera within an application?
2: is there a source code available for free / api for interpreting QR codes?
3: there seems to be plenty of choice for the developing countries to the Tablet, which would be the best for an application that makes SOAP based web service calls, incorporates an image of the camera such as discussed in Q1 and interpretation of QR codes as discussed in Q2?
Thank you
Graeme.
Graeme,
Here is a simple code, which I used to access the camera. He puts a pretty big 'live view' on the stage with a button to capture. Then it freezes the image on the screen and allows you to provide a file name and save it. He puts it in a folder "documents" in the media directory.
I have attached a .zip containing only the com.pfp imports for the Async JPEG encoder. It still "hangs" while the economy so some tweaking to do yet but works.
package { import com.pfp.events.JPEGAsyncCompleteEvent; import com.pfp.utils.JPEGAsyncEncoder; import flash.display.Bitmap; import flash.display.BitmapData; import flash.display.Sprite; import flash.display.StageAlign; import flash.display.StageScaleMode; import flash.events.MouseEvent; import flash.filesystem.File; import flash.filesystem.FileMode; import flash.filesystem.FileStream; import flash.media.Camera; import flash.media.Video; import flash.utils.ByteArray; import qnx.dialog.AlertDialog; import qnx.ui.buttons.LabelButton; import qnx.ui.text.TextInput; public class fishyLightningCam extends Sprite { private var bitmapData:BitmapData = new BitmapData(972, 546); private var bitmap:Bitmap; private var byteArray:ByteArray; private var file:File = File.documentsDirectory; private var fstream:FileStream; private var captureBTN:LabelButton = new LabelButton(); private var discardBTN:LabelButton = new LabelButton(); private var saveBTN:LabelButton = new LabelButton(); private var fileName:TextInput = new TextInput(); private var cam:Camera = Camera.getCamera("1"); private var vid:Video = new Video(972, 546); private var jpgEncoder:JPEGAsyncEncoder; public function fishyLightningCam() { super(); // support autoOrients stage.align = StageAlign.TOP_LEFT; stage.scaleMode = StageScaleMode.NO_SCALE; cam.setMode(2592, 1456, 48); cam.setQuality(0, 100); takePictures(); } private function takePictures():void { if (cam != null) { vid.attachCamera(cam); vid.x = 26; vid.y = 5; addChild(vid); } else { var noCamAlert:AlertDialog = new AlertDialog(); noCamAlert.title = "Camera Error"; noCamAlert.message = "No camera was detected. Please ensure no other apps are using the camera."; noCamAlert.addButton("Okay"); noCamAlert.show(); } captureBTN.label = "Capture!"; captureBTN.setPosition(400, 550); captureBTN.width = 224; captureBTN.addEventListener(MouseEvent.CLICK, captureImage); addChild(captureBTN); fileName.prompt = "File Name"; fileName.setPosition(36, 555); fileName.width = 350; fileName.visible = false; addChild(fileName); saveBTN.label = "Save"; saveBTN.setPosition(400, 550); saveBTN.width = 100; saveBTN.visible = false; saveBTN.addEventListener(MouseEvent.CLICK, saveCapture); addChild(saveBTN); discardBTN.label = "Discard"; discardBTN.setPosition(524, 550); discardBTN.width = 100; discardBTN.visible = false; discardBTN.addEventListener(MouseEvent.CLICK, discardCapture); addChild(discardBTN); } private function captureImage(e:MouseEvent):void { bitmapData.draw(vid); bitmap = new Bitmap(bitmapData); bitmap.x = 26; bitmap.y = 5; addChild(bitmap); removeChild(vid); captureBTN.visible = false; saveBTN.visible = true; discardBTN.visible = true; fileName.visible = true; } private function saveCapture(e:MouseEvent):void { jpgEncoder = new JPEGAsyncEncoder(100); jpgEncoder.addEventListener(JPEGAsyncCompleteEvent.JPEGASYNC_COMPLETE, encodeWIN); jpgEncoder.encode(bitmapData); } private function encodeWIN(e:JPEGAsyncCompleteEvent):void { addChild(vid); removeChild(bitmap); fstream = new FileStream(); fstream.openAsync(file.resolvePath(fileName.text + ".jpg"), FileMode.WRITE); fstream.writeBytes(e.ImageData); /* byteArray = new ByteArray(); byteArray = e.ImageData; byteArray.position = 0; fstream.writeBytes(byteArray); fstream.close(); */ captureBTN.visible = true; saveBTN.visible = false; discardBTN.visible = false; fileName.text = ""; fileName.visible = false; } private function discardCapture(e:MouseEvent):void { addChild(vid); removeChild(bitmap); captureBTN.visible = true; saveBTN.visible = false; discardBTN.visible = false; fileName.text = ""; fileName.visible = false; } } }
-
WebWorks, NFC and OS7.1 Java plug-in compatibility
Hello
I worked on building a WebWorks app that uses an extension of java to access certain NFC of OS7.0 functions. OS 7.1 added functions that I would use it as well related to a number of NFC, but adding one of these new features gives me a CAP error when I try to package & sign in undulation. I guess it's because the current SDK WebWorks support adding these new features of 7.1 as extensions again... what what happens? Any idea on a time when WebWorks will be updated to support the new functions of 7.1 if this is the case?
Thank you
Drew
I don't know when the final version of WebWorks support 7.1, but it's an easy thing to fix. You must change the net.rim.api.jar that refers to WebWorks which can be done in two ways.
- Replace the file real net.rim.api.jar found in the lib folder of your installation with the edition 7.1
- Edit the bbwp.properties file in your bin folder to point to the version 7.1 instead of the lib folder.
Just for that you realize, that it is already an extension NFC community that supports MS tags here - https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Smartphone/NFC . If you have knowledge, it would be great if you helped to complete since this way the API would support to 7.0 instead of 7.1 just.
Maybe you are looking for
-
I want to give my correct EMail, you have a bad
good E Mail [email protected] you always disconnect and some games don't play any help to fix edited public E-mail and spambots as nobody here send an email posted in public like that.
-
Pavilion 17-g113dx: Can can't Do Factory Restore on the new Windows computer 10 17-g113dx
I'm doing f factory restore on my new computer with Windows 10 installed at the factory. When I go to Recovery Manager, choose the HP recovery environment, there is no option for the restoration of the factory. When I select the use a unit option, I
-
Impossible to uninstall ConfigFree - error
When I try to uninstall configfree, an error has occurred Error code:-5006: 0x8000ffffError information:> Kernel\TextSubstitution.cpp (292)> Setupdll \ setupdll.cpp (1254)pAPP: ConfigFreePVENDOR:TOSHIBAPGUID:bdd83dc9-bee9-4654-a5da-cc46c250088d$7.1.1
-
Cannot display the .xps files.
Original title: XPS print issue Seen something interesting that has been highlighted and printed one. XPS file. The appropriate icon appears on the desktop, but when you click above to launch a panel appears. "You have chosen to open"filename"which
-
The failure blue screen comes when I play games on and offline. It has a different pattern each time. IRQL and others! I run scans on a daily basis, and they don't find anything. I don't know what else to do! Help, please!