Geofencing APIs in Cascades

It is possible to implement geofencing capabilities in an app of Cascades?   I can't find any possibility to import a geomonitor.h etc. and am curious to know that if there's another approach fails me to bring in the Native ability.

QGeoAreaMonitor has been implemented in point 10.2. QGeoAreaMonitor uses the ability of leading geofencing geofencing library. A more complete support for the native virtual security is expected to be included as part of QtLocationSubset.

Jim

Tags: BlackBerry Developers

Similar Questions

  • Geofencing APIs on devices BB10

    Is it possible to operate the Geofencing APIs on devices BB10 yet? I thought that we would be able to do after this OS August update. But it takes 10.2 API to run this API the devies does not yet support y at - it another way? Thank you.

    If you mean for development purposes, run the last alpha version of dev for 10.2.

    If you mean deploy, then no, it's not out until 10.2 is released.

    You could free with just 10.2... I think that at this time something like 15% of users are already on it... Judging by my app sales.

  • Call an API - Cascades

    Hello

    I am very new to the BB10 and stunts development. I wonder is there any sample code availabe to call an API of Cascades dev and I await the return as a XML and I need to analyze.

    example: http://api.example.com/key=123

    which returns a return XML.

    Any Suggession / sample code.

    Thank you

    Pavan

    Hey! I do the same thing. I found the code to my son very useful. For your case, just replace the JSON data with the model of XML data model.

    http://supportforums.BlackBerry.com/T5/Cascades-development/method-for-making-an-HTTP-style-request-...

  • Get all time zones in Cascades

    I want a list of all time zones supported by a device BB10. I use stunts to develop my application.

    There is a related, though post for the development of Java - http://supportforums.blackberry.com/t5/Java-Development/Getting-All-TimeZones-With-offSet/m-p/568310...

    How can I optimize the same using the API of Cascades?

    I would like to look at some of the solutions here http://stackoverflow.com/questions/9804420/how-to-get-all-timezones-list-in-qt

  • How can I use qt without cascades and qml

    I want to use the Qt API without cascades and qml in my native application. I tried to use the Qt header files, but he tries to link with the static Qt libraries which are missing in the bb10 NDK (10.04). so can any body me suggestions on how to use the Qt API in the native application development

    Deploy the libraries you want to use with your application.  See here http://supportforums.blackberry.com/t5/Native-Development/How-to-port-your-Qt-Projects-to-Playbook/m... and here http://qt-project.org/wiki/QNX

    See you soon,.

    Jon

  • Can we synchronize permission selected with the settings of operating system Notifications BB10 for our Application.

    Steps to follow:
    BB10 device--> settings--> Notifications--> Applications--> [name of your application]--> all alerts [Toggle button]

    I have an obligation to check whether or not 'All alerts' is allowed through settings when the application is running. To check if we can synchronize permission selected with the settings of operating system Notifications BB10 for my application. How to get javascript code if alerts permission is on / off, while the application is running.

    I tried adding the blackberry.system function and tried to hasPermission (blackberry.push) also, I can't determine if permission is allow / prohibit... Please suggest how to get that.

    I don't see a WebWorks API for this. If I expected to be anywhere, it's here:
    https://developer.BlackBerry.com/HTML5/APIs/beta/BlackBerry.notification.html#jbo1385148829097

    But it seems that this API has not been fully implemented; It may be useful to connect a developer Issue Tracker JIRA to get this feature added.

    At the same time, there is this API of Cascades that looks like what you're looking for:
    https://developer.BlackBerry.com/native/reference/Cascades/bb__platform__notificationapplicationsett...

    Write an extension for this feature should allow you to access this feature:
    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/BB10-Cordova/template

    At the same time, a colleague is currently working on an extension that should open many features of Qt, and I think that the API above should be accessible through this extension. He must be released over the next week or two, so you can wait for that as well.

    EDIT: On this last point, see this extension which provides a mechanism for attaching in the majority of the Qt APIs.

    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/BB10-Cordova/QtBridge

  • Event management and other issues

    The story is this:

    I am very new to the BlackBerry development. I spent hours and hours of reading both the native and documentation stunts and I'm still very confused on the eventual implementation of certain elements that I need.

    The project I have been working on that is to create a couple of picture frames and arrange them in a model (a possible model is a two by two matrix). Managers must be arranged in such a way that each of them is resizable by dragging a custom border (space) between two consecutive images.

    Each image needs to load an image from a dialog box that lists the images in the default directory for the images. The framework should be able to pan and zoom (on an event of pinch). This of course cannot be done using ImageView, because it does not implement zoom or pan. I'll probably have to use ForeignWindow in order to use weaker functions (level C) in order to put in place the tools to zoom and pan.

    However, the following questions:

    -How to manage the events of touchscreen and/or gestures? Obviously, a button has an onClicked in QML method, but I need to know when the screen was touched, and what control was affected, in order to implement a resizable layout.

    -How to manage the events of a ForeignWindow? The documentation does that say how to create, not how to handle its events. Regarding an application of Cascades don't use a while loop to enter events, I do not understand how to manage these events?

    -How to improve lower level access to the data of the Image? Or if it is not possible, how do I make a link between a QImage and use in ImageView Image?

    All this has a clear solution in the native SDK, but I do not see how to incorporate the native with waterfalls. Any help would be welcome.

    Hello, welcome to the forums!

    I'll try to point you in the right direction. In order to check the touch events, you can access the VisualNode signals by following the approach outlined on this thread:

    http://supportforums.BlackBerry.com/T5/Cascades-development/managing-Cascades-events/TD-p/1739999

    You can also have a look at our API of cascades of events here:

    https://bdsc.webapps.BlackBerry.com/Cascades/reference/bb__cascades__Event.html

    Let me know if it helps!

    See you soon,.

    Martin

  • Involke Media Player

    I want to play a music file in my application.

    I can load the file and play using Media Player. But it would be preferable to involke the media player a dplay so there. If I do that I must have the media player on screen or can I still hide it and keep the background music?

    Can I do this on the Dev Alpha too?

    Hi @JeffLemon,

    Not sure if you already had it resolved but answering the case where:

    For applications where the primary use case is the consumer multimedia (audio/video), you should do your own Media Player Page with your own user interface controls (everything following the guidelines of BB10 UI and keep similar to the music apps and video which are grouped - as users get used to these features). There are actually quite a few waterfalls simple examples of applications that use the API of Cascades MediaPlayer.

    But yes, if it is a simple part of the application and that you don't have enough time to make your own Media Player Page, you can simply call the core Media Player map app and it's certainly better to force the user to download/save the file to play it through the app music base. The invocation of the app would be like navigating to a new Page (if the user may at any time, glance shot / push the button back like any other NavigationPane Page). The invocation ID is like any other invocation.

    But note since it would be a different application that you call, you will not be able to change the user interface components in the player card app.

    See you soon,.
    Rashid

    Applications development consultant | Relationships with developers

    BlackBerry @surashid

  • What are the appropriate steps to rotate the viewfinder of the camera?

    Another screen problem is driving me crazy.

    I'm quite confused as to what are appropriate measures to turn the viewfinder window when the user rotates the device.

    I seem to be able to get things market during the passage of a landscape to a landscape upside.  But to me something else gives basically the things that I can't begin to describe.  For example, when I go from landscape to portrait, I always get the bottom half of the screen to be the dark tone and the view backwards.

    Say vf_win is the window of the viewfinder and the size is the size of the vf_win and the angle is the angle of rotation new peripheral.

    So I first turn to the viewfinder window by

    screen_set_window_property_iv(vf_win, SCREEN_PROPERTY_SOURCE_SIZE, size);
    screen_set_window_property_iv(vf_win, SCREEN_PROPERTY_BUFFER_SIZE, size);
    rc = screen_set_window_property_iv(vf_win, SCREEN_PROPERTY_ROTATION, &angle);
    

    then rotate the camera by means of

    rc = camera_set_device_orientation(handle, angle);
    rc = camera_set_videovf_property( handle, CAMERA_IMGPROP_ROTATION, &angle);
    

    ?

    I think the above is certainly false since I couldn't get the results I wanted.

    Any help is greatly appreciated.

    The sample application does not work quite right when launched in portrait on the playbook, because the default configuration of the camera is for landscape.  Down in the device drivers, we don't really know anything about how the device is held and what is intention of the user/application, so we rely on the app by telling us a lot of information to make things.  Don't forget, this is the API of the lowest level available for access to the camera.  There is an API of Cascades photo being developed which encapsulates C API to the top and tries to simlify things at the expense of flexibility.

    On PB, the video viewfinder frames 1920 x 1080 by default, but several other formats are supported (this whole landscape well!).  Use camera_get_video_vf_resolutions() to retrieve the complete list.  If you need to make in a picture window, you must specify either a rotation of output using camera_set_videovf_property (handle, CAMERA_IMGPROP_ROTATION, 90 or 270) or by adjusting your rotation of window screen using screen_set_window_property_iv (win, SCREEN_PROPERTY_ROTATION, 90 or 270) and optionally resize the window by using SCREEN_PROPERTY_SIZE.

    The first option above actually produces a video image 1080 x 1920 returned in a window of the non-tourne screen.  The second option is still dealing with buffers of window of 1920 x 1080, but when the window is composite, it is blitted to the side.  We have 2 ways of doing this is because we have a requirement to be able to save videos in formats portrait without having to rely on the advice of metadata to display the videos properly as Apple or Android have to do (this is the reason for the 1st method).  For the second method (form) this is because not all applications require the video must rotate, nor necessarily all hardware platforms support video output in this mode.

    To answer your last question - definition of resolution 1024 x 576 vf and a rotation of 90 on playbook will give the following result:

    -buffers that have a width of 576 and a height of 1024 pixels of video output.

    -You can then display the viewfinder in a window size 576 x 1024 (or however you choose to scale)

    -buffers sent by the sensor of the camera would be rotated 90 degrees to the right before being delivered through these pads size 576 x 1024

    Represent it visually?

    If you keep the playbook in house orientation and a person stood in front of the camera, the image would rotate 90 degrees to the right so that their head is located to the right of the frame and feet to the left.

    How is it useful?

    If you happened to take the playbook oriented 90 degrees counterclockwise (eg. logo blackberry is on the right side) and displays this buffer image 576 x 1024, head of the person would now be at the top of the screen.

    Once again, this can easily get somewhat confusing and really benefits greatly from visuals.  I keep a stack of post-it notes at hand and am constantly draw lines of frame and stick men on them and turning them accordingly

    See you soon,.

    Sean

  • ImageData error when compiling

    I'm having a hard time using the api ImageData cascading.

    I have this as causing problems of line:

    imageData = bb::ImageData:fromPixels BB::ImageData (finalImage.bits (), bb::PixelFormat:RGBA_Premultiplied, finalImage.width (), finalImage.height (), finalImage.bytesPerLine ());

    When I compile I get these errors:

    / Applications/Momentics.app/host_10_1_0_238/darwin/x86/usr/bin/ntox86-ld: o-g/.obj/applicationui.o: reference to undefined symbol '_ZN2bb9ImageDataD1Ev'

    / Applications/Momentics.app/host_10_1_0_238/darwin/x86/usr/bin/ntox86-ld: note: '_ZN2bb9ImageDataD1Ev' is defined in OSR /Applications/Momentics.app/target_10_1_0_4651/qnx6/x86/usr/lib/libbb.so.1 try so add to the linker command line

    make [2]: leaving directory ' / users/avatsaev/DEV/BlackBerry10/AZR_O_Gauge / x 86'.

    make [1]: leaving directory ' / users/avatsaev/DEV/BlackBerry10/AZR_O_Gauge / x 86'.

    / Applications/Momentics.app/target_10_1_0_4651/qnx6/x86/usr/lib/libbb.so.1: could not read symbols: invalid operation

    CC: /Applications/Momentics.app/host_10_1_0_238/darwin/x86/usr/bin/ntox86-ld error 1

    make [2]: * [o-g/AZR_O_Gauge] error 1

    make [1]: * [debug] error 2

    make: * [Simulator-Debug] error 2

    Help, please.

    Hello
    Try adding
    LIBS +=-lbb
    the .pro file

  • Add functionaility camera app

    I'm creating an application using stunts and use the camera to take 2 pictures. I don't want these pictures stored in the camera. If possible, just save them in memory and nowhere else. Is it possible to do in QML?

    I also want to prevent the user to turn on things like HDR, burst mode, etc. I want to just the user to be able to take pictures with or without flash and manage images in the application without saving the photos to the pictures from the camera.

    Is this possible?

    It's not really hard, we have a sample called BestCamera that shows you how to use the camera API C cascading. You are really not much work to avoid things the waterfalls camera or camera card gives you, it's more that you would have to do a lot to implement these features with the api C.

    To save specifically the image, with the C API when you capture an image you get just a JPEG return buffer that exists only in memory. From there it is to you to save anywhere. Makes the best camera, you could just change where he recorded for you.

    https://github.com/BlackBerry/Cascades-community-samples/tree/master/BestCamera

  • LBS - retrieve the location of another device

    Hello

    I'm currently working on a location according to app that would allow one recover the location of other users of the application, of course, only with their consent. I'm developing on the blackberry platform. I can't seem to find my way around that at this moment and I tried looking for examples of code and stuff online but have not progressed. All I get is products sold by companies finished. I also tried to use the geofence api, but just warns you when user object leaves a specified scope. So I was hoping someone here could help with that.

    Thank you very much

    I would have thought that the usual application of this would each copy of the application sending their location on a server.  Who does not work for you?

  • Take a screenshot of BlackBerry 10 terminal

    Is there a demand a place to take a screenshot of the current view of my camera?

    Simultaneously press the volume Up and Down keys. If you have the volume turned itself sufficiently, you will hear a "camera shutter" sound, and a screenshot in PNG format is added to the folder of the camera.

    There is no way yet to do programmatically within your application except itself, and I don't know yet which is supported right now with an API in Cascades.

  • Cascades bb10 take screenshot with level API 10.0

    Hey everybody,

    Is there another way to take the screenshot by code?

    I read this post http://stackoverflow.com/questions/13123438/how-to-programatically-take-a-screenshot-on-blackberry-1...
    and I read this too https://developer.blackberry.com/native/reference/cascades/bb__system__screenshot.html

    But I need to take the screenshot with 10.0 minimum API level.
    is there another way to do this?

    Thank you

    Less the required permissions the less chance that someone won't use it had to 'trust' of the questions.

    I've attached an example of this you can check it out, she mainly only takes full-screen screenshots.

    https://supportforums.BlackBerry.com/T5/native-development/share-a-selective-screenshot/m-p/2627431#...

  • BBM 10 Cascades API for sending message required...

    Hello

    Can someone please tell me is there any api in the development of stunts that we use to send the message to a BBM contact.

    Anthing invocation BBM because in Invocation framework outside u can not send message to a contact in aprticular.

    My requirement is:-send message to a BBM contact and before you send the message by adding a header and on the same side of the receiver site remove the header and then showing the message to the receiver.

    Please answer.

    Thank you best regards &,.

    Tushar

    It is not an API that would allow him to fulfill this requirement.  The only method's invocation, which opens a window of BBM chat with a message ready to send.

Maybe you are looking for

  • I lost my bootcamp partition after update to El Capitan (solitary method T did not work for me!)

    I lost my bootcamp partition after update to El Capitan (solitary method T did not work for me: () is lost forever?) I can't access my files or the partition from the finder My bootcamp partition size is 380 GB. This is all the information on the sit

  • Computer portable NB305 - Windows 8 pro - WIFI not working not

    Hello everyone, I have a Toshiba NB305-105 netbook with windows 7 and 2 GB Ram... I bought windows 8 pro update and I installed it. After the proper installation, I installed all the drivers toshiba Win 7 32 bit.Well, after that, no hardware problem,

  • Computer laptop scroll issue on product number: F5Y85UA #ABA

    My laptop has begin to scroll continuously on all. At first I noticed when browsing the web and I couldn't scroll through or keep scrolling down.  I have tried a reboot and the computer would not start due to scrolling. I found that if I pressed 'end

  • It takes 3 clicks... can I change it?

    Running Windows 7. Here at work, it is common for me to open several windows at once. Not always, but often when I click on an icon in the toolbar, a window appears displaying a list of each window located on the tool bar, I guess that so you can cho

  • Helps with the rv180w and the Shrew soft vpn

    Hi, I'm trying to establish a vpn connection by using soft shrew for the cisco rv180w router. I watch and read everything I could find, but the connection drops during the opening of the tunnel. There were a few tuttorial here in the forum, but the l