[APP] [7/3/2011] HeadsetService 1.3 (Control Music via Headset Button) HTC Supported - Windows Mobile Apps and Games

-Description:HeadsetService is a background app that let you control your preferred music player using wired Headset Button​-Features:
Support Samsung and HTC Devices
Support Windows Mobile 6.1/6.5/6.5.X
Support Many Music Players
Windows Media Player
HTC Audio Manager
Core Player
Nitrogen
S2P
Touch Player (Omnia i900 SMPlayer)
Touch Player (Omnia II)
You Can Answer incoming call
Only 4KB in Memory (Samsung)
No Memory Usage (HTC)
Device can be locked (Except Headset Button)
Native Code (Fast Execution)
Press Speed Can be Changed
Service only Activated if the chosen player is running
Service will automatically launch on Startup if it is activated
Service can be stopped at any time (Samsung Only)
Support WVGA, WQVGA ,VGA, QVGA
-Updates:
Thanks for Everyone report a bug or help me fix these bugs
New in Version 1.3
Support Samsung Omnia II Touch Player (Player)
Support Samsung Omnia Headset
New Version For HTC >>> All Reported issues Fixed​-Installing:Must be installed on Device Memory​-How to Use:Samsung Devices
After installing Go to [ Start Menu->Headset Settings ]
Select your preferred Player
Change "Press Speed" if you need
Change "Service Status" using "Status" button
Click "Apply"For Omnia II
Short Press = Play\Pause
Long Press = Next Song
*Note: To goto Previous Song just triple press Call button [Omnia II headset doesn't support triple presses]
For Omnia
Single Press = Play\Pause
Double Press = Next Song
Triple Press = Previous Song
HTC Devices
After installing Go to [ Start Menu->Headset Settings ]
Select your preferred Player
Click "Apply"
Double Press = Play\Pause
Long Press = Next Song
*Note: if Player is not running - headset button will return to its original settings
-Screen Shot:
{
"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"
}
-Future Implementation "Depend On Users needs"
Automatic Mode: no need to select only one player to Control
Deactivate Service if Phone\Contacts Application is Activated
Control Radio Apps
-ROM Cookers:
Just PM me​-Finally:If you find my App useful please Donate​
All comments are welcomed
"ExtremeGTX HeadsetService v1.3 .CAB" >> Samsung Devices
"ExtremeGTX HeadsetService_HTC.CAB" >> HTC Devices
No Mirrors Please
Development Stopped, Sorry for last requests

Wow, I'm looking for such a service for two years!!!!
I have to test it and give you some feedback.
In the meantime, thank you very much!
EDIT: sorry, but I've forgotten my headset at a friend's, so I won't be able to test your service in the next three weeks... so I will report later on...

thanks michoob ,esociarius
michoob: you can test using Call\Answer Key
Please Guys, Give me your Feedback

Your application is just what i need in my daily commute
Unfortunately on my i900 omnia with touch player and standard stock ROM I got some error when I try to apply settings. I note also some minor glitch related the image on Settings program that it is not automatically resized to the omnia resolution (240x400).
I add some shots to this post to show you how the application appear on my device an the error i received when I try to apply seetings.:
Further than this the application partially work on my omnia. With long pressure I got the start of the play but on successive pressure I got to go on the next song and I was no able to stop the player. Basically seems doesn't recognize the differnce between single and doublke pressure
I hope this help to fix this wonderful app.
Thank you in advance for your effort. If I can do anything to help you, please ask!

poppyup said:
Your application is just what i need in my daily commute
Unfortunately on my i900 omnia with touch player and standard stock ROM I got some error when I try to apply settings. ...
Click to expand...
Click to collapse
Hi ExtremeGTX!
First of all: Thank you very much for your app - it was a very good idea!
But - unfortunately I have the same problems as poppyup - after pressing "apply" an error is thrown.
The keys (long or short press) allways start the HTC-Musicplayer, though I configured Coreplayer to be controlled with your app.
Best regards
esociarius

Thank you Guys for testing my app
Please help me fixing this problem
i think dirs names are different in the other languages
Please Post Startup dir name and windows dir name
English:
\Windows
\Windows\Startup
German Language
i don't know if names changed
and Please tell me Version of Windows and .NET Compact Framework
my tests was on WM 6.5.3 English Rom and .NET CF 2.0
Sorry for not testing with other languages

In Italian:
\Windows
\Windows\Esecuzione automatica
as for Windows version is 6.1 while Net compact framework is 3.5

ExtremeGTX,
use SHGetSpecialFolderPath() function to retrieve system dirs in language-independent manner:
SHGetSpecialFolderPath(..., CSIDL_WINDOWS, ...);
SHGetSpecialFolderPath(..., CSIDL_STARTUP, ...);

Igor Lozovsky
Thanks for help
Setting app is C# but service is C++
poppyup
Thanks Man
Now I know what cause this problem
and I will release fix soon
(may be today or tomorrow)

ExtremeGTX said:
Thank you Guys for testing my app
Please help me fixing this problem
i think dirs names are different in the other languages
Please Post Startup dir name and windows dir name
English:
\Windows
\Windows\Startup
German Language
i don't know if names changed
and Please tell me Version of Windows and .NET Compact Framework
my tests was on WM 6.5.3 English Rom and .NET CF 2.0
Sorry for not testing with other languages
Click to expand...
Click to collapse
No need to apologize... you share your work with us - thank you for that.
In German
\Windows
\Windows\Autostart
Best regards
esociarius

Check The New Version @First Post <CAB updated>
All Feedback and Comments are welcomed

I just check the new version and the errors wnen I tried to apply settings are gone. The graphic of the setting panel was corrected, too. Congratulation!
I was able to enable the status and apply settings, but unfortunately, my setup with Touch Player doesn't work yet
The only thing I got when I press the headset button is the shift to the next song but I was not able to toggle the play on/off. Moreover seems that double pressure was completely ignored by the sofware
Ther is any other test I can perform to help your debug ?
Sent using RapidRead!

Thank you poppyup for Testing my app
This steps for Testing Headset and my app
Step 1:
I need you to disable the service and all players
then press on headset button for about 200ms just (a bit long press not a mouse click)
You must hear a tick sound from headset and phone app will be activated
Step 2:
Return to home\Today screen then press headset button for more than 500ms
you must hear a tick sound two times and phone app will be activated and automatically call the last contact
All above is what I notice with My Omnia II GT-i8000 WM 6.5.3 and the annoying driver
To Check if App really working or not
Open Settings Select Touch Player , Activate the Service then Apply
Now use Green\Answer\Call Button with Touch Player and see if it work
If it doesn't work
Open Settings and Change press speed to a higher value like 900ms
Finally I hope this help you and Enjoy Listening to Music

ExtremeGTX said:
Thank you poppyup for Testing my app
This steps for Testing Headset and my app
Step 1:
I need you to disable the service and all players
then press on headset button for about 200ms just (a bit long press not a mouse click)
You must hear a tick sound from headset and phone app will be activated
Step 2:
Return to home\Today screen then press headset button for more than 500ms
you must hear a tick sound two times and phone app will be activated and automatically call the last contact
All above is what I notice with My Omnia II GT-i8000 WM 6.5.3 and the annoying driver
To Check if App really working or not
Open Settings Select Touch Player , Activate the Service then Apply
Now use Green\Answer\Call Button with Touch Player and see if it work
If it doesn't work
Open Settings and Change press speed to a higher value like 900ms
Finally I hope this help you and Enjoy Listening to Music
Click to expand...
Click to collapse
Step 1: I don't hear any sound from headset but the phone App is correctly activated.
Step 2: Also inthis case I don't hear any double sound but simply the phon application is activated like in the previous case. Please note that in order to start a call to the last contact i need to double push the headset button
I perform test on your application using a setup of 949ms and with the answer call button seems to work as expected (but anyway timing is critical for get expected behaviour ). Unfortunately with the headset button I was no able to replicate the call button behaviour I was no able in any way to get the player start/stop playng with different time setup Moreover, after I try for sometime with the headset button I was no able to replicate the previous "correctly" call button behaviour and I need to close the touch player and restart again to be able to newly control player by the call button with your service enabled.
The only thing I get with the touch player pressing the headset button it to go to the next song.
Seems to me that the call button and the headset button are not exactly the same or anyway are processed by the phone in a slighty different way.
Maybe is a timing problem related the way in which you monitor the headset button event

From your post
The Key Code of Headset button and Call button is the same
I will Explain Press Speed Setting:
for Example "Press Speed" = 1500ms
1st Case:
you press button one time then after 1500ms from the press you will get the action "Play\Pause"
2nd Case:
you press button one time then you have less than 1500ms to press second time to get the action "Next"
with My Omnia II headset button, Long Press give me like two presses from call button
and single press (but not just like a mouse click) give me single press
May be the problem because of different headset driver
also I need to know what about HTC devices , is it work or not
Can you test with other players ?
and if you can post your headset driver

ExtremeGTX said:
From your post
The Key Code of Headset button and Call button is the same
Click to expand...
Click to collapse
Ok for the code, but the sensitivity of the response seems to be different from my test between the two buttons. I am quite sure the call key has different debounce compared to the headset button. Maybe the different HW of the two button introduce differences in the speed of the response. As a matter of fact I was able to control the player with the call button while with the headset button seems like every press (short or long) it is translated in a double press.
ExtremeGTX said:
I will Explain Press Speed Setting:
for Example "Press Speed" = 1500ms
1st Case:
you press button one time then after 1500ms from the press you will get the action "Play\Pause"
2nd Case:
you press button one time then you have less than 1500ms to press second time to get the action "Next"
Click to expand...
Click to collapse
I performed some test playing around with "Press Speed" settings and the behaviour with longest or shortest time doesn't change reallly. With some practice i could get the things works also with the 800ms default setting or less using the call button. On the contrary any short or long press of the headset button got only "next" action in player. Only one time during my test I got the player start with single headset pressure but than I was not able to stop the player anymore but only to get "next" action
Maybe you can filter the headset button pressure adding your "debounce" procedure.
If I well understood from your explanation "Press speed" is the time interval on which you evaluate 1 or 2 press to decide for "play/pause" or "next" action
I would like to suggest this strategy: after detect first pressure your app need to ignore next pressure for xx ms. This time will be obviousely < Press speed time (new settings ? ) than if the new pressure arrive in the maximum time (Speed press) you can perform different action.
ExtremeGTX said:
with My Omnia II headset button, Long Press give me like two presses from call button
and single press (but not just like a mouse click) give me single press
May be the problem because of different headset driver
also I need to know what about HTC devices , is it work or not
Can you test with other players ?
and if you can post your headset driver
Click to expand...
Click to collapse
Seem that on my i900 original omnia short or long headset button pressure are translated in double (or more) presses.
I have tried to use Windows Media Player with same identical behaviour
Related the driver: I don't know what is the driver name if you can give me some directions I can try to extract/copy it and send to you in some way.
Further than this can you modify your application to write a log capturing the pressure of the headset in a file or showing on screen the keycode and the nr of reading in the Press speed time rather than drive the player? I am sure this can help to better understand what happens.

Great Work Man but this news disappointing me
Now let's begin analysis
poppyup said:
Ok for the code, but the sensitivity of the response seems to be different from my test between the two buttons. I am quite sure the call key has different debounce compared to the headset button. Maybe the different HW of the two button introduce differences in the speed of the response. As a matter of fact I was able to control the player with the call button while with the headset button seems like every press (short or long) it is translated in a double press.
Click to expand...
Click to collapse
I know this different debounce of the buttons and pointed to that in Known issues section.
poppyup said:
Only one time during my test I got the player start with single headset pressure but than I was not able to stop the player anymore but only to get "next" action
Click to expand...
Click to collapse
This one time makes me confused
poppyup said:
Maybe you can filter the headset button pressure adding your "debounce" procedure.
Click to expand...
Click to collapse
as I know this can't be filtered, Why?
because it's related to the driver, actually two buttons has the same debounce but Samsung[i900\i8000] annoying driver is the first which receive press event then send this event to user level at which you can handle this event using any app
I have tried to build new driver but it is too much hard
poppyup said:
If I well understood from your explanation "Press speed" is the time interval on which you evaluate 1 or 2 press to decide for "play/pause" or "next" action
Click to expand...
Click to collapse
Yes, this is exactly what i mean
poppyup said:
I would like to suggest this strategy: after detect first pressure your app need to ignore next pressure for xx ms. This time will be obviousely < Press speed time (new settings ? ) than if the new pressure arrive in the maximum time (Speed press) you can perform different action.
Click to expand...
Click to collapse
Thanks for this idea, i worte it down
but this may lead to another timing issues on different CPUs
poppyup said:
Seem that on my i900 original omnia short or long headset button pressure are translated in double (or more) presses.
Click to expand...
Click to collapse
I will tell you again that Samsung try to annoy its users only, no less no more
poppyup said:
I have tried to use Windows Media Player with same identical behaviour
Related the driver: I don't know what is the driver name if you can give me some directions I can try to extract/copy it and send to you in some way.
Click to expand...
Click to collapse
Open Registry
Goto HKLM\Drivers\BuiltIn\Headset <Dll: xxx.dll>
search for the dll in Windows Directory and Extract it.
poppyup said:
Further than this can you modify your application to write a log capturing the pressure of the headset in a file or showing on screen the keycode and the nr of reading in the Press speed time rather than drive the player? I am sure this can help to better understand what happens.
Click to expand...
Click to collapse
i had written an application before to let me know key Codes, i will do some mods and post it.
if you have any Other Windows Mobile devices please test and tell me the result
Thank you

ExtremeGTX said:
as I know this can't be filtered, Why?
because it's related to the driver, actually two buttons has the same debounce but Samsung[i900\i8000] annoying driver is the first which receive press event then send this event to user level at which you can handle this event using any app
I have tried to build new driver but it is too much hard
Click to expand...
Click to collapse
I fully understand this, but you can mask at higher level the pressure like I described in my suggestion.
ExtremeGTX said:
Thanks for this idea, i worte it down
but this may lead to another timing issues on different CPUs
Click to expand...
Click to collapse
What about to create a calibration procedure logging user input for single and double pressure and use the logged data to setup the correct timing ?
In this way the differences between different devices/CPU and button will be automatically compensate by the calibration.
ExtremeGTX said:
Open Registry
Goto HKLM\Drivers\BuiltIn\Headset <Dll: xxx.dll>
search for the dll in Windows Directory and Extract it.
Click to expand...
Click to collapse
Unfortunaletly my HKLM\Drivers\BuiltIn\ section of the registry doesn't show any \Headset section This definitely means that the driver between omnia II e I are different. (maybe there are differences due to WM 6.1 on my omnia e 6.5 on your) Anyway, if you can give me the name of Omnia II dll I can try a search in windows directory to verify if anything similar exist for Omnia I.
ExtremeGTX said:
i had written an application before to let me know key Codes, i will do some mods and post it.
if you have any Other Windows Mobile devices please test and tell me the result
Thank you
Click to expand...
Click to collapse
I'am waiting for the raw test application but I suggest you to implement it in the standard Setting program for future debug and analysis.
Tomorrow I ask to a friend of mine to install your App in an LG phone mounting WM 6.5 to verify the differences in the behaviour with Samsung.

I sent my app to friend has a HTC Device for testing
So, I'm waiting for results from 2 Devices <HTC , LG>
All i need to know, Is my app compatible only with Omnia II or there is another compatible devices?!
I don't know if you try to write an app for Windows Mobile before but you will find that Microsoft has a limited Framework under (C++,C#)
for KeyCode app i will PM'd you after finish

Gsmart s1205 not responding on tapping the button on headset

Related

[APP][01.10.2008] Vibration Feedback

[SIZE=+1][highlight]Vibration Feedback for Windows Mobile 5+ (DISCONTINUED)[/highlight][/SIZE]
Original Thread: http://forum.xda-developers.com/showthread.php?t=412491
Different approach by writing an own touch.dll: http://forum.xda-developers.com/showthread.php?t=450256
This Software lets the phone vibrate when the touchscreen is touched. This feature is knwon from the Samsung Omnia Phone for example. It gives a better response and feeling for a finger tip on the screen.
It consists of two parts. The first one is VOA aka vibrate.exe (which is already mentioned in different threads) by Const and a configuration part VOAConfig by Kisja.
[SIZE="+1"][highlight]Help needed![/highlight][/SIZE]
VOA is not developed anymore and the sources are not availible. To optimize the reaction and some other things (see TODO later) we need to rewrite VOA. Since I have not enough time for it, we need someone who has experience in development. I could help with some ideas, since I know how VOA works. Send mit a PN or simply reply on this thread!
Current version with VOA 01.10.2008 and VOAConfig v1.5: Vibration_Feedback_1.5_01.10.2008_volume fix.cab
[SIZE=+1][highlight]VOA by Const[/highlight][/SIZE]
It's a little application which runs in background and reacts on user activities with vibration.
[highlight]Features:[/highlight]
- Vibrate always on touch events (mouse down, or mouse up)
- Vibrate only if SIP is active
- Vibrate on Key press (hardware keys)
- Adjustable vibration (duration in ms)
- configuration over command line parameters
- fully event based, so only battery consumption while vibrating
- No runtimes needed (pure C++ application)
- Works with WM 5+ (not 2003)
[highlight]Command Line Parameters:[/highlight]
-nled: Which nled to use (1 on Diamond)
-len: vibration duration in milliseconds
-ondown: 0 - on mouse up, 1 - on mouse down
-onsip: 0 - handle every touch event, 1 - vibrate only if SIP (or phone) is active
-keyon: 1 - Vibrate on Key press (is not affected by onsip!)
[highlight]Changes:[/highlight]
Code:
[URL="http://forum.xda-developers.com/attachment.php?attachmentid=117756"]01.10.2008[/URL]
- Fix for volume buttons (HTC Diamond), the keyboard part of
the code is completely disabled if onkey 0 is set
[URL="http://forum.xda-developers.com/attachment.php?attachmentid=117757"]10.09.2008[/URL]
- improved vibration length/strength
- With short values (10-30) is the vibration like in Teeter
- Phone Dialpad support if onsip 1 is set
[URL="http://forum.xda-developers.com/attachment.php?attachmentid=117758"]08.09.2008[/URL]
- support for HTC Diamond
[highlight]Known Issues/TODO:[/highlight]
- lags while fast typing (vibration doesn't stop or no input possible while vibrating, seems to be ROM or Phone dependent)
- Volume keys are blocked on HTC Diamond if onkey is set to 1. Don't use key vibration or enable the default windows volume bubble to have workung response and volume keys (Use Diamond Tweak for example).
- vibrates during an active call, if dialpad vibration is enabled
[highlight]Download:[/highlight]
VOA*.zip contains VOA.EXE and an exaple VOA.LNK file for launching VOA with desired parameters
With volume buttons fix: VOA_01.10.2008_volume_fix.zip
With Dialpad support: VOA_10.09.2008_Dialpad.zip
Without Dialpad support: VOA_10.09.2008.zip
[SIZE=+1][highlight]VOAConfig by Kisja[/highlight][/SIZE]
This application makes the configuration of VOA more simple.
[highlight]Features:[/highlight]
- Choose activity mode (always/SIP only) (-onsip 0/1)
- Enable Vibration on Keys (-onkey 0/1)
- Enable VOA on startup (autostart)
- Choose vibration duration/strength (-len x)
- Start/Stop VOA
- Saves settings in registry
- Source code open (VisualBasic .NET/VS 2008 Solution)
- .NET 2.0/3.5 Runtime needed
[highlight]Manual:[/highlight]
1) Adjust settings as desired
2) Tap on "Save" to save settings to registry and create new startup link
3) Tap on "Start/Stop" twice to restart VOA or reset device
[highlight]Known Issues/TODO:[/highlight]
- Restart VOA automatically after saving configuration
[highlight]Changes:[/highlight]
Code:
16.09.2008 v.1.5
- vibration strength costumization optimized.
Select between "low", "middle", "high" and adjust more prcise with the slider
- "Advanced Options" in "Options" menu:
- select NLED Interface (-nled option in VOA)
- select Event to react on (-ondown option in VOA)
- VOA is started using CreateProcess Call from coredll.dll (see "help needed" please!)
10.09.2008 v.1.4
- Startup folder not hardcoded anymore,
instead a localized path is used (Environment.GetFolderPath)
[highlight]Download:[/highlight]
The CAB file includes both applications in a single install file.
The version number reflects the version of VOAConfig and the Date stands for the release Date of VOA.
V 1.5 with current VOA in a cab: Vibration_Feedback_1.5_01.10.2008_volume fix.cab
Source (VS 2008 VB .NET Solution): VOAConfig_1.5_Source.zip
[SIZE=+1][highlight]What it does not do[/highlight][/SIZE]
and what will possibly never be implemented:
- hook in other applications. VOA uses a systemwide activity timer to recognize events and does not communicate directly with other applications. This causes sometimes a little lag between the touch event and the vibration. Hooking into other applications would speed it up, but most applications do not have public events to react on.
- reduce touch screen area (for which vibration is activated) to windows borders or something else (think of SIP). VOA reacts on touch events on the whole touch screen.
thank you very much.. this is a really great application!
is it possible to make a "dailpad vibration only" option?
thanks for the program!!!! it works great....
unfortunately i found 2 probles that are not important for me but maybe other people finds annoying:
1.- volume up/down key does not work when VOA.exe is active.When you press vol up or vol down the volume level bar appears, but you cant change volume with keys.
2.-voaconfig crashes when i try to "enable startup". i think this is caused because of folder names (i'm using a spanish rom, so my startup folder is "windows/inicio" and not "windows/startup").
thanks again for your work
app really slows down sms typing... is this something i can fix?
unfortunatly the vibration feedback is a serious battery eater...
but is also a cool idea.
jpresencia said:
[...]
2.-voaconfig crashes when i try to "enable startup". i think this is caused because of folder names (i'm using a spanish rom, so my startup folder is "windows/inicio" and not "windows/startup").
Click to expand...
Click to collapse
Oh jes, I forgot! Sure its always different. Does anyone know how to detect this automatically? A Reg Value with the path perhaps?
jpresencia said:
thanks for the program!!!! it works great....
unfortunately i found 2 probles that are not important for me but maybe other people finds annoying:
1.- volume up/down key does not work when VOA.exe is active.When you press vol up or vol down the volume level bar appears, but you cant change volume with keys.
2.-voaconfig crashes when i try to "enable startup". i think this is caused because of folder names (i'm using a spanish rom, so my startup folder is "windows/inicio" and not "windows/startup").
thanks again for your work
Click to expand...
Click to collapse
Got the same problems as you , for number 2, I am using English stock rom which used the path "windows/startup", yet voaconfig crashed when i start it.
cpt.bert said:
app really slows down sms typing...
Click to expand...
Click to collapse
I also noticed this... Hopefully this can be optimized, cause this app would be perfect
Even if duration is set to 1ms the length of the vibratation is far to long to be useful on my Polaris (HTC Touch Cruise). I've previously tried google Android which has the same functionality built-in. And it gives a small buzz on each key-press which was very good.
This application vibrates too long, and also it does not accept more keypresses when vibrating slowing down the whole input method.
add vibration when PhonePad on foreground and onsip=1
cool concept, I actually like it on my friend's Instinct.....but the battery thing and the accelerated wear on the vibration motor deters me (my titan battery is bad enough as it is already).
yesterday i just thought that something like this would be great
->someone´s up there
schnappus boesus said:
yesterday i just thought that something like this would be great
->someone´s up there
Click to expand...
Click to collapse
oh no, its a cool feature/app (especially on phones without a hard keyboard)
if I had something like a Diamond, I would defintely use this app.
Im using a german samsung i900 omnia, but your app doesnt work here. No vibration whatever setting i use.
Good Work, but seems that doesn't recognize diamond keyboard installed on my wm 6.1 artemis. If i set to vibrate only on SIP it never do, otherwise works great (at any click).
thank You
Bye
The main difference with the samsung version is that on the I900 the phone vibrates only when you press a button on your screen (or at least it is supposed to act like this), which really makes a difference between pressing "nothing" and pressing a button.
I would I love to see this feature, even on my I900, because samsung forgot many things (like the opera browser, in which the phone vibrates whatever the part of the application you're touching, or their SIP, where it does not vibrate even though it is THE software where it should).
*const said:
add vibration when PhonePad on foreground and onsip=1
Click to expand...
Click to collapse
thank you very much ... now it is nearly perfect
How about the slow sms typing and the error while trying to save settings?
cpt.bert said:
How about the slow sms typing and the error while trying to save settings?
Click to expand...
Click to collapse
what do you mean by "slow sms typing"? be more specific please
_4saken_ said:
what do you mean by "slow sms typing"? be more specific please
Click to expand...
Click to collapse
For every key I press on the keyboard the vibrator starts for a short period. During this period I cannot enter another key. Or atleast the key is not displayed until the vibration has stopped. So where I could write very fluid and quick before, I now feel it's going much slower and more like a stutter, if you know what I mean.

[28 March 2009]Start Menu Button Hook v. 0.3

StartButton.
25 February 2009 v. 0.1 - First release
5 March 2009 v. 0.2 - changes:
+ option to intercept the tap on the text on the right of the start button, usually "Start"
I don't think it is a good idea, but since someone requested it...
+ option to specify the full path to the launched program, works for programs on memory card
28 March 2009 v. 0.3 - changes:
+ option to hook the hardware Window Buttons for devices that have it
Developed with iLaunch (http://forum.xda-developers.com/showthread.php?t=486618) in mind, it's a very simple application: you can specify a program, and it will be run when you "tap" on the start icon.
It's main purpose is to replace the Start Menu with another "launcher" application, allowing to access anyway to the Windows Start Menu by tapping on the right of the Start Button.
Someone requested to extend the hook to the "hardware Start Button", but afaik there is not such a standard hardware button, at least on WM5 and WM6.
Some devices have an hardware button for the Start Menu, some don't, some don't have hardware buttons at all.
There are other applications that can manage hardware buttons, StartButton is for the icon!
It's based on the code of GreenButton by Supbro (http://forum.xda-developers.com/showthread.php?t=462963)
Both are open source GNU GPL V3
StartButton source is at Google Code:
http://code.google.com/p/startbutton/
How to start a program?
HKCU\software\iApps\StartButton\Run
the default value is: "iLaunch\iLaunch.exe" (without the ")
You can specify here a relative path to your program files folder: in an english wm program files folder is, well, "Program Files", and usually applications are located inside it.
so if you want to use say "MyApplication.exe" wich is inside the "MyApplicationFolder" wich is inside the "Program Files" folder:
the full path is:
\Program Files\MyApplicationFolder\MyApplication.exe
and then you need to write:
MyApplicationFolder\MyApplication.exe
if you want to start an application that is not on the Program Files folder, you can write the full path instead:
\Memory Card\Program FIles\MyApplicationFolder\MyApplication.exe
How to extend the hook to the "Start" text?
HKCU\software\iApps\StartButton\HookText
Set this value to 1 for hooking the word "Start"
Delete the key for hooking only the Start button
You have to soft reset your device for the changes to have effect
How to extend the hook to the hardware button?
HKCU\software\iApps\StartButton\HookWinKey
Set this value to 1 for hooking the hardware button
Delete the key for hooking only the screen Start button
You have to soft reset your device for the changes to have effect
thanks a TON for this man, it was exactly what I needed!
thanks again
btw, how much RAM does it consume?
mbarvian said:
thanks a TON for this man, it was exactly what I needed!
thanks again
btw, how much RAM does it consume?
Click to expand...
Click to collapse
According to fdcTaskManager, 1Kb
wow, this is awesome! have always wanted something like this! thank you.
It doesn't work on my Glofiish X600. When is enabled the start menu icon doesn't respond no matter what application I define in registry. When I disable it start menu returns to normal.
dancer_69 said:
It doesn't work on my Glofiish X600. When is enabled the start menu icon doesn't respond no matter what application I define in registry. When I disable it start menu returns to normal.
Click to expand...
Click to collapse
You have to soft reset the device when you change the registry value.
And could you post the path you entered in the registry?
Hmm, maybe someone could use this hack to make a WM 6.5 style launcher...
Just out of curiosity, is there any reason you elected to make this an application instead of a service? I'm not being critical I was just curious because I'm in the early stages of developing a GUI-less application as well and I'm trying to decide which is the best way to implement (service vs application).
Great work!
lotion said:
Just out of curiosity, is there any reason you elected to make this an application instead of a service? I'm not being critical I was just curious because I'm in the early stages of developing a GUI-less application as well and I'm trying to decide which is the best way to implement (service vs application).
Great work!
Click to expand...
Click to collapse
The real reason is that GreenButton is an application, and StartButton is based on GreenButton source code...
But probably changing to a service is a good idea
allelimo said:
You have to soft reset the device when you change the registry value.
And could you post the path you entered in the registry?
Click to expand...
Click to collapse
I didn't soft reset everytime and I tried with appilcations in storage card.
This is only for main memory's program files path I suppose.
Is there any way to start a program from another path and mostly from storage card?
Help
So how to I map this To my program list are menu.?
dancer_69 said:
I didn't soft reset everytime and I tried with appilcations in storage card.
This is only for main memory's program files path I suppose.
Is there any way to start a program from another path and mostly from storage card?
Click to expand...
Click to collapse
As for now (version 0.1) StartMenu and the target application must be in the main memory, I'm sorry but I didn't clearly stated this...
nucentury08 said:
So how to I map this To my program list are menu.?
Click to expand...
Click to collapse
Sorry, I don't understand your question
Update(01/03/09): Implemented display scaling so more apps work. New version based on android 1.1 with working Gmail, Calendar and Market.
bug with new version for Vogue
When screen shut off with End Call Button Screen placement is random
Is this just for a hardware button or can it replace a screen tap as well? I ask only because I have no hardware start button on my device.
theoneownz said:
Update(01/03/09): Implemented display scaling so more apps work. New version based on android 1.1 with working Gmail, Calendar and Market.
bug with new version for Vogue
When screen shut off with End Call Button Screen placement is random
Click to expand...
Click to collapse
Wrong thread I guess...?
zarxic said:
Is this just for a hardware button or can it replace a screen tap as well? I ask only because I have no hardware start button on my device.
Click to expand...
Click to collapse
It's not for the hardware button, it intercepts the click (or "tap") on the Start Menu icon.
can you make it fully replace startmenu? not just icon press?...if so please do another version
pcarvalho said:
can you make it fully replace startmenu? not just icon press?...if so please do another version
Click to expand...
Click to collapse
i was about to say that also, thank you
i still get the menu if i press the text....
+1 for full interception
+1 full start menu

[APP][Updated 27-05-2009] Simple Redial V1.1.1

I do not know why but redial applications are rare. I do not like any of them so I wrote one myself.
Requirements and compatibility.
.NET Compact Framework 2 is required. For any other requirement and compatibility you tell me. I am not a professional mobile developer and I can only test on my phone, a HTC Diamond2 (Topaz) with WM6.1
Install
Run SimpleRedial.cab. Can be installed in main memory or storage card.
Uninstall
Use Remove Programs in Settings
Usage
Simple Redial calls the most recent number in the dial history. No history, no call. Tap and hold the most recent number label at the top of the screen to select dial history filter (All,Missed,Incoming,Outgoing).
Call attempt number and time between call attempts can be selected by tapping and holding the labels.
On tapping Redial the program starts the call attempts and goes on until one of these happens.
1 - A call attempt is answered. The program produces a 'connected' notification (sound plus short vibration) and exit. Speakerphone can be optionally activated (check Keep on Speakerphone).
2 - You tap Abort. After current attempt ending the program produces a 'not connected' notification (sound plus vibration).
3 - You tap Exit. After current attempt ending the program exit (no notification).
4 - All the attempts fail. The program produces a 'not connected' notification (sound plus vibration).
5 - An inbound call arrives between call attempts. The program exit (no notification).
The 'not connected' notification is played when the phone call is not active and is so a 'normal' notification. Therefore, you can control it with volume and vibrate/silent settings.
The 'connected' notification is played when the phone call is active and this is somewhat tricky. You can not control it with volume and vibrate/silent settings but you can select whether it is played on speakerphone (check Sound on Speakerphone) or on the phone speaker (uncheck Sound on Speakerphone).
Tweaking
The sounds used by the program are Connected.wma and NotConnected.wma in the installation directory. You can change them if you like by replacing these files. If your Connected.wma is longer and gets truncated you should change the registry HKCU\Software\SimpleRedial\ConnectedSoundSecs. This is the time in seconds the program allows for Connected.wma playing before exiting.
USUAL LEGAL DISCLAIMER
Use Simple Redial at your own risk! NO WARRANTY! Although running this application does not seem to produce any damage on my phone, I take no responsibility for any kind of damage or major or minor inconvenience caused to devices or data or person or whatever else due to this application and its usage.
PROBLEM: on some phones popup menus do not popup, can't say why as it should be managed by Framework and I could not reproduce the problem. At any rate at post #9 you can download the previous version that used drop down lists.
Nice work. I'll try it. I knew only one redial app before you created this. Thanks. I'll start to annoy the ones that owe me some money with this
Idea - this kind of app should be service to save process slots (which are sow few as we know - 32)
darfri said:
Idea - this kind of app should be service...
Click to expand...
Click to collapse
The ideal option would be to have it inside the dialer application as a 'fire (a call) and forget (till answer)' option, otherwise compromise are in order.
For example, I would have liked to start the call attemps in a hidden way (maybe using Tapi) and then handover it to the normal phone window on call answer. Unfortunately, this is not possible (or, at least, I could not find a way) so to keep the phone window hidden I had to set my application as topmost. It works, provided you do not start switching applications with a task manager, but it is not very elegant.
Unfortunately, it seems redial is not an interesting capability (maybe it's me that know strange people with an almost alway busy phone) and MS or HTC leave the dialer as it is.
I cannot seem to figure out how I can change the number of attempts and how long in between each attempt.
toddpedersen said:
I cannot seem to figure out how I can change the number of attempts and how long in between each attempt.
Click to expand...
Click to collapse
Tap and hold the labels until a popup menu appears.
I do that and see that something is happening, butI get now menu. I just reboot the device and same result. I get the circle of dots when I press and hold, but no menu.
Let me try that again. I do that and see that something is happening, but I get NO menue. I rebooted the device and got the same result. Circle of dots when I press and old, but no menu.
toddpedersen said:
Let me try that again. I do that and see that something is happening, but I get NO menue. I rebooted the device and got the same result. Circle of dots when I press and old, but no menu.
Click to expand...
Click to collapse
That's strange. Tap and hold popup is a .NET Framework provided feature and it works flawlessly on my phone.
Do you have .NET Compact Framework 2 installed? Does tap and hold works in other programs on your device? Are you tapping exactly over 'xx attempts' label and 'xx secs between attempts' label?
At any rate here is old version 1.1 that used drop down lists. I moved to menus because it is supposed to be more finger friendly.
I will try the new file. I have running Compact Framework 3.5. Yes press and hold works for other programs.
Do I get this right? The app redials not if the line is busy - you have to start the app to set the redialprocess in motion?
peterpan911 said:
Do I get this right? The app redials not if the line is busy - you have to start the app to set the redialprocess in motion?
Click to expand...
Click to collapse
Yes, the application does not start by itself. The usage as I thougt it is...
1 - I call let's say Jack and I find that the line is busy. Now the Jack's number is on top of call history.
2 - I run SimpleRedial, it gets the Jack's number from the call history and when I tap Redial it starts calling again and again.
3 - When Jack answer SimpleRedial notifies me and exits.
oruam57 said:
Yes, the application does not start by itself. The usage as I thougt it is...
1 - I call let's say Jack and I find that the line is busy. Now the Jack's number is on top of call history.
2 - I run SimpleRedial, it gets the Jack's number from the call history and when I tap Redial it starts calling again and again.
3 - When Jack answer SimpleRedial notifies me and exits.
Click to expand...
Click to collapse
Do you plan to make it an auto redial? If so can you add the option of whether I want the number redialed, if so how many times? It would be very useful then. I have been waiting for years for such an app. Pocketmax.net has one, but the developer is not working on it. Yours could be the perfect app. All the best looking forward to further development.
kull said:
Do you plan to make it an auto redial?
Click to expand...
Click to collapse
Sorry, but no. I have only Compact Framework development tools (as a byproduct of my "real" .NET programming activities) and Compact Framework applications are very easy to code but real resource hogs. Therefore, making SimpleRedial resident would be quite a bad idea, it would not even be really resident because the Framework can decide to kill background applications to recover resources. Moreover, it would became not really "Simple"
kull said:
... add the option of whether I want the number redialed, if so how many times...
Click to expand...
Click to collapse
There is already an option for the redial attemps number. Just tap and hold the "xx attemps" label to get the popup menu (on some phone it does not work, can't say why, but on post #9 there is the old version that uses drop down lists).
Thanks for the reply.
hELP
How can i mod my dream im new to this
very great APP thx!
idea: I've got confused with difference between "speaker phone" and "phonespeaker"
Kaiser running WM6.1 CF3.5.
I've installed to the storage card.
The selection popups work fine.
With "sound on speakerphone" enabled, but "keep on speakerphone" disabled I get this error when the call connects:
Code:
simpleredial.exe
ObjectDisposedException
at Microsoft.AGL.Common.MISC.HandleAr()
at System.Windows.Forms.Control.get_Parent()
at System.Windows.Forms.Control.get_Enabled()
at System.Windows.Forms.Control._SyncEnabled()
at System.Windows.Forms.Control.set_Enabled()
at Redial.MainForm.RedialEnd()
at System.Reflection.RuntimeMethodInfo.InternalInvoke()
at System.Reflection.RuntimeMethodInfo.InternalInvoke()
at System.Reflection.RuntimeMethodInfo.Invoke()
at System.Reflection.MethodBase.Invoke()
at TASK.Invoke()
at System.Windows.Forms.Control._InvokeAll()
at System.Windows.Forms.Control.WnProc()
at System.Windows.Forms.ContainerControl.WnProc()
at System.Windows.Forms.Form.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Microsoft.AGL.Forms.EVL.EnterMainLoop()
at System.Windows.Forms.Application.Run()
at Redial.Program.Main()
The call stays connected, but simple redial crashes. Also, the writeup indicates that the notification should be via sound (works sorta) and vibrate (does not work). The notification sound does not come over the speakerphone.
When I enable "sounds over speakerphone" and enable "keep on speakerphone", the sound does not come over the speakerphone, but once the call connects the speakerphone comes on (after a brief delay)
When a busy signal is encountered it seems like the app waits for the line to be disconnected by the service provided (busy signal runs for over 1 minute) is there a ways to decrease this or to disconnect when a busy signal is detected by tone? This would increase the effectiveness of the redialer as well as decrease the burden on the device (wasted resources waiting for the telcom to disconnect the call)
The app has great potential, it would be nice to see the last couple of bugs ironed out.
It would be highly appreciated if it can be set to 1 sec between atempt!! Thank you!
BallGor said:
It would be highly appreciated if it can be set to 1 sec between atempt!! Thank you!
Click to expand...
Click to collapse
I subscribe as well to this kind request to have 1sec between atempts.

TG01 & MSVC - Button Mapping

Hi Everyone
Sorry if this has been asked before (can't find on searches)
Orange have just replaced my broken HD with a TG01 and I am trying to get MSVC 1.6 installed. Trouble is I can't find any way to remap a hardware button
Any help will be appreciated
Regards
CD (UK)
I know the registry to map the camera key but after reset the changed reg value resets back to default . If you're interested in experimenting further in that i can tell you, other than that i don't know how to map other keys, sorry.
Hi Chromedome, I have tried MSVC but it does not activate when I press the talk button on my BT headset.
Does MSVC work on your TG01 via BT headset?
dr_strangetrick said:
Hi Chromedome, I have tried MSVC but it does not activate when I press the talk button on my BT headset.
Does MSVC work on your TG01 via BT headset?
Click to expand...
Click to collapse
No, I have an integrated BT in the car so never use a headset, sorry
Always used MSVC for years just for general dialling rather than searching through all my contacts but can't find how map a button
I really have mixed feelings about this TG01: Nice big screen but find it 'tinny' and unstable. Have to re-boot to un-freeze it often. Poor call quality.
Has the potential to be a really good phone
CD
Maybe a prg called AE Button plus is what you need..I don´t use it myself so can´t tell much
AE Button Plus
This is single-handedly the greatest program I have on my TG01, common .... think about it ... what is the one problem that we all have with out TG01's? ... well.. how about this.. it only has 6 buttons, and all of them are very necessary. Can you remap your power button? Well the power button is kinda important.. isn't it? How about the volume up and down button? No... those are kinda important too.. ahhh how about the camera button.. I don't need a friekin' camera anyways(being sarcastic here).. the thing is is that we can't remap anything... unless you install AE Button Plus.
but....... You can remap each key (haven't tried the power button ehheeh) including the softkeys "home" and the button that looks like "<-", here is the nifty thing, you can remap them to respond to 1, 2, or 3 clicks, or long press, so each button can now have at least 2-3 items mapped to them. You can setup an audio record and audio stop button with Resco Audio Recorder all mapped to your camera key and still have your camera key work as normal, so essential your camera key has 4 keys mapped to it. If you hold it down for a long press then it will bring up the camera, then a short press will take a photo, if you press it two times then it will start recording in Resco Audio Recorder, and if you hit it three times then it will stop. This is how I setup mine. I also mapped the "<-" softkey button so that a double click will bring up the SPB Mobile Shell Task Manager. I mean, it is the greatest thing ever. Also, I bought it yesterday through handago for only 5.99 dollars cuz I have a 25% off coupon. Then when you buy it, the annoying 5 start-up splash screen doesn't appear at boot time from your device. Here is the info.
http://ae.inc.ru/aebplus.php - developers website, after you buy the item then you want to go back here and download the latest version v2.6.6.2, also, you have to activate it through the website using the registration code that you received from Handango.
http://www.handango.com/catalog/Pro...&deviceId=2180&platformId=30&productId=182670 - Buy the item here, you can get 25 percent off of the purchase price by using the coupon "GAMES25", I know it is not a game, but it worked for me ehheehhe. The version that is downloaded from Handango is version v2.6.5. I have been using the "GAMES25" coupon for about 6 months now eheheh, I think they forgot to expire this coupon ehehhe.
Seriously pplz, try the trial, this is the best 5 bucks I have ever spent on software, is the absolute proverbial icing on cake, such a nice finishing touch to my TG01. All in all, this program adds more than 20 new buttons to our devices. Seriously, also I just thought of something you know how you added the little joystick functionality to your usb port (http://www.fpsece.net/forum2/viewtopic.php?f=13&t=423&start=0), now you can program those joystick buttons to do additional things too heheh, this program for me has truly completed my phone.
Now if someone can help me with my non-mounting SD card problem I would much appreciate that!!! hehehehee.... hope this helps someone.
-Kili.
PS: When mapping the softkeys, for some reason you have to go from right to left, so map the "<-" key first, then the zoom bar then the home key or something like that, but there is an order to it, just a weird quark and also, there are issues, in particular the newest versions of TouchFlo3D that block some buttons so AE Button Plus is unable to intercept and process them. One definitely needs to test AE Button Plus and see if it will work as you before purchasing. EHHEEHH This is my disclaimer section!
chromedome said:
No, I have an integrated BT in the car so never use a headset, sorry
Always used MSVC for years just for general dialling rather than searching through all my contacts but can't find how map a button
I really have mixed feelings about this TG01: Nice big screen but find it 'tinny' and unstable. Have to re-boot to un-freeze it often. Poor call quality.
Has the potential to be a really good phone
CD
Click to expand...
Click to collapse
Don't give up on it yet. Many including myself thought that way at first, but when ppl started cooking new roms things got much better. Now i can boldly say that i dont regret buying this phone, especially at such a bargain price. Try the 6.1 rom from here (ffboy must get all the credit for it), read about how to flash a new rom here (SDDL+ Method) and in a few minutes you will have a totaly new phone!! Sound is very very clear (no more comlaints about not being heard etc.), no gps connection problem, free boot ram higher than ever and battery life at it's best.
Good luck! Phone is great, give it another chance!
plus AE Button Plus....
Kilihari said:
AE Button Plus
This is single-handedly the greatest program I have on my TG01, common .... think about it ...
Click to expand...
Click to collapse
Absolutely agree!
I've been using this program for ages.It's a pity that TG01 has so few hardware buttons:
Anyway: My settings:
volume up for:
1 Single press: Press PageDn (very useful reading)
2 Double press: Ok/Close
3 Triple press: Switch Display Off/On
Volume down for
1 Single press: Resco Audio Recorder -rec (This device don't have REC button.....)
2 Double press: Resco Audio Recorder -exit
3 Triple press: Switch Display Off/On
I'm also using the useless zoom bar to change apps (Like ALT+TAB)
How to?:
Tap Left softkey: File
Add button
Add Key (Touch the zoom bar: The program detects Key code 405C as Win Key)
Tap Add Key
You'll have a new button called Button #405C
Tap & Hold over the new line (Button #405C) and assign Alt+Tab to it
The program ask to self reset, say Yes and .... here you are!
Enjoy!
Thank you Thank you Thank you
Thanks Guys
Flashed with Noksers ROM & SPB
Will try AE Button plus - looks like it will be the DB's (had something similar on my HD (Mobile Magic)
Once again thanks for all your help
CD (UK)
chromedome said:
Thanks Guys
Flashed with Noksers ROM & SPB
Will try AE Button plus - looks like it will be the DB's (had something similar on my HD (Mobile Magic)
Once again thanks for all your help
CD (UK)
Click to expand...
Click to collapse
Nice to hear you found interest in your phone again
chromedome said:
Thanks Guys
Flashed with Noksers ROM & SPB
Will try AE Button plus - looks like it will be the DB's (had something similar on my HD (Mobile Magic)
Once again thanks for all your help
CD (UK)
Click to expand...
Click to collapse
Also playing with MSVC and my TG01...
If you want a simple free alternative, you can use HButton 2.3 to remap camera button.
From message #6:
Kilihari said:
This is single-handedly the greatest program I have on my TG01 ... AE Button Plus. You can remap each key ... $8 ...
Click to expand...
Click to collapse
If anyone (except me) is still interested - now free.
http://ae.inc.ru/aebplus.php
pol098 said:
From message #6:
If anyone (except me) is still interested - now free.
http://ae.inc.ru/aebplus.php
Click to expand...
Click to collapse
Many thanks for flagging
Yes just now happened to be of particular interest, although I had a paid version long ago !
Regards,
Kevin

[XPM] XposedMTC - multipe mods for MTCB-Headunits

Discontinued
Due to a lack of free time and newer hardware (MTCD), I am no longer supporting this module. The code is freely available on my github.
XposedMTC -- mods for Huifei/RM/KLD/GS/JY headunits
Right now, the mod consists of the following features:
Change preferred music app from MTCMusic to something else
Change preferred video app from MTCMovie to something else
Ability to override the default mode switch behavior to include only the sources you want (in addition to Music)
Overridden mode switching can add your selected Nav app (in Settings->Gps) to the rotation
Ability to apply Loudness on boot (newer system images persist this setting)
Time-based dimmer and adjustable brightness level when time is outside dimming period
Ability to automatically set dimming start and end times based on current date, timezone, and GPS location (no data connection required)
Ability to learn your radio presets and re-apply them if/when the presets get lost (usually on hard-reset)
3 replacement launchers for user-selected Music, Videos, and Radio apps for non-SWC vehicles
Preference to allow all BT OBD adapters to pair with headunit
Intents to start and stop the XMTC service
Preference to override the stock volume OSD and place volume level in the statusbar
Launcher to manually start the reverse camera view (BackView) -- disabled for now
Screen Filter integration for ultimate dimming control
Changelog
v1.0 - Initial release
v1.0.1 - Added Playerpro control intents -- forgot to change startService to sendBroadcast for Playerpro -- redownload this if you previously downloaded it
v1.2 - Added dimmer control, debug preference
v1.2.1 - Fixed switchpreference controls that were disabling themselves
v1.2.5 - Added replacement launchers for Music, Video, and Radio for non-SWC users
v1.3.0 - Rolled all beta and experimental changes into a stable build
v1.4.2 - Fixed BT OBD override (tested on latest Malaysk rom with a generic BT ELM327 v1.5 adapter with name CBT.)
Things for the future
Hard button remapping -- mtc-keys works for this
Add user-selected app to the mode switch rotation (e.g. Torque)
Fix system crash when Line-In (AUX) source is added to modeswitch rotation
Figure out a way to turn off the backlight completely, and allow it to be mapped to a button press/long press -- Screen Filter integration allows for complete backlight adjustment
Add preference to enable full backlight brightness when BackView is foreground
Add preference to enable dimmer control via headlight switch/illumination wire
Translations
If anyone would like to submit a translation in their native language (or one other than US English), please visit this link and contribute. Thanks!
Completed translations (thanks!)
Hungarian - @peti007
This module requires that you first install the Xposed Framework and enable the app_process.
Added the module to the Xposed Repo for easy updating from the headunit.
Don't know if this is the right place for this, but I've searched around and can't find an answer.
Am having a problem setting default Music app, i've changed it to poweramp, and it works great, however have noticed that when I start the radio app, then switch to poweramp, the radio app doesn't stop. Is there anything else I have to setup to get the radio app to mute when changing a music app?
Syphe said:
Am having a problem setting default Music app, i've changed it to poweramp, and it works great, however have noticed that when I start the radio app, then switch to poweramp, the radio app doesn't stop. Is there anything else I have to setup to get the radio app to mute when changing a music app?
Click to expand...
Click to collapse
How are you switching between PA and Radio? Mode button or launcher icon?
If you're not using a mode button on steering wheel controls, then you have to use the included launchers called MyMusic, and MyRadio in order to properly switch audio sources.
My unit has hardware buttons which launch the sources, so I use those, I did notice launching MyMusic did mute the radio (think it launched MTCMusic), but the "Media" button on the unit just launched poweramp (after changing default app in xposedmtc) and left the radio going.
Syphe said:
My unit has hardware buttons which launch the sources, so I use those, I did notice launching MyMusic did mute the radio (think it launched MTCMusic), but the "Media" button on the unit just launched poweramp (after changing default app in xposedmtc) and left the radio going.
Click to expand...
Click to collapse
Oh I see. You can use mtc-keys to remap those buttons to launch the MyMusic and MyRadio activities.
agentdr8 said:
Oh I see. You can use mtc-keys to remap those buttons to launch the MyMusic and MyRadio activities.
Click to expand...
Click to collapse
cheers, I'll give that a try next time I get in the car
Syphe said:
cheers, I'll give that a try next time I get in the car
Click to expand...
Click to collapse
I believe the proper mtc-keys.ini syntax would look something like:
activity_##=com.dr8.xposedmtc/.activities.Music
activity_##=com.dr8.xposedmtc/.activities.Radio
Where ## is the keycode of that particular button.
agentdr8 said:
Oh I see. You can use mtc-keys to remap those buttons to launch the MyMusic and MyRadio activities.
Click to expand...
Click to collapse
Syphe said:
cheers, I'll give that a try next time I get in the car
Click to expand...
Click to collapse
Hi,
I have been having similar issue with my Pumpkin head unit which also has hard buttons. I'm running XposedMTC and mtc-keys modules and I'd already used mtc-keys to map my "MEDIA" hard button to music app directly as XposedMTC on its own didn't do it for my chosen music app. When I switch from music app (Mixzing) to Radio the music app is still playing.
I hadn't spotted the "MyMusic" and "MyRadio" activities in the app drawer screen before (only had the unit just over a week) but even using these these instead of the hard buttons the music app still plays over the radio and vice versa (i.e one doesn't stop the other). Shame as when I found your posts above I thought these activities would be the solution to my issue and I could just remap hardware buttons to these with mtc-keys. :crying:
WestlakeSt said:
When I switch from music app (Mixzing) to Radio the music app is still playing.
Click to expand...
Click to collapse
Originally the only supported media player in XMTC was Poweramp, but I've since added PlayerPro, and few others that utilize generic Android intents for control. It's possible Mixzing doesn't listen for these intents, and specific support would need to be added.
agentdr8 said:
Originally the only supported media player in XMTC was Poweramp, but I've since added PlayerPro, and few others that utilize generic Android intents for control. It's possible Mixzing doesn't listen for these intents, and specific support would need to be added.
Click to expand...
Click to collapse
Hi agentdr8,
Thanks for the information. I will try Poweramp and PlayerPro as Mixzing is just one of a few alternative apps I'm trying out so not committed to keeping it at this stage. If Poweramp or Player Pro work well for a car head unit in terms of user interface and hardware abilities (i.e. hard buttons working as I want) then I will purchase one or the other.
Will get the trials for each app and give them a try tomorrow.
Kind regards,
Steve
agentdr8 said:
I believe the proper mtc-keys.ini syntax would look something like:
activity_##=com.dr8.xposedmtc/.activities.Music
activity_##=com.dr8.xposedmtc/.activities.Radio
Where ## is the keycode of that particular button.
Click to expand...
Click to collapse
Hi agentdr8,
I have now tried Poweramp and PlayerPro and both will switch the radio off if I use the MyMusic/MyRadio icons. So I tried using the above syntax in the mtc-keys.ini for the appropriate key codes but this doesn't appear to work. I amended them on the off chance that it may have needed to be "MyMusic" and "MyRadio" at the end of each line (as that is what the icons are called in the app drawer part) but either way nothing is triggered on pushing the buttons.
WestlakeSt said:
Hi agentdr8,
I have now tried Poweramp and PlayerPro and both will switch the radio off if I use the MyMusic/MyRadio icons. So I tried using the above syntax in the mtc-keys.ini for the appropriate key codes but this doesn't appear to work. I amended them on the off chance that it may have needed to be "MyMusic" and "MyRadio" at the end of each line (as that is what the icons are called in the app drawer part) but either way nothing is triggered on pushing the buttons.
Click to expand...
Click to collapse
Hmm. I may have to export those activities in the manifest, based on what I read on the mtc-keys info.
EDIT: Since I have an intent filter on those activities, they should be exported by default. The mtc-keys syntax might need tweaking. Try activity_##=com.dr8.xposedmtc.activities/Radio
@agentdr8, can you please add a dark theme to this app? I mean, black background and white text?
It kills my eyes every time I open it...
Cheers!
robertut said:
@agentdr8, can you please add a dark theme to this app? I mean, black background and white text?
It kills my eyes every time I open it...
Click to expand...
Click to collapse
I'll add it to my list for the next release.
Many thanks in advance.
WestlakeSt said:
Hi agentdr8,
I have now tried Poweramp and PlayerPro and both will switch the radio off if I use the MyMusic/MyRadio icons. So I tried using the above syntax in the mtc-keys.ini for the appropriate key codes but this doesn't appear to work. I amended them on the off chance that it may have needed to be "MyMusic" and "MyRadio" at the end of each line (as that is what the icons are called in the app drawer part) but either way nothing is triggered on pushing the buttons.
Click to expand...
Click to collapse
I'm getting the same thing. When I change mtc-keys, my home screen just receives a home key press (I think).
If I change activity to app and set a package name, it loads the app, so just an issue with activity_xx not resolving.
agentdr8 said:
Hmm. I may have to export those activities in the manifest, based on what I read on the mtc-keys info.
EDIT: Since I have an intent filter on those activities, they should be exported by default. The mtc-keys syntax might need tweaking. Try activity_##=com.dr8.xposedmtc.activities/Radio
Click to expand...
Click to collapse
Syphe said:
I'm getting the same thing. When I change mtc-keys, my home screen just receives a home key press (I think).
If I change activity to app and set a package name, it loads the app, so just an issue with activity_xx not resolving.
Click to expand...
Click to collapse
Hi again,
Just to update. I am still not having much luck with getting the hardware keys to work. I have tried the following combinations in the mtc-keys.ini file (only one pair at a time) and rebooted the unit each time
43 is my "MEDIA" button and 42 is my "BAND" button which I would like to map to Poweramp and Radio respectively.
activity_43=com.dr8.xposedmtc/.activities.Music
activity_42=com.dr8.xposedmtc/.activities.Radio
activity_43=com.dr8.xposedmtc/.activities.MyMusic
activity_42=com.dr8.xposedmtc/.activities.MyRadio
activity_43=com.dr8.xposedmtc.activities/Music
activity_42=com.dr8.xposedmtc.activities/Radio
activity_43=com.dr8.xposedmtc.activities/MyMusic
activity_42=com.dr8.xposedmtc.activities/MyRadio
activity_43=com.dr8.xposedmtc.activities/.Music
activity_42=com.dr8.xposedmtc.activities/.Radio
activity_43=com.dr8.xposedmtc.activities/.MyMusic
activity_42=com.dr8.xposedmtc.activities/.MyRadio
NB: I tried "MyMusic" and "MyRadio" since that is the name of the icon if you go to the apps drawer.
With some of the above, pushing the hardware button would take me back to the home screen, but wouldnt stop anything playing or launch anything else. To be clear, if I'd launched Poweramp with the MyMusic activity in the app drawer and then pushed the BAND hardware button, the unit would return to the home screen, but poweramp would still be playing and the radio would not launch.
Other combinations would do nothing at all.
Are there any other possible combinations I could try i.e. dots and slashes being in different places?
Just for information to anyone who is going to try and suggest help I know next to nothing about android programming or how apps work behind the scenes so please feel free to be very patronizing in how to possibly get this working in the mtc-keys ini file. :fingers-crossed:
WestlakeSt said:
Are there any other possible combinations I could try i.e. dots and slashes being in different places?
Just for information to anyone who is going to try and suggest help I know next to nothing about android programming or how apps work behind the scenes so please feel free to be very patronizing in how to possibly get this working in the mtc-keys ini file. :fingers-crossed:
Click to expand...
Click to collapse
I'll take a look at mtc-keys and figure out what the proper syntax is. It definitely wouldn't be the My* names, as those are just the labels for the launcher icons. The activity classes are named Music and Radio.
WestlakeSt said:
Hi again,
Just to update. I am still not having much luck with getting the hardware keys to work. I have tried the following combinations in the mtc-keys.ini file (only one pair at a time) and rebooted the unit each time
43 is my "MEDIA" button and 42 is my "BAND" button which I would like to map to Poweramp and Radio respectively.
activity_43=com.dr8.xposedmtc/.activities.Music
activity_42=com.dr8.xposedmtc/.activities.Radio
activity_43=com.dr8.xposedmtc/.activities.MyMusic
activity_42=com.dr8.xposedmtc/.activities.MyRadio
activity_43=com.dr8.xposedmtc.activities/Music
activity_42=com.dr8.xposedmtc.activities/Radio
activity_43=com.dr8.xposedmtc.activities/MyMusic
activity_42=com.dr8.xposedmtc.activities/MyRadio
activity_43=com.dr8.xposedmtc.activities/.Music
activity_42=com.dr8.xposedmtc.activities/.Radio
activity_43=com.dr8.xposedmtc.activities/.MyMusic
activity_42=com.dr8.xposedmtc.activities/.MyRadio
NB: I tried "MyMusic" and "MyRadio" since that is the name of the icon if you go to the apps drawer.
With some of the above, pushing the hardware button would take me back to the home screen, but wouldnt stop anything playing or launch anything else. To be clear, if I'd launched Poweramp with the MyMusic activity in the app drawer and then pushed the BAND hardware button, the unit would return to the home screen, but poweramp would still be playing and the radio would not launch.
Other combinations would do nothing at all.
Are there any other possible combinations I could try i.e. dots and slashes being in different places?
Just for information to anyone who is going to try and suggest help I know next to nothing about android programming or how apps work behind the scenes so please feel free to be very patronizing in how to possibly get this working in the mtc-keys ini file. :fingers-crossed:
Click to expand...
Click to collapse
You can try writing app_43=package name instead of activity_43=activity. You can find the package name of the application using an app from play store, search for package name viewer.
p_mike83 said:
You can try writing app_43=package name instead of activity_43=activity. You can find the package name of the application using an app from play store, search for package name viewer.
Click to expand...
Click to collapse
For most packages, that's fine, as there's only a single activity within it. But with XMTC, the default activity is the preferences, and then there's the 3 My* activities.

Categories

Resources