Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

p2p demo

  • Loading branch information...
commit bba9e5c848054af3b3774b5f76080d81aea683ad 1 parent f9f05a7
@don don authored
View
4 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" />
@@ -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" />
View
2  assets/www/index.html
@@ -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/>
View
4 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>
View
4 .../chariotsolutions/nfc/demo/writer/WriterDemo.java → src/com/chariotsolutions/nfc/demo/p2p/P2PDemo.java
@@ -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) {
Please sign in to comment.
Something went wrong with that request. Please try again.