Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
1 answer
5k views

android get imei in cc/c++ for ndk/JNI

I would try to get the imei of a device in C/C++ (using ndk) and retrieve the result with JNI. const char *res = exec_get_out("service call iphonesubinfo 3"); Works in shell, but does not in my ...
sakdoss's user avatar
  • 21
11 votes
8 answers
20k views

Is it possible to validate IMEI Number?

For a mobile shop application, I need to validate an IMEI number. I know how to validate based on input length, but is their any other mechanism for validating the input number? Is there any built-in ...
Kichu's user avatar
  • 123
1 vote
1 answer
6k views

Is there a perfect hash function for the combined input sets of IMEI numbers and MAC addresses? (C implementation)

I'm looking for a hash function that I can use to give uniform unique IDs to devices that connect to our network either using a GSM modem or an ethernet connection. So for any given device I have ...
Grekker's user avatar
  • 974