title: Setting up an Android Activity within Titanium
body: <p>I am attempting to enable Bluetooth on an Android device. I have read to Android documentation and have a pretty good idea of what the process is. I am, however, rather stuck at actually firing off an Activity using the manifest file. This is what I've done so far...</p>
  
  <p>I've developed an Android Module with a couple of classes:</p>
  
  <ol>
  <li>BluetoothModule // extends KrollModule</li>
  <li>BluetoothSetup // extends Activity</li>
  </ol>
  
  <p>In BluetoothSetup, the <code>onCreate</code> method looks like:</p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      connectBluetooth();
  }
  </code></pre>
  
  <p>Also in BluetoothSetup, the connectBluetooth() method looks like:</p>
  
  <pre><code>protected void connectBluetooth(){
  
          // if statements to check if bluetooth is enabled/avail removed
          Intent intentBluetooth = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
  
          startActivityForResult(intentBluetooth, 0); 
  
      }   
  
  }
  </code></pre>
  
  <p>Finally, in the module's timodule.xml I've added:</p>
  
  <pre><code>            &lt;activity android:label="@string/app_name" android:name="com.eyesore.bluetooth2.BluetoothSetup"&gt;
                  &lt;intent-filter&gt;
                      &lt;action android:name="android.intent.action.MAIN"/&gt;
                      &lt;category android:name="android.intent.category.LAUNCHER"/&gt;
                      &lt;category android:name="android.intent.category.DEFAULT"/&gt;
                  &lt;/intent-filter&gt;
              &lt;/activity&gt;
  </code></pre>
  
  <p>The module compiles just fine, but does not actually do anything. I fear that I've missed a fundamental step here, but I'm just not sure what it is. Any advice would be greatly appreciated!</p>