I want to use show overdraw areas option in Android to check my own app whether there exists overdrawing. I followed this guide : https://developer.android.com/studio/profile/dev-options-overdraw.html#VisualizingOverdraw , but I found that the option works fine with Android system and most of apps on my phone except my own one. I can't use the tool to check any view/viewGroup on my app. I googled a lot but got nothing. I just wonder why, and how can I use the tool to check overdrawing situation.
BTW, Profile GPU Rendering-On screen as bars doesn't work either.
Hope someone could help.
Delete this from manifest
android:hardwareAccelerated="false"
Related
I have a question. I wanted to develop an app that would add a shortcut to the keyboard (Samsung SoftKeyboard).
The shortcut should be accessible via the dots at the top right (see attachment).
I would like to add a circle ("floating") over my app, as shown in the picture on the right.
Something specific should then be carried out via this circle (but that's not the point yet).
I've done a little research, but don't really know what to look for.
I hope you can help me.
thanks in advance
Example
afaik there is no such possibility to add anything in there. it's another app with own custom settings and options, you can't edit such or change in any way. your last chance is possibility of published API/some communication way for that app, which would allow to add such actions, but I very doubt Samsung made such API for own keyboard app and allowed ANY 3rd-party app to mess in their software... (btw. that would be very insecure for user)
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.
Alright. I first wanna apologize for creating another question as I did come across a few things on Google but i am just not fully understanding the things I've found. The three links i found are Make your application a device administrator and Android developer website and this
I completely understand the whole XML part but the part I'm not grasping is where do i put the code i want to run? Like i am trying to place the device into standby mode after executing some code. I know i need to use PowerManager but in order to do this i need to make my app an administrator. Also in the first link i'm not sure what this means startActivityForResult(intent, REQUEST_ENABLE); and why the REQUEST_ENABLE is underlined in red giving Cannot be resolved to a variable error and in the tutorial there was nothing mentioned about creating REQUEST_ENABLE variable or method or class or anything.
Thanks everyone in advanced for helping me wrap my head around this!
I want to add an item in android builtin settings, for my application.
Can any body guide me through any tutorial or code that how can i acheive this?
Thanks a bunch in advance!
Something tells me this is not what you want... I don't know how to achieve it but I have a feeling if it is even possible, it wouldn't work on all devices. I'd stick to an in app settings menu like everything else. At least that way you know it's possible and will work on all devices.
As I know, we can add our app specific menu entries in iPhone's Settings menu. I want to know how same can be done in Android? I am developing for Android 1.6 using Eclipse Galileo. Please guide me.
Probably the closest thing to what you seek is the Account Authenticator feature. For more information see this question and look for the android:accountPreferences attribute. This allows your preference Activity to show up in the Accounts area of Settings.
Apart from that, while it's difficult to prove a negative, I've analyzed the Settings source code for Jelly Bean and I'm pretty certain this is impossible. To see for yourself, examine the onBuildHeaders() method in the Settings.java file. The headers array is maintained internally to the Settings Activity and the only flexibility seems to be the Account mechanism mentioned above.
Read the details information from here .
Nice one example here.
Use android:settingsActivity in your Manifest. It works for Livewallpaper or Input Method. You can't use it for everything or for your particular App.
You will find this good for you.Check this
this will let you know many options to customize your App
Have a Look # this linkPreferenceActivity .