Android Phone App Modification - android

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.

Related

How to create a system app for custom ROM

We have a custom ROM for a device we are making and what I want to do is make our own custom Settings app to replace the settings app that comes already built in android.
I cant really find any documentation on how to even create a system app. It does not appear you can create it in Android Studio, I tried looking on the AOSP site and didnt find anything there related to creating system apps. The few things I did find were on here where you would put android:sharedUserId="android.uid.system" in your manifest and then has to be signed with the same key as the ROM but after that I cant find anything.
The settings app I want to create would need access to the framework.jar to be able to use the hidden framework API's.
Does anyone have any information or know where I can find this information on how to go about actually creating a system app?
You may want to research how to make a Device Tree Overlay (dto). Basically it is your code, reformatting the base code, into what you want. https://source.android.com/devices/architecture/dto?hl=en
Since you said you use Gradle, you should put first build you apk and put them in you vender folder, and next important thing is to create a mk/bp file to tell the Android build system how to deal with this pre-built apk.
P.S. If you system app highly depends on Android hidden api, make sure you have the right version of framework.jar in you Android Studio project, or, as what I alway did, create apps directly in AOSP, in this case, you can just check the code structure of the original Settings app in AOSP
this tutorial may help you.

Get statistical informations about an Android device

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 .

Android- detect any offline language dictionaries are installed

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

Can we change Android source code using Android NDK..?

I am having a requirement like to add a custom setting to android native settings(like when we go to Home->settings->Display we have Screen timeout,Animation,Auto-rotate screen,Brightness settings available.But i want to add one more setting like auto-screentimeout there.i,e i need to change the source code of android..some thing related to forked android consept)so,Is this possible..?if so can we use NDK for this...
Thanks in advance...
You can download the Android source code and then create your own settings APK. However it will probably only run on the phone you are testing it, and I assume you run into problems when using different Android versions or some modifications by device manufacturers.
Read more http://source.android.com/ on how to get started.
Alternatively you could extract the settings APK from your current phone, decompile it with apktools, and then re-create it again with your changes.
Read more on http://code.google.com/p/android-apktool/
In both ways you need to have root access to install the new APK... and probably a custom recovery to restore from a nandroid backup when your modification crashes!
The Android NDK is for writing application code in C or C++.
What you want is to build your own version of the Android firmware; it is a completely separate issue. Have a look at this for starters.

Need to get specific SW information from Android phone in app

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.

Categories

Resources