I would like to migrate out development for our hand held inventory tracking computers from windows CE to the new Android systems
Good decision. I guess old hardwares will be no longer in support.
1. How can I access a MySQL server database
2. How do I show a keyboard on screen (for example to enter a number)
3. The inventory terminals come with a data wedge program that outputs the scanned barcode as keyboard data how would I action the enter?
4. How do I send printer commands to a network or Bluetooth printer? (zebra printers)
5. As the program would have meany screens would I control the back key on each screen or is it done on the main screen with a select case.
6. Can I use a with end with on components
1. There are many ways to connect to remote database server such as MySQL, SQL Server, Postgresql, etc.
You can use direct connection using JDBC driver. The recommended way is to use jRDC2 as a middleware server.
You can also build a web service which generate JSON/XML format. The web service can be programmed using any programming language such as PHP, VB.NET, JavaScript or B4J. If you want to know more, you can post a new thread or search the forum on this topic.
2. The keyboard type is set when you design the user interface with the text input or IME. It's straight forward.
3. I believe the best way is to set it by scanning a configuration barcode provided by the manufacturer. However, you can use the text changed event and send a return key.
4. There is a
print class for Zebra printer written by Star-Dust. Maybe you need to check whether the model is compatible.
5. The easy way to develop B4A app is using the B4XPages library. It is like swiping between pages in web browser where pressing the back key return to previous page.
6. B4X doesn't use "With" keyword but there are other ways such as using custom Type and Class.