Android Question static object

Discussion in 'Android Questions' started by yaniv hanya, Jun 25, 2019.

  1. yaniv hanya

    yaniv hanya Member Licensed User

    I have a class that coordinates all the operations in front of a usb device.
    I understood that this was done by declaring the class in the Process_Globals
    And then i can access it from any module.
    But I don't succeed to call it from others activities
    how can i do דomething like that?
  2. Erel

    Erel Administrator Staff Member Licensed User

    The starter service is the best place for public globals. Make sure to initialize it in Service_Create.

    Don't assume that your app will always start from the main activity.

    You can then access it with:
  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