any_names_left
Lurker
I am new to android app development. Spent any years doing web development in my spare time but never tried any java etc.
Last night I started to develop an app for my work which is a street trading company. This company operates a cash tray rather than a shop till. What I want to do is introduce an adroid tablet with a till app that can be used for 2 functions.
1. a single function calculator (addition)
2. sale data export to a file.
The idea is a customer comes along and asks for example:
1 banana
2 apples
1 orange
I have created a working layout with buttons for every product. What I need to do is set numeric values to each button (product) and have a code that allows automatic addition upon each click or any button.
So a customer asks for:
1 banana (£1.40)
2 apples (£1)
1 orange (£0.50)
once all buttons have been pushed the correct amount of times the textview shows the correct calculated figure. This can then be exported to an external file by the push of a send button which will count each item in a tally rather than just the total figure that was calculated.
First off I would just like to create the automatic addition of buttons with set values. Then I can focus on working out the export of data. If anyone can help I would really appreciate it.
Last night I started to develop an app for my work which is a street trading company. This company operates a cash tray rather than a shop till. What I want to do is introduce an adroid tablet with a till app that can be used for 2 functions.
1. a single function calculator (addition)
2. sale data export to a file.
The idea is a customer comes along and asks for example:
1 banana
2 apples
1 orange
I have created a working layout with buttons for every product. What I need to do is set numeric values to each button (product) and have a code that allows automatic addition upon each click or any button.
So a customer asks for:
1 banana (£1.40)
2 apples (£1)
1 orange (£0.50)
once all buttons have been pushed the correct amount of times the textview shows the correct calculated figure. This can then be exported to an external file by the push of a send button which will count each item in a tally rather than just the total figure that was calculated.
First off I would just like to create the automatic addition of buttons with set values. Then I can focus on working out the export of data. If anyone can help I would really appreciate it.