serial to prevent them from using my app on other devices without my authorizati

Started by Santiago, June 05, 2024, 19:12:52

Previous topic - Next topic

Santiago

Hello, how are you? I'm about to compile an APP for tablets, and I would like to put a security code, like a SERIAL, so that when the client installs the APP they have to send me a code and I send them the SERIAL to be able to activate the app in that device.

In Blitz3D I use a very basic system, generating a number through the device serial number and the hard drive. and then I'll give them a few turns with math :)

In AGK, I can't find any command like GETDEVICEID, or something GETDEVICEIMEI or something like that.

I want to be able to send my client the .APK, have him install it, and have the app work for him once he has activated it.

I don't know much about how these devices work, I've always made things for PC.

I can put together something that will give you a number, and with some mathematical encryption I should give you the answer.

It doesn't have to be very sophisticated, it's just so my client doesn't install it on different devices.

I'm interested in knowing what method I can use, or if there is a command, I looked in CORE, but I didn't see anything I can use.

greetings!

Qube

Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD.
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32GB DDR5 RAM 1T PCIe 4.0 SSD.
Microsoft Surface Pro 11 ( Snapdragon® X Elite ), 16GB RAM, 512GB SDD.
ASUS ROG Swift OLED PG27AQDM OLED 240Hz.

Until the next time.

dawlane

A quick search of the TGC forums came up with this.
But not sure if this would work on an Android device though.

Santiago

ohhh!!! YES!! thanks!!!

How come I didn't see it before!!

Thank you!!
GetdeviceID() is just perfect!

Pfaber11

     I guess there are limitations in most languages and I have tried a few. However  my favorite is AGK Studio. I only made one simple game with Blitz3D and that got me started making games on the PC. I barely scratched the surface with Blitz3D but didn't realize that at the time. There are loads of Basic ish languages out there and some people think that a BASIC program is that BASIC (simple) , this may of been the case 30 years ago but I think today BASIC is a good language for whatever you want to use it for. I bought a compiler for my BBC micro in 1985 and never got it to work at all, it always came up with errors. Today I hit the compile button and it all works really well. 
    I'm not really sure about the smoke but I have played with the fog command and this may work for it depending on what you're creating. I've been at this for six years now and with breaks and trying out different languages I think I've put about 2 1/2 years into AGK. I might be a slow learner.
    TGC say AGK is easy to learn and I would agree with that when compared with other languages, however some dedication may be necessary (will).  Enjoy your day.
       
    
Windows 11 home edition
PureBasic 6.20 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb ssd
HP Desktop; AMD 3700 A10 16GB ram 2 GB graphics card windows 10