A angel Member Licensed User Longtime User Feb 10, 2013 #1 Hello When I click the button actionbar want to open another Layout startActivity (AddBaby) and fails, if I do a button outside the actionbar works. Click event does not work like longClcick works. In the simulator works, but when I install the application on the phone will stop, let the example. Thank you. Attachments b4a test.zip b4a test.zip 287 KB · Views: 306
Hello When I click the button actionbar want to open another Layout startActivity (AddBaby) and fails, if I do a button outside the actionbar works. Click event does not work like longClcick works. In the simulator works, but when I install the application on the phone will stop, let the example. Thank you.
D dxxxyyyzzz Member Licensed User Longtime User Feb 10, 2013 #2 Change this line Code: Copy AB.AddButton(LoadBitmap(File.DirAssets, "new baby.png"), "", 5, -1, "", "newbaby_Click") in to Code: Copy AB.AddButton(LoadBitmap(File.DirAssets, "new baby.png"), "", 5, -1, "newbaby_Click", "") Upvote 0
Change this line Code: Copy AB.AddButton(LoadBitmap(File.DirAssets, "new baby.png"), "", 5, -1, "", "newbaby_Click") in to Code: Copy AB.AddButton(LoadBitmap(File.DirAssets, "new baby.png"), "", 5, -1, "newbaby_Click", "")
A angel Member Licensed User Longtime User Feb 10, 2013 #3 Now was reviewing the method and seen that put the click event in place of longclick because it works, thanks. Upvote 0
Now was reviewing the method and seen that put the click event in place of longclick because it works, thanks.