1
0

Fix typos

This commit is contained in:
Dimitris Apostolou
2018-04-15 20:45:30 +03:00
committed by Johann Bauer
parent 5b2b59420f
commit 989c9c2b55
37 changed files with 57 additions and 57 deletions

View File

@@ -1,4 +1,4 @@
'''This is the Android implementatoin of NFC Scanning using the
'''This is the Android implementation of NFC Scanning using the
built in NFC adapter of some android phones.
'''
@@ -33,8 +33,8 @@ app = None
class ScannerAndroid(NFCBase):
''' This is the class responsible for handling the interace with the
Android NFC adapter. See Module Documentation for deatils.
''' This is the class responsible for handling the interface with the
Android NFC adapter. See Module Documentation for details.
'''
name = 'NFCAndroid'
@@ -56,7 +56,7 @@ class ScannerAndroid(NFCBase):
if not self.nfc_adapter:
return False
# specify that we want our activity to remain on top whan a new intent
# specify that we want our activity to remain on top when a new intent
# is fired
self.nfc_pending_intent = PendingIntent.getActivity(context, 0,
Intent(context, context.getClass()).addFlags(
@@ -128,7 +128,7 @@ class ScannerAndroid(NFCBase):
return details
def on_new_intent(self, intent):
''' This functions is called when the application receives a
''' This function is called when the application receives a
new intent, for the ones the application has registered previously,
either in the manifest or in the foreground dispatch setup in the
nfc_init function above.
@@ -184,7 +184,7 @@ class ScannerAndroid(NFCBase):
return extRecord
def create_ndef_message(self, *recs):
''' Create the Ndef message that will written to tag
''' Create the Ndef message that will be written to tag
'''
records = []
for record in recs: