Fetching details from android
how can i show android IMEI to MVC View by using web api
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Manoj BhoirRank #599 · 4K reputationPosted Apr 18, 2015, 10:42 PM EDT
I don't think you can directly access any android device IMEI number in your web application. You have to create an android app which will register that android device IMEI number into your database and based on that your can access that number from your database to your MVC application.
public String getIMEI(Context context){TelephonyManager mngr = (TelephonyManager)context.getSystemService(context.TELEPHONY_SERVICE);
String imei = mngr.getDeviceId();
return imei;
}
You'll need the following permission in your
AndroidManifest.xml:
Pease refer this link to save data from android to database using web service :http://www.codeproject.com/Articles/112381/Step-by-Step-Method-to-Access-Webservice-from-Andr
vetriselvan vetri28 reputationPosted Apr 20, 2015, 12:48 AM EDT
in .net store the imei number by using web api.
please help me,
could you please try to get solution from your friends circle.