Skip to content

Commit

Permalink
p2p demo
Browse files Browse the repository at this point in the history
  • Loading branch information
don committed Jun 29, 2011
1 parent f9f05a7 commit bba9e5c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions AndroidManifest.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.chariotsolutions.nfc.demo.writer"
package="com.chariotsolutions.nfc.demo.p2p"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="10" />
Expand Down Expand Up @@ -31,7 +31,7 @@
<uses-feature android:name="android.hardware.nfc" android:required="true"/>

<application android:debuggable="true" android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:configChanges="orientation|keyboardHidden" android:name="WriterDemo"
<activity android:configChanges="orientation|keyboardHidden" android:name="P2PDemo"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
2 changes: 1 addition & 1 deletion assets/www/index.html
Expand Up @@ -10,7 +10,7 @@
<script type="text/javascript" charset="utf-8" src="main.js"></script>
</head>
<body>
<h1>PhoneGap NFC Writer</h1>
<h1>PhoneGap NFC P2P</h1>
<form>
Mime Type:<br/>
<input type="text" name="mimeType" value="game/rockpaperscissors" size="30" /><br/>
Expand Down
4 changes: 2 additions & 2 deletions res/values/strings.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World, NFC Writer Demo!</string>
<string name="app_name">Writer Demo</string>
<string name="hello">Hello World, NFC P2P Demo!</string>
<string name="app_name">P2P Demo</string>
</resources>
@@ -1,9 +1,9 @@
package com.chariotsolutions.nfc.demo.writer;
package com.chariotsolutions.nfc.demo.p2p;

import com.phonegap.*;
import android.os.Bundle;

public class WriterDemo extends DroidGap {
public class P2PDemo extends DroidGap {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
Expand Down

0 comments on commit bba9e5c

Please sign in to comment.