Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

retrieving information of a Android phone using Android application

 
suraj maurya
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been working on a project of developing an Android application which includes printing complete information of the mobile phone. I developed an application for the same using library of Java SE but its not working. Can anyone please provide me code for the same?
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is "complete information of the mobile phone"? It sounds OS-specific, so it's not surprising that some code developed for a desktop OS doesn't work. And no, people here won't write the code for you, but we will help you write the code yourself.
 
Naishadh Parmar
Ranch Hand
Posts: 95
C++ Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I agree with Dittmer, so I will not give you the CODE but I will give you a hint:

Get the system service - Telephony Manager - to get information related to telephony
 
suraj maurya
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sir by complete information of a mobile phone I mean the tuple(Mobile phone model,its manufacturer, Android version it is using). for retrieving this information which class can I use?
??
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The android.os.Build class has that and much more.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic