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

python - Setting ctypes.Structure default values -

javascript - Hide toolbar of pdf file opened inside iframe using firefox -

google chrome devtools - How to show mouse pointer in responsive mode? -