Message while in OpenVPN Connect

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
NielsKramer
OpenVpn Newbie
Posts: 1
Joined: Wed Apr 03, 2013 12:45 pm

Message while in OpenVPN Connect

Post by NielsKramer » Wed Apr 03, 2013 12:51 pm

Hello All,,

For my work I am using this application to set up a VPN.

But the company demands when people use a company network, a message is shown that it is legally forbidden to gain unauthorized access to the system.

Therefor I need to show a message at the moment people launch the OpenVPN Connect application, or when the user presses connect.

The way I have done that at this moment is just constantly run a service which checks if the application is started from the RunningAppProcessInfo list in android.
But this drains my battery live.

So my question is if there is an Broadcast Intent, with which i can just create an BroadcastReceiver in my Manifest. So I can show that message without constantly looping trough the running process info.

Or if you guys have an other idea of how to solve my problem.

Greetings,,

Niels Kramer

Post Reply