Parental controls

First off would like to say Hello to everyone, new to the forum.

Now I am not a programmer at all. I am looking for some direction and assistance. I have an idea for a product that runs on Android OS, and was wondering if a C++ person could add parental controls to the device.

The controls would include a time limit setting, blocking certain actives and access to a new app store only.

Any information or direction is greatly appreciated.
You should move this topic to the lounge or jobs section.
It sound like a good idea, are you sure there aren't any tools for it already?
closed account (N36fSL3A)
Shouldn't be that hard. Not good with mobile devices but it'd work like this:

Time checking:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Lets say you made a time class, now an object to represent the current time

Time time;

Time constTime; // The time you want the phone to lock

void setConstTime()
{
    // Set the time values here
    constTime.min    = 10;
    constTime.hours = 2;

}

bool checkTime(Time _time_)
{
    if(time == constTime)
    {
        return true; // Return a value that lets you know the time is time to lock;
    }
    return false;
}

void HandleTime()
{
    if(checkTime(time))
    {
        LockProgram();
    }
}


Don't know about the rest, I don't develop for mobile devices.
Last edited on by Fredbill30
Android OS is Java based... Not C++.
closed account (o1vk4iN6)
Seeing Java uses a VM even on a mobile device to run and that VM has to be written in something else, you can't really say Android OS is Java based. Only thing that's really Java based in android are the apps and even than you can still write a native C++ app but it still needs to interface with Java.
Last edited on
like kevinkjt2000 said, the Android OS is java based. although on the other hand, you can make apps for the iOS in Objective-C which i have never used but may be similar to C or C++
closed account (N36fSL3A)
Objective C is a superset of C, just like C++. Just use C.
Topic archived. No new replies allowed.