I am are writing a classroom application, where the teacher will have the possibility to monitor verify etc. what the student is doing.
It is implemented in that way that the teacher can open a TCP session to the tablet (running a server as a service) and take control of the device......
the question is now how I can detect which activity is active, I can hold a variable for each activity and use that one in the service module but I think that is the wrong approach - any change to query the active activitys name or similar?
THX
M
It is implemented in that way that the teacher can open a TCP session to the tablet (running a server as a service) and take control of the device......
the question is now how I can detect which activity is active, I can hold a variable for each activity and use that one in the service module but I think that is the wrong approach - any change to query the active activitys name or similar?
THX
M