Skip to content

Instantly share code, notes, and snippets.

@Technicus
Created April 9, 2014 06:47
Show Gist options
  • Save Technicus/10233006 to your computer and use it in GitHub Desktop.
Save Technicus/10233006 to your computer and use it in GitHub Desktop.
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.os.Bundle;
import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.BroadcastReceiver;
import android.content.Context;
import java.util.Set;
import android.content.Intent;
import android.content.IntentFilter;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.ListView;
import android.widget.TextView;
import android.widget.Toast;
//package info.androidhive.tabsswipe;
//import info.androidhive.tabsswipe.R;
//import android.os.Bundle;
import android.support.v4.app.Fragment;
//import android.view.LayoutInflater;
//import android.view.View;
//import android.view.ViewGroup;
public class BluetoothFragment extends Fragment {
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View rootView = inflater.inflate(R.layout.fragment_bluetooth, container, false);
return rootView;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment