Removing features from android OS - android

I want to customize the android OS for my specific needs.What i want to do exactly is eg:-
remove the access to android market, remove contacts, calendar.etc.
basically I want to have apps that I permit.
Even if removing the icon is all right.

If you do so you will have create a new custom ROM and only you will be able to install...
Not every one would prefer to install without default features like Market etc..

Related

How to change values in a compiled apk?

I want to create an app in which I want to change some values like some colors which are located in res/values/colors.xml. I want to create a patch file which will be able to modify my app later.
Basically, I am making an app lock where I want to update the lock screen later with different kind of backgrounds and change the colors of buttons and texts.
For example: See CM AppLock. Where the user is able to download the theme from the play store and install it and the lock screen changes as per the theme.
The way CM AppLock does it is called "Android Runtime Resource Overlay", aka RRO. Here is a brief Introduction of RRO. The mainstream Android releases have RRO enabled for preinstalled packages(not allowed for downloadable apks). Last I checked the patches for RRO for downloadable apks are still in review. Android O will most likely have this feature. Here is a brief overview of this new feature coming in Android O.

Android: Create different APKs of the same App with different Icons

The companys that use my app want their own icon as the app icon. Since it isn't possible to change the app icon programmatically (or is it?), I need to create multiple apks with different icons.
How could this be done easily (20 different apks) in as few clicks as possible? Is there a tool or something that could do this? or do I need to write my own plugin and if yes, do you have any links on how to do that in eclipse (I've never created a plugin for eclipse before...)
Thanks
Since it isn't possible to change the app icon programmatically (or is it?)
Not really.
How could this be done easily (20 different apks) in as few clicks as possible?
Move your production builds to use Gradle for Android and set up a product flavor for each customer. You will be able to have different versions of the icon, and other stuff if needed (e.g., custom string resources with the customer's name), and Gradle can build custom APKs for each product flavor.

Custom Android MMS/SMS application from source code?

Okay here's the deal:
I want to download the full source of the MMS/SMS application that ships with Android phones. I want to be able to modify it, and add a little custom functionality to it.
I am developing using Eclipse, and I'm on Windows 7. I have noticed that there is now a Git for Windows, but I am pretty lost in it and not sure how to integrate everything with Eclipse.
Basically, I want to just get it to the point where I have all the source code visible in Eclipse and be able to see the app run JUST like the built-in texting/MMS app that is already on my phone. Then I'll know that I can modify it and proceed.
Any ideas?
Thanks!
There's a mirror of the SMS/MMS app on GitHub here. Just import that to Eclipse and customise away.
Unless you want to customize and use it only on your own phone (without publishing), this is not a good idea. This is because it uses classes that are hidden from the sdk. By default you won't even be able to build the apk via eclipse, but there is a way. The reason why this is a bad idea is that the hidden apis are not guaranteed to remain the same through different api-levels and your app can stop working with the next android update, and might also not work on previous api-levels. In-fact your app might not even work on selected phones running the same api-level.

[android]how can i create customize profile like meeting etc

i m new in android i want to create application that gives option for create new profile (like meeting,outdore etc),manage profile(not location base it's manually)
plz help me
If I understand you correctly, you want to quickly switch between several profiles that change certain settings like Wifi On/Off, mutes all sounds, etc. right?
If that's what you want then your best bet would be to not re-invent the wheel and - depending on what phone you have - to install a custom ROM like CyanogenMOD which already features profile management. This would void your warranty though.
Otherwise, you could possibly achieve this with either an Xposed module (will most likely only work if you have a Nexus device, since it requires a pure "AOSP" version of Android and Root permissions) or the app "Tasker" which also requires Root access.

Is this a built in drawable?

In this linked image , I see the button on the right quite often in a lot of apps. On my Moto Droid, it is used extensively in the settings app. It is also used as the default AlertDialog icon. Can I use this via a android.r.drawable?
The icon is built-in with the Android development, you can access the image by using R.drawable.ic_dialog_menu_generic
While it may be possible to use it via android.R.drawable, you may want to find the image in the resources that come with your SDK ($ANDROID_HOME/platforms/$VERSION/data/res, where $ANDROID_HOME is where you have the SDK installed and $VERSION is a relevant Android API level). So, per Mr. Forloney's answer, you'll find that in, say, drawable-hdpi/ic_dialog_menu_generic.png in the aforementioned directory. Then, copy that image into your project. While it will add 5K to your project size, it will mean that the icon does not change based upon OEM or Android changes.

Categories

Resources