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