Help to add a tiny feature on AOSP dialer app - Nexus 5 Developer Discussion [Developers Only]

Well As far as I've figured out, a tiny feature is missing on AOSP dialer (it is on CM's dialer).I tried by replacing the dialer app on AOSP ROM with CM's Dialer and setting up correct permissions but get Force close. I want to add that myself but I've no knowledge of modifying apps so can anyone help me to get started with it . The missing feature I'm talking about is https://code.google.com/p/android/issues/detail?id=194487&thanks=194487&ts=1447859881

Related

Need help with autorotate in app

Been looking around but its hard to find a answer, i've been trying to make an app just to learn with accelerometer support.. is there a way to disable android default auto rotate feature within your app? A big part of the app is shaking the phone and it keeps auto rotating which gets really annoying and messes things up.
Thanks
EDIT: Found solution for anyone interested you add
Code:
android:screenOrientation="portrait"
to your activity in the android manifest

[REQ] Android Navigation Buttons - Tweaked and Customized

Hello!
I know there are some Threads about it already.
I've been searching the web (and xda) about hiding those Nexus navigation buttons in apps but with no success of what I want.
I have already posted this in Q&A but with no success.
REQUEST:
I want my navigation buttons to be ACTIVE on some apps, while I want those button to hide on the other apps with !!POSSIBILITY!! to activate them (indefinite, not only for some seconds) and deactivate when needed.
I don't want them to appear "above" everything like some apps and ways to do this offer. I want it stock, the way android 4.4 does this (eg. http://www.androidpolice.com/2013/1...go-truly-full-screen-hide-the-navigation-bar/)
With the latter I meant when on Home Screen - there should be transparent Button Bar (like stock 4.4) Not like apps that only offer full black ​
Do you think it is possible? Or maybe modified ROM could offer tweaked and improved android 4.4 "Full-screen Immersive mode" HERE.
miHah said:
Hello!
I know there are some Threads about it already.
I've been searching the web (and xda) about hiding those Nexus navigation buttons in apps but with no success of what I want.
I have already posted this in Q&A but with no success.
REQUEST:
I want my navigation buttons to be ACTIVE on some apps, while I want those button to hide on the other apps with !!POSSIBILITY!! to activate them (indefinite, not only for some seconds) and deactivate when needed.
I don't want them to appear "above" everything like some apps and ways to do this offer. I want it stock, the way android 4.4 does this (eg. http://www.androidpolice.com/2013/1...go-truly-full-screen-hide-the-navigation-bar/)
With the latter I meant when on Home Screen - there should be transparent Button Bar (like stock 4.4) Not like apps that only offer full black ​
Do you think it is possible? Or maybe modified ROM could offer tweaked and improved android 4.4 "Full-screen Immersive mode" HERE.
Click to expand...
Click to collapse
Well considering the rom scene has yet to start up for cm or any other rom for that matter, I wouldn't hold your breath. I am sure it is possible, but I don't know if someone will make it, seeing as there isn't a huge demand for this. Roms like AOKP have features like autohide nav bar and swipe up to reveal but nobody has what you want (that I know of) and I don't think it will happen.
aeppacher said:
Well considering the rom scene has yet to start up for cm or any other rom for that matter, I wouldn't hold your breath. I am sure it is possible, but I don't know if someone will make it, seeing as there isn't a huge demand for this. Roms like AOKP have features like autohide nav bar and swipe up to reveal but nobody has what you want (that I know of) and I don't think it will happen.
Click to expand...
Click to collapse
Maybe you are right, but still I hope for a solution that would extend that Immersive mode to all apps.
I already found a similar solution app called Full!Screen. It does almost what I want with one exception - I want it to activate with a Gesture - Like swipe down with 2 fingers? and deactivate with swipe up from the bottom
I don't like any notification bar toggles
Maybe I can get it to work

Question And FeedBack about Custom Stock Lollipop Lockscreen

Dear All,
I just published my first module on xPosed. Don't be hard with me if there are any trouble. However if you describe the bugs, I would be glad to solve it. I have done a few set of test on my Nexus 5 but it should works on any device with stock Android Lollipop. This module allows you to change the two shortcuts on the stock lockscreen.
You can use this thread if you have any question or feedback about the module.
PS: English is not my native language, please don't mind for the spelling & grammar mistakes.
UPDATE 12/03/2016:
A new module is available to do the same thing but on Marshmallow devices (HERE)
Changelog 2.1 :
-You can change the color of the ClockView, Icon Tint, ...
-You can resize the icons
Changelog 2.0 : (Due to deep changes, you may need to reinstall the app or reselect your shortcuts after update)
- You can now use « real android shortcuts » (like google maps route, voice recognition, inbox reminder,…)
- You can choose your icon directly from your gallery
- Improved some interface details (Better material design integration)
- Minor bug fixes.
Changelog 1.2 :
- Minor bug fixes.
- You can now activate or deactivate shortcuts
- Tablet support for the left shortcut (I do not have any tablet to test so I hope it works :\, just tell me if it’s not)
Changelog 1.1 :
- Improved some interface details and minor bug fixes.
- Bug about the camera preview when you launch a shortcut fixed
- You can now edit the text which appear when you hit a shortcut on the lockscreen
- You can now activate or deactivate the “natural white tint” of the icon shortcut on the lockscreen
-List of apps sort by alphabetical order
Works great on my HTC One M7 running CM12 and Xposed, thanks! Been looking for a way to do this.
Love how it changes the icons and makes them white. Have it set to whatsapp and chrome atm
Tried on my M7 too and it works
But I found that if I click on an icon instead of swiping the tip is in your language (I think..) like "balayer l'ecran vers la droite"
Lorenzo196 said:
Tried on my M7 too and it works
But I found that if I click on an icon instead of swiping the tip is in your language (I think..) like "balayer l'ecran vers la droite"
Click to expand...
Click to collapse
Thanks guys for feedback, I appreciate.
I know it is in french and I'm sorry about that. My first goal was to make a module as quickly as possible to change shortcuts on the lockscreen. However I work on an update which enable you to customize this text.
Works great on my m7 with gpe lollipop.
But would it be possible to add a option to choose a image or color instead of what can be seen on the attached pictures?
It's kinda odd to see the grey screen with a camera symbol while opening WhatsApp
Thanks alot, will definitely keep an eye on this!
swarls said:
Works great on my m7 with gpe lollipop.
But would it be possible to add a option to choose a image or color instead of what can be seen on the attached pictures?
It's kinda odd to see the grey screen with a camera symbol while opening WhatsApp
Click to expand...
Click to collapse
Yeah I know that's really strange. OP can't you set it to be just like the left shortcut? The left shortcut (previously the phone shortcut) does not have this problem and it has a nice transition
I'm on it. I will try to publish an update before the end of the week-end
New update 1.1
Would you be able to add the ability to change the lockscreen wallpaper? There's no easy way to change just the wallpaper on the lockscreen, while having the main wallpaper be different.
Will be able to add a shortcut left from the tablet in the future?
Great job on this mod! I only want 1shortcut with the other shortcut set as NONE. Is there a way to do that? Thanks
It would be amazing if you could implement slim lock screen shortcuts :fingers-crossed:
Is it possible if you can make it able to change lockscreen clock as well?
Nice module, great work!!!
Would be nice if you can select a shortcut instead of an app, for example a shortcut to a tasker task.
stu5797 said:
Great job on this mod! I only want 1shortcut with the other shortcut set as NONE. Is there a way to do that? Thanks
Click to expand...
Click to collapse
yes i second that one I'm looking to remove them both
stu5797 said:
Great job on this mod! I only want 1shortcut with the other shortcut set as NONE. Is there a way to do that? Thanks
Click to expand...
Click to collapse
ratcom said:
yes i second that one I'm looking to remove them both
Click to expand...
Click to collapse
Also +1
Currently my workaround is to set my launcher (nova) as app for the shortcuts, so that after unlocking, it will go straight to the homescreen. Not a perfect solution, because unlocking still takes longer because of the app starting process (which also seems to take longer with this module if I choose the contact app compared to the stock setting with the contact app) :/
Funny, it seems most people here want LESS from the lockscreen, while I want more.
I don't know exactly how you would do it with the current setup, but I would love something akin to the lock ring targets found in 4.x roms. I loved being able to launch right into 5 or 6 programs right from the lockscreen. I've tried so, so many third party ones but none of them have the same ease of use or functionality that the stock one employs while also being a seamless experience.
With that being said, I would obviously love if someone were able to get more targets (an idea that I had was to start to pull up and THEN have the targets appear above or something, but I don't know how feasible this is)
guyverzero said:
Funny, it seems most people here want LESS from the lockscreen, while I want more.
Click to expand...
Click to collapse
I don't have a problem with shortcuts on the lockscreen, I just have a problem with the way they are implemented in Lollipop. For unlocking you have to swipe up, but I usually swipe kind of diagonal from down left to up right (seems to be a habit from kitkat and prior). That works like 90% of the time. In 10% I accidentally open the dialer, which is very annoying, since it costs time.
Thats why I want to kill the dialer shortcut
Now that you mention it I had that problem when I started to use Lollipop with that. At this point it's mostly resolved but every now and again I do end up going straight into an app
If you are using pin or pattern lock, every time you need to swipe up first to input the unlock pattern, is there a way to default to input pattern? And swipe down if I want to go back to the lock screen? I wish Google made the shortcuts optional....

Lollipop compatibility issues?

Hey all,
So it's almost been 24 hours with the edge. All in all I love the phone. The design, and build quality are finally on par with what you would expect from a flagship device. Anyway, my problem seems to be a few quirks that I've noticed while trying to set up my new phone similarly to my s4.
So I use Nova Launcher because of the flexibility it offers me in it's features and customization. One of my more commonly used features is the gestures , with swiping down specifically set to expand my notifications. I don't seem to be able to use this feature at all with the edge and I'm wondering if this is a Touchwiz feature that is overriding nova?
The other problem I immediately noticed was that there was no longer an option for direct dial or direct message which I used all of the time! If there is anyone that may use nova with an edge that could help me out or maybe just verify that would be great.
Thanks all!
-Kevin
kevinb84 said:
Hey all,
So it's almost been 24 hours with the edge. All in all I love the phone. The design, and build quality are finally on par with what you would expect from a flagship device. Anyway, my problem seems to be a few quirks that I've noticed while trying to set up my new phone similarly to my s4.
So I use Nova Launcher because of the flexibility it offers me in it's features and customization. One of my more commonly used features is the gestures , with swiping down specifically set to expand my notifications. I don't seem to be able to use this feature at all with the edge and I'm wondering if this is a Touchwiz feature that is overriding nova?
The other problem I immediately noticed was that there was no longer an option for direct dial or direct message which I used all of the time! If there is anyone that may use nova with an edge that could help me out or maybe just verify that would be great.
Thanks all!
-Kevin
Click to expand...
Click to collapse
Direct dial works for me, but not the gesture associated with pulling down notifications - I'm having exactly the same issue you are with that. Just about all the other gestures work, but not for notification bar. I've tried doing other gestures to get the notification bar to pull down, but none of them work. Was a good feature I liked with Nova, but this is more of an issue with Nova that you / we can address with them directly I believe.
Yeah, my bad I should clarify that upon importing my nova settings to the new phone, my direct dial and direct message both worked but I was unable to add any new contacts with this feature.
I accidentally deleted my wife's direct message and had to import again to get it working properly.
You're right to contact the developers directly. Probably a feature that just needs tweaked for the next update. Thanks for helping me verify this though!
-Kevin
kevinb84 said:
....So I use Nova Launcher because of the flexibility it offers me in it's features and customization. One of my more commonly used features is the gestures , with swiping down specifically set to expand my notifications. I don't seem to be able to use this feature at all with the edge and I'm wondering if this is a Touchwiz feature that is overriding nova?
The other problem I immediately noticed was that there was no longer an option for direct dial or direct message which I used all of the time! If there is anyone that may use nova with an edge that could help me out or maybe just verify that would be great.
Thanks all!
-Kevin
Click to expand...
Click to collapse
I am using the Nova Launcher Beta app and both features are working on the Galaxy S6 Edge. It asks for Accesibility permission to be able to Expand the Notifications but after you grant the permissions it works as expected. I also added a Contact shortcut to the Launcher correctly.
Hold tight for Nova to update the regular app or join the Beta program to enjoy those features now. I have not found anything bad with the Beta so far.
Pito
mp2ning said:
I am using the Nova Launcher Beta app and both features are working on the Galaxy S6 Edge. It asks for Accesibility permission to be able to Expand the Notifications but after you grant the permissions it works as expected. I also added a Contact shortcut to the Launcher correctly.
Hold tight for Nova to update the regular app or join the Beta program to enjoy those features now. I have not found anything bad with the Beta so far.
Pito
Click to expand...
Click to collapse
That's great!
Signed up, and downloaded the beta in a matter of minutes! As you said I was prompted to accept the ability to expand notification and now I feel like my phone is complete!
Thanks Pito!

Navbar weirdness

I installed some mod that made my navbar look and act weird. Basically, after installing a certain mod (can't tell which one actually), the navbar looks like this:
I wouldn't mind it too much but the fact the home softkey is not perfectly centered annoys me. Also, on this navbar, clicking the home softkey plays the little animation with the four google dots, another thing that I don't really like.
If I go to Settings, Apps & Notifications, Default Apps, Assist & Voice Input, and change it say to Firefox, and then back to None, the navbar becomes normal again.
But at reboot I get the crappy misaligned one again. I don't use any Assist&Voice Input app, so I set it to none. I also deleted the Google App and Assistant and everything else related to it, because I don't use that stuff.
Like I said, I think a mod that I installed caused this issue. It could have been Pix3lify or the modded Xperia Home with the pill navbar. I removed both mods but the navbar goes back to the weird one after any reboot, so maybe a leftover from one of these mods is still in my system, but I can't find it. How can I restore the default navbar without doing a factory reset? Unfortunately I don't have a backup and I would rather avoid the factory reset. Again it's not a big deal, but I would like to fix it.
While this might not be a perfect solution, you can modify the looks of the navbar with a substratum theme.
Such as this one:
https://play.google.com/store/apps/details?id=com.rc.navigate
This is the substratum theme engine, and it requires root on android 9 and up:
https://play.google.com/store/apps/details?id=projekt.substratum
If you need more info about substratum look in the app's description or just ask here.
Ephesus said:
While this might not be a perfect solution, you can modify the looks of the navbar with a substratum theme.
Such as this one:
https://play.google.com/store/apps/details?id=com.rc.navigate
This is the substratum theme engine, and it requires root on android 9 and up:
https://play.google.com/store/apps/details?id=projekt.substratum
If you need more info about substratum look in the app's description or just ask here.
Click to expand...
Click to collapse
Could be a solution, but I don't feel like installing more stuff on my phone. Do you know which file is responsible for the navbar's appearance?
MarkMRL said:
Could be a solution, but I don't feel like installing more stuff on my phone. Do you know which file is responsible for the navbar's appearance?
Click to expand...
Click to collapse
Sorry, I don't know that.
Maybe this article about modifying the stock navbar can be useful?
https://www.xda-developers.com/add-custom-buttons-to-nav-bar-on-samsung-galaxy-s8-galaxy-s8/
Or this one:
https://www.xda-developers.com/how-...icons-or-re-arrange-the-buttons-without-root/
They might mention it somewhere.
Weirdly enough, if I use Substratum, the theme I set appears on top of the crappy navbar, and by that I mean that I see both at once once. Guess I'll have to factory reset huh
I was bored today so I came back to this issue. I reflashed System with flashtool, which brought back all the bloatware obviously, but the navbar stays in its weird mode. If I create a new user, the new user gets a normal navbar. If I enable Google and the search assistant, the navbar stays weird on reboot but as soon as I start Google, the navbar becomes normal again.
Anyone know a possible solution to this puzzle?
MarkMRL said:
Anyone know a possible solution to this puzzle?
Click to expand...
Click to collapse
Just do a full reset and start from scratch. No one likes doing them, but sometimes it's the only option.

Categories

Resources