Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I know this is a common question: "passing form data" from one page to another but this is a little different I think.

I used Visual Studio 2015 and apache cordova to create a very simple Android barcode scanning app that captures a barcode and a time date stamp,

Just two Text fields are captured after call to javascript:

SQL
cordova.plugins.barcodeScanner.scan(
           function (result) { //blah blah
                  //get barcode here
}



HTML
<!--example of my html page-->
<p>BarCode:   input id="output" type="text" size="40" /></p>
<p>TimeStamp: input id="stamp" type=text /></p>

<!--todo: send form data to hosted mssql database -->


Now I'm stuck. I have no idea how to send that data to my hosted mssql database. I'm not a pro developer just enjoy playing with the technology
so appreciate any suggestions and hope my question is 'Clear'

thanks
Posted
Updated 31-Aug-15 7:38am
v2

1 solution

You can write php page as upload function and using httpclient to send data to this page
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900