Further Market
  • Essentials

    • Foreword
    • What is FM Script ?
    • The philosophy and benefits of FmScript
    • What you will learn
  • Recall

    • Internet: who? what? What is that?
    • Further market and FMScript
    • The compiler
  • Download
  • Getting started

    • Installation
    • Create a business account
    • Connect to the PC application
    • Create your first applet
    • Create your first web applet
    • Compiler view
  • Basics

    • basic rules
    • Reserved keywords
    • The Syntax
    • Coding Style
    • comments
    • Variables, constants, and data types
    • Convertion of types
    • Conditions and loops
  • Functions

    • Create a Menu
    • Create input field (Input2)
    • Create a QR Code
    • Scan a QR Code
    • Strings functions
    • Array functions
    • Date Time functions
    • Mathematics functions
    • JSON functions
    • XML functions
    • Call Http request
    • Manipulate Sessions
    • Financial functions
    • Notifications
    • Bleutooth Printer
  • Demos

    • Advanced Inputs
    • Call http Request
    • loops and conditions
    • Menu inputs
    • Array items count
    • Simpe for
    • simple select count Sql Query
    • Date and Time picker form
    • Get credit balance
    • is valid city
    • user info from phone number
    • get country and city from form
    • simple ussd link switch
    • charge user credit
    • simple message box
    • user entry code
    • get users relations
    • my external payements collected
    • call google Map
    • in App direct publish
    • Geo location
    • Charts
    • menu with hints
    • call system Messenger
    • user start code
    • In call Gallery
    • credit card payment Request
    • MTN CMR Airtime Product Subscription
    • MenuItemAddContacts
    • AJax and FM Input
    • Input2
    • MenuItemAddRichMedias
    • MenuItemAddTagsItems2
    • BlinBlin Menu + javascript
    • GENERAL ALERT MESSAGE WITH JSON OPTIONS
    • Barcode
  • databases

    • CRM
    • External Payments
    • Bills
    • Sales
    • Games
    • Applets
    • Payments Gateway
    • Manipulate Select Queries
  • APIs

    • Further Markey Pay button integration
    • Mobile Money cash collector
    • Bill Api
    • API PUBLISH PRODUCT
    • Sale Api
    • SMS Api
  • Advanced

    • Actions scheduler
    • Events settings
  • USSD CAMEROON

Scan QR Code



The following function will be used to scan our QR code:

                
GetBarcode(preferFrontCamera:::showFlipCameraButton:::showTorchButton:::torchOn:::saveHistory:
::prompt:::resultDisplayDuration:::formats:::orientation:::disableAnimations:::disableSuccessBeep*/)
                
            

The available scan formats are:
                
QR_CODE ;DATA_MATRIX ;UPC_A ;UPC_E ;EAN_8 ;EAN_13 ;CODE_39 ;CODE_93 ;CODE_128 ;CODA
BAR ;ITF ;RSS14 ;PDF417 ;RSS_EXPANDED ;MSI ;AZTEC
                
            

Example:
                
var result, Seperator, Params : string;
Seperator := ':::';
Params     := 'false';                                   //preferFrontCamera : true, // iOS and Android
Params     := Params + Seperator + 'true';               //showFlipCameraButton : true, // iOS and Android
Params     := Params + Seperator + 'true';               //showTorchButton : true, // iOS and Android
Params     := Params + Seperator + 'true' ;              //torchOn: true, // Android, launch with the torch switched on (if available)
Params     := Params + Seperator + 'true';               //saveHistory: true, // Android, save scan history (default false)
Params     := Params + Seperator + 'FM Capture Demo';    //prompt : "Place a barcode inside the scan area", // Android
Params     := Params + Seperator + '500';                //resultDisplayDuration: 500,
// Android, display scanned text for X ms. 0 suppresses it entirely, default 1500
Params     := Params + Seperator + 'QR_CODE,PDF_417';    //formats : "QR_CODE,PDF_417", //
//default: all but PDF_417 and RSS_EXPANDED
Params     := Params + Seperator + 'portrait';           //orientation : "landscape",

// Android only (portrait|landscape), default unset so it rotates with the device
Params     := Params + Seperator + 'false';              //disableAnimations : true, // iOS
Params     := Params + Seperator + 'false';              //disableSuccessBeep: false // iOS and Android
result := GetBarcode(Params);
ShowMessage('Barcode is : ' + result);
Exit;
                
            

Create QR Code
String functions


Our Partners

Support
      Telephone : (+237) 675979899 / 676009100
      Email : fm_support@f-m.fm
      P.O Box : 774 BAFOUSSAM
Available On

no
no

Further Market Inc
Copyright © 2012-2021.