Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Is Corona/Lua a suitable platform/language for a parental control app?
Started by d2gp Sep 17 2019 02:28 PM

3 replies to this topic

Best Answer Rob Miracle , 18 September 2019 - 04:57 AM

Gotta agree with XeduR here. But let me add on to it.

 

You will have to do a lot of system level hooks that Corona really isn't designed to get to. There are nearly no API's to allow you to do this. You would have to use Corona native and do most of the work in Objective C. Even then I think it would be a challenge to do.

 

Rob

[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

d2gp

[GLOBAL: userInfoPane.html]
d2gp
  • Contributor

  • 265 posts
  • Corona SDK

Hi

 

I'm interested in writing a parental control app for Mac OS X. The program would limit the amount of time each day I can run certain apps, such as browsers, and access certain websites. After the time is up, the app or website would get shut down and it would be impossible to open it again that day without a password. It would  also be impossible to close the parental control app without a password. 

 

I'm wondering if this is feasible with Corona/Lua. I'm not attempting to created a commercial app here. It would be more for my own personal use, and just to learn more about programming. Thanks.

 

 



[TOPIC: post.html]
#2

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Contributor

  • 944 posts
  • Corona SDK

Creating such an application would be difficult and way beyond "just to learn more about programming".

 

You cannot easily create a program that has the control over other programs starting or closing running programs when some time limit is reached without manually modifying the programs you want to control. Just use Mac's built-in parental controls.



[TOPIC: post.html]
#3

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,207 posts
  • Enterprise

  Best Answer

Gotta agree with XeduR here. But let me add on to it.

 

You will have to do a lot of system level hooks that Corona really isn't designed to get to. There are nearly no API's to allow you to do this. You would have to use Corona native and do most of the work in Objective C. Even then I think it would be a challenge to do.

 

Rob



[TOPIC: post.html]
#4

d2gp

[GLOBAL: userInfoPane.html]
d2gp
  • Contributor

  • 265 posts
  • Corona SDK

thanks.




[topic_controls]
[/topic_controls]