How to use json webservice in blackberry waterfalls

1. how to use json WebService in the cascades of blackberry.

2.i need to get data from url link in the qml page. give suggession with examples if possible.

my link of web service contains the type of array

for example: {'address': ['zone': 'RCS', 'city': 'ght']}

Description:

JSON link--> http://192.168.1.251:410/Mobile/Service1.svc/english/Category?CountryID=1

using link above please ask how to recover data from json webservice cascading... I need answer to the method of waterfalls...

Finally, I am me anser for service web json

Response---> http://stackoverflow.com/questions/18598886/how-to-use-json-webservice-in-blackberry-cascades/186230...

Tags: BlackBerry Developers

Similar Questions

  • How to use Pragma instructions in BlackBerry 5.0

    Hi all

    How can we use SQLite Pragma in BlackBerry? Please help me with an example. When we run this pragma instructions? When creating the db or db opening?.

    Thank you

    Abees

    SQLite pragma statements are not supported on BlackBerry Smartphones.

  • How to use JSON?

    Hello

    I am writing my first blackberry application.

    I can receive and analyze the JSON files without any problems, but it is not very tidy.

    Basically, app will have 3 screens. First 2 screens will receive JSON files and analyze, last screen will collect the form entries and send back to the server.

    Advice on how should I apply it?

    discussions are started using start(), do not run (all made that mistake at one time or another).

    I would also say to start the thread of the application constrcutor, not on screen one, just to keep things a little separate. While BB violates MVC on some parts, you should try to stick to it.

    You can find many examples on the recall, for example

    http://www.JavaWorld.com/JavaWorld/javatips/JW-javatip10.html

    After you have assigned your json object, you can use the callback method to publish it. See the link above, you can add it as an argument to the interface method.

    Now let your screen implement this interface. and give your thread of an instance of the form as a parameter (wrapped in the interface).

  • How to use the webservice when I or tcp/ip and wifi?

    I ran this code on my application for BIS, if possible tcp/ip or wifi connection...

    but it always give me null in the conDescriptor

    This is the cod

    int [] preferredTransportTypes = {TransportInfo.TRANSPORT_TCP_WIFI, TransportInfo.TRANSPORT_BIS_B};

    ConnectionFactory factory = new ConnectionFactory();

    factory.setPreferredTransportTypes (preferredTransportTypes);

    ConnectionDescriptor conDescriptor = factory.getConnection (url);

    If (conDescriptor! = null) {/ / connection managed}

    int transportUsed = conDescriptor.getTransportDescriptor () .getTransportType ();

    Conn = conDescriptor.getConnection () (HttpConnection);
    Logger.getInstance () .logInformationEvent ("transport" + transportUsed);

    } else {}
    Full book sb = ServiceBook.getSB ();
    Reviews [] ServiceRecord = sb.findRecordsByCid ("IPPP");
    for (int i = 0; i)< records.length;="" i++)="">

    If (records [i] .isValid () &! records [i] .isDisabled ()) {}
    URL += "& foo = true; deviceside = true; » ;
    }
    }
    URL = HTTPConnections.getUrl (url);
             
    Conn = getHttpConnection (url);

    }

    I've never used the api network in blackberry and AFAIK BIS is available on all blackberry devices.

    It shud work...

    What shud I do when I'm neither tcp/ip and wifi?

    Thanks to advanice

    BIS - B is a particular link, you need additional code to support, you will know if you are a member of the Alliance or use the Api to push.  Otherwise, it is not available to you.  You should try WQAP or direct TCP.

    See this video which should explain the options.  Then change your favorite types to include TCP, and WAP support.

    http://supportforums.BlackBerry.com/T5/Java-development/networking-transports-II/Ta-p/446742

  • How to use Google maps in Blackberry

    Greetings

    Please help me to access google maps in Sib of samples or of any code is there, please help

    Concerning

    Antoine Singh

    Greetings

    The code above is perfect for the call of the google map in the blackberry application

    We must do the following:

    (1) Firstly, it should install the map of google in browser.make of blackberry mds invites BB is open to research in motion (Program files).

    (In the blackberry browse, write m.google.com/map and then download)

    (2) run the application and go to the Blackberry simulate Simulator tab, then select GPS location in default mode and then press play button.

    (3) then go to the application, press run Gmap of the menu item, then the google maps is yours.

    Thank you & best regards

    Antoine Singh

  • How to show my listview QML this JSON webservice

    Hi all

    IM new developer for blackberry 10

    It's my first project of construction of a PSA

    I want to ask

    1. This is my JSON www.rws.rajaspot.com/rs_promoclient.php

    2. I want to do a listview in my QML using this JSON

    y at - it a code for this example, I tried to make the market http://stackoverflow.com/questions/18598886/how-to-use-json-webservice-in-blackberry-cascades and http://stackoverflow.com/questions/18638067/how-to-create-listview-for-json-parsing-in-blackberry-ca... but still get error

    Please help, thanks

    Did you add this line to your .pro file...

    LIBS +=-lbbdata

  • How to use blackBerry smartphones blackberry sprint 9330 on gsm network

    can someone please tell me how I use m y sprint blackberry curve 9330 in pakistan please someone help me how to configure it?

    Concerning

    Vicky Memon

    You can not. The 9330 has not the necessary network bands for Pakistan.

    This isn't a GSM device, it will not work on any GSM network worldwide.

    General 2G network CDMA 800 / 1900
    3G network

    CDMA2000 1xEV-DO

  • JVM error 104: eception native error when you use json jar in the blackberry Simulator

    I'm developing an application where I have to use JSON to fill a listfield.

    I find my JSON response string and now being converted into a JSON object.

    I imported the

    org.json.me.JSONObject
    

    and have referenced the jar JSON as a dependency file after making it a library.

    I use the JDE 4.5... How can I solve this? Thank you.

    I solved this problem by including the file given by Peter Strange at this url:

    http://supportforums.blackberry.com/t5/Java-Development/JSON-library/m-p/573687
    

    Then, I changed the name of the package to reflect mine. This has resolved the original error.

  • How to use the Gif image in Blackberry android runtime

    Hello

    I deploy an android app in blackberry 10. All that it works well in blackberry 10 except gif image. In app android gif image is displayed using the AnimationDrawable from the link

    http://developer.Android.com/reference/Android/graphics/drawable/AnimationDrawable.html

    So how to use blackberry 10.

    Is it possible to use GIFs in blackberry 10.

    Please suggest.

    Thanks in advance.

    Hello

    I found the solution.

    He needs of the gifDecoder and gifDecoderView classes and following code extract

    Mode, mode = inflate.inflate (R.layout.layout_gspot, null);
    GIF GifDecoderView = view.findViewById (R.id.gifView) (GifDecoderView);
    gif.setGifImageFromAssets ("abc.gif");

    and following the layout code

    <>
    Android:ID="@+id/gifView".
    Android: layout_width = "120dp."
    Android: layout_height = "120dp."
    Android:layout_alignLeft="@+id/textView1".
    Android: layout_centerVertical = "true".
    Android:background="@Android:color/transparent" / >

  • How to use the gateway carrier on BlackBerry J2ME WAP?

    How to use the gateway carrier on BlackBerry J2ME WAP? Because the default gateway on BlackBerry is "blackberry.net". How to hard code in the application to force the application to use the WAP gateway? An example of code? Thank you!

    You can specify the specific settings of the WAP gateway within the Connector.open () method. There is a knowledge base of any developer this article here:

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is_-_Different_ways_to_make_an_HTTP_or_socket_connection.html?nodeID=826935&vernum=0

  • How to use EDP on BlackBerry 8830?

    Hello guys.

    I am a member of www.vzwdevelopers.com. In fact, I registered on this site, in order to to use POE to my Blackberry application.
    I read a few question here. I need to make this point: GPSSettings.setPDEInfo (";" + clientID + ';' + password, 0);

    You have perhaps faced with my problem before. So, I hope you can help me.

    How can I get clientID and password?
    I need a manual to take the first steps.

    Please help me guys.

    Thank you.

    Closed.

  • BlackBerry smartphone how to use my Verizon Storm 9530 with my laptop to connect to Internet?

    I have a Verizon Storm 9530 and subscribe to the $30 data plan that allows me to connect to the Internet from the device.  I also read that the device can also be used as a modem with a laptop to connect to Internet.  I don't understand this.  How does this work?  Is the work of mobile phone as a dial-up modem?  Or just connect my ISP (Time Warner Cable)?  I use a connection broadband at home, but it does not help when I am away from my home.

    Can someone please explain how to use the 9530 with my Dell Notebook PC to connect to the Internet?

    How does it work?

    What hardware do I need?

    What software do I need?

    How do I put in place?

    Do I need to purchase any additional VZN service?

    Do I need VZ access?

    Please explain in detail.  Thank you.

    melburstein wrote:

    I have a Verizon Storm 9530 and subscribe to the $30 data plan that allows me to connect to the Internet from the device.  I also read that the device can also be used as a modem with a laptop to connect to Internet.  I don't understand this.  How does this work?  Is the work of mobile phone as a dial-up modem?  Or just connect my ISP (Time Warner Cable)?  I use a connection broadband at home, but it does not help when I am away from my home.

    Can someone please explain how to use the 9530 with my Dell Notebook PC to connect to the Internet?

    How does it work?

    What hardware do I need?

    What software do I need?

    How do I put in place?

    Do I need to purchase any additional VZN service?

    Do I need VZ access?

    Please explain in detail.  Thank you.

    1 attach. you your storm to the computer via usb.

    2. a computer, your usb cable and the storm

    3. you need to download vz access manager from verizon

    4. install vz access, connect the storm and on net

    5. Yes, its about $30 extra for tethering

    6. Yes, see #3

  • How to use blackBerry smartphones blackberry "bold" 3

    I m the site request http://mobileinindia.in that "BOLD" of 3 videocalling. .. and this website says Yes... thn administrater I buy it... but I don't know how to operate videocalling... Help, please

    I went to this site. The Bold 9900 (and 9930) have video calls, but because they have not been released, again, we cannot tell you how to use it. I hear the liberation is close (I can't wait), but not here yet (to the United States, in any case - I don't know anywhere else, but I have several contacts in various places, and no one spoke it is available, yet.).

  • BlackBerry Smartphones KEEPER of PASSWORD? HOW TO USE IT?

    Can one of you smart guys explain how to use the password keeper?  How to access it and what exactly is it for?  I have a 8310 on 4.2.2 with ATT.

    Thanks for your help!

    -Ken

    Only used as an area to store information such as passwords.

    Simply to learn a password to connect to password keeper.

    Do not use myself.

  • Parses the JSON response in blackberry

    Hi, I want to analyze the response from the server in JSON format.

    I did some searching on Google but I can not find any library or jar kind of thing. Everywhere, it is supplied code open source in the zip file.

    How can I achieve this?... & If there is no available for blackberry and then how to use any container that opens the source code in my application?

    I used 1 jar file org.json, but it gives me the "module not found" exception

    Help, please...

    Thanks in advance.

    Download the zip package org.json.me file and import it into your project...

    can use it as...

    External JSONObject = new JSONObject (resp);     an RESP is JSON response I get
    JSONArray ja = outer.getJSONArray ('DATA');
    JSONArray arr = ja.getJSONArray (0);                to access each element in the JSON array.

    If the response contains the JSON array... A JSON array will be of the form...

    'DATA': ['abc', 'def'] / / DATA isarray and 'abc' and 'def' name are elements of the table...

Maybe you are looking for