henrichg / phoneprofilesplus Goto Github PK
View Code? Open in Web Editor NEWProfile manager for Android - event triggered
License: Apache License 2.0
Profile manager for Android - event triggered
License: Apache License 2.0
Number of steps can be changed by some xposed modules.
Right now profile editor shows me e.g. 10/7
Hello PhoneProfiles developers and fans :)
Thanks for all the features you include and keep improving this priceless app!
I use PhoneProfilesPlus on several Samsung dual sim phones and they have separate ringtone of both sims.
PhoneProfilesPlus can change only first sim ringtone.
Is it possible to include second sim ringtone setup/change in every profile settings?
Best regards to all and excuse me if this is right place for new features requests.
Cho :)
Version 3.5.8.3
Samsung Galaxy Note 4
Profiles that set the screen brightness work, so long as "Adaptive" is unchecked. When I enable "Adaptive" the brightness is not changed at all.
Trying to set flight mode on, on night profile but doesn't works, even with root permissions.
On Android 8.1.0
Hi,
I use your app since some month and since this saturday, an update cause some troubles
it's impossible to choose mobile cell. An event occur if i'm located near house but this location don't occur. If I ask to find mobile cell, any are found.
I don't see the actual cell connected. the time is not correct....
My phone is an Motorola g5s+
Hi
After upgrade to android 10 I cannot choose wifi ssid the only option is any ssid
Device is galaxy tab s6
All permissions are granted and device is not rooted
I just changed my phone from a Samsung Note 4 to a S9+. All of a sudden, my morning alarm is super loud (to the point of being unusable) even at a volume setting of 1/15. It turns out that this is a very common complaint for the newer Samsung phones (Google "samsung alarm too loud") and there are numerous applications that work around the problem in software.
One such software that worked very well for me is https://play.google.com/store/apps/details?id=com.phascinate.precisevolume.
The problem is that PhoneProfilePlus and PreciseVolume don't mix well. Every time I activate a profile using PhoneProfilePlus it undoes the volume correction of PreciseVolume.
Ideally I shouldn't have to use PreciseVolume at all. Is it possible for PhoneProfilePlus to provide extra-precise volume controls like PreciseVolume does so I can just skip the latter? Alternatively, is there a way to make PhoneProfilePlus respect whatever magic mojo PreciseVolume is doing behind the scenes?
I suggest downloading PreciseVolume yourself and checking out what it does? I start an alarm, then go into PreciseVolume and adjust the volume live. You can configure the volumes with 10-20x more precision than you can with the built-in volume controls.
When I choose to activate certain Profile for duration (configurable during activation with Undo the profile as When duration expires) the widget shows it is activated until configured duration expires.
However when the duration expires the previous profile is not activated. Instead the duration is started again (most likely profile is switched back and forth).
This seems to be a regression (this issue wasn't present on April last year when I started using PhoneProfilesPlus), but I am not sure when it started (I have noticed it in last few days).
The issue is reproducible with very short duration (e.g. 5 seconds) configured.
Currently, F-Droid has no profile manager. PhoneProfilesPlus is open source and very good so I would love to see it added! I would have found it faster if it was on F-Droid.
Since its source code is on GitHub, it would be relatively easy to do. Check this link for instructions!
https://f-droid.org/manual/fdroid.html#Importing-Applications
Hello
I use the widgets frequently to set my phone for a fixed time to silent when in a work meeting. I created widgets for different times.
The app adds the number of seconds in front of the widget name I add. In practice I see 2 problems with the added number of seconds:
Is it possible to let the end-user choose the complete text or make the generated number of second optional.
Great App BTW, I was an EasyProfiles user which was great but is not updated/available anymore. You app is better and most options easy to use!
Thanks,
Willem Oepkes
(one of the translators for Dutch)
Hello,
how would I be able to tell PPP to return the changed settings to previous state, after I manually activated the profile?
Easy example: I run into a meeting, and activate the meeting profile manually via the starter screen for exactly one hour. This profile only changes sound mode from "sound on" to "vibrate only". I would the profile to switch from "vibrate only" to "sound on" after it finishes.
(Note: I cannot use an automatic event against my calendar in this example, as my calendar is "hidden" in Samsung Knox by our company.)
in editor -> profiles -> profile preferences, there is a menu item named "source profile". it says:
"for each profile parameter can be set that it is used source profile. click here to configure the source profile parameters."
i'm having a hard time understanding what this does. could you explain it a little bit more please?
version: 3.6.7.5 (4540)
phone: Verizon Pixel 2
Might be related to #25 but when I have my profile set to "Do not Disturb" and my volume set to 3 for ringer and notification (I have a pixel 2 with combined volumes and use phoneprofilesplus to split them). The profile does set "do not disturb" (priority interruptions), but does not adjust my volume. The volumes stay at 7/7 as they are set on the "normal" profile. I'd like my interruptions while at work to not be at full volume.
https://cdn.rawgit.com/henrichg/PhoneProfilesPlus/16c88ba1/GooglePlay_ChangeLog.md
this downloads a file which my mac doesn't know what to do with. my text editor reads it fine but why isn't this like just an HTML file or something that can be read in my browser?
Hi,
my phone went to a profile wich turns on "quick screen off lock". I cannot start any application, invoke mobile setting - nothing. I can not even stop the application or even restart my phone -it behaves almost like frozen!!! Only soft reset ( “Power” and “Volume Down”) works to restart my phone!
Pleease check this bug I think is a very serious issue!
Hi, I'd like to start of by saying I really like your app, it has definitely made my life better through the automation it provides. However, there's one thing which keeps annoying me:
I have 3 main profiles in PhoneProfilePlus: Home, Work and Outdoor. Home and Work are (mainly) activated by being in range of an SSID and this works great, my phone switfly swaps from Outdoor to Work when I enter my workplace and my phone pick ups any of the work-networks. And the same goes for Home profile. The problem appears when I leave any of these places, because even though these SSIDs are no longer reachable, Android keeps 'hoping' that this SSID will reappear soon and stays 'connected' to this SSID, thus PhoneProfilesPlus stays in previous Home or Work profile, even though I've been outside for 5, sometimes even 10 minutes.
This puts me constantly in a position where I have to manually activate events or change volume/turn on mobile data etc., but all of that just goes against what this app was created for. Please add an option to switch profiles immediately when SSID isn't available anymore.
It is currently not possible to toggle wi-fi hotspot using profiles.
I would really like to see that feature added.
Hello! I use profiles for home, at work, silence and car. The car profile should establish a BT-connection and raise BT-volume to maximum. But I see that at first the volume raise up and after the connection established the BT-volume decrease to the level that was before. The same thing happens in the other direction. Tested on Y300 and BQ M5 (Stock and CM12.1). Thank you
PS: The reason is that volume is changing BEFORE the connection is on/off and Android seems to memorize the last volume. So if connection is on (car profile) and I change profile to home the volume decrease and this level is memorized for the next connection and then the connection goes off. If I change again to car profile volume raise up to maximum, connection goes on and then the memorized volume is set.
Therefore volume should be set AFTER connection goes on/off.
Everytime I activate a profile I hear some sort of a acknowledgment sound. We should be able to disable this across all profiles, even if the profile being activated has non-zero volume levels.
Also, I think there is a bug in this code because when I activate the same profile twice in a row and the profile has all-zero volume levels I still hear a sound. I expect it to be silent since the volume levels before and after are set to zero.
hello developer i have issue in my project can you checking i will share you ?
Last week I installed the app on a smartphone (Motorola RAZR I xt890) with Android KK 4.4.2 and it was working fine.
Today a reinstall the app on the same phone after a factory reset and I had the following issue: when I open the activator it is showed up, but it disappers after few seconds. After this the home screen is unresponsive, I cannot open app list or any other shortcut. If I press back button, activator is showed up again and now it does not disapper anymore and I can use it to set the profile and home screen is accessible as before.
Installing old apk I understood that the bug is present from version 3.5.1.3.
The bug is NOT present on my other smartphone running MM and latest version fo the app.
It was working for a while but then stopped. Maybe I changed a setting somewhere?
Does PhoneProfilesPlus support turning off the lock screen on a Nexus 5X? I swear it used to. If it does, can you explain how I would go about giving the app the proper permissions? I am thinking that is the issue.
Nexus 5X on Android 6.0.1.
Like permissions and so on. I press back - it goes to the home screen.
If I open program again from shortcut - main screen opens, not that I moved from (in application interface - open from home screen - editor)
4.19 can not start
meizu16th plus.
PhoneProfilePlus is changing to another profile based on the conditions.
That's working fine but the screenlock function isn't working.
The phone stays unlocked.
By restarting the events manually this is fixed until te phone is switching to another profile (with other screen settings)
Hello. On my two phones an tablet, I have problem when I scrollup events, the list are shaking up and down, and I can't see details, when I release finger from touch screen, the list goes up to lowest event position.
Hi,
why this super app needs root access for vibration control (respective ring mode settings)? I have installed another profile app (Profile Widget) and this app controls vibration without root perfectly on my unrooted Honor 7 Lite with Android 6.
Maybe it's already there (not event, but possibility to change profile by sending intent)?
They have moved the force stop button in the new update for Realme 5 and the app can't force stop any app automatically.
F-droid flags your app for tracking and reporting activity. I'd like to know why, and if you say debugging....
I've got no problem submitting a bug report, but it shouldnt require these agressive permissions.
Hello, is there some bug or i do something wrong when i want to add running action. I add direct call to list of application which shoul be started. When i select direct call and then contact, this action is not starting. Other action are starting properly, but direct call not. In this case i need to setup call forwarding via **21#.... codes which are assigned and saved as contact. I need to apply call forwarding when i arrive to work. Is it possible to do it via this app? Thanks
Hey,
in one of the last updates the hotspot option is grayed out with the explanation that it is not supported on Oreo.
I'm running Oreo 8.0 on my HTC U11 and it worked fine before.
Installed an older version from December 3.5.6.2 and it works fine here for me on Oreo.
Any chance you can enable that option again? Using it to tether to my car when it connected to my phone via BT.
PhoneProfilesPlus is very helpful and I like this app. But I struggel to use the application parameters function. I installed the PhoneProfilesPlusExtender and I allow PPPExtender to detect which application is in the foreground. But nevertheless PPP doesn't recognise any running apps. I use a Samsung Galaxy S7. How can I fix this issue?
Thanks
Urs
Expected Behavior
The app should have also shown Enable run events toggle button in landscape mode.
Actual Behavior
But the Enable run events toggle button is cut off in landscape mode.
How to reproduce
• App Version : 3.5.8.3
• Operating System : Android 6.0
• Device : Lava Iris 50
Recording of the bug
https://www.youtube.com/watch?v=Uv8Ti4NeWbY
Hello,
I created an event that would switch profile when a specific Bluetooth device is connected (car radio).
For some reason, even if the phone is connected, the event doesn't triggered, it still shows as paused.
I have a Samsung Galaxy S4 running lollipop 5.0.2
I use the phone Huawei Mate 10, EMUI 8.0
All permissions for the application are issued. The application is listed as "do not save battery"
However, the events are carried out 10-20 minutes after the appointed time. I think the phone for a very long time "wakes up"
Version 3.5.8.3
(This issue might be related to #25)
I recently flashed my note 4 with the Dr. Ketan M12 build. I am now seeing a bug where a profile is supposed to set the ringtone volume to 0, but instead I see the volume getting set to 1. I am able to mute all other volumes correctly, with the exception of notification volume which is not getting set to zero either.
The UI says that "Notification volume is ignored [...] if the ringtone volume is set to 0" but in fact it is not. The UI grays out the notification volume, but in fact the volume is getting set to the grayed-out volume.
Version 3.5.7
In the latest version of PhoneProfilesPlus, changing the volume in a profile does not work. For example, if a profile is meant to set the system volume to 0, nothing happens when the profile is activated. This used to work in previous releases.
Even I have disabled Settings
> Notifications
> Show in status bar and lockscreen
in Android 8.0 on my Sony Xperia XZ1, the notification is still shown in status bar and lockscreen. However, the Resilio Sync which I am using on the same phone is able to correctly not showing in status bar in the icon but still running in the background.
Version using: 3.5.8.3 (3960)
WiFi is being temporary switched on during each Wifi scan (configurable in Wi-fi scanning) however since Android 4.3 there is a system setting that allows scanning of Wifi networks while WiFi is switched off.
Temporary enabling WiFi can cause various issues - like interruptions in internet connectivity, connections to unsecure WiFi networks etc.
I want to have the option to disable the system notification when no profile is active. I only want to see a notification if there is a profile active.
Hi,
thanks for your great app. One Question: is it possible to implement a cell-tower based location trigger?
Thanks in advance
Gaukler Faun
I tried manual switching, it works, automatic switching - it doesn't, nothing in receiver's logs (I invoke shortcuts for Automagic tasks)
Right now, the Mobile cell parameters
in "event" support cell ID selection only. It can be more user friendly to support cell name selection.
For example, we have defined a cell name called "Home" which has 3 cell ID. In "At Home" event, we can choose the 3 cell ID as Mobile cell parameters
. However if we perform Cell registration
function in Settings
, new cell ID will be added with cell name "Home", but we still need to manually added the new cell ID to event "At Home", which is less convenient.
Background:
I was a happy user of Llama but unfortunately the app is no longer in development and inevitability need a new replacement. PhoneProfilePlus is the most suitable replacement in my use case. I believe some of the concept in Llama can be put in PhoneProfilePlus to make PhoneProfilePlus better 😃
Hey,
what I do every morning when I get to work and in the evening back home, is turning my BT headset on and listen to music.
Currently it is automated that way, that PhoneProfiles opens my music player when my BT headset connects.
What would be very convenient now would be if there is a way to start the music player.
That could be done via a new Event that checks the current foreground app and then starts the "Play Media" Profile..probably needs a little delay after the app is in foreground, of you play music from the cloud, the app needs sometimes a little to load the music.
Currently there is no "Play media" Option.
For non rooted users there are two ways to do that:
via a sendOrderedBroadcast or via notifcation service access.
The one via notification service access works for the most of the media players...just know of one far where it doesn't work: PowerAMP.
From my experience for non rooted users the one with notification service access works the best and for nearly very media player. The ordered broadcast one works for some, but a lot did not register to that broadcast.
If you are rooted the 100% working method is to just send a keyvent via su shell.
Code example from my app:
` public static void sendMediaKeyEvent(Context context, int code){
if(Helper.hasNotificationAccess(context) && !getSharedPreferences(context).getBoolean(FragmentMain.PREF_ALTERNATIVE_METHOD, false)) {
if(mManager == null)
mManager = (MediaSessionManager)context.getSystemService(Context.MEDIA_SESSION_SERVICE);
boolean executed = false;
for (MediaController controller : mManager.getActiveSessions(new ComponentName(context, NotificationListener.class))) {
PlaybackState playbackState = controller.getPlaybackState();
int state = playbackState.getState();
if (state == PlaybackState.STATE_PLAYING || state == PlaybackState.STATE_PAUSED)
{
if(code == KeyEvent.KEYCODE_MEDIA_NEXT)
controller.getTransportControls().skipToNext();
else if(code == KeyEvent.KEYCODE_MEDIA_PREVIOUS)
controller.getTransportControls().skipToPrevious();
else if(code == KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE)
{
if(state == PlaybackState.STATE_PLAYING)
controller.getTransportControls().pause();
else
controller.getTransportControls().play();
}
executed = true;
break;
}
}
if(!executed)
sendMediaOrderedBroadcast(context, code);
}
else
sendMediaOrderedBroadcast(context, code);
}
private static void sendMediaOrderedBroadcast(Context context, int code) {
if(Helper.isRootEnabled(context))
{
ShellInterface.runSU("input keyevent " + code);
return;
}
long uptimeMillis = SystemClock.uptimeMillis();
Intent intent = new Intent("android.intent.action.MEDIA_BUTTON", null);
intent.putExtra("android.intent.extra.KEY_EVENT", new KeyEvent(uptimeMillis, uptimeMillis, KeyEvent.ACTION_DOWN, code, 0));
context.sendOrderedBroadcast(intent, null);
intent = new Intent("android.intent.action.MEDIA_BUTTON", null);
intent.putExtra("android.intent.extra.KEY_EVENT", new KeyEvent(uptimeMillis, uptimeMillis, KeyEvent.ACTION_UP, code, 0));
context.sendOrderedBroadcast(intent, null);
}`
Each time the events are restarted, the Bluetooth scan is deactivated.
The 'Bluetooth Sensor' function can not be used.
Translated google sorry.
Hello,
First, I'd like to say that I really appreciate your app. Thank you for that.
Now, the issue that I have on my Samsung A5 is that when I manually activate a profil, after a while the events start up again and the time frame for that seems to be random. I've had your app on my One M8 and it worked flawlessly. Manual mode stayed manual. I haven't set up anything else but time schedules for my profiles and I do not have set a time limit on manual activations.
I've try many times but on my s4 jfltexx events don't trigger profiles and remain always default home.
I have searched but found nothing to close an app again by an event - is that possible?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.