SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Wizard
    Join Date
    Jul 2006
    Location
    New Zealand
    Posts
    1,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Developing Custom App

    Hi all,

    I am about to work on a small is project for my parent's business they came up with a inventory barcode system that allows u to print barcodes using a mobile phone or handheld device or some sort
    only thing i am wanting to know i was doing some research using handheld barcode scanner it can work only issue is that it would need to be attached to a computer so the other idea is to using it via mobile device eg Android or Apple Iphones. with this in mind i was wanting to know using the IPhones and Android's Camera does anyone know if it possible for that to be intergrated into the builtin Internet mobile browser firefox and what not if so.
    Is it simple by developing an Javascript code or snippet and having it select a pre-selected text input field into the in-house Stock System.

    Can this be done in Javascript

    Code JavaScript:
    <script type="text/javascript">
    function SelectAll(id)
    {
        document.getElementById(id).focus();
        document.getElementById(id).select();
    }
    </script>
     
    Textarea:<br>
    <textarea rows="3" id="txtarea" onClick="SelectAll('txtarea');" style="width:200px" >This text you can select all by clicking here </textarea>
     
    Input TextBox:<br>
    <input type="text" id="txtfld" onClick="SelectAll('txtfld');" style="width:200px" value = "This text you can select all" />

    Is that the right way of doing it a barcode entry when you scan barcode into the inhouse application it can be read easy.

  2. #2
    SitePoint Mentor NightStalker-DNS's Avatar
    Join Date
    Jul 2004
    Location
    Cape Town, South Africa
    Posts
    2,873
    Mentioned
    44 Post(s)
    Tagged
    0 Thread(s)
    For security reasons the devices will not allow access to the camera's through the browser. Only through a native app will you have access to the camera

  3. #3
    SitePoint Wizard
    Join Date
    Jul 2006
    Location
    New Zealand
    Posts
    1,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    can i get it to submit the data through the browser?

  4. #4
    SitePoint Mentor NightStalker-DNS's Avatar
    Join Date
    Jul 2004
    Location
    Cape Town, South Africa
    Posts
    2,873
    Mentioned
    44 Post(s)
    Tagged
    0 Thread(s)
    A normal file input field will allow the user to upload something from their device. Like a picture, yes


Bookmarks

Posting Permissions

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