diff --git a/AndroidManifest.xml b/AndroidManifest.xml index f66bdf555ce140751fa229cb1fde5fbe494a2c69..ff6042db9d423e4e6b6f1662ccf6c04e06008f1d 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -8,16 +8,16 @@ <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <application android:label="@string/app_name" > <activity - android:name=".Briar" + android:name=".HelloWorldActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> - <service android:name=".BriarService" android:exported="false" > + <service android:name=".HelloWorldService" android:exported="false" > <intent-filter> - <action android:name="net.sf.briar.BriarService" /> + <action android:name="net.sf.briar.HelloWorldService" /> </intent-filter> </service> </application> diff --git a/src/net/sf/briar/HelloWorldActivity.java b/src/net/sf/briar/HelloWorldActivity.java index 17312662d15feee9c63e2df87727e6e0273f6c2e..53607532d3557428ee3790a27a0d6d86a7be7ef7 100644 --- a/src/net/sf/briar/HelloWorldActivity.java +++ b/src/net/sf/briar/HelloWorldActivity.java @@ -13,7 +13,7 @@ public class HelloWorldActivity extends Activity { TextView text = new TextView(this); text.setText("Hello world"); setContentView(text); - Intent intent = new Intent("net.sf.briar.AfsnitService"); + Intent intent = new Intent("net.sf.briar.HelloWorldService"); startService(intent); } }