Change layout of the built-in application - android

Is it possible to change the layout of the built-in application of the Android?
I have Samsung S Duos and I want to change layout of some application(dialer, SMS messenger and phone book(contacts) are not so user-friendly for dual SIM cards)
Is it possible to make buttons of this applications bigger or smaller or to add a new option (sub menu)?
If yes, is there easier way than rewriting and compiling whole Android source? Or maybe there is an option to change the phone book(contacts) and reinstall it as a new application?
Any help is appreciated

Is it possible to make buttons of this applications bigger or smaller or to add a new option (sub menu)?
Somebody with sufficient experience could do this, yes.
is there easier way than rewriting and compiling whole Android source?
No. And even that is insufficient, as the result will not run on your phone without the requisite drivers.
Instead, find a ROM mod that can run on your phone, then start with that ROM mod's source and make your changes.
Or maybe there is an option to change the phone book(contacts) and reinstall it as a new application?
It is conceivable, though unlikely, that the maintainers of your chosen ROM mod have arranged for some of these apps to be buildable as SDK apps. Most likely, this is not an option for you.

I guess you can't just edit the application without having the source and recompiling it. You can modify your build.prop to edit your screen density value. If you change this, you will have more (Or less) buttons etc. on your screen. But editing this file is very dangerous and I don't recommend it.

Ok first off your the one that needs help so you dont have to be rude, secondly the source code is not going to be in your phone because its going to be a binary file. And unless you know how to convert a binary conputer kanguage fike to source code then your sol. This website is not a place where we write code for you. If you have no code to display then theres not much we can help with. And the only people that have the actual source code are going to be the developers that made the application which are the developers that made your phone. In this case shoot an email to your phones company which is samsung and see if they will release you an open source code that you can go off of. That should answer your question on how to get the source code. If they dont give it to you then you cant get it.

Related

Is it possible to switch APN programatically in android?

I am trying to develop an app in which I need to connect to a specific APN programatically for network testing purposes.
As a user, I can do this by going to "Settings" -> "Wireless & networks" -> "Mobile Networks" (long press) -> "Access Point Names". It will even let me add a new one manually.
I want to know, is there a way an app can do that automatically? I have root permissions and everything you might need.
If anyone knows the android source, can you point me on where to look to study the behavior of this screen? I've tried to take a dive there but I'm kinda lost.
I'm answering my own question in addition to what was pointed by 7383. Hope this helps someone.
Similar to ApnEditor, I was actually looking for ApnSettings (link to cyanogen). I supposed this screen was provided by android and didn't suspect that "Settings" was actually an app.
The apps can't be used with an IDE as we usually do, it should be either compiled with makefiles like android or edit it's source so it's "ide-compatible" as suggested here
Now, to add or edit APNs you can't just put that code in any app. You need android.permission.WRITE_APN_SETTINGS which is a permission only available to system apps. The app won't be portable, but it appears this can be done using a rooted phone or a custom rom. More info here and here
I hope you are looking for this. The following links are from Android settings app source code.
add new apn
Set as default

Android: how to create a "shop" limited version of Android

I try to explain better:
I want to put some tablets in my shop for my customers. I want them to use only a few apps that I've created.
So I need an Android version (or a launcher version, maybe?) where you can only choose between some apps to be played. All the settings, all the other apps and everything else must be unreachable (or, better, only reachable if you know the password).
Anyone has any suggestion on how to do it or where do I start?
Thanks a lot.
One Google search led me to the following:
https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher&hl=en
https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher&hl=en
Just whichever one you want and and hide the apps you don't want. It will hide them in the drawer as well. Nova Launcher already looks like stock Android, or close enough if you want that. In fact they both do.

How does the Teamviewer Android App gets the screen

in a project I want to send the screen of my Android device to a remote service. There are some possibilities how to do that. For example copy the grafic memory (root required) or get the current bitmap of my app.
Anyway either I need root rights or I only get the screen of my own App. I saw that the Teamviewer app does something like that too.
At the end my question. How?
I think you can just make a screenshot, send it to the other phone(or to a server). Make a screenshot 2x a second, and I think it will look fine. If you really want to know how Teamviewer does it, you have to decompile the .apk file(ofcourse, at your own risk).

Change screen preferences

I have a business requirement, and after lot of googling came to a point that android (as compared to iPhone) would be the platform to go for
I have a requirement wherein lets say an App 'X' that comes built-in with OS (firmware) needs to be replaced with some App 'Y'.
Of course, i understand that there would be something that i would need to change at firmware level (correct me), and of course i have no idea how to do that
So, is such a kind of thing even possible ?
Any links where i could look for more.
Yogurt
As long as your app provides the same functionality and it reacts on all intents, you could just delete the native apk from system/app and put your own apk there.
We had a very similar project in the past. The solution was to install our app in addition to the "native" one and to catch and process all input (notifications, broadcasts, etc) in our application. It also might be possible to prevent native application from reacting to those inputs.

replacement for clock app

the least thing i like on the nexus one is the useless app it runs when on the desktop dock.
I already wasted a good day searching for the 3 topics below and failed to find anything.
Is there any replacement for it already available?
Is there source code for the original one?
Is there documentation on how to replace them?
Very Likely. Look in Android Market; I'm sure there's a desktop clock replacement app there.
Yes. look at DeskClock.git.
Yes. look at Intent.CATEGORY_DESK_DOCK. If you create an activity with an intent-filter that contains this category it'll show up in the list of available apps (the 'chooser') when the phone is docked.

Categories

Resources