I write an App and I'd like to get some informations about the Android devices my users are using.
I'd like to know
manufactor
the Android version
and some kind of unique ID
Is that possible without any special permissions? What is the API?
Take a look at the Build object. It will give you some details about the Android build.
Information about the Android version can be found in Build.VERSION
Hope that helps.
I'd like to know the manufactor, the Android version and some kind of
unique ID. Is that possible without any special permissions?
If you wrote 'permission' word in terms of manifest permission then you dont need any special permission for that , because its not something from user must be aware about application access of that data .
and if you would like to know about Build information then brianestey's answer is much clear to that .
Related
I'm actually working on an android wear project and I need a communication between the handheld and the wear module. For this task, I use the DataLayerApi and the MessageApi.
The problem is that the 2 modules (handheld/wear) don't seem to communicate. I've checked the ApplicationId and the package names to see if they were equal, and I don't see a difference.
Does someone know if there's a way to debug it?
PS: I also have a warning from the WearSignatureVerifier saying "No package com.google.android.wearable.app.cn". I don't really understand why I would have a chinese package on my app, so if someone knows more about it, I would be glad to know more about it
DataLayerApi is working on accessing the wearable data layer.
And MessageApi is working on sending/receiving messages.
So of course, they can't work together directly.
You should call the data first, translate it into data item then handle it to MessageApi.
Please take a look at Transferring Assets.
Try to use old google services sdk which is used on your wearables. I mean, 7.8 or similar.
I've tried a number of searches but can't find anything applicable, it may be because I'm just not asking the right question! So please feel free to redirect me if this has been covered elsewhere.
I'm new to Android and to development, but have an idea to use an Application to check other simple apps on the device for potential security holes (this is to design a prototype as part of a course of study).
Before I go any further, is it feasible to use an application to check through/parse/inspect the source code of another app, searching for instances of text/commands/permissions etc (similar to a grep in Linux for example)? Any starting points would be greatly appreciated, things like inter-app communication, converting code into text, searching through that text and reporting and the like.
I think the key might be using an app to inspect a Manifest file of another for permissions settings etc. I've learnt that Dalvik compiled code has big differences to the original Android 'Java'. Is it even possible to use an app to read the Manifest file of another app?
If u use Android Studio try 'code inspect' , 'code analyze'.
First of all,thanks to everyone, who considers this post.How to detect whether any of the offline language dictionaries,say https://play.google.com/store/apps/details?id=com.socialnmobile.colordict&feature=nav_result#?t=W251bGwsMSwyLDNd, https://play.google.com/store/apps/details?id=livio.pack.lang.en_US&feature=search_result#?t=W251bGwsMSwxLDEsImxpdmlvLnBhY2subGFuZy5lbl9VUyJd etc.., are installed in android device and if yes, how can I pass the word(for which the definition is required) programatically to the dictionary application.Please help me.
Finally , I prefer a solution for my question, though cant be the exact solution for the question.I used the link, http://thesaurus.altervista.org/dictionary-android
and used the available package and accessed from my application by using intent.
try this-
http://sourceforge.net/p/dictionarymid/code/HEAD/tree/trunk/Android/
might be it will be useful for you,good luck
I am working on an app that will access different items in the phone status screen for work. I need to be able to get specific software information from the phone to populate in the app. For example: in the droid x, the system version shows as 4.5.605.MB810.Verizon.en.us . This is the software info I need to auto populate. I have tried all of the Build options from the android developer site and I have even tried the SYSTEM_VERSION string from telephony, but they all provide information other than what I need. Can anyone tell me how to reference this software information please?
Check out android.os.Build. Here are the details:
http://developer.android.com/reference/android/os/Build.html
And for OS version specifics, use the nested class Build.VERSION detailed here:
http://developer.android.com/reference/android/os/Build.VERSION.html
Check the Settings app code for where it gets its information.
Is there any way to modificate Phone App? I need to add some caller's info on it but I can't find way to do it/
You could check the android sources http://source.android.com/source/index.html, try to get the correct sources and build your own app.