Page 4 of 4 FirstFirst ... 234
Results 31 to 35 of 35

Thread: How can i change the value of a text field in sencha touch?

  1. #31
    Sencha User arindam.hit's Avatar
    Join Date
    May 2012
    Location
    Hyderabad
    Posts
    99
    Answers
    1

    Default

    really no error and no alert..

    But getting the result..means barcode in the console..
    02-10 21:30:03.354: I/Web Console(3002): 070177179243 at :925732138

  2. #32
    Sencha Premium User bluehipy's Avatar
    Join Date
    Mar 2010
    Location
    Romania
    Posts
    628
    Answers
    67

    Default

    I don't know... you are massing things arround there.

    Rewrite everything with code standards in mind.

    Names has to be camel case.

    A class named 'MyApp.view.dashboard' is bad 'MyApp.view.Dashboad' is good.

    References in controllers the same:


    mywishlist:'mywishlistlog' is bad
    MyWishList:'mywishlistlog' is bad
    myWishList:'mywishlistlog' is good if there is a component with a xtype:'mywishlistlog'


    use xtype:'thextype' instead of alias:'widget.xtype' (though ti might be similar)


    With the way you are writing the code I don't know if the references are right, if the getters you are using are right, and so on


    Refactor your code to be standard and readable it will help you in debuging and ... in general


    and eventually re~post here the result.

  3. #33
    Sencha User arindam.hit's Avatar
    Join Date
    May 2012
    Location
    Hyderabad
    Posts
    99
    Answers
    1

    Default

    It may be right..the code standads are not upto the mark as i am new to sencha touch..but still, i dont think it is the ref problem. I am telling the scenario here:

    i added a value for the text box, with test. But when i am try to change the value using setValue(), it is not changing. But still when i am fetching the value using getValue() method of that textfield after setting, why it is returning me the correct barcode in the console?? is it really for the ref?? Or the tab layout is not refreshing??

  4. #34

    Default

    You can try read barcode in .net using C#. Of course you can change the value through C#
    Here is an example:

    using BusinessRefinery.Barcodes.Reader;
    // Read a Code 39 barcodes image in C# class
    string[] barcodes = BarCodeReader.scanBarCode
    (bmp,BusinessRefinery.Barcodes.Reader.BarCodeType.CODE39);
    // Read Data Matrix barcodes in C# class
    string[] barcodes = BarCodeReader.scanBarCode
    (bmp,BusinessRefinery.Barcodes.Reader.BarCodeType.DATAMATRIX);

    Feel free to try.

  5. #35

    Default

    Quote Originally Posted by johansonalex View Post
    You can try read barcode in .net using C#. Of course you can change the value through C#
    Here is an example:

    using BusinessRefinery.Barcodes.Reader;
    // Read a Code 39 barcodes image in C# class
    string[] barcodes = BarCodeReader.scanBarCode
    (bmp,BusinessRefinery.Barcodes.Reader.BarCodeType.CODE39);
    // Read Data Matrix barcodes in C# class
    string[] barcodes = BarCodeReader.scanBarCode
    (bmp,BusinessRefinery.Barcodes.Reader.BarCodeType.DATAMATRIX);

    Feel free to try.
    thanks, i was wondering do you have any free trial package or DLLs for barcode SDK. so that i can try these codes and read barcode from image and retrieve data.

Page 4 of 4 FirstFirst ... 234

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •