Android Question Activity MENU touch(click) detect

Discussion in 'Android Questions' started by petr4ppc, Mar 19, 2015.

  1. petr4ppc

    petr4ppc Active Member Licensed User

    Dear friends,

    please is here simple way how to detect click on MENU icone of aktivity.

    For example I put:

    Code:
    Activity.AddMenuItem2("Mypage","Mypage",LoadBitmap(File.DirAssets,"mypage.png"))

    Activity.AddMenuItem2("Mypage2","Mypage2",LoadBitmap(File.DirAssets,"mypage.2png"))
    So I have now 2 item in Menu, but I need detect the first step = Click on menu

    Is here some way, please?
    Thank you very much

    p4ppc
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Not sure that I understand. However there are several libraries that allow you to create (nicer) menus and then have more control over the menu behavior.
     
  3. petr4ppc

    petr4ppc Active Member Licensed User

    Dear Erel,

    thank you very much for your answer.

    Please, (Erel or B4Afriends) can you give me advice which MENU library is recommended for using if I want activate this after touching the MENU icone?

    Please see the attached Picture. I describe there the MENU icone.

    How I can detect Clicking (touching) on this Icone, please?


    Thank you very much
    Best regards,
    P4PPC

    MENUicone.jpg
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    This icon only appears when your app is running in compatibility mode (based on android:targetSdkVersion value). You shouldn't see this icon.
     
  5. petr4ppc

    petr4ppc Active Member Licensed User

    Erel, thank you very much!!

    On my device I see this icone, but I belive you.

    Please, friends:
    can you give me advice which NICE MENU library is recommended?
    I want create nice MENU for my app.

    Thank you very much
    p4ppc
     
  6. NJDude

    NJDude Expert Licensed User

    Search the forums for "menu libraries" there are lots of samples.
     
  7. petr4ppc

    petr4ppc Active Member Licensed User

    NJDude, yes,

    I know, I want use the best of....I want try most profi...

    I will try everything.
    Thank you very much
    p4ppc
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice