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 -

ssl - how to download/uplaod file over HTTPS using Indy 10 and OpenSSL in delphi? -

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