Connecting to Online Database in Java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Connecting to Online Database in Java

I am writing a project in Java. I want the app to work offline but the app MUST be activated first before use. After activation, the app will use its local database. Please how do I go about it.

12th Jun 2017, 3:19 PM
Ozeh Daniel
2 Answers
+ 7
What about storing some kind of file local after activation? Something like a license?
14th Jun 2017, 7:16 PM
Tashi N
Tashi N - avatar
0
Ok. Where I'm getting some kind of issues is...if user1 shares the app to user2, user2 will also have to activate the app with a different pin before he can use it. Thanks
16th Jun 2017, 4:32 AM
Ozeh Daniel