[Q] Turn By Turn App data input - Java for Android App Development

Hello,
I want to build for personal use a turn by turn application on android.I know thats not very easy so here what i am thinking:
I want exactly what google's navigation app do with the only difference that i want to make a "login screen", which i will be entering a username and pass and the get a json file with some waypoints, next i want to add these waypoints to the map and the start the turn by turn navigation to these waypoints..
Can i do this somehow on the existing google's Navigation app?
If not whats the best solution for my this?
Thank you!
T.

Related

disallow screen rotation

Hello!
I need to write software that disallows any screen rotation on my Wizard.
How can I do it? I didn’t found any registry settings for this. The best way
that I see is hooking ChangeDisplaySettingsEx. But unfortunately, SetWindowsHookEx
doesn’t works on WM 5.0, at least it said on some topics. Please, give me any solution for this problem or example code to hook some API function.
wm5: [HKLM\System\GDI\Rotation]
Angle=dword:0
00000000 portrait
0000005a righthanded landscape
0000010e lefthanded landscape
then RegistryNotifyCallback will do
tanks a lot
I will try this way.
But I afraid it will be notified after screen rotation starting.
Adjusting this registry value in regedit tool did't help.
So I suppose this value is changing after rotation is done.
You can delete the start up service of ScreanRotate.
Go to HKLM/Services/ScreanRotate and delete it.
I think before you doing this,you can export it to a reg file
It's not bad idea.
but delete this key leading to system restart for apply
I just try to stop this service.
Not luck : (
This key not present in the registry storage.
I am under WM 5.0
Maybe you talk about some early system.
Hi hoblano, I'm experiencing the same problem, did you find a solution ?
thanks,
Scalposcarno
use task manager 2.7 and stop service...if you know it is service...
same way to stop kbd lights...btw,
I tried, but the result is the same as the one obtained by manually deleting the Screen Rotate voice within the services voices in the registry: avoiding the load of the service providing the icon on the task bar enabling the user to rotate the sceen one or more times by tapping on it.
I still don't understand ... at this point the most probable thing is that the service that rotate the OS screen when rotating by hand the HW screen, is invisible with respect to registry voices and to applications like Task Manager 2.7 or MemMaid. Apart from criticizing the constructor choice (why didn't they thought that someone should have been more comfortable using only one view mode ? e.g. landscape one), is there a way to obtain a list of core services and to avoid one of those to be loaded ? or, otherway, is there a way to intercept the event thrown when manually rotating the screen of the terminal ?
By the way, I'll have to do it with Java ...
thanks all

[Beta4][17-Dec] Navigation Panel for Xperia

{
"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"
}
​
17-12-2008 Beta Release 4 (version 1.0.BETA-4)
Fix some stability problems with regards to Navigation windows manipulation
Fix localised folder path support for non-english rom
Added support for Garmin Que (Garmin Mobile XT predecessor), on top of existing TomTom & Garmin MXT.
14-12-2008 First Beta Release (version 1.0.BETA View attachment 137081
First Beta Release
Support following configurable settings (see screenshot)
Navigation Application - Currently Garmin Mobile XT & TomTom Navigation are supported)
Screen Orientation - support portrait (default) and landscape
Volume - Enable (default) or disable the option to set the system volume to maximum level automatically
Bluetooth Mode - Enable or disable (default) the option to turn on bluetooth radio automatically
Display Brightness - Enable or disable (default) the option to turn display to maximum brightness automatically
** You need to set the navigation software in the panel configuration UI for it to work **
​
To Do List
Improve the UI with animated icon, to replace text status
Revamp panel UI as a navigation dashboard, instead of Garmin or TomTom navigation screen. Garmin/TomTom will be activated/displayed on demand.
I have posted something related to the topic in another thread, but thought I would now create a thread separately to discuss this topic, given that there's some progress being made over the weekends.
Of course, this panel was developed as a prototype, based on a personal need, as well as for me to examine what panel SDK has to offer. so it may not necessary be suitable/useful for others (different spin for different people!). But I do welcome feedbacks/ideas, if it helps to bring the panel development to a new height
After I owned the Xperia, and read about the concept behind the panel, I thought it was a very innovative idea. The point about panel, in my own interpretation, is that different people has different primary usage of the pda phone, and for each individual, the primary usage also changes based on a certain event or time of the day. For e.g, when I'm in the office/meeting, I uses the phone PIM software to ensure that I don't miss the next meeting. Once I'm taking my break, or having some personal entertainment time, I would be either watching a movie or listening to mp3. Each panel indicates the primary "theme" of the moment, and so I thought I could create something similiar when I'm in my car.
So there comes the idea of Navigation panel, since I always switch on my Garmin Mobile XT, while making sure that the volume is set to the maximum while my car's handsfree carkit is connected to my pda phone.
The prototype has shaped very well over the long weekend.
1. Garmin Mobile XT is the background application for the panel (could extend to other navigation applications such as TomTom or Mapking)
2. Automatically set the volume to maximum, turn on bluetooth (so that I can connect to my car's handsfree carkit), rotate the screen to landscape mode
3. Toggling panel (i.e. pressing of the panel button) will quit the Garmin application automatically. Quitting Garmin (i.e. pressing the 'X' button in the UI) will switch back to the panel list page (finally found the way to call the panel manager, but would be checking with nelsh to see if there's a better way to manage this)
4. Will automatically revert back to the original volume level, bluetooth mode and orientation once the panel is unloaded.
5. Could have turn on the display brightness to maximum and disable pin-lock, but at this point, I have not done anything since I don't need them yet grin.gif
here's the video clip of the prototype in action
http://www.youtube.com/watch?v=19LV6r80iOU
Click to expand...
Click to collapse
nice... could be useful...
, awesome to see ppl dev-ing panels
Cool...
would be nice if you could make a tomtom panel as well or make the panel configureable
Awesome idea!
Would be willing to test if you need testers.
Nice to see panels being developed..
why does it turn on and off bluetooth?
schurl85 said:
would be nice if you could make a tomtom panel as well or make the panel configureable
Click to expand...
Click to collapse
yes, that's the plan, but it means I have to start working on the configuration UI, which I have not done so yet. However, I do need the executable path of Tomtom, and the window name of Tomtom, so if you can provision these information, I can work on it later.
Calvin H said:
Awesome idea!
Would be willing to test if you need testers.
Nice to see panels being developed..
Click to expand...
Click to collapse
I hope I can release the alpha version this weekend for limited testing. The current panel is alittle flakey, so that's what I'm hoping to resolve in the next few days.
tarnaman said:
why does it turn on and off bluetooth?
Click to expand...
Click to collapse
Probably more for my own requirements. I don't need to use bluetooth unless I'm in my car (so that the phone can connect to my BT car kit) In anycase, it doesn't turn off once the panel exits, it merely reset back to the last bluetooth mode prior to the navigation panel activation.
Would be looking at TomTom as well. If you could disable all notifications (maybe allow incoming calls) from poping up, and then return them back to the previous state on exit that would be REALLY useful.
well I'm just suggesting here, but perhaps it will be better if panels are for things that DON'T NEED to be able for multitasking ---> that is multi'panels', like TF3D and others UIs out there; because IMO it is useless if an important application had to be stopped just because we need to see our real today screen regardless what application is that.
so tomtom normaly installs here on german rom:
\programme\navigator\tomtom navigator.exe
window name should be "Tomtom Navigator"
Zenkinz, could you tell me where you got that System Status tweak for Xperia?
I found something called HTC Enlarge Title Bar in an old Kaiser post, but it doesn't seem to do anything on my phone.
schurl85 said:
so tomtom normaly installs here on german rom:
\programme\navigator\tomtom navigator.exe
window name should be "Tomtom Navigator"
Click to expand...
Click to collapse
Ok, I have added TomTom in my first beta release
it's now available for download btw, see the first post in this thread. You need to select the Navigation software in the panel option UI.
matthewf01 said:
Zenkinz, could you tell me where you got that System Status tweak for Xperia?
I found something called HTC Enlarge Title Bar in an old Kaiser post, but it doesn't seem to do anything on my phone.
Click to expand...
Click to collapse
Get the HTC Enlarge Title bar for HTC HD
The panel does nothing here
I installed the cab, softrested the phone and chose the panel. Then I just see the Panel picture and the phone freezes. Not even the power button works, had to remove the battery.
Are there any programs that need to be installed for using the panel?
I use the TomTom Navigator which is installed on the Memory Card.
Update:
Okay, after a few more restarts the panel doesn't cause a crash anymore. But it does not seem to find the TomTom software, so everytime it starts it turns the screen as I wanted and then puts me back to the Today-Panel.
same thing here.... just the navigation panel screen but not going anywhere... I can open up both garmin xt and tomtom in its own program tho
odobo said:
same thing here.... just the navigation panel screen but not going anywhere... I can open up both garmin xt and tomtom in its own program tho
Click to expand...
Click to collapse
did you guys run the option setting UI? Go to panel manager, select the tool button (at the bottom right corner), then select the nav panel, and click on the 'tool' icon.
Tried this out and the panel loads and the reverts back to my original panel. Does garmin need to be in a specific location for this to work? If so where? and what is the file name the panel is looking for?
Bxsteez said:
Tried this out and the panel loads and the reverts back to my original panel. Does garmin need to be in a specific location for this to work? If so where? and what is the file name the panel is looking for?
Click to expand...
Click to collapse
It assumes garmin to be in \Garmin directory. Do you have \\Garmin\\Que.exe?
My garmin is on my storage card. and its in "\storage card\garmin\apps\wm\queppc.exe"
Can the location its looking at be changed? Also will it work if its a lnk file?
zenkinz said:
did you guys run the option setting UI? Go to panel manager, select the tool button (at the bottom right corner), then select the nav panel, and click on the 'tool' icon.
Click to expand...
Click to collapse
ok I set it and it does something... then jump back to today panel...
I have the QuePPC file in my storage card\garmin\wm folder and tomtom in my storage card\navigator folder.... neither 1 of them work and they both jump back to today panel
maybe I can try to copy the queppc to garmin and try it again
EDIT: that didnt work =P garmin wont even start XD

Annoying window... can't add rotation and other stuff...

I'm trying to add rotation and that mini-volume thingy to AutoMapa, a Polish GPS application.
The problem is, the window name is along the lines of Automapa10_9944sd_asff... you get the idea? It's long, filled with brackets and other strange characters, and generally, while customization apps will detect it with their usuall "shake" option, the end result is that I can't get rotation and volume to work with this app.
What's the standard procedure in case of such fiddly apps?
Come on guys / gals... please.
Is there any way to use a wildcard perhaps? I'd really like to get this app under control...

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

Categories

Resources