Commit 606236fe authored by squbs's avatar squbs

set correct android dirs

parent 4f5141be
......@@ -165,20 +165,20 @@ class ScannerAndroid(NFCBase):
def create_AAR(self):
'''Create the record responsible for linking our application to the tag.
'''
return NdefRecord.createApplicationRecord(JString("org.electrum_stak.kivy"))
return NdefRecord.createApplicationRecord(JString("org.electrum.kivy"))
def create_TNF_EXTERNAL(self, data):
'''Create our actual payload record.
'''
if BUILDVERSION >= 14:
domain = "org.electrum_stak"
domain = "org.electrum"
stype = "externalType"
extRecord = NdefRecord.createExternal(domain, stype, data)
else:
# Creating the NdefRecord manually:
extRecord = NdefRecord(
NdefRecord.TNF_EXTERNAL_TYPE,
"org.electrum_stak:externalType",
"org.electrum:externalType",
'',
data)
return extRecord
......@@ -213,7 +213,7 @@ class ScannerAndroid(NFCBase):
# Create record
ndef_record = NdefRecord(
NdefRecord.TNF_MIME_MEDIA,
'org.electrum_stak.kivy', '', data)
'org.electrum.kivy', '', data)
# Create message
ndef_message = NdefMessage([ndef_record])
......
......@@ -7,7 +7,7 @@ title = Electrum-STAK
package.name = Electrum_STAK
# (str) Package domain (needed for android/ios packaging)
package.domain = org.electrum_stak
package.domain = org.electrum
# (str) Source code where the main.py live
source.dir = .
......
......@@ -322,7 +322,7 @@ def android_data_dir():
return PythonActivity.mActivity.getFilesDir().getPath() + '/data'
def android_headers_dir():
d = android_ext_dir() + '/org.electrum_stak.electrum_stak'
d = android_ext_dir() + '/org.electrum.electrum_stak'
if not os.path.exists(d):
os.mkdir(d)
return d
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment