Integration of salesforce blackBerry using oauth 2.0

Need urgent help

Hi friends,

I'm new to Blcakberry, I develop a Blackberry application that requires authentication to Salesforce, I use oauth 2.0 approach.

I m using following code for the oauth request

browserField.requestContent

("https://login.salesforce.com/services/oauth2/authorize?response_type=token&display=touch&client_id=m...");

This loading of the oauth browser screen continue oauth. At the time where I click on allow screen, the browser will try to redirect to the address 'myapp:success' that contains my token and other information. But this time system generate an exception (code 104).

Is there a way to manage this exception or any other event / function which can access the url to query just before his guest by field of browser?

Any help is appreciated

Thank you & best regards

Manish Kumar

Hello

I solved this problem by overwriting the nevigationClick of ProtocolController and bind it with browserfield

Thank you

Manish Kuma

Tags: BlackBerry Developers

Similar Questions

  • The classics all contacts blackBerry, Journal and msgs not passed the classic Bold 9780 Blackberry using the link

    Dear all,

    I just got my classic Blackberry an upgarde to my Bold 9780. The first thing I did was to transfer all my call logs, text messages and contacts at classic BB using the BB link. I followed all the steps and complete the process.

    Unfortunately, all contacts, text in waiting and call logs have not been transferred to my classic BB.

    When BB link asks to connect my old Bold 9780 it creats a back to the top folder of request to connect the classic BB and transfers the backup file of the Bold 9780. End of no use as always all my contacts. At the end of the binding process attention msg appears * contacts, messages, and newspapers is poster in a feww minutes, IE it will take time to appear

    Its almost 24 hours and all contacts have not appeared in the classic BB contact application.

    I ask you all if any body can bring me a solution

    Thank you

    Falak, you can disable this merger now in the settings of your contact.

  • Impossible to get notifications of type push on BlackBerry using the HttpPushDemo application

    Hi all

    I'm currently running client application HttpPushDemo Simulator and I'm able to get notifications sent from the server application successfully.

    Now, I run the client application even on my Blackberry which is active BES but I'm not able to get push notifications.

    I did due to changes on the application server
    -DEVICE_PIN = device PIN No. ("26DEA1CF");
    -DEVICE_PORT = "100";
    -MDS_PORT = 8080;

    Domestic GetPushURL()
    -_pushURL = new URL ("http", the address IP of BES or host name, MDS_PORT, "/ push?") ("DESTINATION =" + DevicePin + "& PORT = ' + DEVICE_PORT + ' & REQUESTURI = address IP BES or host name");

    Domestic PapPush()
    -String mdsHost = BES IP address or host name.

    When I run the server application it gives me an IOException with response code 400.

    I also checked the MDS status page using http://: 8080.

    Can someone tell me who supplied the information is correct, and what else should I check to make sure that the application will run on the device.

    Thanks in advance.

    Hello

    I am now able to receive notifications on my mobile client.

    Just "X-RIM-Push-reliability-Mode" property has commented on or changed its value to 'APPLICATION' in order to 'TRANSPORT' inside the postData() method.

    for example conn.setRequestProperty ("X-RIM-Push-Reliability-Mode", "TRANSPORT");

    Note: this works for the push RIM only format. Yet I am not able to receive notifications on device with push PAP format.

    Thank you all.

    -Kone

  • How to access image stored in Blackberry using Bitmap.getBitmapResource ()?

    I want to access an image stored in Blackberry, say instead of "store/home/user/image.png".

    Now I can access the image as,

    String filePath = "file:///store/home/user/image.png;
    Bitmap image = Bitmap.getBitmapResource(filePath);
    BitmapField bitmapField = new BitmapField(image, BitmapField.FOCUSABLE);
    

    OR

    I have to access

    String filePath = "file:///store/home/user/image.png;
      FileConnection fconn = (FileConnection)Connector.open(filePath, Connector.READ);
      if (fconn.exists())
      {
                    ........
                    ........                           
    
         input.close();
         fconn.close();                            
    
      }
    

    I am able to access the image using the second way, but I want to know that can I access using 'Bitmap.getBitmapResource (filePath)?

    None

  • JeME is deployed on Blackberry (using NetBeans) fast/more easier than eclipse plugin-Jde

    wanted to know... If it is easier to develop and... apps look better when I develop Java application using J2ME and deploy it on Blackberry... or the way eclipse-JDE...

    My java application includes the web service call

    Thank you

    If you are developing from scratch, my personal suggestion is to go with the BlackBerry API, it gives native aspect and there are good developer docs and tutorials how-to, video... APRT of this wonderful form.

  • Problem in creating project of blackberry using svn with eclipse

    I try to import BlackBerry code in Eclipse, svn. It is not verified as a project, so I'm the control using the new project wizard. Unfortunately, it doesn't give me an empty project. How can I get around this?

    • Microsoft Windos XP
    • Eclipse 3.4.1
    • JDE 4.7 component package
    • BlackBerry JDE Plugin 1.0.0.67

    If one found work around this please let me know.

    It's a little more difficult with the JDE Plugin 1.0, but you will need to manually extract the project to the folder, then use the new project wizard, and give the project the same name as the file recovered.

    This should make your project withdrawn a BlackBerry.

  • Need to draw the line & bargraph on Blackberry using JDE 4.7

    Hello

    I need to draw a line and a graphic barcode using JDE 4.7.

    can someone help me find the starting point.

    Thanks in advance.

    The forum search will often provide an answer.

    http://supportforums.BlackBerry.com/T5/Java-development/how-implements-a-chart-on-BlackBerry/m-p/465...

  • Detect the moment you press menu key BlackBerry using the Midlet and GameCanvas

    Hi all

    I develop only a game and I need to detect when you press the BlackBerry menu button, so I can to pause the game. I don't want add that any new options in the menu, just pause the game when clicked. I found a lot of references using UIApplication and other things. But I use MIDLet and GameCanvas, I use a library of the rim.

    Anyone knows how I can detect when this button is pressed? Because this key is not evoke the keyPressed GameCanvas method.

    How can I do! Is there a library of RIM specific one that I can import and spread something so I can detect this key?

    Kind regards

    Vitor

    Check this thread.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&thread.ID=23314&view=by_date...

  • Why my blackberry used blackBerry Smartphones allow me to connect to the wifi no checkmark?

    My blackberry 8520 curve does not connect to the wifi and there is a whitedash in the area, whereas it should be a green check mark...

    I have airtel connection wi - fi and router DIgisol instead of my house...

    Hello

    Read these articles and see if they apply.

    Thank you

    Bifocals

    KB03892 Differences in browsers on the BlackBerry smartphone

    Includes a video describing the different browsers and contains the following links to correct this information, see:

    • KB11678 The BlackBerry smartphone user cannot connect to the Internet with the BlackBerry smartphone.
    • KB03710 The Internet browser icon does not appear on the BlackBerry smartphone.
    • KB12971 The BlackBerry smartphone user is unable to display a specific web page using the Internet browser.
  • Error of IllegalStateException BlackBerry using TimerTask

    Hello

    I have a splash screen that implements form, and I'm trying to use the timer to wait 3 seconds to press a new screen.

    TimerTask splashTask = new TimerTask() {
            public void run() {
                UiApplication.getUiApplication().pushScreen(new HomeNavigationScreen());
            }
        };
    
        timer.schedule(splashTask, 3000);
    

    However, it throws IllegalStateException error, I'm not sure what I am doing wrong?

    Check This...

    http://supportforums.BlackBerry.com/T5/Java-development/loading-screen/TD-p/556826

    Its the same problem, I guess that

  • BlackBerry using mixture on an iPad software

    Hi I have the new passport of blackberry unfortunately up to now that I only managed to connect the passport with the iPad using the mixture application even though I see the Passport on my iPad

    Make sure that the mixture of Blackberry is set to allow on your Passport.

    Make sure that Blackberry ID is the same on both

  • BlackBerry smartphones REINSTALL OS on BOLD 9900 Blackberry using the Blackberry for MAC software

    Hello. I need to reinstall the operating system Blackberry for my Bold 9900. I am using Blackberry Desktop Software for Mac.

    I found the instructions for Blackberry Desktop Software for Windows already, but it is not the same for the Mac. Help!

    Thanks in advance for your help.

    It's a bit dated, but:

    http://www.BlackBerry.com/BTSC/KB19915

  • BlackBerry Smartphones integrated into the Blackberry browser will not open

    the browser built-in to my blackberry curve 8520 opens... it seems that it's now unclickable... no response after all... I already have rmoved the battery and put on, the app doesn't reset... still no response...

    Darksilver Hello,

    Please take a full backup using desktop software preconfigured and do a security wipe.

    Home screen > Option > security option > Security wipe > check emails and contacts (do not check memory card and 3rd aprty app). Type blackberry and click on clean up.

    This will help you out of this problem.

    Thank you.. !

  • Application for Smartphones Wifi blackBerry using BB 9000

    I guess the BB uses the dns servers of Rim or a proxy server to route requests to the www through when using WAP and data plans.
    This is the case when you use the wifi carriers charges would not apply and neither would release of the data carriers.

    The reason I ask is that when you use wifi with our router, all applications for MTS via port 80 get routed through a dns/proxy filter that restrics some sites.
    These sites are always available and accessible.

    This, I guess that two www requests are made for a rim proxy server NOT on port 80 and/or dns are requested through the rim when the wifi and there is no need of.

    Anyone has any ideas or can shed light on this. ??

    Heard, so it seems that you use BIS which does not explain why the HTTP request comes from a different server. BIS has a public browser MDS (the Web browser) that optimizes traffic for BlackBerry when traffic happens on the network of the carrier and if you are connected to WiFi it does not matter the traffic via an Internet browser / BIS goes out through public servers.

    If you want to force someone to be able to use the browser WiFi using your network connection and router and respect your filters, you can remove with IPPP for BIBS service in her book. This is only temporary and will come when a BB re-entered on the network.

    As an alternative to the use of BIS if you want to force traffic to go, well, your own internal network, you can watch the offer BlackBerry unit. The only downfall is that unit requires a computer connected to the net to make it work. Apart from that, it is a BES mini that will ensure traffic flows on through your home network first and not by the BIS browsing public that you cannot filter.

    I hope this helps...

  • E-Mail blackBerry Smartphones Exchange Outlook calendars, not Blackberry using Internet synchronization

    * Please move if it is in the wrong forum. *

    This user is currently not on our BES connection to our Exchange Server by using the Internet e-mail option. He is currently on an another BES due to a company takeover.

    The problem is that his mail correctly comes through but his calendar is not synchronized. I checked most of the obvious and watched options through the KB and couldn't find anything too specific. It is not on our BES so I wouldn't have to touch. It could be a problem with the Exchange, but others with the same situation do not experience this problem.

    Help, please!

    Each e-mail account integrated with the BB will automatically have a corresponding schedule assigned... color is automatic. In regards to whether or not the calendar can sync OTA, which is based on the features of the server that e-mail account is working with. To my knowledge, OWA is not one of the servers that supports synchronization of calendar OTA and would require the use of sync USB/BT tethered via the desktop software. You can check that by following the instructions in the KB linked above... as it says at the bottom of the KB, if the feature is not listed, then the server is not able to do that through BIS.

    Also I have no idea why others have what they have... maybe they did a wired synchronization? Maybe they have hidden agenda entries left over? Perhaps they received prompt and accepted on the BB? Maybe a lot of things.

    Oh... and look what I found:

    • KB29026 Impossible to sync contacts and calendar wirelessly with the built-in Microsoft Outlook Web Access account

    Good luck!

Maybe you are looking for