AudioManager.setParameters - Android Software Development

Android's AudioManager has a setParameters method, that seems to be able of manipulating the audio hardware.
Has anyone found documentation to the mentioned parameters?
You can find some info in the Android Reference,
unfortunately I can't post links yet..

antweb said:
Android's AudioManager has a setParameters method, that seems to be able of manipulating the audio hardware.
Has anyone found documentation to the mentioned parameters?
You can find some info in the Android Reference,
unfortunately I can't post links yet..
Click to expand...
Click to collapse
Here's some info...
http://www.androidjavadoc.com/1.0_r1_src/android/media/AudioService.html

brins0 said:
Here's some info...
Click to expand...
Click to collapse
Looks like the Android Reference to me.
Again, it's just key - value. But where is a list of all allowed keys?!

antweb said:
Looks like the Android Reference to me.
Again, it's just key - value. But where is a list of all allowed keys?!
Click to expand...
Click to collapse
It depends on the hardware xml file.

Related

GPRS.exe Original Thread or Update

GPRS.exe was a program someone developed here which activated the data connection. Unfortunately, I can't find the original thread, so if someone can point me there this post can be deleted.
I was curious as to who the developer was, and if they could easily pump out a version that doesn't display any pop up messages (New IP or Can't connect), either by default or command line. This is so it can be used in startup scripts for programs that don't connect by default.
Thanks.
If you are looking for the author, I beleive it originated at MoDaCo...Follow this thread might take you there:
http://forum.xda-developers.com/showthread.php?t=333429&highlight=NOGPRS
The program can just be found here:
http://forum.xda-developers.com/showthread.php?t=310087&highlight=NOGPRS
jomo25 said:
If you are looking for the author, I beleive it originated at MoDaCo...Follow this thread might take you there:
http://forum.xda-developers.com/showthread.php?t=333429&highlight=NOGPRS
The program can just be found here:
http://forum.xda-developers.com/showthread.php?t=310087&highlight=NOGPRS
Click to expand...
Click to collapse
This is not what he is looking for, he is looking for GPRS.exe, not NOGRPS, they do completely different things.
As far as having a version of GPRS.exe without messageboxes, I've been looking for that too, but haven't found one yet. Another option, is to use Mortscript which has a function you can call that to connects to the data network.
GPRS On
Here the prog.
Just execute the exe on you device
Cheers
hrb
hrb said:
Here the prog.
Just execute the exe on you device
Cheers
hrb
Click to expand...
Click to collapse
Doesnt work on HTC Kaiser with official WM06.
Nadav.

[REQ] Registry help with Diamond2 GSensor

I'm working witht he Diamond 2 Gsensor sdk on my Diamond and I have been able to successfully add string values to the whitlist section in the gsensors registry. (HKCU\Software\HTC\HTCSENSOR\Whitelist)
The whitelist values enable rotation. My question is how can I create a "Blacklist" so to speak that would contain values for apps I dont want rotated? Is it possible? If so is it as easy as crating the said paths?
Anybody?...
powe6563 said:
I'm working witht he Diamond 2 Gsensor sdk on my Diamond and I have been able to successfully add string values to the whitlist section in the gsensors registry. (HKCU\Software\HTC\HTCSENSOR\Whitelist)
The whitelist values enable rotation. My question is how can I create a "Blacklist" so to speak that would contain values for apps I dont want rotated? Is it possible? If so is it as easy as crating the said paths?
Click to expand...
Click to collapse
I have not tried this yet myself but i would guess, and tell me if im wrong, that the only time it will rotate is if the app is in the white list if its not in the white list then it will not rotate.
irus said:
I have not tried this yet myself but i would guess, and tell me if im wrong, that the only time it will rotate is if the app is in the white list if its not in the white list then it will not rotate.
Click to expand...
Click to collapse
Well this is true, however, the whitelist uses class names to determine what apps to rotate. The class name "dialog" refers to multiple apps like the phone dialer, call status, sms composer, and more. So when I add "dialog" in the whitelist it rotates all of these. I would like to try and make an exception list that uses the process name or window name as the identifyer. That way I could have dialog in the whitelist and cprog.exe in the exceptions or blacklist key. It may not be possible but thats what I'm asking I guess.
bump... c'mon guys theres gotta be an answer to this.
I found this in http://www.htcmania.com/showthread.php?t=36214
is in spanish.
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\M oduleName]
"Album"="\\Windows\\HTCAlbum.exe"
"Calculator"="\\Windows\\htcCalculator.exe"
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\W hiteList]
"TestHTCSensorDemoAP"="TESTHTCSENSORDEMOAP"
"Album"="HTCAlbumClass"
"Calculator"="CalculatorMain"
"Opera"="Opera_MainWndClass"
"SMS"="Dialog"
"Calendar"="Calendar"
"FileExplorer"="FEXPLORE"
"PROGRAM"="Explore"
"IExplore"="IExplore"
"Manila"="Manila"
vengadorhq said:
I found this in http://www.htcmania.com/showthread.php?t=36214
is in spanish.
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\M oduleName]
"Album"="\\Windows\\HTCAlbum.exe"
"Calculator"="\\Windows\\htcCalculator.exe"
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\W hiteList]
"TestHTCSensorDemoAP"="TESTHTCSENSORDEMOAP"
"Album"="HTCAlbumClass"
"Calculator"="CalculatorMain"
"Opera"="Opera_MainWndClass"
"SMS"="Dialog"
"Calendar"="Calendar"
"FileExplorer"="FEXPLORE"
"PROGRAM"="Explore"
"IExplore"="IExplore"
"Manila"="Manila"
Click to expand...
Click to collapse
Thanks, I have that much so far but I'm still looking for a way to specify between cprog and tmail in the whitelist because they both use Dialog as a class name. Thanks for the effort though
can someone make it cab file?
powe6563 said:
Thanks, I have that much so far but I'm still looking for a way to specify between cprog and tmail in the whitelist because they both use Dialog as a class name. Thanks for the effort though
Click to expand...
Click to collapse
Did you try:
HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\M oduleName]
"Album"="\\Windows\\HTCAlbum.exe"
"Calculator"="\\Windows\\htcCalculator.exe"
"SMS"="\\Windows\\tmail.exe"
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\W hiteList]
"TestHTCSensorDemoAP"="TESTHTCSENSORDEMOAP"
"Album"="HTCAlbumClass"
"Calculator"="CalculatorMain"
"Opera"="Opera_MainWndClass"
"SMS"="Dialog"
Seems logical to me. But as always the logical thing isn't the right choice by definition.
One tip though, if you want to know something, just try! That's the way other people get their knowledge about these things....
And afterwards, please share your results with the rest of the world ofcourse!
rondol1 said:
Did you try:
HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\M oduleName]
"Album"="\\Windows\\HTCAlbum.exe"
"Calculator"="\\Windows\\htcCalculator.exe"
"SMS"="\\Windows\\tmail.exe"
[HKEY_CURRENT_USER\Software\HTC\HTCSENSOR\GSensor\W hiteList]
"TestHTCSensorDemoAP"="TESTHTCSENSORDEMOAP"
"Album"="HTCAlbumClass"
"Calculator"="CalculatorMain"
"Opera"="Opera_MainWndClass"
"SMS"="Dialog"
Seems logical to me. But as always the logical thing isn't the right choice by definition.
One tip though, if you want to know something, just try! That's the way other people get their knowledge about these things....
And afterwards, please share your results with the rest of the world ofcourse!
Click to expand...
Click to collapse
I've tried, negative...
dingil said:
I've tried, negative...
Click to expand...
Click to collapse
Same here. I still havent figured out a way around this.

How to overcome titanium limit on no. of elements?

Hi, there seems to be a limitation on the number of elements one can show on each panel. I've got to the stage where every time I add a new text element it replaces an existing one... i.e. I can't add more. I've heard there's a way around this, can anyone point me in the right direction?
Thanks.
Yes - at the moment no solution, only workaround, like I wrote you.
But in the dialog of drkfngthdragnlrd there could come out some new findings.
Let's go on here to continue the posts of *20items-limit* from JMLToday-Skins-Thread.
Last post there from
drkfngthdragnlrd said:
Try manually entering it, do not use ATPluginInstaller, It's designed for known working formats, not trying custom code.
EDIT: Speaking of ATPluginInstaller, great app, but maybe time for someone to make a newer version as it is getting old now & custom code like this will give errors. Plus, it doesn't support writing to specific CPR's that aren't named Titanium_###.cpr. I wonder what ever happened to AppStar...
HUM: Just noticed something to do with T-Mobile's Myfaves Plugin for CHome. We're missing a dll.
Code:
[HKEY_CLASSES_ROOT\CLSID\{3BA1B2A6-CFE8-4220-91C1-526CB9F00337}]
@="CMHOME MyFaves plugin"
[HKEY_CLASSES_ROOT\CLSID\{3BA1B2A6-CFE8-4220-91C1-526CB9F00337}\InprocServer32]
@="CMHOMEaddon.dll"
"ThreadingModel"="free"
Click to expand...
Click to collapse
MichelDiamond said:
Then we should find it
OK - I tried again - and Plugin-Installer is only used to make a copy to cpr in JMLToday for changing skins. No different to manual edit... but Plugin disappears with Layers per Page (No error message, only disappear)
Yes - we need an update of ATPluginInstaller. Mortscript 4.2. provides also a customized Setup.dll.
Perhaps we should go on talking about the limit in the thread, which Jumba opened:
http://forum.xda-developers.com/showthread.php?t=544576
to have the finding in one place?
I'll answer there and set a link to this page
Click to expand...
Click to collapse

contacts dispaly

how can I change the contact names list to first than last names rather than last name to first?
Search for an application called, "Contact Changer"... and I believe it can be found on the PPCGeeks website, in their forums.
It should be in version 1.3 if I'm not mistaken. I have it on my device. It quickly runs a scan of your contacts, then SHAZAM... switches 'em up appropriately by user settings.
it looks like its $1.. and why does it scan SHAZAM?
shimmer401 said:
it looks like its $1.. and why does it scan SHAZAM?
Click to expand...
Click to collapse
I think he meant shazam..as in "presto changeo"...not the app.
shimmer401 said:
it looks like its $1.. and why does it scan SHAZAM?
Click to expand...
Click to collapse
No, the application is definitely FREEWARE. I would not have advertised for it otherwise... and like I said, check PPCGeeks, or do some thorough Google searching. If you still come up empty-handed, I'll find the .CAB on my PC and post it here.
bently118 said:
I think he meant shazam..as in "presto changeo"...not the app.
Click to expand...
Click to collapse
Indeed. That is correct.
here ya go
i love you man

MSM8960 AT commands

I am looking for AT commands for the MSM8960 (Samsung Galaxy S3). I've found some PDFs for other chipsets, but not this one.
Anyone can point me in the right direction, that would be great. (more detail than I can get from AT+CLAC) Thanks
Yes, look at the AT sets used for Gobi 2000/3000. They (Qualcomm) have it published on their site... Then if you have AT interface, you can compare to the AT set for other modems like the XG626, that I have documented fairly thoroughly.
PS. Be careful with what AT's you send! They can potentially re-program your phone! ==> Softbrick!
Try reading your Ciphering indicator by following THESE instructions:
I have at least 2 pdf's about the AT commands in use here. But they are watermarked. If you have or know of something that can remove the watermarks i'd gladly share those and all my other qualcomm pdf's.
-SLS-
SouL Shadow: Do you have the filenames of your AT documents?
E:V:A - Also I would like to see documentation for the XG626 as well.. Thanks for your Cipher indicator guide, and I have
Code:
AT+CRSM=176,28589,0,0,3
+CRSM: 144,0,"000000"
OK
Although, I am not 100% sure what the purpose of the cipher indicator is.
Also, I am looking for an answer to this.... When I run echo -e "AT$QCBANDPREF=?\r\n" > /dev/smd0, I get AT=? Error. But I'm guessing the modem is refusing to list as it's in some sort of protected mode.
enigma99a said:
SouL Shadow: Do you have the filenames of your AT documents?
E:V:A - Also I would like to see documentation for the XG626 as well.. Thanks for your Cipher indicator guide, and I have
Code:
AT+CRSM=176,28589,0,0,3
+CRSM: 144,0,"000000"
OK
Although, I am not 100% sure what the purpose of the cipher indicator is.
Also, I am looking for an answer to this.... When I run echo -e "AT$QCBANDPREF=?\r\n" > /dev/smd0, I get AT=? Error. But I'm guessing the modem is refusing to list as it's in some sort of protected mode.
Click to expand...
Click to collapse
I'll upload what I have and post links here shortly.
-SLS-
SouL Shadow said:
I finally found a program to remove the encryption from my pdf's and wrote a script to remove the watermarks.
I'll upload what I have and post links here shortly.
-SLS-
Click to expand...
Click to collapse
SLS, thanks I look forward to it
enigma99a said:
... Although, I am not 100% sure what the purpose of the cipher indicator is. Also, I am looking for an answer to this.... When I run echo -e "AT$QCBANDPREF=?\r\n" > /dev/smd0, I get AT=? Error. But I'm guessing the modem is refusing to list as it's in some sort of protected mode.
Click to expand...
Click to collapse
Autoprime put together a nice Qualcomm list in THIS post.
However, I have not played with these devices myself, but I wouldn't be surprised if there is a particular AT command that enables additional functionality, just as there is in the XGOLD 626 based modems.
Also, why don't you just connect with putty or microcom to that device, instead of sending via echo? Finally don't forget to turn on both local "echo" and verbose mode to get result strings back.
I don't have anything about Qualcomm AT commands.
enigma99a said:
Also, I am looking for an answer to this.... When I run echo -e "AT$QCBANDPREF=?\r\n" > /dev/smd0, I get AT=? Error. But I'm guessing the modem is refusing to list as it's in some sort of protected mode.
Click to expand...
Click to collapse
I found the issue. RAT Selection was restricted globally, so by enabling this, the command will list & set. But it looks like LTE was missing from the list so it's useless for me.
enigma99a said:
I found the issue. RAT Selection was restricted globally, so by enabling this, the command will list & set. But it looks like LTE was missing from the list so it's useless for me.
Click to expand...
Click to collapse
I'm also seeking for LTE at commands for this chipset. I'm wondering to monitor the radio state changes. Does anyone know them? I can try it on my HTC one x.
Thanks,
Andong
I'm also trying to do the same thing. I haven't found any good way to get LTE. I did find AT$QCMRUE, which seems interesting but have not found any good way to set the values. If anyone has any info on this or AT$QCMRUC, I'd love to hear it.
shepherd17 said:
I'm also trying to do the same thing. I haven't found any good way to get LTE. I did find AT$QCMRUE, which seems interesting but have not found any good way to set the values. If anyone has any info on this or AT$QCMRUC, I'd love to hear it.
Click to expand...
Click to collapse
$QCMRUC -- Command is used to clear/delete MRU database.
$QCMRUE -- Command is used to edit/set MRU database.
Click to expand...
Click to collapse
You can find more info in the AT documents listed in THIS thread.
---
EDIT: Sorry, There were a copy/paste error, mixing the functionality. Now, ok.
E:V:A said:
You can find more info in the AT documents listed in THIS thread.
Click to expand...
Click to collapse
Thanks for the link and info.
When I try to enter AT$QCMRUE, this is the output I get:
Code:
AT$QCMRUE
OK
AT$QCMRUE?
0,4,"0,1,2,3,4,5,,"00000"
AT$QCMRUE=?
$QCMRUE: (0-11),
(0-CDMA,1-HDR,2-GSM,3-WCDMA,4-LTE),
CDMA/HDR,
"0.BC0",
... long list of band code information here...
OK
The output of AT$QCMRUE? seems to be badly formatted (3 quotes means one is mismatched).
When I try to do anything with $QCMRUC, however, it seems to fail.
Code:
AT$QCMRUC
OK
AT$QCMRUC?
ERROR
AT$QCMRUC=?
ERROR
The first OK gives me a faint hope that this command is supported but I have no idea how to format it if it is.
Is there any further information on these commands in terms of setting the supported bands?
shepherd17 said:
The output of AT$QCMRUE? seems to be badly formatted (3 quotes means one is mismatched).
Click to expand...
Click to collapse
The Qulacomm firmware is completely full of misss-spelings and unmatched quotes etc. so no worry... Just look in NV items, and you'll find a whole bunch more as they propagate into the future and into source code! Ha ha!
When I try to do anything with $QCMRUC, however, it seems to fail... The first OK gives me a faint hope that this command is supported but I have no idea how to format it if it is.
Click to expand...
Click to collapse
Try to enable verbose+ mode, to see more details.
Code:
ATV1
AT+CMEE=2
It could be that you need to first provide the SPC code and/or be in Factory Test Mode, before certain commands are accepted. Read the AT docs provided in my thread.

Categories

Resources