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 -

java - why am i getting a "cannot resolve method" error on getApplication? -

C# Apple Bonjour - how to monitor service records within Windows -