Code doesn't compile with "< bb/AbstractBpsEventHandler >.

Hey,.

I am new to Blackberry and I am doing an application that uses the internet connection. For this, I use this tutorial (link).

This tutorial unmask you how to get the State of the connection (if it is connected or not, and there is Wifi, 3G...) But when the extension of the class StatuesEvent "public bb::AbstractBpsEventHandler".

I can not compile, and I got this error:

CC: / Applications/BlackBerry/host_10_1_0_212/darwin / x 86/usr/bin/ntox86-ld error 1

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

make [1]: * [debug] error 2

make: * [Simulator-Debug] error 2

PLS, can anyone find for me why? I don't quite understand...

Here's the class "StatusEvent.hpp".

In the your application .PRO file, you add this line?

    LIBS += -lbb

Tags: BlackBerry Developers

Similar Questions

  • Code compiled with 4.5 is strange 9530 Simulator and device

    Hello

    I am writing an application that supports the level of OS 4.5.  When I run the Simulator for 9530 OS 4.7, it is acting funny.  In my application at initialization, I determine the width and the height of the elements of the display and layout accordingly.  However, when I have queries Display.getWidth () and Display.getHeight () the result returned is 320 x 240!

    I thought that this could be a problem with my installation of Simulator so I signed and tried on my Storm 9530 and I got the same results it.  If I compile with 4.7 that the problem goes away.

    I need to stick with 4.5 well.  Anyone seen anythign like that?

    Thanks in advance...

    I think what you are missing, it is that these other devices have a keyboard, where the 95xx didn't. Therefore, the operating system must provide an environment where the application will be usable, and it does this by providing a virtual keyboard, which consumes the rest of the screen.

    Have you tried to disable the compatibility mode? You can do this in the Options of the device (in Applications), and it can also be disabled in the JAD file for OTA download settings.

    Search the forum for "compatibility mode" and you'll find many, many discussions on this feature, but also the ways of working around him.

    Having said all this, my advice is to go there and have a version 4.7 for your application. If your application has any type of user interface at all, your users will be very happy with the compatibility mode on devices touch-sceen.

  • Code not compile with java7 but compiled with java6

    Hi all

    I after class:
    public class StrangeClass < T < S, T > StrangeClass extends S extends StrangeClass < T, S > > {}

    Public Shared Sub main (String [] args) throws InstantiationException, IllegalAccessException {}
    System.out.println ("test");
    }
    }

    It is compiling with eclipse (Java 7) and java 6u33 (oracle) but do not compile with java 7u5 (oracle)

    StrangeClass.java:1: error: type argument S is not within the limits of the variable of type T
    public class StrangeClass < T < S, T > StrangeClass extends S extends StrangeClass < T, S > > {}
    ^
    where S, T are variables of type:
    S < T, S > StrangeClass declared in the StrangeClass class extends
    T extends < S, T > StrangeClass declared in the StrangeClass class
    1 error

    Don't you think it's a bug or an expected behavior?

    Because they are two different things? Java 7 is NOT just an 'upgrade' of Java 6, it's a new platform. That's why things can and will be different.

    In this case simply maybe just a bug in the compiler was plugged.

  • VMWare Tools shared folder code does not compile on VMWare Fusion 7, Ubuntu asked 14.10, and Clipboard sharing does not work.

    Hello

    After the upgrade to a guest of 14.04 to 14.10 Ubuntu, I tried to reinstall the VMWare tools.  The problems I've come across so far:

    Shared folder code will not compile.  I get the following result:

    do: enter the directory "/ tmp/modconfig-ElOCTG/vmhgfs-only.

    Using the kernel build system.

    / usr/bin/make /lib/modules/3.16.0-23-generic/build/include/ - c... SUBDIRS = $PWD SRCROOT = $PWD. \

    MODULEBUILDDIR = modules

    make [1]: Entering directory ' / usr/src/linux-headers-3.16.0-23-generic'

    CC [M] /tmp/modconfig-ElOCTG/vmhgfs-only/message.o

    CC [M] /tmp/modconfig-ElOCTG/vmhgfs-only/dir.o

    CC [M] /tmp/modconfig-ElOCTG/vmhgfs-only/request.o

    CC [M] /tmp/modconfig-ElOCTG/vmhgfs-only/hgfsUtil.o

    CC [M] /tmp/modconfig-ElOCTG/vmhgfs-only/cpName.o

    CC [M] /tmp/modconfig-ElOCTG/vmhgfs-only/rpcout.o

    CC [M] /tmp/modconfig-ElOCTG/vmhgfs-only/stubs.o

    CC [M] /tmp/modconfig-ElOCTG/vmhgfs-only/hgfsEscape.o

    CC [M] /tmp/modconfig-ElOCTG/vmhgfs-only/link.o

    CC [M] /tmp/modconfig-ElOCTG/vmhgfs-only/transport.o

    CC [M] /tmp/modconfig-ElOCTG/vmhgfs-only/module.o

    CC [M] /tmp/modconfig-ElOCTG/vmhgfs-only/file.o

    CC [M] /tmp/modconfig-ElOCTG/vmhgfs-only/super.o

    /tmp/modconfig-ElOCTG/vmhgfs-only/file.c: in function 'HgfsAioRead ':

    /tmp/modconfig-ElOCTG/vmhgfs-only/file.c:714:4: error: implicit declaration of function 'generic_file_aio_read' [-Werror-implicit-function-declaration =]

    result = generic_file_aio_read (iocb, iov, numSegs, offset);

    ^

    /tmp/modconfig-ElOCTG/vmhgfs-only/file.c: in function 'HgfsAioWrite ':

    /tmp/modconfig-ElOCTG/vmhgfs-only/file.c:786:4: error: implicit declaration of function 'generic_file_aio_write' [-Werror-implicit-function-declaration =]

    result = generic_file_aio_write (iocb, iov, numSegs, offset);

    ^

    Cc1: some warnings are treated as errors

    scripts / Makefile.build:257: recipe for target ' / tmp/modconfig-ElOCTG/vmhgfs-only/file.o' failed

    make [2]: * [/ tmp/modconfig-ElOCTG/vmhgfs-only/file.o] error 1

    make [2]: * waiting unfinished...

    Makefile:1345: recipe for target ' _module_/tmp/modconfig ElOCTG/vmhgfs-only' failed

    make [1]: * [_module_/tmp/modconfig ElOCTG/vmhgfs-only] error 2

    make [1]: leaving directory ' / usr/src/linux-headers-3.16.0-23-generic'

    Makefile:120: doesn't have a recipe for target 'vmhgfs.ko '.

    make: * [vmhgfs.ko] error 2

    make: leaving directory ' / tmp/modconfig-ElOCTG/vmhgfs-only.

    The filesystem (vmhgfs module) driver is used only for the shared folder

    feature. The rest of the software provided by VMware Tools is designed to work

    regardless of this function.

    If you want the shared folders feature, you can install the driver of

    running vmware-config - tools.pl again after making sure that gcc, binutils, make

    and your kernel sources are installed on your computer.

    These packages are available on the installation of your distribution CD.

    [Press the Enter key to continue]

    In addition, the shared clipboard does not work.

    I'm under VMWare 7.0.0 on OS X 10.10.

    Any help or advice will be greatly appreciated.


    Thank you

    Jonathan Morgan

    The VMWare Tools included with fusion 7.0.1 solved this problem for me (and without any serious regressions I noticed so far, at least, which is nice but not something I intend on with vmware), so probably the next update of each VMware product should include the updated tools.  Don't know how long updates to other products are coming, however.  Wonder if there is a separate place to get just the tools to day?

  • Compile with java7 succeedes, but fails with java8

    When you change the executable compiler of java7 (1.7.0_80) at java8 (1.8.0_60), I get a compilation error:

    Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failed

    D:\data\scm-workspace\ParAd\dev\ParAd\src\main\java\de\contiteves\parad\application\dialog\ParadDialog.Java:[32,12] error: cannot access HelpProvider

    at org.apache.maven.plugin.AbstractCompilerMojo.execute (AbstractCompilerMojo

    the project compiles without error using the java7 executable compiler

    The source code has not changed. the error disappears when returning to the java7 compiler executable.

    Please see the attached logs for more details.

    The problematic class
    comes from oracle-Help jar:

    helpproviderlocation.png

    How can I make my request compilable with Java8?

    The solution was to replace the help.jar from former JDev - 9.0.4.3 with JDev version - 12.2.x

    Good bye

    DPT

  • Rounded corners code - what is wrong with my code?

    Hello

    I'm trying to use Win DW5 and CSS3 for rounded corners of the boxes (only at the top left and top right rounded - down should be square) in pure CSS3.

    Can someone tell me what is wrong with my code below?  (Top of page code makes 4 corners roudned and background code doesn't appear to upper right corner rounded - and not the left one.

    < div style = "padding: 10px;" Width: 445px; height: 370px; border-radius: 10px; -o-border-radius: 10px; -icab-border-radius: 10px; -khtml-border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; background-color: #d1ddf7; border: 1px solid #000; ">

    < / div >

    < p > < / p >

    "< div style =" width: 445px; height: 370px;

    border-radius:

    -webkit-border-top-left-radius: 10px;

    -webkit-border-top-right-radius: 10px;

    -moz-border-radius-topleft: 10px;

    -moz-border-radius-topright: 10px;

    background-color: #d1ddf7; border: 1px solid #000; ">

    < / div >

    "Thx. for any help.

    Jane

    Take a look at this:

    http://www.CSS3.info/preview/rounded-border/

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB
    http://ALT-Web-design.blogspot.com/

  • FlexUnit4 with Flex Application compiled with Flex SDK 3.0?

    The Flex application that I work on is compiled with Flex SDK 3.0.

    Now I want to unit test this application using FlexUnit4.

    I'm not able to find that flexunit4 for Flex SDK 3.0 in downloads page (http://www.flexunit.org/?page_id=14).

    So I decided to download the FlexUnit 4 source code and compile it using the Flex SDK 3.0.

    I downloaded the source code of the page of downloads (http://github.com/flexunit/flexunit/).

    I need help in the compilation of the projects. I want to know what are the configuration changes that I need to run the build.xml ant task in my local machine.

    Please help me out here.

    @crazyghost81 - http://opensource.adobe.com/wiki/display/flexunit/Get+Source+Code

  • procedure compiled with warning.

    I need to write a stored procedure that returns the name of the table and the number of rows in each table in a schema.
    The list of tables and columns are
    Client (pk_customer_id, client_name, account_num, lname, fname, MI, Address1, city, state_province, zip_code, num_cars_owned, houseowner, marital_status, num_children_at_home)
    Product (pk_product_id, product_name, brand_code, brand_name, SRP, gross_weight_oz)
    Sales (fk_store, fk_product, fk_time, fk_customer, fk_sales_person, sales_amount)
    Sales person (pk_sales_person_id, sales_person_name)
    Salestime (pk_date, date_name, year_name, quarter_name, month_name, day_of_year, month_of_year, month_of_quarter, quarter_of_year)
    Store (pk_store_id, store_name, store_type)

    This is the procedure I wrote but it gives me the warning saying running compiled with warning
    create or replace procedure get_tables_rows
    (
    tablename_param varchar2,
    Total_rows out  number
    )
    as
    begin
    select count(*) into Total_rows
    from tablename_param
    commit;
    exception
    when others then
    select 0 into Total_rows from dual
    rollback;
    end;
    That's how I am calling the procedure
    set serveroutput on;
    declare 
    row_count number;
    begin
    get_tables_rows('Customer',row_count);
    dbms_output.put_line('row count:' || row_count);
    end;
    /
    Can someone help me with the right code?

    Published by: user11872873 on November 29, 2009 12:34

    If you want to do, the easiest option would be to use dynamic SQL statements, i.e.

    create or replace procedure get_tables_rows
    (
      tablename_param varchar2,
      Total_rows out  number
    )
    as
    begin
        EXECUTE IMMEDIATE 'select count(*) from ' || tablename_param
          INTO total_rows_out;
    end;
    

    That being said
    -J' I would be concerned about the need for this type of code in the first place. If it is not a duty, there are not many situations where it makes sense to need a procedure that can give you the number of rows in an arbitrary table.
    -If a caller request the number of rows in a table that does not exist, wouldn't you want to raise an exception instead of returning 0? It seems strange that you want to hide all exceptiions

    Justin

  • Since macos sierra my isight FireWire doesn´t work with Facetime

    Until El Capitan works my FireWire iSight without problem with Facetime. After the upgrade to sierra, my iSight FireWire doesn´t work with Facetime, only with Photobooth!

    Fact the iSight camera please about this Mac-> System Report-> Firewire? What is the year/model of your Mac?

  • Satellite P300 (PSPCCA) - fingerprint reader doesn't work with IE8

    Fingerprint reader worked very well for all websites accessible Internet Explorer 7 vi.
    Then upgraded to IE8, fingerprint software has stopped working in IE. Uninstalled the old software of fingerprint and a downloaded from the toshiba site - updated version still does not.

    Does anyone have a similar experience?

    Hello

    As far as I know the old fingerprint software doesn't work with IE8 and Firefox 3
    You will have to wait for the update.
    I m not very well what version it will be, but I think soemthing with 3.0 or higher

  • Zip code does not match with the Service request number

    Hello
    I can, check the State of repair of my Xbox to the t.
    It keeps giving the same error (ZIP Code does not match with the Service request number).

    I tried to register the product.
    but it seems impossible, if it has a status of repair open.

    a catch 22.

    Hello

    I suggest you go through the following link.

    http://www.Xbox.com/en-us/

  • My laserjet 3050 doesn't scan with Mac Lion system. When will the pilot be available?

    My laserjet 3050 doesn't scan with Mac Lion system. When will the pilot be available?

    Thank you very much, it works, but all I had to do was remove the printer and run 10.5 installation. I was then able to scan through HP Director, without taking other measures.

    Best regards, David

  • How to combine code C++ of Cascade with the native C code in a project?

    Purpose: Using C++ Cascade camera video sample with native C sensor log.

    and function by using Cascade C++ user interface with native C detection function.

    Problem: After putting code of Cascade C++ native code C, the library shows unresolved inclusion.

    Question: How do I combine code C++ of Cascade with the native C code in a project?

    Minimal code:

    #include
    #include

    #include 'printf.h.

    #include
    #include
    #include

    #include "hellovideocameraapp.hpp".

    to: bb::cascades:Application;

    int main (void) {app app (argc, argv);

    New HelloVideoCameraApp (&app);)

    Return app.exec ();

    printfhw();
    printf ("Hello new %d", hwnum);
    Return EXIT_SUCCESS;
    }

    You just add the header and call the function as you would normally call a C in C++ function.

    You will need to provide clarification as to what you are trying to accomplish.  In its current form it looks like you want to run C code in an application of cascades.  You are more that welcome to do so, there is nothing to stop you.

    Waterfalls of projects are default C++ projects.  You do not even need to use QML and can do everything straight c++.

    Cascades IS C++ and C and C++ get along very well, so the answer that was given to us.

    We cannot give exmamples because all you need to do is create a new project of cascades in the IDE and it will generate the default files for you who are C++.  Just add your headers and other whatnot and start coding.

  • Smart Phone Hot Spot doesn't connect with my laptop Leveno using Windows 7

    My smart phone is a LG with Verizon Hot Spot spectrum. Hot Spot on, but it doesn't connect with my laptop Leveno using Windows 7.

    Spoke with verizon several times today and they seem to think that the last windows update can have turned on something from my laptop.

    Thank you

    Stan LG

    E-mail address is removed from the privacy *.

    Hi StanLX,

    To provide the proper resolution, that I would need more information on your side.

    1. do you receive any error messages?

    2 did you connect reactive to laptop before?

    3. What is the number of the Windows updated Knowledge Base article installed recently?

    Method 1:
    I suggest you run the network troubleshooter and check if it helps.

    Using the troubleshooter from network in Windows 7

    http://Windows.Microsoft.com/en-us/Windows7/using-the-network-troubleshooter-in-Windows-7

    Method 2:
    If the problem persists, I suggest you try the procedure described in the article and see if it helps.

    Wireless and wired network problems

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Method 3:
    If the problem is not resolved, I suggest you temporarily disable the security software and check if it helps.

    Disable the antivirus software

    http://Windows.Microsoft.com/en-us/Windows7/disable-antivirus-software

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    Hope this information helps. If you need additional help or information on Windows, I'll be happy to help you.

  • COMPILATION WITH KEYBOARD

    friends that I can compile with any F1 F2... from the keyboard?

    Hello

    I use the following keyboard shortcuts:

    CTRL + F8-> compilation

    CTRL + SHIFT + F8-> compilation for debugging

    You can also define your own keyboard shortcuts in the preferences.

    Kind regards

    Moritz

Maybe you are looking for

  • Why my Mac terminal displays this message each time when opening?

    Last login: Monday, May 23, 11:29:54 on ttys000 -bash: / Users/karthy/Library/Enthought/Canopy_64bit/User/bin/activate: no such file or directory

  • fraudulently sold pc

    I send all the information I have to the Attorney general as two technicians advised so far? I was sold a refurbished pc (said it was new and have received original) and only 4-5 months after I started the request for support for this pc, did HP advi

  • Size of capture USB camera

    I have the camera USB 'chat' with a resolution of 640 x 480, but IMAQdxSnap or IMAQStartAquasition.vi enter 1280 x 960 pixel of the image. How to change the size of the bucket to the native size. I have LV and Vision 2010

  • HP 15-031: password Hp 15-031

    Hi I have a hp 15-031 and asking its pw administrator (90634079). could you help me

  • Help ID this product that plugs into the back and in the wireless card I believe.

    No technical support can tell me what it is and can't find it online so I hope that someone here a tell me. My PC is a Studio XPS 435MT running vista sp2. The thing plugs on the back and it looks like the wireless card. Any help would be thank you ve