Advice needed - Editing Settings.apk to create a shortcut - Nexus 4 Q&A, Help & Troubleshooting

Hi.
I`m in the process of making a ROM especially for disabled / sight impaired people and am making good progress.
But two things I need to change are:
1) The location of the Talkback toggle (Instead of having it in Settings > Accessibility > Services) I want to put the slider toggle on the main settings screen above the Wifi toggle. I have found hacky ways of getting to the accessibility screen (using a settings shortcut and using home2shortcut to apply the shortcut) however, cyanogen have changed something in their code and making the same shortcut now does nothing, or rather it takes you to the accessibility screen, but you cannot go into talkback, you try and it just kicks you back to the accessibility screen
2) Remove the confirmation screen when you enable talkback.
I am familiar with the new gestures to suspend talkback temporarily, but I want to go one further than this and be able to switch it on or off at will, without confirmation.
I have looked into even making a SQlite script but this can only be used from CWM recovery apparently...
I just need to know what entries I need to tchange in the XML. I`m at ease with decompiling apks which I have done.
I would love to have this talkback toggle on the main setting screen, and it would be fantastic if I could remove the confirmation dialog from talkback itself.
Can anyone help?
Many thanks

wrong section. this goes in q&a. if it actually was something that you already developed, then it would go here.

Thank-you. Could A moderator please move this thread to Q and A please?
I thought as it is related to developing it may go here. Oh well...

Yes it is related to development as is the entire site, but the format is set, please read the Forum Rules on posting, Thank You Sir.

Anybody?

you should rather learn how to track code-links. theres acouple of very helpful tools like grep and godir. basically you start by searching for the same display text you see on your phone. you find that you have the variable name. you search for that one and it links into the layouts. you search for the layout id's and it links into the actualy code. you will run into these problems again and again, so better try to track it down on your own once and next time it happens you'll be fine.

Related

[SOLVED 17-12-2009]Possible to switch position of shortcuts, or delete and add again?

Hii guys,
I was wondering if it is possible to switch the possition of the shortcuts, or do you have to remove everything and add them back again?? I couldn't find it so quickly in any other thread.
Thanks in advance
The Solution is to be found in post 6 + instructions!! Thanks to Som03ne!!!
==================================================
Here is a small app to re-order the Sense shortcuts.
Its GUI is very simple using existing controls/components, since I did not have too much time to put in it - resulting not much gui control modifications, meaning - Up - means up in the list -> down in the display.
Or to put it short - Clicking UP moves the element down, and clicking DOWN moves the element up.
On exit - you can select either to apply the changes, or drop the changes.
For changes to take effect - you should Power Off and Power On the device
(Or any other way to cause Sense to Exit and Re-Load)
I tried it on my device and it works.
Any comments - post in this thread, and Id check for them every now and then.
===================================================
There is . . . but
Filipek88 said:
Hii guys,
I was wondering if it is possible to switch the possition of the shortcuts, or do you have to remove everything and add them back again?? I couldn't find it so quickly in any other thread.
Thanks in advance
Click to expand...
Click to collapse
You can do it with registry editor
HKLM\Software\HTC\Manila
There are keys marked with 0..9 (or 0..n)
each item is a shortcut on the home page.
Just change the numbers to the order you like.
If you want the 3rd element to be the first -
You should do the following:
rename "0" to "XXX"
rename "2" to "0"
rename "XXX" from the previous step to "2"
Enjoy.
OK thank you for the fast response, but is there no easier/faster way for this??
if not: then I'll do it with this
I have not found any
Filipek88 said:
OK thank you for the fast response, but is there no easier/faster way for this??
if not: then I'll do it with this
Click to expand...
Click to collapse
Maybe there is, but I tried to look for something easier,
and did not find anything.
(I believe it is possible to write a small app to do it,
but I dont know when I'd have the time to do it)
OK, well if you ever make something like that, send me a PM and I will post a link to your topic where you'll post the application, in my first post, so people who will search for this answer and come in this topic will find it.
Enjoy
Filipek88 said:
OK, well if you ever make something like that, send me a PM and I will post a link to your topic where you'll post the application, in my first post, so people who will search for this answer and come in this topic will find it.
Click to expand...
Click to collapse
Here is a small app to re-order the Sense shortcuts.
Its GUI is very simple using existing controls/components, since I did not have too much time to put in it - resulting not much gui control modifications, meaning - Up - means up in the list -> down in the display.
Or to put it short - Clicking UP moves the element down, and clicking DOWN moves the element up.
On exit - you can select either to apply the changes, or drop the changes.
For changes to take effect - you should Power Off and Power On the device
(Or any other way to cause Sense to Exit and Re-Load)
I tried it on my device and it works.
Any comments - post in this thread, and Id check for them every now and then.
This worked! Thanks. You just need to produce a Sense UI version. THis is especially useful if you have 16 links instead of the standard 9.
Wouldnt it be nice if you could reorder apps like on the iPhone? Not functionally necessary, but nice to look at nonetheless
Thanks again.

[Q] Questions... Various Mods/Tweaks/Help Needed

Ok, I have a few questions that should have easy solutions that I just can't find... probably because what I'm looking for is pretty specific. Hopefully I can get answers to at least a few of them. I will start out by saying that I am currently running the Energy Reference ROM on a Touch Pro 2 (with plenty of RAM I might add). As I find solutions, I will post them below under the "Resolved" section, just in case someone else needs help as well.
Questions:
----- How do you change the color/skin of the stock dialer? The only one that I found searching was the "dusk" dialer... I'm looking for something that I can change the color of some of the buttons (to blue or something)... someone has to have a CAB with a bunch of different colors???
Resolved:
----- First... how do you change the panel backgrounds in SPB Mobile Shell 3.5.5? I'm not looking to add widgets... not looking to change the background of the Today screen (already have done that)... I'm looking to change the background of the panels ONLY. Without changing the layout of anything. Just the panels. I have tried a few programs/skins (Vostradamus, etc.)... and I just can't figure out how to do this simple thing with them. So I'm hoping there's an easier way (registry edit, setting that I'm just not seeing, etc.).
Fix: ----- http://forum.xda-developers.com/showpost.php?p=4766529&postcount=730 (make SURE to use WinZip, NOT WinRar or anything else)
----- Second, for some reason, I can't see the settings of "Smartlock" in the SPB settings view (as in, if I go through SPB Mobile to get to "Settings", Smartlock isn't there). However, Smartlock is visible when I switch over to the "stock" Start Menu. So is there any way for Smartlock to appear in the SPB Mobile "Settings" tab? It's pretty weird that it isn't there (ALL of the other programs/settings functions show up, but not Smartlock).
Fix: ----- This fixed itself after a clean reinstall of SPB Mobile Shell 3.5.5.
----- Is it possible to keep all the "stock" icons up on top of the screen and add the clock display?
(I currently have the "data" icon, "signal strength" icon, "phone volume" icon, and "battery" icon... with room for the "X"/"OK" icon when a program is running)
I am looking to keep all of those icons while adding the clock display. Don't know if it's possible, but I thought I would ask.
IF it is possible to put the clock up there, would this be compatible with "Brian's Taskbar" to make the icons colorful? I don't have it on there yet, but I'm just wondering for future reference.
Fix: ----- http://forum.xda-developers.com/showthread.php?t=612083 (Battclock program... I'm still trying to figure out how to perfect it though). Doesn't appear to be very compatible if you have multiple backgrounds/different screens... but it'll work on at least one of the screens.
----- In the "stock" contacts, there are a few different "filters" (viewed via the menu button). To avoid duplication, I would like to have it always set to "Device Conacts", rather than "All Contacts" ("All Contacts contains SIM and device... which results in duplication). You can change it temporarily but selecting "Device Contacts", but when you re-enter it, it automatically switches back. If anyone knows of a way to permanently/by default choose "Device Contacts", that would be what I'm looking for.
Fix: ----- Registry edit... HKCU/Control Panel/Phone/ShowSim (change from 1 to 0, and they will be gone).
I can help with "third"... look at battclock. It is completely customizable and completely great. Alternatively, there is an option in the settings to display just a clock instead of battery meter in the task bar.
For the "first", try this post from the tips and tricks thread (may need to back out and read some surrounding posts to get a better idea)
cbeck said:
I can help with "third"... look at battclock. It is completely customizable and completely great. Alternatively, there is an option in the settings to display just a clock instead of battery meter in the task bar.
For the "first", try this post from the tips and tricks thread (may need to back out and read some surrounding posts to get a better idea)
Click to expand...
Click to collapse
Thanks for the suggestions.
I'm looking into the Battclock program, so I will update when I figure that out.
Thanks for showing me that thread for the "first" issue... that led me to the link that I posted in my first post, which is for 3.5.5 (I'm sure they're both the same... but the link I posted makes it pretty easy to understand I think).
Still looking for a solution for the color of the dialer/dialpad. I think I'm just going to have to either delete all of the SIM contacts and same them on my computer (to upload later when I switch phones or whatever).

two little apps: automatic rotation & wifi/display stay active - update 28/12

Hello
The Mega is my first smartphone, and thanks to xda I found lots of usefull info and apps to customize it just like i want
I think now it's time to share some apps I did mostly for my own use, but maybe usefull for some other people.
Well, here are two simple applications:
RotateMon
- The first, "rotatemon" (stupid name I know... ) is designed to run invisible in background and simply rotate the screen to landscape if one the following apps are launched: sms /mms ; opera mobile 10 and notes (notes.exe)
When you exit the app, the screen is restored to previous orientation. (meaning if you already are in landscape, you will stay in landscape)
I did this app because i couldn't found something doing this the way i want. I know there are mortscript scripts to do this, but not exactly like this. (and there's a problem with tmail.exe with this method, because mortscripts checks if a windows exist, but sometimes tmail.exe runs in background with the same window title "SMS / MMS" as the active window, so we must check if it is really active or in background...)
I know it's possible too to assign a long key press to the action "rotate sceeen", but I was tired of long pressing this key everytime i launched opera or the sms program...
Well just try it if you want, and let me know what you think about it, it's very usefull for me, maybe for you too
You can launch it at startup like I did (for example with sktools or something equivalent).
Please understand that I did it for myself, so it's "customized" for me (the apps that are monitored to trigger the rotation). If it is usefull for someone else I'll be happy to provide a more "user friendly" version (with the ability to configure what apps are monitored for example). Don't hesitate to ask
StayAlive -update 28/12/2010: now with a nice interface, install cab, more user friendly -
Another very simple program, designed to keep wifi "alive" even when the device is in sleep mode. It's a simple switch: ON/OFF, based on the registry key Comm\BCMSDDHD1\Parms\HTCKeepWifiOnWhenUnattended , you can switch the "StayAlive state" when wifi is on or off, doesn't matter, and the state is keep after a soft reset.
This tool can the display alive too, it provides a simple switch On/OFF to keep the display alive (doesn't prevent locking, well sometimes it locks and sometimes not, don't really know why..., but the screen stay on). Please note that the screen will not stay on at full backlight level, it will stay on at the "lower" backlight level (to prevent too much power drain...)
Ps:Sorry for my poor english
how to remove this software from phone?
rotatemon
Mobtel063 said:
how to remove this software from phone?
rotatemon
Click to expand...
Click to collapse
You just have to delete the program folder. If it's running, kill it with a taskmanager before of course (or soft reset). If you put it in your startup, remove it before, then kill the process or soft reset, then delete the folder.
No modifications are made to the system
ROTATEMON
seb3773 said:
RotateMon
Please understand that I did it for myself, so it's "customized" for me (the apps that are monitored to trigger the rotation). If it is usefull for someone else I'll be happy to provide a more "user friendly" version (with the ability to configure what apps are monitored for example). Don't hesitate to ask
Click to expand...
Click to collapse
Hi seb3773 I like you rotatemon very much. It is what I need, but since I have used Swype I had to turn it off. When the screen rotate my swype keyboard don't rescale well and the screen is cut out on te right side.
I would be grateful if you could disable sms rotation in your program?
or maybe some "user friendly" version above-mentioned?
I'm proud if it is usefull for you too A more user friendly version is coming soon, as i'm actually unemployed , i've plenty of time to do it. I intend to program a configuration interface with some nice features. It will be ready in 1/2 days
Great work
good works, man.
I wonder whether you can add-in one more switch not to connect 3G or smthng.
I'm having problem with that. When i accidentally press on browser icon, it start connecting to 3G network and i got to pay data charges.
It would be good if we can turn off. Thanks

[WIDGET][YotaPhone2]Yota Toolbelt 1.0.4

Introduction
What is it?
Yota Toolbelt is my stab at developing something useful for the Yotaphone 2. It's a functional widget for the back screen, combined with a simple front screen widget. It has been tested on the latest Lollipop firmware (1.44).
What it does?
- The front screen widget allows you to toggle mirroring mode with a single click.
- The back screen widget allows you to toggle mirroring, wifi, Bluetooth, wifi tethering, ringer mode and YotaEnergy. Additionally you can place shortcuts to URLs to open your favorite websites quickly.
- The new "Contact list" action allows you to browse your contact list, make calls and send SMS's from it.
Click to expand...
Click to collapse
Images
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Check the screenshots tab for more
Click to expand...
Click to collapse
Installation instructions
I'm not going to bother putting this on Google Play because of the extra work with little benefit, so you have to install the apk manually. Here's how:
1. Check "allow installation of apps from unkown sources" from Settings - Security so that you can install the file.
2. Download the apk file and put it on your phone, or download it to your phone directly.
3. Open the apk file with some file manager and install it.
After this you can add the front screen widget like you would add any widget, by long pressing your home screen, selecting widgets, and then dragging the "Yota Toolbelt" on your home screen.
The back screen widget can be added from Yotahub.
Click to expand...
Click to collapse
Download
Download here (1.0.4)
Click to expand...
Click to collapse
Changelog
Code:
Current changelog: 2015-07-11
Version 1.0.4
- [NEW] Toggle for Wifi tethering.
- [NEW] Toggle for ringer mode: Normal/Vibrate (Toggling silent mode is simply not possible on Lollipop - Thanks Google!)
- [CHANGE] Added shortcuts to related system settings on long press to all but the Mirror widget in the config utility.
Old change logs:
Code:
Version 1.0.3
- [NEW] General settings for Contact list. These settings affect ALL INSTANCES of contact lists.
---- Choose the sort order
---- Choose name format
---- Choose dialer (EPD / mirrored). This should be changed only if you are having trouble making calls from the Contact list.
---- Lock EPD automatically when calling from Contact list to prevent accidental presses.
- [NEW] Added fast scroll support for the Contact list
- [FIX] Fixed Contact list not always closing after sending SMS or making a call
- [FIX] Fixed Mirror widget starting in incorrect state when mirrored.
Version 1.0.2
- [NEW] Contact list
- [FIX] Fixed a bug where widgets would not react after a while
Version 1.0.1
- [NEW] More advanced configuration utility
- [NEW] Battery level monitor / YotaEnergy toggle
- [NEW] Support for bookmark shortcuts that can be opened in EPD browser
or the default system browser in mirrored mode
- [NEW] Support for all widget sizes
- [NEW] Support for white theme
- [CHANGE] Changed the graphics to follow Yota's icons more closely.
Click to expand...
Click to collapse
Known issues
- This Widget requires Lollipop to work. No backwards compatibility.
- The battery widget doesn't have push effect. Also, toggling YotaEnergy on takes surprisingly long time. There's nothing I can do about that.
Click to expand...
Click to collapse
FAQ
The graphics.. They look.. ehrm..
- Awesome, right!? I'm a programmer, not an artist. If someone wants to create new graphics for the widget, I am very willing to change them. Each button should be the same size, at least 140x140px.
What are all these permissions?
- Bluetooth/Wifi/Network permissions are required for toggling wifi and Bluetooth directly without the system's dialogs.
- The vibration permission allows the buttons to vibrate on click.
- The READ_CONTACTS permission is for the new contact list portion, allowing it to list your contacts.
- The PHONE_CALL permission is for making a call using the front screen's dialer.
- The READ_PHONE_STATE is used for making the "lock EPD on dial" function work
Click to expand...
Click to collapse
For developers
I had to do some serious reverse engineering to figure out how to activate and deactivate the mirroring and YotaEnergy, so to save everyone's time, here's how to do it:
Activate mirroring from front screen:
Code:
Intent i = new Intent("yotaphone.intent.action.MIRRORING_START");
context.sendBroadcast(i);
i = new Intent("yotaphone.intent.action.MIRRORING_START_MANUAL");
context.sendBroadcast(i);
Activate mirroring from back screen:
Code:
Intent i = new Intent("yotaphone.intent.action.MIRRORING_START_FROM_BS");
context.sendBroadcast(i);
Deactivate mirroring:
Code:
Intent i = new Intent("yotaphone.intent.action.MIRRORING_STOP");
context.sendBroadcast(i);
To check is mirroring on right now, and to lock the EPD (asynchronous):
Code:
ServiceConnection mConnection = new ServiceConnection() {
public void onServiceConnected(ComponentName className, IBinder service) {
IFrameworkService mService = IFrameworkService.Stub.asInterface(service);
boolean isMirroringOn = mService.isMirroringOn();
mService.lockBackScreen();
}
public void onServiceDisconnected(ComponentName className) {}
};
Intent i = new Intent("yotaphone.intent.action.GET_SERVICE_BINDER").setPackage("com.yotadevices.yotaphone2.bsmanager");
context.getApplicationContext().bindService(i, mConnection, Context.BIND_AUTO_CREATE);
//Remember to unbind when you don't need the service anymore
To detect when mirroring is started, listen for the following broadcast:
Code:
yotaphone.intent.action.MIRRORING_START
To detect when mirroring ends, listen for both of these broadcasts:
Code:
yotaphone.intent.action.MIRRORING_STOP_MANUAL
yotaphone.intent.action.MIRRORING_STOP
To turn YotaEnergy on:
Code:
final Intent i = new Intent("yotaphone.intent.action.POWERSAVE_START");
context.sendBroadcast(i);
To turn YotaEnergy off:
Code:
final Intent i = new Intent("yotaphone.intent.action.POWERSAVE_STOP");
context.sendBroadcast(i);
To open Yota's EPD browser:
Code:
Intent i = new Intent();
i.setComponent(new ComponentName("com.yotadevices.yotaphone.yd_browser", "com.yotadevices.yotaphone.yd_browser.BSBrowser"));
i.putExtra("URL_TO_OPEN", "http://www.google.com");
context.startService(i);
Click to expand...
Click to collapse
XDA:DevDB Information
Yota Toolbelt, Device Specific App for the YotaPhone
Contributors
Jeopardy
Version Information
Status: Stable
Current Stable Version: 1.0.4
Stable Release Date: 2015-07-11
Created 2015-06-28
Last Updated 2015-07-11
Suggest features
I am open to suggestions for functions to add. Functions I've considered:
Flashlight - this one's doable, but it seems a little pointless. How are you going to turn the flashlight on in the dark when there's no backlight on the EPD?
Volume/Vibrate/Silent toggle - Probably doable, but requires some work so that it's easy to use.
Rotation lock - Not sure about this, but pointless anyway. The rear screen doesn't support horizontal view in the first place, unless you're mirroring, and then you might as well use widgets on your front screen.
Airplane mode - This one requires root access, and is quite hacky to implement.
NFC toggle - Cannot be done without root.
GPS toggle - Cannot be done without root.
Any ideas?
Thanks for doing this.
You might want to add Hotspot and data network
Would you be able to add Shortcuts? That would be very useful and its a shame the stock app does not allow this.
All Day On XDA said:
Thanks for doing this.
You might want to add Hotspot and data network
Would you be able to add Shortcuts? That would be very useful and its a shame the stock app does not allow this.
Click to expand...
Click to collapse
I'll look into your suggestions. I think the hotspot function required root access, and that is not very user friendly.
About the shortcuts - Isn't the stock Apps Launcher widget exactly what you're looking for?
Jeopardy said:
I'll look into your suggestions. I think the hotspot function required root access, and that is not very user friendly.
About the shortcuts - Isn't the stock Apps Launcher widget exactly what you're looking for?
Click to expand...
Click to collapse
the stock app allows links to apps only. Shortcuts are a subset of apps that can be added to the desktop. Eg in Google Maps you can create a shortcut on your homescreen that starts directions to a pre set destination. Or eg Chrome allows shortcuts to websites to be placed on the homescreen.
Edit: This may be beyond the scope of this widget. Apologies
All Day On XDA said:
the stock app allows links to apps only. Shortcuts are a subset of apps that can be added to the desktop. Eg in Google Maps you can create a shortcut on your homescreen that starts directions to a pre set destination. Or eg Chrome allows shortcuts to websites to be placed on the homescreen.
Edit: This may be beyond the scope of this widget. Apologies
Click to expand...
Click to collapse
Ah, I see. I've never used these before.
It is possible yes, but the biggest issue here is how you create and associate them to the widget. By default the shortcuts are created by the applications, like Chrome and Google Maps, and those applications send the shortcut Intent to the Launcher application. There is no way of telling the system that the shortcut should show up on this widget.
It probably could be possible to create these shortcuts manually for supported applications, like Chrome, but that would require quite a lot of work.
Nice work @Jeopardy! Thanks for sharing some dev notes too, might be useful for future widgets/apps.
PS You could officially kick off the "YotaPhone Original Android Development" device subforum with your widget (0 threads there now).
SteadyQuad said:
Nice work @Jeopardy! Thanks for sharing some dev notes too, might be useful for future widgets/apps.
PS You could officially kick off the "YotaPhone Original Android Development" device subforum with your widget (0 threads there now).
Click to expand...
Click to collapse
Thank you. Yeah I was wondering for the right place to put this. Now that you mentioned it, I guess the proper place would be the Original Android Development, but to put it there now would require a moderator.
Jeopardy said:
I am open to suggestions for functions to add. Functions I've considered:
Flashlight - this one's doable, but it seems a little pointless. How are you going to turn the flashlight on in the dark when there's no backlight on the EPD?
Volume/Vibrate/Silent toggle - Probably doable, but requires some work so that it's easy to use.
Rotation lock - Not sure about this, but pointless anyway. The rear screen doesn't support horizontal view in the first place, unless you're mirroring, and then you might as well use widgets on your front screen.
Airplane mode - This one requires root access, and is quite hacky to implement.
NFC toggle - Cannot be done without root.
GPS toggle - Cannot be done without root.
Any ideas?
Click to expand...
Click to collapse
Since I am using the "default" black theme I would prefer to have an option to switch between "black" and "white" version. I already created the changed images to basically switch your images to "all transparent" with white icons and a white circle around them for "pressed status". Since I am a new user I can't attach them to the post yet. Can you tell me a way to share them with you?
Besides that: can you share the sources of your widget to allow us to build upon it ourselves?
Thanks for your work on this!
crazy-ivanovic said:
Since I am using the "default" black theme I would prefer to have an option to switch between "black" and "white" version. I already created the changed images to basically switch your images to "all transparent" with white icons and a white circle around them for "pressed status". Since I am a new user I can't attach them to the post yet. Can you tell me a way to share them with you?
Besides that: can you share the sources of your widget to allow us to build upon it ourselves?
Thanks for your work on this!
Click to expand...
Click to collapse
I just sent you a private message about those images.
I'll consider sharing the source later. At the moment it is rather messy and very much hardcoded. I am currently rewriting the configuration Activity to allow rearranging of the icons and adding some new functions. It will take some time for me to finish this to a level I'm satisfied with.
Jeopardy said:
I just sent you a private message about those images.
I'll consider sharing the source later. At the moment it is rather messy and very much hardcoded. I am currently rewriting the configuration Activity to allow rearranging of the icons and adding some new functions. It will take some time for me to finish this to a level I'm satisfied with.
Click to expand...
Click to collapse
Mail sent.
Thanks for the info. Looking forward to see updates to this useful tool (and the first widget posted in here!).
All Day On XDA said:
the stock app allows links to apps only. Shortcuts are a subset of apps that can be added to the desktop. Eg in Google Maps you can create a shortcut on your homescreen that starts directions to a pre set destination. Or eg Chrome allows shortcuts to websites to be placed on the homescreen.
Edit: This may be beyond the scope of this widget. Apologies
Click to expand...
Click to collapse
I just released an update which addresses your idea of shortcuts for system's default browser (Chrome) and EPD's browser. Now the widget's framework is so flexible that it is very easy to add new shortcut targets. The only problem (still) is that the shortcuts have to be created manually from the widget, which means relatively complex dialogs. Shortcuts for browser is extremely handy, but can you think of some other app whose shortcuts would be as useful?
i have try it on my Yota 2 4.4.3 apk not work !
9100_it said:
i have try it on my Yota 2 4.4.3 apk not work !
Click to expand...
Click to collapse
That was to be expected. I don't think they included the SDK library until Lollipop. Sorry.
Major update
Okay, here's a new update for you guys.
First off, the minor (but important fixes) include fixing nonresponsive buttons if the device has been inactive for a long time, and some minor optimizations.
The big new function is a fully functional contacts list! I had been working on this for a while, waiting for Yota to update their caller app so I wouldn't have to do it. But it seems they are busy doing something else. So I became impatient and decided to include it here, as it needs an EPD widget anyway to launch it. So just add the contact list widget to the toolbelt from options, open it from the back screen, and you can browse all your contacts (with phone numbers) and then call them directly from the EPD. It also supports sending SMS's, but the catch is that it uses the front screen SMS editor via mirroring, not Yota's sleek EPD editor. The reason for this is there's no way to hook up to Yota's editor.
While I was building this update I also noticed quite serious security flaw in Yota's EPD dialer app. By default if you want to make a phone call from your app you need to add android.permission.CALL_PHONE to your manifest. However, I found out that Yota has left their EPD dialer app completely open for any app to ask for immediate phone call (like mine does), without any permissions what-so-ever. What were they thinking?
It also became frustratingly clear how bad the SDK is at the moment. The documentation is nonexistent, and you cannot even create dialogs. So many workarounds had to be made to make this work nicely.
But anyways, let me hear your opinions and experiences. There's bound to be some bugs somewhere and there's plenty of room to expand the contact list portion, provided I have the time.
Looking forward to trying the newest version. Thanks for building this!
You might want to consider contacting the Indiegogo campaign folks, as it looks like you've earned yourself a free phone. I can't post the link because I guess I'm too new a user on here, but if you look at the updates and scroll down to "25 days ago":
FYI: If anyone successfully develops an application or service to work natively for the "always on" display I will reward them with a YotaPhone 2 for FREE at the end of the campaign!
Click to expand...
Click to collapse
MichaelA said:
Looking forward to trying the newest version. Thanks for building this!
You might want to consider contacting the Indiegogo campaign folks, as it looks like you've earned yourself a free phone. I can't post the link because I guess I'm too new a user on here, but if you look at the updates and scroll down to "25 days ago":
Click to expand...
Click to collapse
Wow, might as well try it. Thanks for the info!
Hi thanks for standing in where yota appear to lack
just downloaded and installed but although the contacts list works well the phone dialer doesnt but i do have a call confirm slider app (used to stop wrongly dialed numbers) which could block this (it does the same with yota dialer)
only way i have managed to work around this is to mirror the android dialer app but would be nice if you could? do anything?
like your commitment to develop - think you should look at a donate function somewhere..would buy you a coffee or two for your efforts
regards
kam1962 said:
Hi thanks for standing in where yota appear to lack
just downloaded and installed but although the contacts list works well the phone dialer doesnt but i do have a call confirm slider app (used to stop wrongly dialed numbers) which could block this (it does the same with yota dialer)
only way i have managed to work around this is to mirror the android dialer app but would be nice if you could? do anything?
like your commitment to develop - think you should look at a donate function somewhere..would buy you a coffee or two for your efforts
regards
Click to expand...
Click to collapse
Basically what I do, is ask the official EPD dialer to make the phone call for me. If your call confirm slider app blocks the yota dialer, it will also block this. I guess you cannot add exceptions to the caller app? (Probably not, knowing Android's telephony API...)
An ugly workaround for your specific case would be for me to turn mirroring on when you press the call-button from my contacts list, and then ask the system's default dialer to make the call. Then your call confirm slider app would show up normally in the mirrored mode and you could finish the call. I might consider adding this later on as a setting somewhere, but no promises. It would be a lot cleaner if the mirroring mode would not be needed to finish the call, because turning it on takes quite a while and is a hassle to deal with when trying to do simple actions.
What is the name of the app you are using? I'll take a look.
call confirm
Jeopardy said:
Basically what I do, is ask the official EPD dialer to make the phone call for me. If your call confirm slider app blocks the yota dialer, it will also block this. I guess you cannot add exceptions to the caller app? (Probably not, knowing Android's telephony API...)
An ugly workaround for your specific case would be for me to turn mirroring on when you press the call-button from my contacts list, and then ask the system's default dialer to make the call. Then your call confirm slider app would show up normally in the mirrored mode and you could finish the call. I might consider adding this later on as a setting somewhere, but no promises. It would be a lot cleaner if the mirroring mode would not be needed to finish the call, because turning it on takes quite a while and is a hassle to deal with when trying to do simple actions.
What is the name of the app you are using? I'll take a look.
Click to expand...
Click to collapse
thanks for reply been searching for it but cannot find it anywhere on app store!!! so guessing its gone
must have transferred from old phone or it just been removed from market this year? cannot remember
its called call confirm slider version 0.9.1 icon is black circle with telephone handset inside but dont have any other details.
had it for a few years now and has been stable / reliable
very similar to this
https://play.google.com/store/apps/details?id=com.callconfirmer.free
regards

[Q] HELP needed... samsung keyboard settings lost...

need help... i can no longer find the settings for predictive text, auto replace, and keyboard swipe... can't remember what i did... last time i remember was playing with tasker and secure settings which i don't think may have caused the problem... please see screenshot... is there a way i can restore the settings without re-flashing my phone? thanks!
admins, please delete this thread... i apologize as i was only able to find a similar problem when i changed my search keyword to "keyboard"... this thread has provided a solution to my problem: http://forum.xda-developers.com/s7-edge/help/predictive-text-gone-t3378422

Categories

Resources