Does anybody know if there is a way to get the mac address of the device your app is running on(in Corona)?
[import]uid: 106158 topic_id: 20213 reply_id: 320213[/import]
Does anybody know if there is a way to get the mac address of the device your app is running on(in Corona)?
[import]uid: 106158 topic_id: 20213 reply_id: 320213[/import]
From inside the Corona SDK app alone I think it’s impossible. Maybe “with a little help from your friends” - I think of a little tool outside of the app in your network. You send a request and will get an answer with the MAC address… [import]uid: 70114 topic_id: 20213 reply_id: 78925[/import]
I know of a few different ways to get the mac address outside of Corona. I was hoping for some command in Corona that would expose the system level calls I need or some wrapper that Corona might have to accomplish the same task.
I might be able to make a separate app in native code that reads and then writes the network data to a file then launches my corona app. Inside the corona app I would then read the file.
Has anyone else dealt with getting the mac address before?
[import]uid: 106158 topic_id: 20213 reply_id: 78991[/import]
Same old song…
I would like to have something like a plugin system for own native code modules, but ANSCA is very quite about it. I think they don’t like it. Anybody wrote in the forum, Walter said about it “no f*** way” [import]uid: 70114 topic_id: 20213 reply_id: 79000[/import]
Hey Sven,
We aren’t really quiet about it - it’s just not something we’re doing right now. Carlos has explained this many times in detail.
Peach
[import]uid: 52491 topic_id: 20213 reply_id: 79110[/import]
I am still trying to figure out how I am going to get the MAC address/ ipaddress from the phone my app would be installed on.
I tried io.popen but it does not seem to be supported under ios. The mac corona sim and xcode sim didn’t like it. It worked under Windows Corona sim. I used io.popenIPConfig(“ipconfig”,“r”)
Is there a way for me to run a seperate program before I run my Corona app?
Or have a seperate Program launch My Corona app?..and even if that is possible can you even bundle two applications together with corona?
[import]uid: 106158 topic_id: 20213 reply_id: 83852[/import]
i also need this now.
apple will soon start rejecting apps accessing the udid, and i know other app developers that are using the devices mac address instead.
plugin system for native xcode is a must for me, or a least added to the road map for the future. I fear that my journey with ansca might be short lived which is unfortunate because it is a very cool solution for app development.
other info here
http://developer.anscamobile.com/forum/2012/02/28/mac-address
http://stackoverflow.com/questions/1110278/iphone-sdk-getting-device-id-or-mac-address
[import]uid: 89663 topic_id: 20213 reply_id: 98046[/import]
I think a plugin system for XCode would be very useful.
I am not 100% familiar with the Corona’s Developers’ attitudes toward that sort of thing. From what I have read on the forums and in the API docs, the Corona dev’s are keeping a tight leash on what can and can’t be done with(lua in Corona).
I have read about the quirkyness of Apple’s App approval process. Corona may be trying to maintain a good rep by limiting the behavior of Apps, which could lead to less approval time.
Again as I said I am not exactly familiar with there attitudes in regard to this, so it could simply be speculation on my part.
My hope is that when a developer runs into a limitation of Corona that they need to surpass (and it doesn’t violate the principles they are trying to protect), that Corona Dev’s will be willing to provide some sort of workaround:
It could be that a developer writes a module that they would like to include and gives it to Corona to review. Then they include it into a build for that developer.
or
It could be that they provide a PAID custom build solution to a developers need.
That is really all that is necessary to make an Application with additional requirements outside the scope of what Corona currently provides.
[import]uid: 106158 topic_id: 20213 reply_id: 98094[/import]
@pbligh “It could be that a developer writes a module that they would like to include and gives it to Corona to review. Then they include it into a build for that developer.”
great idea
[import]uid: 89663 topic_id: 20213 reply_id: 98118[/import]