GPS tweaks - Galaxy Ace S5830 General

Guys,
I was going through the following thread http://forum.xda-developers.com/showthread.php?t=1069416 and found it to be useful.
I played with the settings and saw some improvements (accuracy and TTFF)
Here are we things you can play with
1. Open LibTestMode by typing the following code in the dialer (Froyo Only): *#*#3214789650#*#*
3. Under "Settings" you can go to Fix Request settings and play with "Session operation", "Session Timeout" and "Accuracy" besides other things.
I am using the following settings for the above parameters:
1. Session Operation: MS-based
2. Session Timeout : 100
3. Accuracy:50
Please give feedback on tweaks that you do and observed behavior.

Related

Comm Manager for Athena (Version 0.5 Dec 03, 2008)

Offering my Comm Manager for HTC Athena
Update to ver 0.2 available at post #14
Update to ver 0.3 available at post #38
Update to ver 0.4 available at post #53
Update to ver 0.5 available at post #70
Highlights:
- Free
- Small (97KB including default skin)
- Quick (based on callbacks, not on Sleep() )
- Portable (uses only doccumented WM features)
- Finger-touchable
- Fully configurable (including keys, key actions and skin)
- Works evenly in all RealVGA resolutions
- VueFlo screen rotation aware
- Supports GRPS connections and 3G mode management
- Self installing/removing
Installing:
- Extract VCommManager.exe from .zip file and put anywhere in your PPC
- Run it
- Tap and hold for at least .5 secs on airplane - you will be redirected into configuration page
- Go into "About" page, and select needed options.
- Press "Save And Exit"
Removing:
- Go into configuration, the About
- Select "Cleanup and exit"
- Press "Save And Exit" (removes all shorthuts and registry customizations)
- Delete VCommManager.exe itself.
Moving .exe to another folder:
- From Settings/About select only items beginning with "Delete" or "Detach"
- "Save And Exit"
- Tap anywhere on screen to close window
- Move program to another location
- Go back to Settings/About to change custumizations
Working:
- Click any of images to perform task
- Tap and hold for at least half second to enter configuration dialog for selected option. Tapping on Airplane - enters VCommManager config. Other actions may be defined there.
- Click outside bounding rectangle to close program
Making your own skin:
Pictures are placed into .bmp file in one line. First active, then inactive ...
Transparent color is RGB(255, 0, 255)
Height of picture is defined by bitmap height
Width of picture is BitmapWidth / 12
If BitmapHeight < 16 - it is considered invalid.
If BitmapWidth < 16*12 - it is considered invalid.
If BitmapWidth is not multiple of 12 - it is considered invalid.
If external bitmap is invalid - internal is used.
Attachments: Screenshot & Program
Looks good. Can you make a cab file also? Never like having to use PC to install.
eaglesteve said:
Looks good. Can you make a cab file also? Never like having to use PC to install.
Click to expand...
Click to collapse
It's not installable from PC.
Attached file is PPC-ARM executable.
You need simply to copy it into PPC and run.
I see.... That's good. Thank. Will try out and give you feedback soon. Cheers.
edit:
Tried this. Absolutely the best comm manager I've seen. Love the short and long touch concept.
What are some examples of how we can use the user button?
Thank you for this very good tool.
This should be the comm manager of choice for ROM cooks.
eaglesteve said:
Tried this. Absolutely the best comm manager I've seen. Love the short and long touch concept.
What are some examples of how we can use the user button?
Click to expand...
Click to collapse
... simply don't use it
Seriously:
All buttons, exept "Airplane" has same behavior:
1. You can run hard-configured tasks
2. Additionaly you can run applications of your choice. Remember: only when application terminates you are getting back to VCommManager.
3. If "Perform ... tasks" is not selected - you have to specify application for status check. Return value is 0 == inactive state, !0 == active state.
4. Remember to use fully specified apps (no .lnk, etc)
For instance to take screenshot I have changed in Config/Data:
1. Unmarked "Perform configured tasks"
2. Added "\Windows\magic ss.exe" (with quotes) in "Run on Activate"
User button is treated similary, exept that it has no "predefined" and has "demo" picture - you must use external bitmap to create some look.
Nice! Its a handy little tool.
Thank you for your kind contribution, it is working very well in 128dpi.
Excellent! I like being able to turn off GPRS when required - my previous solution involved creating a "Null" connection and setting it to be the active one!
It took me a while to figure out how to get skins to work, though - I was assuming a relative path, and it needed absolute. Perhaps a browse button on the Skin text box might be a good idea?
Here's a skin I threw together from resources grabbed out of PK2 Kaiser Comm VGA:
Thanks very much for this app. Solved my problems in Real VGA Comm Manager.
Everyone, just rename the file VCommManager to CommManager and use Total Commander to replace the original Comm Manager in the ROM then soft reset. So that all icons pertaining to Comm Manager now defaults to the renamed VCommManger.
Excellent Application. Thanks.
Basically all you have to do is
1....Obtain the VCommManager.exe file from the link above.
2....Rename VCommManager to CommManager.
3....Use Total Commander or any powerful file manager to replace the ROM Comm Manager with the newly renamed CommManager (formerly VCommManager), by sending the file to the Windows folder.
4....SOFT RESET
Now all icons pertaining to the built in Comm Manager points to VCommManager. Solved all problems in VGA mode. Very nice application. Thank you again for sharing.
thanks much 8)
Multilanguage
If you like this application and want to participate to make it multilanguage...
I'm attaching Exel document of all needed to translate strings.
Those are only in my dialogs and menu's...
Control panel dialog language depends on your system.
I will recompile as soon as:
1. At least 3 languages are added
2. After last addon there are 48 hours spent
If you are adding some language - please send back modified file here (or alternitavely to my PM).
Spanish translation
vidmabal said:
If you are adding some language - please send back modified file here (or alternitavely to my PM).
Click to expand...
Click to collapse
Very good work, thanks.
Spanish translation added.
just wanted to add my comments.....awesome comm manager, using it now and probably will for awhile!
VCommManager Ver 0.2
Update to version 0.2
For instalation instructions look into post #1 in this thread.
(If you already have ver 0.1 - simply copy .exe file on top of old one)
Changes:
1. Fixed "Run On Long Press" function (realy it never worked)
2. On Long Press enabled both - internal config and external app
(for instance, if you want to run both configuration dialogs on WiFi long press you can leave "Start Network Control" checked and enter
"\Windows\WlanMgr.exe"
into Run box)
3. Fixed dialogs in "Portrait" mode (Landscape was OK)
4. Added SIM PIN support - it's for users, that have PIN enabled.
Go to "About" tab to configure your PIN.
Feature is needed to enter automatically PIN: swithing from "Aircraft" mode, swithing phone on or changing 3G <-> GPRS.
5. Added "Language" support.
For now only English-Spain: I have not received more translations.
Thanks for the update.
How do I use the skin?
The reference to relative and absolute paths in post 8 is a bit cryptic for me. I have tried inserting \windows\VCommManagerHTCSkin.bmp into the bitmap dialog box under Main tab and of course that does not work. Would you be kind enough to tell me where the reference goes? I have copied the HTC skin posted into the Windows directory. Thanks a bunch.
I don't see why that wouldn't work. I put the skin and VCommManager under Program Files, so I have: \Program Files\VCommManager\VCommManagerHTCSkin.bmp in the Bitmap box of the Main tab of the options, but I can't think why it wouldn't work for other absolute paths (starting with \).
Result should look something like this:
Bitmap works fine for me in either Windows or Program Files/Vcomm
Small problem with setup for me- if I tap/hold Bluetooth or WiFi to enter config screen, I can change configs OK, but the OK button and Start Menu are unresponsive, needing a SR to get out of.
I use iLauncher which has its own OK button- maybe that's a conflict?
NeilM said:
Small problem with setup for me- if I tap/hold Bluetooth or WiFi to enter config screen, I can change configs OK, but the OK button and Start Menu are unresponsive, needing a SR to get out of.
I use iLauncher which has its own OK button- maybe that's a conflict?
Click to expand...
Click to collapse
For BT and WiFi configuration I simply call
\Windows\ctlpnl.exe cplmain.cpl,23,0
and
\Windows\ctlpnl.exe cplmain.cpl,17,0
Can you enter those strings from System "Run" dialog and check?
Do you have same problem when entering those dialogs from Control Panel?
I activated the USER function and assigned /Windows/fexplore.exe to launch on press. It does launch File Explorer, but it leaves the VcommManager interface on top. Pressing the OK button only makes File Explorer to close and leaving me with the X button at the right upper hand corner which is unresponsive. Only a soft reset can get it out from there.

[APP] [09.12.2009] Link Creator v1.5 - UPDATED

Hi All,
I've made a simple application, that creates the link to any file/application and then puts that link to Windows\Start Menu\Programs or any other selected by You folder...
I've noticed that when using TouchFlo3D, you can't just add to Program Tab any link, any program, there is no browsing option, link has to be in Start Menu Folder. Making links with notepad or Word is not an easy / simple thing, that's why Link Creator was made ... to make life simpler
discussion and attachment in main thread (on Diamond board )
XDA Thread
Version 1.5
fixed:
1) Support of WVGA now it's more finger friendly
2) Additional shortcut to explore and manage special folders
3) Bigger Fonts ! better accuracy in choosing folders / files...
4) no automatic softreset after changing manilla softkey (it was very annoying)
- minor changes...
Version 1.4
added:
1) Save as Manilla Softkey (Left and Right Softkey, and it works very well with arguments - so now creating link to for ex.TouchLockPro with additional LOCK argument is very easy...)
2) Create URL/Mail - now You can create mail or www.* link and put it to whatever you want place - it uses default - signed to specified type system program (for browsing www and creating emails)
fixed:
1) exception when file doesn't exist (in selecting File and clicking OK) - now if everything is all right OK button will be colored to Red otherwise you will be promped with msg.
2) installation problem with adding shortcut to Link Creator to the Start Menu\Programs - now it's fixed (on not WWE Roms for ex. Polish Roms there was problem with it)
3) in 1.3 version link additional argument was added under inverted commas (1#"\FOLDER\program.exe argument"), now it's fixed (added checkbox "argument outside inverted commas" for default it is checked... and now arguments are after commas - so we get sth like this: - 1#"\FOLDER\program.exe" argument - and it works
4) added space (****.exe"_) while saving link with argument (so now, there is no need to type additional one blank space in arguments textbox)
5) fixed all "Save In..." problems "Folder doesn't exist"
6) Key Mapping Problems solved
7) some layout changes.
to do:
1) setting icons
2) editor for created link
3) soft keys for System
4) saving with UTF-8 for speciall chars like ś, ą, ę... others
5) make program more finger friendlly - bigger scrollbars, dropdown lists etc.
Version 1.3
Changes:
1) changed "Select File to Link" explorer: short directory listing for better navigation
2) changed "Save in Selected Place" explorer: short directory listing, for better navigation
3) changed Menu style
4) added "Manage Links" - an explorer that gives you ability to find any link files (supoorted filters are: *.lnk, *.lnkbak, *.*) on your PPC and then you can rename, delete, or delete them (by changing it's extension (*.lnk -> *.lnkbak) )
5) added fingerfriendly popup menu for "Manage Links" (-Close-)
6) added "Save as Key Mapping" - special in Windows direcotory filename creator, that gives You ability to map some Hardware Keys with your "files" (Long Press Send Button, Long Press Power Button, Short Press Power Button). There are two options for Save as Key Mapping: a) saving special filename, b) deleting special filename.
Version 1.2
Changes:
1) added "auto counting chars method"
2) removed .net openfiledialog
3) added my own "explorer" for searching "to be linked file"
4) excluded System.Windows.Forms.dll (back to very small size of cab installer 12KB)
5) some "label" changes...
version 1.1:
Added:
1) file filtering: all files, exe, jpg, bmp, png, mp3, wav, avi, mp4, wmv, txt, pdf, doc
2) changed caption Select Exe to Select File
3) new Menu Options:
- Save in Programs
- Save in Start Menu
- Save in StartUp
- Save in Selected Place
- Close
4) included System.Windows.Forms.dll for same openfiledialog on every .net platform... (I guess )
(thanks to Mieszko Zagańczyk from SmartMobile.pl for testing and noticing problem with filtering and different open file dialog on his Touch HD)
version 1.0
first release
Thank you very handy app
Great app, thank you very much
Had tried to install this a couple days ago (found it at another site) but couldn't do so because 3.5 framework issues. Any chance of getting this using 2.0?
nice app!ThX for Sharing!
new version 1.4 released
new Version 1.5 released

[APPTEST] Trying to solve an LG 4.1.2 crashing bug

Hi all,
I need help testing our app on LG L5 II (E450) running Android 4.1.2. It seems that other LG devices running 4.1.2 would have the same issue.
So if someone is running 4.1.2 on an LG device, I would ask you to install the first attached APK, try to crash the app. Then install the 2nd APK and confirm that (hopefull!) it doesn't crash anymore...
I've attached 2 APK builds here. The first build is the same as the one on the playstore
https://play.google.com/store/apps/details?id=com.muzooka.player
Reading various threads leads me to 2 possible reasons:
Using a custom font (SpannableString) for the ActionBar title
Missing `android:titleCondensed` when creating ActiobBar menu item
If I understood this right, then here are the steps to crash the app:
If it's the first reason, then the app should crash right away
If it's the second one, then the app should crash when accessing the actiobar overflow menu. Steps to crash:
Open app and go throught the welcome screens
on the first screen, select *Charts* from the left navigation drawer
On the Charts, tap a song's menu (vertical dots) and go to *Artist info*
Long press on the share icon (to display the description tip box), or do a search.
Crashed?
If both tests don't crash the app, feel free to click around trying to crash it.
The Crashlytics bug report
http://crashes.to/s/fad5f37453f
The raw log:
Code:
java.lang.IllegalArgumentException: Invalid payload item type
at android.util.EventLog.writeEvent(EventLog.java)
at android.app.Activity.onMenuItemSelected(Activity.java:2766)
at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:373)
at android.support.v7.app.ActionBarActivity.superOnMenuItemSelected(ActionBarActivity.java:245)
at android.support.v7.app.ActionBarActivityDelegateICS.onMenuItemSelected(ActionBarActivityDelegateICS.java:164)
at android.support.v7.app.ActionBarActivity.onMenuItemSelected(ActionBarActivity.java:131)
at android.support.v7.app.ActionBarActivityDelegateICS$WindowCallbackWrapper.onMenuItemSelected(ActionBarActivityDelegateICS.java:308)
at com.android.internal.widget.ActionBarView$3.onClick(ActionBarView.java:172)
at android.view.View.performClick(View.java:4101)
at android.view.View$PerformClick.run(View.java:17088)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:153)
at android.app.ActivityThread.main(ActivityThread.java:5071)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
at dalvik.system.NativeStart.main(NativeStart.java)
Related to following threads:
* https://code.google.com/p/android/issues/detail?id=58723
* http://stackoverflow.com/questions/...alargumentexception-invalid-payload-item-type
* http://stackoverflow.com/questions/21807298/invalid-payload-type-android

[App] Startup Builder App - Version 2.5.5 (16 March 2017) for faster autostart

Hello everyone!
I made the second version of the app which builds the install-recovery.sh and delivers the file correctly to /system/etc, according with @dsa8310 guides.
Please check the generated script before delivering. This applies to version 2.0.
The app has two sections:
Launch on startup
- Poweramp
- JetAudio Plus
- PC Radio
- AIMP Player
- Spotify
- MX Player
- Viper4Android
- Car Service
- Petrows MTC Service
- Twilight
- DailyRoads Voyager
- Tasker (installed from another source)
- Tasker (installed from Play Store)
- Torque Pro
- MapCam Droid
- StrelkaGPS
- XposedMTC Sunrise Service
- Poweramp Toast Service
...more services can be added, on demand
and
Settings
- Fix TomTom : adds the script to fix tomtom paths
- Auto Dimmer
- Loop sleep time (in seconds) - Define the loop sleep time (default is 10 seconds)
Version history:
1.6 - 15.06.2015:
- Checking if packages listed on "Launch on startup" section, are installed.
- Added more services to "Launch on startup"
1.7 - 18.06.2015:
- Possibilty to edit lsd command for tomtom fix script
1.8 - 23.06.2015:
- Added confirmation dialog with selected items when clicking "BUILD & DEPLOY"
- Added "MX Player" app to the list
1.9 - 24.06.2015:
- Added "AIMP Player" app to the list
- Added "Poweramp Toast" service to the list
- Possibility to select which tasker version to run on startup (Market version or other source)
- Added option to delete the "install-recovery-2.sh" file (Malayk firmware)
1.10 - 29.06.2015:
- Added latest changes from @dsa8310
- App now detects where it needs to write: to install-recovery.sh or to install-recovery-2.sh, based on @mike.s request
- Removed the option to delete the install-recovery-2.sh
1.11 - 03.07.2015:
- Fixed the problem with root being lost after install-recovery.sh deploy
- Added "PC Radio" to startup services
1.12 - 04.07.2015:
- Updated the LSD function and tomtom fix script
- Added the possibility to add more than one lsd line
2.0 - 14.08.2015:
- Completly rewrite of the code
- Supports online updates of the install-recovery script
- Option to customize the settings by editing the pcv.xml file and copy it to /external_storage/pcv.xml
- Option to edit the auto-generated install-recovery.sh script before delivering the content
2.1 - 15.08.2015:
- Russian translated by @Malaysk
2.2 - 18.08.2015:
- Fixed the issue with services not running if Auto-Dimmer is not selected
- Added the option to PowerAmp to select "wait USB mount" and start with/without resume
- Delivering the correct busybox binary for Auto-Dimmer to work
- Creating the script into install-recovery.sh, instead of install-recovery-2.sh (the last one is deleted)
- Updated russian translation
2.3 - 20.08.2015:
- Minor service fixes and improvements
- Added MtcVolume to service startup
- Fixed PowerAmp execution on startup when resume selected
- Updated russian translations
2.3.2 - 02.09.2015:
- Updated install-recovery.sh script (fixes and additional startup services added)
2.3.3 - 03.09.2015:
- Small fixes to generated script
2.3.5 - 22.09.2015:
- Added portuguese translation
- Added romanian translation
- Added Wait for USB Mount for allmost all startup services
2.4.1 - 24.09.2015:
- Settings are now remembered
2.4.2 - 28.09.2015:
- Fixed an issue with saving settings
- Added DS Speedometer to Startup Services
- Added MTC Music to Startup Services, with Wait for USB mount
- Some code cosmetics
2.4.3 - 28.10.2015:
- Added HDWidgets and CloudTV
2.4.6 - 16.11.2015:
- Added Google Play Music
2.4.7 - 20.11.2015:
- Added DashCommand
- Added MX Player Pro
2.4.8 - 02.12.2015:
- Added Zonga to Startup Services
2.4.9 - 08.12.2015:
- Added iGo NextGen to Startup Services
- Added BlackPlayer EX to Startup Services
- Added CamSam Plus to Startup Services
2.5.1 - 08.12.2015:
- Added a section to choose any installed app to run on startup, without the need to release a new version of the app.
2.5.2 - 11.12.2015:
- Added 'Swapps!' service to startup
2.5.3 - 15.12.2015:
- Fixes the "Installed Applications"
2.5.4 - 11.11.2016:
- Removed the "busybox" binary delivery
- Tested to work on MTCD devices (Rooted Stock and Malaysk firmwares)
2.5.5 - 16.03.2017:
- Added Viper4Android v2.5+ to Services list
The app needs root permission for delivering the install-recovery.sh on /system/etc/.
More details about the script, can be found here: http://forum.xda-developers.com/showpost.php?p=56991862&postcount=5336
The app can be found on Play Store: https://play.google.com/store/apps/details?id=com.pcv.installrecovery.builder
And on dropbox as well https://www.dropbox.com/sh/iit8an281rudjw5/AADnwEPhpmHgBT1t51-giQWPa?dl=0
.
Hello
Abaut yanosik app (anti radar, gps app), thank you devilsoft for adding it to PCV Startup Builder.
But it wont start with system.
When i "manually" type the command in terminal i got this:
[email protected]:/ $ am start -n pl.neptis.yanosik.mobi.android/.ui.activities.LauncherActivity
WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please fix.
Starting: Intent { cmp=pl.neptis.yanosik.mobi.android/.ui.activities.LauncherActivity }
Error type 3
Error: Activity class {pl.neptis.yanosik.mobi.android/pl.neptis.yanosik.mobi.android.ui.activities.Launc herActivity} does not exist.
[email protected]:/ $
whats wrong??
Thanks for the info
Vierka said:
Hello
Abaut yanosik app (anti radar, gps app), thank you devilsoft for adding it to PCV Startup Builder.
But it wont start with system.
When i "manually" type the command in terminal i got this:
[email protected]:/ $ am start -n pl.neptis.yanosik.mobi.android/.ui.activities.LauncherActivity
WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please fix.
Starting: Intent { cmp=pl.neptis.yanosik.mobi.android/.ui.activities.LauncherActivity }
Error type 3
Error: Activity class {pl.neptis.yanosik.mobi.android/pl.neptis.yanosik.mobi.android.ui.activities.Launc herActivity} does not exist.
[email protected]:/ $
whats wrong??
Thanks for the info
Click to expand...
Click to collapse
this error is related to the Yanosik app and from a search on google, the error is caused by xposed framework. It seems that Yanosik conflicts with xposed framework.
what is "Loop sleep time". Is it like screensaver with the clock in the middle of the screen?
Thanks
lynksss said:
what is "Loop sleep time". Is it like screensaver with the clock in the middle of the screen?
Thanks
Click to expand...
Click to collapse
The "Loop Sleep Time" is the delay (sleep) time after the loop block finished and restarting the execution of that block.
Any chance that you could add Google Play Music to the list of early start apps? TIA
ffwd4490 said:
Any chance that you could add Google Play Music to the list of early start apps? TIA
Click to expand...
Click to collapse
Download v2.4.6. It has Google Play Music on Startup List.
devilsoft said:
Download v2.4.6. It has Google Play Music on Startup List.
Click to expand...
Click to collapse
Thanks, ill try that version.
Hello, first congratulations for this app.
Then I will tell you I have activated the automatic start of JetAudio Plus to keep you with the music that had before stopping.
But the funny thing is that sometimes it works and others don't. Why can it be?
antvic said:
Hello, first congratulations for this app.
Then I will tell you I have activated the automatic start of JetAudio Plus to keep you with the music that had before stopping.
But the funny thing is that sometimes it works and others don't. Why can it be?
Click to expand...
Click to collapse
Did you checked the option to "Wait for USB" ? If you play music from USB, please make sure you have the Wait For USB checked, if you have an app starting on startup.
devilsoft said:
Did you checked the option to "Wait for USB" ? If you play music from USB, please make sure you have the Wait For USB checked, if you have an app starting on startup.
Click to expand...
Click to collapse
Yes, the option "Wait for USB" is selected, but the music I hear it from the SD external-2
Hi
Is there any chance to put DashCommand and MxPlayer Pro because is not recognised as MxPlayer in PCV.
jacekruf said:
Hi
Is there any chance to put DashCommand and MxPlayer Pro because is not recognised as MxPlayer in PCV.
Click to expand...
Click to collapse
Hi! I added these apps in v2.4.7. Please download the latest update released today.
antvic said:
Yes, the option "Wait for USB" is selected, but the music I hear it from the SD external-2
Click to expand...
Click to collapse
Sorry mate, i have no clue why that happens, then
Any chance to have a built-in option to remove (or reset to factory defaults) the startup script? If I deselect all the options, it says "no options selected". However, I want to have no options, I mean, I don't want any autostarting app anymore - that's why I selected none.
robertut said:
Any chance to have a built-in option to remove (or reset to factory defaults) the startup script? If I deselect all the options, it says "no options selected". However, I want to have no options, I mean, I don't want any autostarting app anymore - that's why I selected none.
Click to expand...
Click to collapse
Yes, you can choose one app (any app), press BUILD and on the next screen, just delete everything (all text), then press DELIVER. This way, you will have a default install-recovery.sh, without any custom commands in it. I will implement a function to revert the changes in future, but for now, use this.
devilsoft said:
Hi! I added these apps in v2.4.7. Please download the latest update released today.
Click to expand...
Click to collapse
Awesome. TY.
Could you please add iGo NextGen (Navigation) and BlackPlayer Ex (Music)
Could you add CamSam Plus app (great speedcam app) to your app please?
Package name is: com.camsam.plus
Add please IGo nexGen.thanks
Enviado desde mi SM-N920C mediante Tapatalk

[APP][Xposed][L-M] Media notification seek bar [Mar/30/2016]

{
"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"
}
Last update:
[Mar/30/2016] Link
Description:
With this module you can modify the notification of the music / video players.
You can add a seek bar and control the position of the current playing media without opening the application.
Also can change the colors of the notification.
Tutorials:
Tutorials
Compatibility:
- Roms
Android 5.x and 6.0 (sdk 21, 22 and 23).
Stock rom and CyanogenMod.
*Could work with other roms.
Apk ---> Xposed Module Repository: http://repo.xposed.info/module/com.ssrdroide.medianotificationseekbar
My other work:
Lock screen clock mods
Xda thread.
Xposed repository.
Lock screen widgets
Xda thread.
Xposed repository.
Qs X tiles per row
Google+ community.
Xposed repository.
NavBar color when the keyboard is open
Google+ community.
Xposed repository.
Google play music notification seek bar
Google+ community.
Xposed repository.
YouTube notification seek bar
Google+ community.
Xposed repository.
Tutorials:
1) Debug data provider
2) Debug layout name
3) Expert configuration
4) Configuration of some apps
Changelog:
V0.96
- Initial release
Reserved
Tutorials → 1) Debug data provider
*First of all you should check if the app that you want to configure is listed here: Tutorial 4: Configuration of some apps and you get the configuration.
With this tutorial you can check if the module is compatible with the selected media player app (we will configure Phonograph).
1) Go to the configuration section and enable the option “Debug notification”.
Also enable “Data provider”, save the new changes (press the fab button) and reboot your phone.
2) Go to Xposed installer – logs. You should see some lines that start with: “GpmNotificationSeekBar DebugDataProvider”.
You should find the line: “Package loaded: package_name” (if you can't see the line you have made the previous step wrong).
The line: “Mode A loaded!” is required (if you can't see it the module will not work).
The Mode B is an alternative way to get the current position of the media playing content.
The line “Broadcast received!” should appear when you finish the next step.
3) Open the media player app all and play some media content.
Go to the configuration section of the selected media app on the module and press the button “Debug data provider” 2 times faster:
You should see the following things:
- The playing media content should seek to the position 1:00 (one minute)
- The second time that you press the button you should receive the message “Current position and duration 1:00/duration”. The current position should be approximately one minute.
If you obtain the correct position, don't do the next step.
4) As you can see, with Phonograph the current position is incorrect. It says 0:09 and should be approximately one minute.
To fix this go to the advanced configuration and enable the option Get media info MODE_B.
Save the new changes, restart your phone and do again the step 3.
Now you should get the correct values.
Enable the MODE_B only if you get incorrect values when you press the button Debug data provider the second time.
Tutorials → 2) Debug layout name
*First of all you should check if the app that you want to configure is listed here: Tutorial 4: Configuration of some apps and you get the configuration.
With this tutorial we get the layout name of the compressed and expanded notifications (we will configure Phonograph).
The name is necessary to add the seek bar to the notification.
1) Go to the configuration section and enable the option “Debug notification”.
Also check “Layout name” and save the new configuration.
2) Close the media player app and dismiss the notification (if you have the media player app running).
Reopen the app and play some media content (the notification should be recreated).
3) Go to Xposed installer – logs. You should see some lines that start with: “GpmNotificationSeekBar DebugLayoutName”. We need the end of the LayoutName (the LayoutClass is not necessary).
Configuring Phonograph we obtain:
- /notification is the compressed layout name
- /notification_big is the expanded layout name
Generally, the expanded layout contains “big” and the compressed layout “small” or nothing.
The line “SeekBar added!” should appear when you finish the next step, and it means that the seekbar has been added to the notification.
4) Go to the configuration section of the selected media app and add the layout names.
Save the new changes, restart the media player app and the new changes should be applied.
Tutorials → 3) Expert configuration
Some apps use third party libraries to control playback of the audio/video files. If you know the class/method name you can make it compatible with this module.
Now we will configure Vlc (uses its own library called libvlc).
If you follow the steps of the tutorial “Debug data provider” the media content does not seek to the new position.
To make the app compatible open the module and go to the expert configuration.
Check the option custom data provider and set the next configuration:
- Fully qualified class name: org.videolan.libvlc.MediaPlayer
- Method name (seekTo): setTime
- Method name (getCurrentPosition): getTime
Apply changes, restart Vlc, play a media content and now should work.
Tutorials → 4) Configuration of some apps
Style of the configurations:
Code:
- Name_of_the_app: package_name
/name_of_the_compressed_layout
/name_of_the_expanded_layout
[optional - Expert conf] fully_qualified_class_name
[optional - Expert conf] method_name_seek_to
[optional - Expert conf] method_name_get_current_position
*The names could change (with different android versions or future updates of the apps).
Code:
- Phonograph: com.kabouzeid.gramophone
/notification
/notification_big
Advanced conf – get media info MODE_B: checked
- Poweramp: com.maxmpz.audioplayer
/status_controls
/status_controls_big
- PlayerPro: com.tbig.playerprotrial
/statusbar_controls
/statusbar_controls_big_alt
Use the alternative layout: unchecked
- BlackPlayer: com.kodarkooperativet.blackplayerfree
/notification_small_stock
/notification_big_stock
- MeloCloud: com.ranhzaistudios.melocloud.free
/simple_sound_cloud_notification
/simple_sound_cloud_notification_expanded
- Musixmatch: com.musixmatch.android.lyrify
/notification_player
/notification_big_player
- Shuttle: another.music.player
/notification_template_base
/notification_template_big_base
- Google play music: com.google.android.music
/notification_template_material_media
/notification_template_material_big_media
- YouTube: com.google.android.youtube
/playback_notification_small
/playback_notification_big
- YouTube Music: com.google.android.apps.youtube.music
/playback_notification_small
/playback_notification_big
- Music (CyanogenMod): com.cyanogenmod.eleven
/notification_template_material_media
/notification_template_material_big_media_narrow
- VLC: org.videolan.vlc
/notification_template_material_media
/notification_template_material_big_media_narrow
Expert conf - ClassName: org.videolan.libvlc.MediaPlayer
Expert conf - SeekTo: setTime
Expert conf - GetCurrentPosition: getTime
- Spotify: com.spotify.music
/notification_small_player
/notification_big_player
Expert conf - ClassName: com.spotify.mobile.android.orbit.OrbitPlayer
Expert conf - SeekTo: seekToPosition
Thank you for this module.
Unfortunately, it does not work correctly with GoneMAD Music Player. Neither seekbar nor seekbar button are shown in the notification.
- GoneMAD Music Player: gonemad.gmmp
/notification_controls_simple_layout​/notification_controls_simple_big_layout​
I followed all your steps, your app does obtain the correct time position of 01:00 minute (sending the broadcast and all other things are working as they intend to do, even “SeekBar added!” is shown in the Xposed logs), but it is not working.
My device configuration:
OnePlus X
Android Open Kang Project (CM13-based)
Xposed v80 SDK23 arm
SuperSU
Are any further information required to help me?
-------------------------------------------------------------------------------------------
EDIT: It is working... partially.
So I changed the notification style of GoneMAD Music Player from "Always Expanded" to "Default", and now the seekbar button is showing up. But no matter what I try, it is not possible to get the seekbar button working on expanded notification view.
What I also noticed: the seekbar isn't updating in real time. It just stays at the current time position when it has been opened. When closing the seekbar and re-opening it again, it gets updated but will remain at the new time as well.
This is awesome.
Thanks for this great app...
But why not add by default the most used apps like (Google Play Music, YouTube... etc.)... I'm still trying to get it working with GPM with no luck.
orville87 said:
Thank you for this module.
Unfortunately, it does not work correctly with GoneMAD Music Player. Neither seekbar nor seekbar button are shown in the notification.
- GoneMAD Music Player: gonemad.gmmp
/notification_controls_simple_layout​/notification_controls_simple_big_layout​
I followed all your steps, your app does obtain the correct time position of 01:00 minute (sending the broadcast and all other things are working as they intend to do, even “SeekBar added!” is shown in the Xposed logs), but it is not working.
My device configuration:
OnePlus X
Android Open Kang Project (CM13-based)
Xposed v80 SDK23 arm
SuperSU
Are any further information required to help me?
Click to expand...
Click to collapse
Excelent report!
You have told me the steps and the details at each step.
That style of notification requires the option "Use the alternative layout" unchecked (like other players as PlayerPro).
You can change also the position and colors (to improve the visibility).
I have tested it with cm13 and works.
If now works, update your comment, could be useful for other users.
Cheers and thanks for the excellent report.
Module works great, made it fit perfectly in the expanded poweramp notification with custom layout.
And damn this app is beautiful!! One of the best material apps I know.
osama-selo said:
Thanks for this great app...
But why not add by default the most used apps like (Google Play Music, YouTube... etc.)... I'm still trying to get it working with GPM with no luck.
Click to expand...
Click to collapse
Tutorials, configuration of some apps. link
Read the gpm configuration.
You just should set the layout name (copy and paste)
/notification_template_material_media -> compressed
/notification_template_material_big_media -> expanded
SergioSanchezR said:
Tutorials, configuration of some apps. link
Read the gpm configuration.
You just should set the layout name (copy and paste)
/notification_template_material_media -> compressed
/notification_template_material_big_media -> expanded
Click to expand...
Click to collapse
Already done this and it's not working.
My idea is that you can pre-add your configuration to your app the make it more simple... and over time you can add settings for more apps.
Anyway I'll try with other apps and report back.
Could you make also a video of the tutorial???
Sent from my Nexus 6 using Tapatalk
SergioSanchezR said:
Excelent report!
You have told me the steps and the details at each step.
That style of notification requires the option "Use the alternative layout" unchecked (like other players as PlayerPro).
You can change also the position and colors (to improve the visibility).
I have tested it with cm13 and works.
If now works, update your comment, could be useful for other users.
Cheers and thanks for the excellent report.
Click to expand...
Click to collapse
Updated my post, still not working completely.
SergioSanchezR said:
Tutorials, configuration of some apps. link
Read the gpm configuration.
You just should set the layout name (copy and paste)
/notification_template_material_media -> compressed
/notification_template_material_big_media -> expanded
Click to expand...
Click to collapse
I have managed to get it working on Google Play Music... I had a mistake last time
Now in expanded notification everything is OK except that we need an option to put the icon on the left side (for RTL languages)
In compressed notification the first time it works OK, but if I expand then unexpand the notification it will be all black.
EDIT: it happens exactly in this condition:
1- Press the seek bar button.
2- Try to seek the song and let the bar hide automatically and then I got it all black.
If I don't try to seek I would not have this problem
I can't see seek bar, is there something wrong???
piraboy said:
I can't see seek bar, is there something wrong???
Click to expand...
Click to collapse
According to post #8 it should be /notification_big_player instead of /notification_big_stock for expanded view in MusixMatch.

Categories

Resources