both java and html are applicable here.
web application will be online-only solution, i.e. device will have to be in coverage for every button click. But it will allow you to update your content easily.
java application will be able to store content on device and work without network. it gives you more flexibility but it may be more complex than web application.