Help needed on the BlackBerry PUSH API

Hi ALL, I've learned that by using the BlackBerry PUSH API, we can send data to any user of blackberry (beyond the company) (reference: BlackBerry_Push_APIs_Whitepaper.pdf).

(1) is it necessary to configure BlackBerry Enterprise Server to use the BlackBerry PUSH API.

(2) using the PUSH API, can we send data or store data or add data to a file in persistent memory on the BlackBerry smartphone.

Thanks in advance.

you need a bes

You can do whatever you want with the received data, which includes adding them to the other persistent memory stuff.

Tags: BlackBerry Developers

Similar Questions

  • Join the BlackBerry Push Service

    I am trying to integrate pushwoosh blackberrry webworks.

    He said I have to register an appid (https://www.blackberry.com/profile/?eventId=8121).

    could I get more information on the tax or the use of the push service pricing?

    is there a difference for testing and deployment?

    Thank you.

    Hello

    When you register to use the Services of the BlackBerry Push you receive an application ID that can be used to test:

    https://developer.BlackBerry.com/services/push

    There are free and available today from paid services, paid services will vary according to the number of relapses, you must complete. For more information on the paid levels please first try push Services, if the paid layer is required, then you can ask your account to upgrade and work with a team representative of the Push Services on the details on prices.

  • The BlackBerry Push service registration process

    I have asked the Services of BlackBerry Push for trials in January last 26 in order to generate an active push application.

    I have not received news about the State of the process.

    How long this process takes usually?

    There has been some delays in recent weeks with the registration of new accounts to push.  The team pushing will get these created as soon as they can.

  • Clean the recording to push with the Blackberry Push server on app removal

    Hi, expert,

    When our application is removed, our application (it's has a background replacement the entry point and it is still running) would detect the deletion and he would try to make a write-off to registration with Blackberry server push. However if the user chooses to reboot immediately (or there is no network connection to that time here), our code could get no time to complete the delisting.  Right now we use registration with http directly to our code. However, there are also pushing SDK that register and unregister through BONE. I know with direct http, it is impossible that OS could help us for cancellation of registration here. What push SDK? OS will of registratioin for this case if OS is the operating system for the registration of the push is deleted? I have found no confirmation on the documentation of push BB.

    Thank you very much for your understanding.

    asked the same question about the java forum and got the answer here: http://supportforums.blackberry.com/t5/Java-Development/Clean-up-push-registration-with-Blackberry-P...

  • Help needed on the export of the Photo App

    I'm a photo hobbyest with thousands of photos stored in my Mac using the Photos app. I already saved them on Time Machine and iCloud. However, I try to upload some on an external hard drive but can't.  The Photo app continues to CHANGE the resolution of my images when I export them.  Here is what happens...

    • I have uploaded a JPEG of 5 MB in the Photo app earlier this year.
    • Now, I'm ready to take a copy of this picture on my external hard drive.
    • If I just move the original photo to the Photo app on my counter top, the resolution GOES from 5MB to 2.1 MB.
    • If I export 'The Original unmodified' I lose all the changes that I made in the Photo app.
    • If I export the 'High' quality jpeg image, it DROPS my resolution of 2.1 MB.
    • If I export the photo to the "Maximum" quality jpeg, it INCREASES my resolution to 14.3 MB!
    • I found NO WAY to download my original photo size!

    Question... How to export or copy an image from within the app of the Photo on an external hard drive with the resolution of the EXACT SAME as it is?

    Thank you!

    You first need to understand the resolution - the file size is not resolution - the resolution concerns the dimensions in pixels of the image - file to a JPEG file size is determined by the compression you choose - compression of the image does not change the dimensions in pixels of all - compression removes the donnΘes form the pictures and all JPEG in theory is inferior finial an uncompressed image as TIFF - but for practically all the uses, it does not matter

    When you export a modified version of the photo you create a new file that contains the image and the size of the files is determined by the selections you make and has no resolution at all to the original file

    Photos has limited control over file size - ir you want a file size, then export a copy of very high quality (maximum or even a TIFF uncompressed) and use another program that gives you more control to compress in the JPEG compression you want

    But at the end of the day the size of the file is really no different and it is very likely that the big JPEG will give you the same results as an uncompressed TIFF

    LN

  • Help needed in the parameter validation and ownership

    Hello Denzz/Dupont,

    Sorry for the confusion between you guys, but please find a new parameter of condition that I need for a property evaluation and validation above top of it.

    I have 2 Essbase property i, e Essbase.ASO.DataStorage and Essbase.BSO.DataStorage that are defined with the default as empty from now.

    I want to do it derived property satisfying the scenarios below.

    (1) all the Member of sheet under hierarchy account should be Essbase.ASO.DataStorage = Nevershare

    All the Limb Member of the hierarchy that account must have Essbase.ASO.DataStorage = StoreData

    (2) all the leaf Member of the hierarchy that account must have Essbase.BSO.DataStorage = Nevershare

    All the Limb Member of the hierarchy that account must have Essbase.BSO.DataStorage = DynamicCalc

    (3) as it is requested to the point 2, all the sheet military under the hierarchy ought to have Essbase.BSO.DataStorage = Nevershare

    (with condition applied here)

    Essbase.Bso.Formula property if it is filled or have all the values in it, then Essbase.BSO.DataStorage should be replaced by DynamicCalc

    Alternatively it can be Nevershare if Essbase.Bso.Formula property is empty.



    I also want a parameter validation here, if the user tries to change all values in these two different properties of the derived value, then it should give them a validation error.


    Yes it would be then that node add and that was my main reason to ask if it worked - the fire

    The thing is it prevents the two properties ASO and storage BSO to have empty values and while creating nodes these accessories will be empty

    OK try this-

    If (PropValue (Core.Leaf),

    And)

    If)

    IsBlank (PropValue (Custom.Essbase.BSO.DataStorage)), it's true.

    If)

    IsBlank (PropValue (Custom.Essbase.BSO.Formula)).

    Equals (String, PropValue (Custom.Essbase.BSO.datastorage), Nevershare),

    Equals (String, PropValue (Custom.Essbase.BSO.datastorage), DynamicCalc)

    )

    ),

    If)

    IsBlank (PropValue (Custom.Essbase.ASO.DataStorage)), it's true.

    Equals (String, PropValue (Custom.Essbase.ASO.datastorage), Nevershare)

    )),

    And)

    If)

    IsBlank (PropValue (Custom.Essbase.ASO.DataStorage)), it's true.

    Equals (String, PropValue (Custom.Essbase.ASO.datastorage), StoreData)

    ),

    If)

    IsBlank (PropValue (Custom.Essbase.BSO.DataStorage)), it's true.

    Equals (String, PropValue (Custom.Essbase.BSO.datastorage), DynamicCalc)

    ))

    )

  • Help needed on the BIC


    Hi team,

    Please help on the below questions on BICS.

    1. How do I delete records that has been loaded into the DATABASE LOADER?

    2. how to remove the database tables in DATA MODELER?

    3. how change the data type varchar to Date format in the DATA LOADER loading data?  I can see only the number and the type varchar.

    4. after the publication of the data model with success, I can create visual reports. If I change the data model for all the changes, the join conditions are go (missing persons) automatically. Don't know why its happening. I have to recreate the model again for this.

    Please provide documentation for the same if no.

    Thank you

    Malli

    At the beginning of the end, the tabs are domain names when loading data using the data loader fixed the issue with the knuckles that disappears into the data model.

    We can delete, create, and can change the formats of data using Oracle Apex for BICS.

    Thank you

    Malli

  • SQL query help needed in the Clause type

    Hello

    I'm currently learning Clause type. How can I write in the clause type to get the result below:

    I have a table like this

    DEPTNO ENAME

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

    20 SMITH

    CELINE 10

    BOND 20

    ALLEN 30

    WARD 30

    20 JONES

    30 MARTIN

    30 BLAKE

    10 CLARK

    SCOTT 20

    10 KING

    30 TURNER

    20 ADAMS

    30 JAMES

    20 FORD

    10 MILLER

    I want the output should look like this

    DEPTNO ENAME

    ------     -----

    CELINE 10, CLARK, KING, MILLER

    20 JONES, ADAMS, BOND, FORD, SCOTT, SMITH

    30 MARTIN, JAMES BLAKE, WARD, TURNER, ALLEN

    Hear is the script I am currently working on.

    with emp_group as

    (

    Select 20 deptno, ename 'SMITH' Union double all the

    choose 10, 'CÉLINE' from dual union all

    Select 20, "BOND" of all the double union

    Select 30, 'ALLEN' from dual union all

    Select 30, 'WARD' of all the double union

    Select 20, "JONES' from dual union all

    Select 30, 'MARTIN' from dual union all

    Select 30, "BLAKE" from dual union all

    choose 10, 'CLARK' from dual union all

    Select 20, 'SCOTT' from dual union all

    choose 10, 'KING' of the dual union all

    Select 30, 'TURNER' from dual union all

    Select 20, 'ADAMS' from dual union all

    Select 30, 'JAMES' of the dual union all

    Select 20, 'FORD' Union double all the

    choose 10, 'MILLER' from dual

    )

    Select

    DEPTNO

    A1

    of emp_group

    model

    ignore the nav

    partition (deptno)

    dimension (ROW_NUMBER() over (PARTITION BY deptno ORDER BY ename DESC) rn)

    measures (ename, LPAD(' ', 100) A1)

    rules)

    A1 [rn > 0] = ename [cv ()],

    A1 [0] = ename [cv ()]

    )

    order by deptno

    ;

    your help is very appreciated.

    Thank you in advance.

    Try this.

    Select

    *

    Of

    (

    with emp_group as

    (

    Select 20 deptno, ename 'SMITH' Union double all the

    choose 10, 'CÉLINE' from dual union all

    Select 20, "BOND" of all the double union

    Select 30, 'ALLEN' from dual union all

    Select 30, 'WARD' of all the double union

    Select 20, "JONES' from dual union all

    Select 30, 'MARTIN' from dual union all

    Select 30, "BLAKE" from dual union all

    choose 10, 'CLARK' from dual union all

    Select 20, 'SCOTT' from dual union all

    choose 10, 'KING' of the dual union all

    Select 30, 'TURNER' from dual union all

    Select 20, 'ADAMS' from dual union all

    Select 30, 'JAMES' of the dual union all

    Select 20, 'FORD' Union double all the

    choose 10, 'MILLER' from dual

    )

    Select

    DEPTNO

    names

    rn

    of emp_group

    model

    ignore the nav

    partition (deptno)

    dimension of)

    ROW_NUMBER() over (PARTITION BY deptno ORDER BY ename) rn

    )

    measures (ename, cast (null as names of varchar2 (40)))

    rules

    (

    names [any] order by desc = ename [cv ()] rn | «, » || names [cv () + 1]

    )

    order by deptno

    )

    where rn = 1

    Best regards, Andrei

  • Help needed in the list item... need display a selected Department employees

    Hi all
    I am very beginner in D2K technology. I use Forms 10g.
    Could you please help me...

    I created a list item that contains dept_id = 10, 20, 30...

    My requirement is when I change the value of the dept_id (select dept_id = 20), the employees belong to this desire to display dept (to display 5 dept 20 employees).

    I created two block - block2, block3 hepatitis has

    In block2, there is a list item

    Block3, there is an element of the screen and I've changed the number of properties displayed in block 10.

    I have atteched a trigger when-list-changed and the code is:
    Select last_name in: block3.item14 of employees where department_id =:block2.item4;

    But it does not work...

    Thanks in advance,
    Tapan.

    Published by: user630863 on August 8, 2010 21:20

    Published by: user630863 on August 8, 2010 21:55

    Well, the 'right' wa would be in the basic block 3 on the emp table database, set the somthind as where clause

    DEPTNO=:BLOCK.THE_LIST_ITEM:
    

    If you want to stay with the 'wrong' way to fill th eblock by yourself, try something like

    GO_BLOCK('BLOCK3');
    CLEAR_BLOCK(NO_VALIDATE);
    FOR rec IN cursor LOOP
      IF :SYSTEM.RECORD_STATUS!='NEW' THEN
        CREATE_RECORD;
      END IF;
      :BLOCK3.LASTNAME:=rec.LASTNAME;
    END LOOP;
    
  • Help needed - debug the script.

    Hi Experts,

    Can someone help me to debug the script below.

    Basically, I'm just checking the dates of a column DATE_NAME and if its between the selected range, I'm assiging a number.

    Select DATE_NAME, CASE
    WHEN
    Trim (to_char(DATE_NAME,'DD-MON')) BETWEEN the TRIM (TO_CHAR (to_DATE (15 - DEC ',' DD - MY '), "JJ - LUN")) AND TRIM (TO_CHAR (to_DATE (10-JAN ',' DD - MY '), "JJ - LUN")) THEN 1
    WHEN
    Trim (to_char(DATE_NAME,'DD-MON')) BETWEEN the TRIM (TO_CHAR (to_DATE (11-JAN ',' DD - MY '), "JJ - LUN")) AND TRIM (TO_CHAR (to_DATE ('07 - FEB ',' DD - MY '), "JJ - LUN")) THEN 2
    WHEN
    Trim (to_char(DATE_NAME,'DD-MON')) BETWEEN the TRIM (TO_CHAR (to_DATE ('08 - FEB ',' DD - MY '), "JJ - LUN")) AND TRIM (TO_CHAR (to_DATE ('07 - MAR ',' DD - MY '), "JJ - LUN")) THEN 3
    WHEN
    Trim (to_char(DATE_NAME,'DD-MON')) BETWEEN the TRIM (TO_CHAR (to_DATE ('08 - MAR ',' DD - MY '), "JJ - LUN")) AND TRIM (TO_CHAR (to_DATE ('04 - APR ',' DD - MY '), "JJ - LUN")) THEN 4
    WHEN
    Trim (to_char(DATE_NAME,'DD-MON')) BETWEEN the TRIM (TO_CHAR (to_DATE ('05 - APR ',' DD - MY '), "JJ - LUN")) AND TRIM (TO_CHAR (to_DATE ('02-MAY ',' DD - MY '), "JJ - LUN")) THEN 5
    WHEN
    Trim (to_char(DATE_NAME,'DD-MON')) BETWEEN the TRIM (TO_CHAR (to_DATE ('03-MAY ',' DD - MY '), "JJ - LUN")) AND TRIM (TO_CHAR (to_DATE (MAY 30 ',' DD - MY '), "JJ - LUN")) THEN 6
    WHEN
    Trim (to_char(DATE_NAME,'DD-MON')) BETWEEN the TRIM (TO_CHAR (to_DATE (MAY 31 ',' DD - MY '), "JJ - LUN")) AND TRIM (TO_CHAR (to_DATE (27 - JUN ',' DD - MY '), "JJ - LUN")) THEN 7
    WHEN
    Trim (to_char(DATE_NAME,'DD-MON')) BETWEEN the TRIM (TO_CHAR (to_DATE (28 - JUN ',' DD - MY '), "JJ - LUN")) AND TRIM (TO_CHAR (to_DATE (25 - JUL ',' DD - MY '), "JJ - LUN")) THEN 8
    WHEN
    Trim (to_char(DATE_NAME,'DD-MON')) BETWEEN the TRIM (TO_CHAR (to_DATE (26 - JUL ',' DD - MY '), "JJ - LUN")) AND TRIM (TO_CHAR (to_DATE (22 - AUG ',' DD - MY '), "JJ - LUN")) THEN 9
    WHEN
    Trim (to_char(DATE_NAME,'DD-MON')) BETWEEN the TRIM (TO_CHAR (to_DATE (23 - AUG ',' DD - MY '), "JJ - LUN")) AND TRIM (TO_CHAR (to_DATE (19-SEP ',' DD - MY '), "JJ - LUN")) THEN 10
    WHEN
    Trim (to_char(DATE_NAME,'DD-MON')) BETWEEN the TRIM (TO_CHAR (to_DATE (20-SEP ',' DD - MY '), "JJ - LUN")) AND TRIM (TO_CHAR (to_DATE (17 - OCT ',' DD - MY '), "JJ - LUN")) THEN 11
    WHEN
    Trim (to_char(DATE_NAME,'DD-MON')) BETWEEN the TRIM (TO_CHAR (to_DATE (18 - OCT ',' DD - MY '), "JJ - LUN")) AND TRIM (TO_CHAR (to_DATE (14 - NOV ',' DD - MY '), "JJ - LUN")) THEN 12
    WHEN
    Trim (to_char(DATE_NAME,'DD-MON')) BETWEEN the TRIM (TO_CHAR (to_DATE (15 - NOV ',' DD - MY '), "JJ - LUN")) AND TRIM (TO_CHAR (to_DATE (12 - DEC ',' DD - MY '), "JJ - LUN")) THEN 13
    0 OTHERWISE
    END AS D_TIME PERIOD;

    Any help will be appreciated.

    PS: DATE_NAME is of DATE data type.

    Thank you
    G

    Published by: Gurusank on June 24, 2009 15:53

    Do not convert the date to a string for comparison. For example your following code snippet:

    TRIM(TO_CHAR(DATE_NAME,'DD-MON')) BETWEEN
         TRIM(TO_CHAR(to_DATE('15-DEC', 'DD-MON'),'DD-MON') )
          AND
         TRIM(TO_CHAR(to_DATE('10-JAN', 'DD-MON'),'DD-MON')) 
    

    should be written as

    DATE_NAME BETWEEN to_DATE('15-DEC', 'DD-MON')
    and to_DATE('10-JAN', 'DD-MON')
    

    Are you sure avoiding the year (YYYY) in your format to to_date mask. This will affect current year to date
    In this case, something like

    TO_DATE(TO_CHAR(DATE_NAME,'DD-MON')), 'DD-MON') BETWEEN
       to_DATE('15-DEC', 'DD-MON')
       AND
       to_DATE('10-JAN', 'DD-MON')
    

    (It could be an effective way to make this part. Nothing is striking for me from now on.)

    I hope this helps.

    Kind regards
    JO

  • Help needed in the management LR5.7 and color

    LR5.7 in the print module - the printer settings - I cannotget predefined a pop up screen under the settings tab to go to advanced or anywhere else, so I can't disable the printer management. I want to activate the icc profiles print from LR

    What is your OS and the brand/type of printer?

  • Help needed on the links between drop-down list boxes

    Hello

    I use 8 adobe life cycle designer to make shapes. These forms are usesd to collect information on people working in the health sector.

    I want to use drop-down lists that are "connected". According to the choice made in the first box, the user will receive new options in the second box.

    Example:

    Dropbox 1

    Values

    -value 1

    -value 2

    -value 3

    Dropbox 2

    If the value of things 1 user, they can choose the following values in dropbox 2:

    -Value has

    -Value B

    If the value of things 2 user, they can choose the following values in dropbox 2:

    -Value C

    -Value D

    If the value of things 3 user, they can choose the following values in dropbox 2:

    -Value E

    -Value F

    I've been puzzeling for awhile, but impossible to find the solution for this.

    Thanks in advance

    Daniel

    I'm compatible pdf for ES 8. Now we work. https://workspaces.Acrobat.com/?d=qBsk3hERFH2RcSn5vQ5rBg

    When the script does not check

    scripting language - javascript

    ObjectName - is your identical objectname (when your dd called dd_choice2 or dropbox_2, then you must modify the script)

    case "123":
            dropbox_2.clearItems();
            dropbox_2.addItem("Please select a value");
            dropbox_2.addItem("456");
            dropbox_2.addItem("789");
            dropbox_2.selectedIndex = 0;
            break;
    

    The behavior is correct when you copy them.

    You select '123 '.

    2 JJ '456' and '678 '.

    You select "456".

    2 JJ "123" and "678".

    You select "678".

    2 JJ '456' and '678 '.

    Please give your feedback tomorrow if it's work.

    Kind regards Mandy

  • Help needed in the table in the Table using the OPS approach

    We have a requirement in the OPS in which the region of the page of search results should provide details of the header. And in the header Details there is a show and hide the button that would show details of line corresponding to the header (such as the Table - to - Table).



    For more details header I used table under the tip, I used region of detail and there I created the table for more details of line.

    I also created see links in the header details links discovers the object and a view object Details.



    I put in the request of the controller process method, see link name and name of the child attribute for external table (table details header) and the inner table (line details table)



    When I launch OAF page, I get the error below. I am facing this error when I tried to put the link name view attribute and child of the internal table (i.e. table line details) in the controller.

    Retail 0 #.
    java.lang.NullPointerException
    at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.updateInnerTableProperties (unknown Source)
    at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processRequestAfterController (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAFlowLayoutBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest (unknown Source)

    User - try the framework OFA Forum

  • On PUSH API

    I know, this is how the BlackBerry Push API works:

    1. the provider sends a push request
    2 BlackBerry® Infrastructure returns a response
    3 blackBerry Infrastructure pushes the data to the BlackBerry smartphone
    4 blackBerry smartphone returns a response to the BlackBerry Infrastructure
    5 blackBerry Infrastructure sends acknowledgement to the content provider
    6. read notification is returned to the BlackBerry Infrastructure

    I have used Push API. But I don't understand number 4-6, how we code a response to the BlackBerry Infrastructure? Can we know that data sent to the BB if you use any API to push? How?

    Thank you

    You can add a notification url in the header to push, it is called when the thrust was delivered. See http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800440/What_Is...

  • Registration of the Client Push BlackBerry rejected by the server

    Hi all

    Successfully, I registered for the blackberry push service assessment and received the appropriate credentials.

    However, whenever I try to save my client push service, I have developed with the help of a real device, I get a "rejected by Server error."

    I've only got my credentials 5 days ago, so I don't think that it has expired.

    I use a blackberry 9700 OS 6 to test this.

    The Client I wrote is a variant of the client Push service example.

    Here is the registration code.

    public void register() throws Exception {
            ApplicationDescriptor ad = ApplicationDescriptor.currentApplicationDescriptor();
            //byte serverType = PushApplicationDescriptor.SERVER_TYPE_BPAS;
            PushApplicationDescriptor pad = new PushApplicationDescriptor( PushConfig.APP_ID, PushConfig.PORT,
                    PushConfig.REG_URL, PushApplicationDescriptor.SERVER_TYPE_BPAS, ad );
            // check whether already registered or registration pending
            PushApplicationStatus pushApplicationStatus = PushApplicationRegistry.getStatus( pad );
            byte pasStatus = pushApplicationStatus.getStatus();
            System.out.println("Starting Registration");
            if( pasStatus == PushApplicationStatus.STATUS_ACTIVE ) {
                Subscriber subscriber = new Subscriber();
                subscriber.subscribe();//register again but don't block.
                System.out.println("successful registration");
                return;
    
            } else if( pasStatus == PushApplicationStatus.STATUS_PENDING ) {
                // we already scheduled registration, wait for its result
                print("Registration pending");
            } else {
                // not registered yet, register
                System.out.println("not registered yet");
                PushApplicationRegistry.registerApplication( pad );
            }
            parseRegistrationResult();
        }
    

    In the onStatusChange(), I have this:

    public void onStatusChange(PushApplicationStatus pushAppStatus) {
            byte bpsStatus = pushAppStatus.getStatus();
            byte regReason = pushAppStatus.getReason();
            String error = pushAppStatus.getError();
    
            boolean simChanged = false;
            _regStatus = bpsStatus;
    
            switch( bpsStatus ) {
                case PushApplicationStatus.STATUS_ACTIVE:
                    Subscriber subscriber = new Subscriber();
                    String result = "";
    
                    subscriber.subscribe(); //initiate subscription
                    result = subscriber.getResult();
                    print("result is "+ result);
                    if(result == "s") {
                        print("Whoop!")
                    } else {
                        print("we failed");
                    }
                    break;
                case PushApplicationStatus.STATUS_FAILED:
                    print("registration failed");
                    displayMessage("registration failed");
                case PushApplicationStatus.STATUS_NOT_REGISTERED:
                    switch( regReason ) {
                        case PushApplicationStatus.REASON_SIM_CHANGE:
                            simChanged = true;
                            break;
                        case PushApplicationStatus.REASON_REJECTED_BY_SERVER:
                            print("Rejected By server");
                            displayMessage("Rejected by server " + error);
                            break;
                        case PushApplicationStatus.REASON_NETWORK_ERROR:
                            print("network error");
                            displayMessage("Network error");
                        case PushApplicationStatus.REASON_INVALID_PARAMETERS:
                            // registration failed
                            break;
                    }
                    break;
                case PushApplicationStatus.STATUS_PENDING:
                    print("still pending");
                    displayMessage("still pending");
                    break;
            }
    
        }
    

    Please, what am I doing wrong?

    is it possible that the server eval is evil?

    Problems solved now

Maybe you are looking for