android - How to pass Adapter handle to another activity? -


i have bluetooth adapter handle in 1 activity , how pass activity.

public bluetoothadapter ba;

ba = bluetoothadapter.getdefaultadapter();

how can pass handle activity.

you can use same code adapter in activity

bluetoothadapter ba = bluetoothadapter.getdefaultadapter();  

Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -