use of blackberry.location in the emulator of ripple

I try to do geolocation using the API documented here https://developer.blackberry.com/html5/documentation/blackberry_location_568404.html blackberry.location

I have the following in my config.xml file


http://www.BlackBerry.com/ns/widgets"version ="1.0.0"rim: header =" "RIM - webworks:rim / webworks ' xmlns ="http://www.w3.org/ns/widgets">" "
  Geo location Proof of Concept
 
  Me
 
 
 
 
 
 

I assumed that the tag 'id = "function blackberry.location' me will have access to the API, but it does not appear in the wave, where I'm emulating a Bold 9700 OS 6.  Other properties of the API "blackberry" appear, but not 'place '.

Any ideas?

Specifically, I am using this one because I want the functionality provided by the method "setAidMode".  I need location GPS is used, rather than the ground or cell-based estimate.

Thanks in advance,

Jim Ashton.

Your config.xml will take something ilke that give permission to use the GPS:


    access_location_services

Work throug the sample application here:

https://developer.BlackBerry.com/HTML5/documentation/tutorial_create_first_app_part1_1970681_11.html

Download the necessary files.  Look at the file geo.js in particular.  I think you should use geolocation API for OS6 and no location.

Tags: BlackBerry Developers

Similar Questions

  • How to generate the file .cod using the emulator of ripple?

    I want to pack my blackberry phonegap app using the emulator to ripple.
    The application should run on blackberry devices of series x 9 e.g. blackberry os 7 or earlier.

    For this I used Blackberry 2.3.1.5 WebWorks SDK.

    So please suggest me some ways to package the application using emulator ripple.

    Ripple can only directly build with the WebWorks SDK which is different from that of the PhoneGap SDK.

    SDK PhoneGap operates the WebWorks SDK, which can cause some confusion, but the process is different.

    Unfortunately, ripple doesn't fit with the PhoneGap SDK / tools to allow you to build like PhoneGap.

    That being said, there is the documentation available here, which describes how to use PhoneGap tools build for BlakcBerry:
    http://docs.PhoneGap.com/en/edge/guide_platforms_index.MD.html

    You will need to use the command line interface to package your HTML5 project as a BlackBerry PhoneGap application.

    Alternatively, you can build with ripple / WebWorks directly (i.e. omit PhoneGap completely) as shown here:
    https://developer.BlackBerry.com/HTML5/documentation/webworks_testing.html

  • Can anyone suggest me please how to find the location of the emulator/device

    Hi friends,

    I'm trying to get the location of the emulator/device.

    can someone suggest me please how to do it.

    The code I am using:

    CR = new Criteria();

    System.out.println ("criteria created instance.");

    cr.setAddressInfoRequired (true);

    cr.setAltitudeRequired (true);

    cr.setHorizontalAccuracy (100);

    cr.setVerticalAccuracy (100);

    cr.setPreferredPowerConsumption (Criteria.POWER_USAGE_MEDIUM);

    System.out.println ("CR.setPreferredPowerConsumption (called!'));

    System.out.println ("value of criteria:" + RC);

    LP = LocationProvider.getInstance (cr);

    System.out.println ("LocationProvider.GetInstance (CR) called!");

    System.out.println ("value of LocationProvider:" + lp); ---> HERE, I GET NULL VALUE

    lp.setLocationListener (LocationExample.this,-1, -1, -1);

    System.out.println ("setLocationListener (LocationExample.This, 5, 5, 5) called!");

    Thank you

    Maury.

    Start the trainer and Simulator menu select "simulate / GPS location.

    You will probably need to add your location to the list of locations "simulations". Go to google maps, find your location and save the lat/lon values.

    Be sure to only select a device/Simulator that supports GPS

  • Find iPhone using iPad found location but the phone is off

    What would do you if you lost your iPhone (abandoned by your vehicle) in a neighborhood residential but find a few doors more far using your iPad. After a short period of time the phone is turned off and the folk at the location of denies knowledge of your phone even thogh you show their screenshot?

    There really isn't much you can do. You have only a proof of the unit was near their residence. Not enough to involve law enforcement. If you have an access code on the device, they cannot access your content. Since you had find my iPhone is activated, then they cannot restore and activate the device. Contact your carrier and see if they offer services to the list. You can report the camera missing to the police and tell them what you know, it's their decision, if it moving any further.

  • Will be the app html5 built on the emulator to ripple with BB OS SDK i 7.0, e webworks 2.3.1.5 perfectly work perfectly on BlackBerry 5.0 and 6.0 OS devcies also?

    I built a html5 application with BB OS SDK 7.0 with the constructor of the ripple. IAM see it works perfectly on OS 7.0

    devices where, as some loading content html, part of the problem is existing in BB 6.0 and 5.0 OS devices.

    Why is it so?

    I have to build app for other OS separately?

    The best answer is - not.

    There is no guarantee that your application, designed for BB7, work well on older versions of the BlackBerry operating system because the web rendering engine has evolved considerably during this period.  In fact, WebKit was introduced only BB6.  Prior to this, BBOS 5.0 used a proprietery Java-based web engine that was designed to support the same web standards, but nevertheless provided a different rendering experience.

    Devs who intend to support the old software BBOS are strongly encouraged to test their applications on these platforms, rather than assuming it will work.

  • 11.1.2.3 several node install, do not use a shared location for the HTTP configuration files

    I'm done, the better I have a server three install of 11.1.2.3; Foundation Server the R & A, EPMA, Essbase tools, workspace, a single server Essbase and Planning server.  I haven't used a ' sharedlocation (Advanced link in screen HTTP) for servers.  My question is; "What needs to be done to complete the configuration, as the Administration of planning does not appear in the workspace?"  It is possible to re - configure HTTP to a 'sharedLocation' once the installation and configuration tasks are made?

    Thank you

    You can configure the location of OSH shared anytime

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • How to delete a selected line using a button located outside the datagrid in flex4 mxml application

    Hi friends,

    I'm new to flex, I use flex4 mxml application, I have my doubts... Help, please.

    My requirement is that I use a grid.i of data data should this datagrid from another window contextual and recorded the details datagrid now, too, I want to remove a record from a data grid

    I use a datagrid. a save button and remove the two buttons are placed outside the grid of data. so once I click on a row of the data grid and click on remove the medium button this record should delete data grid.


    All codes suggession and extract are welcome.

    Thanks in advance,

    B.Venkatesan

    Hello

    This code can help you:

    http://www.Adobe.com/2006/mxml"layout ="absolute"viewSourceURL =" srcview/index.html">"

    Import mx.controls.CheckBox;

    Import mx.collections.ArrayCollection;

    Import mx.controls.Alert;

    public var dp:ArrayCollection = new ArrayCollection();

    public void addRow (): void

    {

    var tmp:Object = new Object();

    tmp ["amount"] = 100;

    dp.addItem (tmp);

    }

    public function delRow (): void

    {

    If (dgFee.selectedIndex! = - 1).

    dp.removeItemAt (dgFee.selectedIndex);

    }

    ]]>

    Thank you and best regards,

    -----------------------------------------------------------------------------------------

    Vibhuti Gosavi . [email protected] | www.infocepts.com

    -----------------------------------------------------------------------------------------

  • Cannot run my signed Blackberry WebWorks Application in the emulator

    I am developing an Application Blackberry WebWorks Eclipse 3.6 (Helios).

    Sun JDK, Apache Ant and Blackberry Web and WebWorks SDK Plug-Ins for Eclipse are installed and cunfigured correctly.

    I have received sign of blackberry keys and them installed Eclipse and created a new Application of BlackBerry Webworks (Hello World) without any problem.

    But when I try to run the app in the Blackberry Simulator, Eclipse sings with my keys properly and emulator application starts. But my application starts, nor do I find in anywhere in the emulator.

    When I try the cod installation file signed in my phone, I can install it and see it in my phone but this time it doesn't start at all.

    I'm really stuck at this point. Assistance would be appreciated.

    Thanks in advance.

    You have helped indeed.

    Started to use the emulator to ripple and I can work with it as a miracle and test my application.

    The problem here is that I was redirected to totally wrong positioning to develop because site Web of PhoneGap.

    Thanks again.

  • Cannot start the emulator Ripple

    My computer is Windows 7 (64-bit). I tried to use the Ripple development smartphone emulator.

    I installed the emulator of ripple on C:\Program Research In Motion\Ripple 0.9.0.16

    and BlackBerry WebWorks SDK in C:\Program Files (x 86) \Research in Motion\BlackBerry WebWorks SDK 2.3.1.5

    These are the locations by default, the installation program provided.

    When I double click on the folder icon in the start menu, the program does not even appear, waving the emulator does not start. I even restarted my computer but nothing is running.

    Not sure if it's the same problem, but removing the c:\users\\appdata\roaming\Research In Motion\ Directory After uninstallation of ripple, then reinstall fixed any issues with waving to me. I hope this helps.

  • Can package and launch of the emulator of the ripple

    Hello

    I am able to build and verify my application using the emulator to ripple. When I try to deploy the application on my PlayBook, I learned that the build succeeded. I also see the bar file successfully created in the output folder. However, I don't see the app on my PlayBook.

    I confirmed that my debugging chips are not yet due and I also checked to make sure that the mode of development and the device password is correct. I also checked that the settings of the emulator of undulation for IP address matches that on the device. I use the developer version of beta of the operating system (2.1.0.560) and use the stand-alone emulator Ripple (not the chrome extension). I develop using the Tablet OS SDK than BB10 sdk currently not support directory and file API calls.

    I don't know what else to try because I do not receive the error messages and the app seems to have been built very well, but fails to install/launch.

    REDA

    Hi Nuno,

    Thanks for the comments. I managed to pack with the extension chrome as well, but he would not launch on the playbook. However, I was able to find a workaround. If I package and install from the command line using bbwp and deploy blackberry, it seems to work correctly. I can live with that for now.

    Thank you

    REDA

    Update: the problem with the emulator of ripple is also solved thanks to this thread.

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/cannot-install-with-ripple-plug-...

  • Install the emulator ripple (0.9.1)

    I'm trying to install the emulator to ripple, but, first the version that will be installed is waving 0.9.0.14 and not 0.9.1 how it says here: no https://bdsc.webapps.blackberry.com/html5/download/ripple

    and then, when I run it I get this error...

    I could find a solution here...

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/ripple-no-work/TD-p/1401819/page...

  • Test a web application that uses the emulator of the Blackberry, is - it possible?

    Hello everyone,

    I have a small java web application running on Apache Tomcat on a local computer. It works fine on my PC, but it is meant for Blackberry devices. Before I put in our web server, I want to test it on a Blackberry 8300 and 8900 emulators. Is this possible? I developed this web application using spring on Netbeans IDE, i.e. no special tool Blackberry.

    I appreciate every tip and trick!

    Thank you.

    Mazen.

    Thanks again for your response,

    I did the Simulator works well, but in another installation of Tomcat and Eclipse-Tomcat-Blackberry Simulator running the port. ELL, it works unless I have some JavaScript problems, so :-)

    Thanks again

    Mazen

  • Problem with the screen size of my application in the emulator for BlackBerry 10

    Hello, I have a problem with the emulator for BlackBerry 10 and is as follows:

    When I run my application in the emulator waving, sounds good and all content is complete, however, when I run the application in the emulator for BlackBerry 10 soft looks as if she had a zoom very large level of predefined way and only see a part of the application.

    With controller emulator, I have changed the level of 70% zoom, but still does not work.

    Here, I'm posting two photos:

    One future half-assed answer

    var dpr = 1; // To set the meta on a real device to get 1:1 pixels
    
    if(typeof window.devicePixelRatio != 'undefined') // Does device support devicePixelRatio?
        {
        dpr = window.devicePixelRatio;
        }
    
    if(dpr) // Set up the right meta
        {
        var meta = document.createElement("meta");    meta.setAttribute('name','viewport');
    
        meta.setAttribute('content','initial-scale='+ (1/window.devicePixelRatio) + ',user-scalable=no');
        document.getElementsByTagName('head')[0].appendChild(meta); // Inject meta
        }
    

    This works perfectly, but must be placed in thethe document FIRST and foremost

    Live JS is used to avoid problems of library management

    It won't work in Wellington but works perfectly on all devices I've tried

    As mentioned in the code above just packaging needs in the script tags and setting very high index.html HTML code as you can get - right afteris my favorite before any CSS or JS place<p class="reply"> <p class="reply">There are extensions to this topic-injection of script, I like to keep my code clean</p>

  • I have five Airport extreme with their network of people names different location home.  I have a brighthouse router that I use to connect to all the extremes of the airport.  I experienced the problem of connection to the internet.

    I have five airport extreme, with their network of people of names in a different location in the House.  I have a brighthouse router that I use to connect to all the extremes of the airport.  I experienced the problem of connection to the internet.

    Are all connected to the Brighthouse router by Ethernet extremes? Are all of the extremes configured as bridges?

  • can I use 2 Mac Pro, the old and the other from different locations with the same apple ID?

    can I use 2 Mac Pro, the old and the other from different locations with the same apple ID?

    Yes. The only problem that I see if Macs were different countries. The method of payment in the account/ID must be associated with the country where the unit is located and you can only buy Apps from the store of the country where the computers are located

Maybe you are looking for

  • How can I get a new one book in iPhoto Book PDF 2005?

    I have the PDF of a book in iPhoto that I had printed in 2005.  How to make a book printed to this file?

  • HP ENVY 15-j028tx for computer laptop touch screen

    I can't find it anywhere and it's a simple question, really. The HP ENVY 15-j028tx laptop has a touch screen feature? When I bought the laptop, in-store, it had a touchscreen function, but since I got home, I had no fuction of the touchscreen?

  • Unable to boot CD on a Satellite Pro 4300

    Hello world I recently tried to install Ubuntu on a Satellite Pro 4300.The problem is that I can't boot any CD, except those made by Toshiba. In the BIOS, I select the option "CD-ROM", but it goes straight to Windows.I also updated the BIOS to the la

  • SQL database with db_owner permissions access problem

    Hi FolksWe have a database and create the user with db_owner rights. But when connect to the database error message came. "The database is not accessible. (Object Explorer) ». During the investigation I have found that if the sysadmin rights user the

  • Cannot set the &lt; 1609 sampling frequency

    Hello We have recently upgraded to LV 8.6 and 8.7 DAQmx and then you have problem with the acquisition of data that uses the DAQmx API. For example, we have a module HAVE cDAQ-9172 and 9239. The device can be specified by the user and a typical confi