Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

NFC
Started by Michael W. May 26 2016 02:52 PM

32 replies to this topic
release android
[TOPIC CONTROLS]
Page 2 of 2 1 2
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#26

shohoku-boy

[GLOBAL: userInfoPane.html]
shohoku-boy
  • Observer

  • 8 posts
  • Corona SDK

Here is error log from device with NFC Sample Project
================================================================================================
ww808_emmc: main.lua:69: java.lang.NullPointerException
ww808_emmc: Java Stack Trace:
ww808_emmc:  android.nfc.NfcAdapter.enableForegroundDispatch(NfcAdapter.java:1184)
ww808_emmc:  plugin.nfc.LuaLoader.enableForegroundDispatch(LuaLoader.java:79)
ww808_emmc:  plugin.nfc.LuaLoader.init(LuaLoader.java:135)
ww808_emmc:  plugin.nfc.LuaLoader.access$900(LuaLoader.java:31)
ww808_emmc:  plugin.nfc.LuaLoader$InitWrapper.invoke(LuaLoader.java:470)
ww808_emmc:  com.ansca.corona.JavaToNativeShim.nativeResize(Native Method)
ww808_emmc:  com.ansca.corona.JavaToNativeShim.resize(JavaToNativeShim.java:381)
ww808_emmc:  com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onSurfaceChanged(CoronaGLSurfaceView.java:378)
ww808_emmc:  com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1612)
ww808_emmc:  com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1378)
ww808_emmc: stack traceback:
ww808_emmc:  [C]: ?
ww808_emmc:  [C]: in function 'init'
ww808_emmc:  main.lua:69: in main chunk
================================================================================================



[TOPIC: post.html]
#27

Lerg

[GLOBAL: userInfoPane.html]
Lerg
  • Contributor

  • 533 posts
  • Corona Staff

shohoku-boy, hi, thanks for the patience, I will look into it this weekend.



[TOPIC: post.html]
#28

shohoku-boy

[GLOBAL: userInfoPane.html]
shohoku-boy
  • Observer

  • 8 posts
  • Corona SDK

shohoku-boy, hi, thanks for the patience, I will look into it this weekend.

Thank you , Lerg



[TOPIC: post.html]
#29

Lerg

[GLOBAL: userInfoPane.html]
Lerg
  • Contributor

  • 533 posts
  • Corona Staff

shohoku-boy, does it happen with the test project on github?
https://github.com/Lerg/plugins-sample-nfc

And what is your device?

 

Couldn't figure out what could be wrong yet.



[TOPIC: post.html]
#30

shohoku-boy

[GLOBAL: userInfoPane.html]
shohoku-boy
  • Observer

  • 8 posts
  • Corona SDK

shohoku-boy, does it happen with the test project on github?
https://github.com/Lerg/plugins-sample-nfc

And what is your device?

 

Couldn't figure out what could be wrong yet.

Here is my device information Lerg
https://www.dropbox.com/s/1ef29k3jld7iux5/Photo%2011-1-2560%20BE%2C%202%2022%2046%20AM.jpg?dl=0 
Hope you find it soon



[TOPIC: post.html]
#31

lluispancorbo

[GLOBAL: userInfoPane.html]
lluispancorbo
  • Observer

  • 3 posts
  • Corona SDK

Hi, 

 

I have a problem with the NFC, I read correctly the tag, but seems like the tag remains resident in the phone. I try to use the function nfc.releaseTag() but the stills remaining in the phone. How can I do to remove the tag? Is there any related issue with that?

 

Thanks.



[TOPIC: post.html]
#32

Lerg

[GLOBAL: userInfoPane.html]
Lerg
  • Contributor

  • 533 posts
  • Corona Staff

lluispancorbo, hi, have you figured out your issue?



[TOPIC: post.html]
#33

Lerg

[GLOBAL: userInfoPane.html]
Lerg
  • Contributor

  • 533 posts
  • Corona Staff

Updated NFC Plugin: Added iOS Support!

 

Please see the new documentation
http://docs.spiralcodestudio.com/plugin/nfc/


And updated sample app

https://github.com/Lerg/plugins-sample-nfc

 

Since the plugin is now complete, it will become paid soon.




[topic_controls]
Page 2 of 2 1 2
 
[/topic_controls]

Also tagged with one or more of these keywords: release, android