• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

button to activity in activity

Hello,
Situation:

i 've a view medication in an app, i want to make 2 buttons in it calculation and save. This buttons should execute some code when they 're pressed.
Question:

Where and how should i implement this codes in the main-activity or in the medication activity?

thx, Rob
 
MainActivity normally is the inital page when your app is started. Are the two button need to display in the first page?
 
Back
Top Bottom