1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    7
    Vote Rating
    0
    ssadiq19 is on a distinguished road

      0  

    Default Unanswered: Remote Database access in BB native App

    Unanswered: Remote Database access in BB native App


    Dear all,

    I am getting problem in accessing remote database contents in blackberry native application.

    Application works fine in chrome but when i compile with webworks as native app it failed to load data and no exception just wait for long and white screen.

    I also tried kitchensink and geocongress which works fine in emulator, chrome but failed when running in simulator.

    I am using BB OS7 Webworks 2.3

    I hope someone definately has a soultion for this. It is creating stress for me.

    Any working code sample will be highly appreciated.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,790
    Answers
    3465
    Vote Rating
    833
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Quote Originally Posted by ssadiq19 View Post
    I am getting problem in accessing remote database contents in blackberry native application.
    What database and how are you accessing?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Nov 2012
    Posts
    7
    Vote Rating
    0
    ssadiq19 is on a distinguished road

      0  

    Default


    I am using sql server and accessing data through Handler.ashx file. where Handler.ashx returns result as json string

    ([{"Id":1,"name":"n1","Quantity":"30"},{"Id":2,"name":"n2","Quantity":"80"},{"Id":3,"name":"n3","Quantity":"90"},{"Id":4,"name":"n4","Quantity":"100"},{"Id":5,"name":"n5","Quantity":"25"}])
    Ext.define('MyApp.store.MyStore', {
    extend: 'Ext.data.Store',


    config: {
    pageSize: 5,
    storeId: 'MyStore',
    proxy: {
    type: 'jsonp',
    extraParams: {
    p: '1'
    },
    limitParam: 'rpp',
    url: "http://myURL/DB/Handler.ashx",
    reader: {
    type: 'json',
    rootProperty: 'results'
    }
    },
    fields: [
    {
    name: 'name'
    },
    {
    name: 'Quantity'
    }
    ]
    }
    });

    it works fine in chrome brower. but does not display anything when compiled as native app in webworks

    here is config.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <widget xmlns="http://www.w3.org/ns/widgets"
    xmlns:rim="http://www.blackberry.com/ns/widgets"
    version="1.0" rim:header="WebWorks Sample">

    <name>My App</name>
    <access subdomains="true" uri="*"/>
    <description>MyApp.</description>
    </widget>

  4. #4
    Sencha User
    Join Date
    Nov 2012
    Posts
    7
    Vote Rating
    0
    ssadiq19 is on a distinguished road

      0  

    Default


    i am using *.ashx file which is fetching info from sql server DB and converting result into JSON format

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi