Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

How to get imei number ?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-25-2008, 08:05 AM
gjoisa's Avatar
Senior Member
 
Join Date: Feb 2008
Location: Udupi , India
Posts: 163
Default How to get imei number ?

how to write code to get the IMEI number of the device ?
Reply With Quote
  #2 (permalink)  
Old 06-25-2008, 08:47 AM
Knows the basics
 
Join Date: Jan 2008
Posts: 64
Default

http://www.basic4ppc.com/forum/addit...rotection.html
Unfortunately, this method don't work on all devices (on HTC P3600(Trinity) it returns a blank string)

Last edited by Elrick : 06-25-2008 at 08:51 AM.
Reply With Quote
  #3 (permalink)  
Old 06-25-2008, 09:20 AM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Ioannina, Greece
Posts: 356
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

You could also try here http://www.basic4ppc.com/forum/addit...dzril-dll.html
__________________
Dimitris Zacharakis
http://www.terracom.gr
Reply With Quote
  #4 (permalink)  
Old 06-25-2008, 09:39 AM
gjoisa's Avatar
Senior Member
 
Join Date: Feb 2008
Location: Udupi , India
Posts: 163
Default

Quote:
Originally Posted by Elrick View Post
http://www.basic4ppc.com/forum/addit...rotection.html
Unfortunately, this method don't work on all devices (on HTC P3600(Trinity) it returns a blank string)
Thank you Elrick . But it does not work on my device (Imate) . One error message comes "An error occured on sub_app_start. An error message can not be displayed because an optional resource assembly containing it cannot be found . Continue ?" . Why so ?
Reply With Quote
  #5 (permalink)  
Old 06-25-2008, 09:48 AM
Knows the basics
 
Join Date: Jan 2008
Posts: 64
Default

You should use "db2000 GetInfoDevice.zip" from post #13, if you don't. If you use it and it still don't work - it's better to ask maXim (because he made this lib) or agraham (because he is agraham )

Last edited by Elrick : 06-25-2008 at 09:52 AM.
Reply With Quote
  #6 (permalink)  
Old 06-25-2008, 10:08 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 3,827
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

You can load the optional resource from there, post #2

http://www.basic4ppc.com/forum/quest...vice-only.html

this will not solve the problem but you will get a more explicit error message.

Best regards
__________________
Klaus
Switzerland
Reply With Quote
  #7 (permalink)  
Old 06-25-2008, 10:11 AM
gjoisa's Avatar
Senior Member
 
Join Date: Feb 2008
Location: Udupi , India
Posts: 163
Default

Sorry . This also does not work . Dear Maxim what is the way ?
Reply With Quote
  #8 (permalink)  
Old 06-25-2008, 12:40 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,313
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

You can also try to get the MAC Address form the device....See Agraham's dll on the OpenNet thread on the chitchat....
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
B4PPC DLL Version Listing - B4Android DLL Version Listing
Reply With Quote
  #9 (permalink)  
Old 06-26-2008, 06:46 AM
gjoisa's Avatar
Senior Member
 
Join Date: Feb 2008
Location: Udupi , India
Posts: 163
Default

Temporarily I am using Hardware.dll's device Id for protecting my application . After getting device id i save it as string in application . While running application first check the device id and the saved string and if both are matching then application runs . But why Icant get the imei ?
Reply With Quote
  #10 (permalink)  
Old 06-26-2008, 07:59 AM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,313
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Have you tryed This?:http://www.basic4ppc.com/forum/addit...rotection.html
Or This?:http://http://www.basic4ppc.com/foru...r-library.html
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
B4PPC DLL Version Listing - B4Android DLL Version Listing
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IMEI Protection Raytracer Additional Libraries 22 03-21-2010 02:40 PM
Protezione tramite IMEI Raytracer Italian Forum 7 04-19-2008 03:31 PM
Imei Elrick Questions (Windows Mobile) 3 02-16-2008 07:48 PM
How to get PPC Phone IMEI code from "basic4ppc" in491n Questions (Windows Mobile) 3 01-28-2008 01:07 PM
Serial Number Cableguy Questions (Windows Mobile) 4 05-05-2007 08:06 AM


All times are GMT. The time now is 01:59 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0