[Q] playing audio to earpiece - Windows Phone 7 Software Development

I'm creation an application which will need to play audio through the earpiece of my windows phone 7.
But after searching for quite some time (google aswell as msdn and so) I can't seem to find a way to do this?
Can someone help me with this?
Thanks in advance

It looks like this is not possible yet. However if Skype wants to be able to create something for wp7 it should be available in the WP7 Mango release.

Related

HTC audio Drivers update

Just saw this. Gonna try it.
16 May 2007,
HTC audio Drivers
Downloading and installing this driver update will provide your HTC mobile device with the latest available optimised software for use with the following accessories:
YC A120 Y-Cable adaptor
RC W100 Remote Controller
RC E100 Remote Controller
[FONT=&quot]http://www.europe.htc.com/support/software/htcp3300.html
************************
later:
[/FONT] It soft resets after the update and takes up about 0.2-0.3 mb main memory. The update does show up in the add/remove programs list. Didn’t know I had a problem with my audio drivers…
Now Items like Y- Cabel are really working, without the internal speaker.
could it be the same as driver shipped with the W100 remote?
I'm going to try it. Hoping it *might* fix my problem described in my review of the remote:
http://www.expansys.com/review.aspx?i=145150
otherwise, don't bother.
I cant install this driver on Tinity WM6
Any idea?
it certainly looks like you can... http://www.europe.htc.com/support/software/htcp3600.html. however, when i try to install it, my phone says the driver already exits...
Saw it on the HTC and have it downloaded just in case it disappears of the site because...
Where is the SD card fix gone ? (already have it but seems to be off the site/ well hidden)
This is the Wired Remote Control Driver
Just installed, it is indeed the driver that came with the W100 remote. BUT!!!
This fixes the stupid problem that the remote cannot be used/detected when the phone goes to power off! So if you don't have the W100 remote, you have no need for this really, the stock headset works just fine. Great, I don't need to refund my headset!
cortezzi said:
it certainly looks like you can... http://www.europe.htc.com/support/software/htcp3600.html. however, when i try to install it, my phone says the driver already exits...
Click to expand...
Click to collapse
That's what my phone says too.
Any idea how to fix it?
Does the HTC W100 Remote work with TCPMP?
I have followed Humps and installed the TCPMP Player and it seems quite good, however when I press start on the remote, the system fires up Windows media and then I need to go into the library to get my moosic to play. Is there a way to map the remote to access TCPMP and start the music straight away?
I like the remote it means that the phone is in my jacket and when I get bored with a tune then just forward without having to unlock the device and scrabble with buttons..............
E100
Hi,
Is there someone wich know what is the RC E100 remote controller ?
If you mean; what is the HTC RC W100 remote control? then have a look at the HTC website. It is a wired remote control that you plug your normal 3.5mm headphone jack into and conrol the media player while the Orbit/Artemis/P3300 is in your pocket or bag.
It's this control here
...only for WMPLAYER
...went all the way, using WMPLAYER to be able to use BT Headphones and hating it!!! (why can't it have a simple 'file list' instead of all the lbrary stuff which you can't manage thru your WM5!)
With a 'Y adaptor' I went back to MortPlayer and love it!!!
And now I receive my w100 and..... it only works with WMPLAYER again (ok, unless you want to ignore the controls alltogether )
Any 'control' key you press opens a wmplayer (even if MortPlayer is already running). There must be a 'link' somewhere between the buttons and the function they perform.... just that I can't find it.
Someone have any idea?? (.......MORT, if you read this, save me from WMPLAYER please
Prof
Fucawi said:
I have followed Humps and installed the TCPMP Player and it seems quite good, however when I press start on the remote, the system fires up Windows media and then I need to go into the library to get my moosic to play. Is there a way to map the remote to access TCPMP and start the music straight away?
I like the remote it means that the phone is in my jacket and when I get bored with a tune then just forward without having to unlock the device and scrabble with buttons..............
Click to expand...
Click to collapse
Hi Fucawi, I have not found a way to get it going with TCPMP, not even with the audio driver update. The buttons on the remote does not appear to be a regular AppButton so TCPMP cannot assign functions against it. I've been trolling through registry and stuff and couldn't find any clues.
May be if we generate enough noises, HTC will release another audio driver update so we can assign functions to the buttons or let apps use those buttons.
Techies and software peeps - help!
Humps, I thought that this forum would be the best place to get this done as people on here have a wealth of knowledge about the registry et al. HTC would not issue another driver for a couple of wingers like you and I, or even if 20 people on this forum wanted it. It doesn't make commercial sense....
There has to be a way to change the default settings to map to TCPMP or Mort or PocketMusic as the remote calls up the WMPlayer application with a button press. Surely one of our esteemed moderators and long suffering techie fiddlers knows their way around these devices and can either give us direction or instructions on how to do this.
Let's have a first 'peep' at the drivers....
One of the files included is: HTCWMPPlug.dll
Literally, from the info on the file
'HTC WMP Plugin for Control WMP Commands'
and I understand WMP stands for 'Windows Media Player'
Seems like it's something more than just a registry entry
... just exploring ...
Prof
Bakterio said:
Let's have a first 'peep' at the drivers....
One of the files included is: HTCWMPPlug.dll
Literally, from the info on the file
'HTC WMP Plugin for Control WMP Commands'
and I understand WMP stands for 'Windows Media Player'
Seems like it's something more than just a registry entry
... just exploring ...
Prof
Click to expand...
Click to collapse
I think you're right. TCPMP can detect hardware buttons on most devices, be it an iPAQ or HTC phone. Those buttons are implemented as AppButtons (correct me here please) which programmes can access directly. Since the buttons on the remote are software driven, the only way other apps can use it is if the driver somehow creates virtual logical buttons that maps to the remote. Which is also why I doubt anyone here will be able to do much. The hardware is great, shame about the driver.
AE BUTTON PLUS has an option to define virtual buttons
I don't have a clue if that would work for what you want, but may be worth a go ?
hays said:
AE BUTTON PLUS has an option to define virtual buttons
I don't have a clue if that would work for what you want, but may be worth a go ?
Click to expand...
Click to collapse
Just tried, doesn't work. Like TCPMP, it can't detect the buttons. I don't programme WinCE devices, but in programming sense, think the OS gives you access to a list of buttons. E.g. calling System.getButtons() but those buttons on the remote don't appear in that method call and cannot be used by applications typically designed for the traditional buttons. Only HTC's driver can provide access.
I have to say, WMP is pretty useless as a player software. Limiting the playback buttons to it is like crippling your device to crap software. I couoldn't understand what HTC was thinking.
I'm also disappointed not to have seen this post before buying th W100 ...
I want to use it with PocketMusic , eh HTC ! wake up !!!

stream from veetle.com?

I wonder if its possible to stream from veetle.com to the blackstone?
And if so what software to i need for that?
Anybody knows?
Never used it myself so not sure of the features you'll be trying to use but this thread may be of some use to you:
http://forum.xda-developers.com/showthread.php?t=547018
...or it might not!
Either way I would recommend that you at least have Coreplayer installed as it handles loads of different stream types very well.
Veetle has it's own download for the stream on PC, I've used it for about 6 months. It's great but no clue how to make it work for Windows Mobile, that would be unreal if someone figured it out.

Stream mms:// (SMF, SmoothStreamingMediaElement, etc)

Hello,
I have seen quite some information regarding the streaming of live streams on the Windows Phone. However, I did not get it to work on my developer device.
Here are the problems:
1. I did not find a streaming url that Windows Phone could play (wmv, mms, etc), so if anyone tried it please let me know
2. If I add, for example, a smoothmedia player as follows:
Added reference to "Microsoft.Web.Media.SmoothStreaming"
Added this:
xmlns:ss="clr-namespace:Microsoft.Web.Media.SmoothStreaming;assembly=Microsoft.Web.Media.SmoothStreaming"
And added this:
<ss:SmoothStreamingMediaElement x:Name="ss_stream" />
And in the cs:
ss_stream.SmoothStreamingSource = new Uri("mms://theurl", UriKind.Absolute);
ss_stream.Play();
It will throw the following error:
"Play is not allowed when there is no source set."
So how can dynamically set the source to an element like that? (Had the same problem for smf).
3. Has anyone been successful to get the example for Windows Phone from Silverlight Media Framework to work?
The example can be found at the end of this page: http://smf.codeplex.com/documentation
I really appreciate it if you guys could help because I finished my application completely except for the streaming of urls, since I can't get it to work. I am aware that the emulator doesn't play all stream types, but I even can't get anything to work on my developer device.
Regards,
Sander
Hi. I'm trying SmoothStreamingMediaElement to play mms:// url and when I call mediaPlayer.Play() I get same message, "Play is not allowed when there is no source set."
Did you find out the solution?
I have tried playing it in the .xaml with AutoPlay set to true and then it works:
<SSME:SmoothStreamingMediaElement x:Name="mediaPlayer" SmoothStreamingSource="http://ecn.channel9.msdn.com/o9/content/smf/smoothcontent/bbbwp7/big buck bunny.ism/manifest"
AutoPlay="True"
Volume="1" />
But if I set AutoPlay to true and I try to call mediaPlayer.Play() in the related .xaml.cs I get same "not allowed" exception.
Thanks.
Did you close the Zune before starting your app? Zune is preventing playback of any media stream. Use WPConnect instead.
hey guys.
try adding "&filename=file.wmv" to the url you want to play!
Hi again. First of all, can you play an mms:// url with SmoothStramingMediaElement or MediaElement in Windows Phone 7? I think this is only posible in Silverlight, but not Silverlight for Windows Phone.
And I found out why I got that "not allowed" message. I was trying to get the SmoothStreamingMediaElement from Application.Resources, and then play, but it doesn't work. It works with MediaElement. Any idea how to solve this? I need it in Application.Resouces because I want to play and audio stream when application starts and it must not stop even you navigate to another xaml file.
To use MS Smooth Streaming technology you need a SmoothStreamingMediaElement (be sure to get a latest version from MS!)
Just drop it on WP7 page, in C# code assign a SmoothStreamingSource property and you allset. You may call "Play" method or set SmoothStreamingMediaElement.AutoPlay = true.
Everything works as expected. BTW, do not add "mms" to the media url! It sould be
Code:
smoothStreamingMediaElement1.SmoothStreamingSource = new Uri("http://ecn.channel9.msdn.com/o9/content/smf/smoothcontent/bbbwp7/big buck bunny.ism/manifest");
for example.
As I said I was trying to get the SmoothStreamingMediaElement from Application.Resources, and that was the problem. To do so you need to use a ControlTemplate. I'm doing so now and it works fine. Thanks anyway to all for your help.
Regards.

[App] Around Sound - Have your phone listen for you while you enjoy music or movies

This was my first app and recently just overhauled it with a lot of the updates I had been doing to Wave Control. I've gotten great feedback from XDA members on Wave Control, so I'd like to see what you all think of this one.
Update (10/11/2012): Half of proceeds from app sales from October will be donated to Breast Cancer Research
More Info Here
Around Sound allows you to listen to music, watch movies, or play games and still be aware of your surroundings. It's meant for when you're using sound isolating earbuds like Shure or others that are basically earplugs so you have no idea what's going on around you.
It uses the mic on your headset or phone to listen around you. You set how loud a noise needs to be to trigger it. When a loud sound is detected, it pauses your music or movie for a timeout period. During this time, it feeds the outside sound through to your headphones so you can hear what's going on. After the timeout period it then resumes playback.
With games, you can use the non-pause mode which will overlay the outside sounds on top of the current audio. Usually the game audio will lower itself during this time. I would really like for games to support the pause feature. I've reached out to some developers but need everyone's help to request the feature be added to their favorite games.
Play Store Links:
Free Version
Pro Version
Some known issues:
1. Audio lag - when the outside sound is fed through there's about a 500ms delay. It's a known issue with Android. It's rumored to have been fixed in Jelly Bean (or there's some low level API's available to fix it) but I haven't had a chance to play with it yet.
2. Bluetooth Mic Option - Currently only works with mono headsets and not the AD2P kind
Some use cases:
- At the office: pause your music automatically when someone is trying to get your attention
- At home: Don't miss door slams, children crying, your dog barking, or other warning signs

- At the airport: Relax at the gate and have your music or movie pause when the gate announcements start

- Anywhere relatively quiet where you want to know if something happens around you
Permissions Needed:
Network Communications: Full Internet Access (For Ad Supported Version)
Phone Calls: Read Phone status (shuts off the audio processing during calls)
Hardware Controls: Audio Settings, Record Audio (to use the microphone, no audio is ever stored)
Coarse Location(Not GPS): For Ad Supported Version
Write External Storage: For Ad Supported Version
Billing: For in app upgrades
Bluetooth: For Bluetooth mic feature
Broadcast Sticky: For Bluetooth mic feature
Limitations:

-Needs Froyo or Above (Android version 2.2+)
-For Pause Music Mode: You can't be in a really loud environment otherwise the microphone input will be maxed out and there is no way to detect a louder sound. Use Street Mode instead
Coming Soon:
Timeout period Adjustment
Volume control of mic feed during timeout
Developed on a Samsung Galaxy SIII
Wow, very cool and unique app! Thank you! This will be very useful.
Sent from my GT-I9300 using Tapatalk 2
Whoosh13 said:
Wow, very cool and unique app! Thank you! This will be very useful.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Glad you like it
Let me know if there are any new features you'd like to see.
This is a great idea but can you get the phones mic to work instead for people without mics on there headset?
SkillfulMmd said:
This is a great idea but can you get the phones mic to work instead for people without mics on there headset?
Click to expand...
Click to collapse
It will use whatever the available mic is. If there's only the one on the phone it'll use that one. If there's one of the headset then it'll use that one instead.
I have on todo list to put the option to force use of the phone's mic even if there's one on the headset.
Awesome in tat case ill download it now and have a go
Great idea! Thank you so much!
Throwing out of the window from my flying Ferrari killer S3
I noticed in the app description:
Note: Bluetooth Mic Option (pro or pro features) currently only works with mono headsets and not the AD2P kind
Click to expand...
Click to collapse
I assume my headset is the A2DP kind, it's a stereo bluetooth headset. I haven't had much luck with any application being able to use my bluetooth mic. I've tried other headsets but they were all stereo bluetooth. I'm using a nexus 7. Is this a planned upcoming feature? Is there a underlying reason why so few apps (any?) seem to support this?
sark666 said:
I noticed in the app description:
I assume my headset is the A2DP kind, it's a stereo bluetooth headset. I haven't had much luck with any application being able to use my bluetooth mic. I've tried other headsets but they were all stereo bluetooth. I'm using a nexus 7. Is this a planned upcoming feature? Is there a underlying reason why so few apps (any?) seem to support this?
Click to expand...
Click to collapse
I'm actually getting mixed feedback. Apparently it does work on some phone/headset combos. The way it behaves seems more like a bug in Android than an issue with headsets. I've heard Bluetooth is one area phone manufacturers sometimes tweak so maybe that's what's going on here. I need to get more data to really be sure.
I'd say give it a shot and see if it does work. Maybe Jelly Bean handle BT better.
MarksThinkTank said:
I'm actually getting mixed feedback. Apparently it does work on some phone/headset combos. The way it behaves seems more like a bug in Android than an issue with headsets. I've heard Bluetooth is one area phone manufacturers sometimes tweak so maybe that's what's going on here. I need to get more data to really be sure.
I'd say give it a shot and see if it does work. Maybe Jelly Bean handle BT better.
Click to expand...
Click to collapse
Ok thanks. Hmm, I just installed it but didn't realize it's a pro feature. Not that I wouldn't buy it, but I wanted to use it with a stereo bluetooth headset, and going by so far with my experience with bluetooth recording in general with jellybean (as in nothing working so far with 4 different headsets) so I suspect it probably wouldn't have worked.
I suspect as well it's an android issue.
New Angle
So after un-intentionally (really, I swear!) ignoring my girlfriend while playing a game, I realized... I could use Around Sound with games.
So far the non-pause mode works pretty well with the games I play. I'm reaching out to some other developers to include the ability to pause when asked by Around Sound.
I need people's help to request their favorite game dev's to support auto-pause with Around Sound
Tasker!
New Tasker Support
V2.20 has just been released
-New: Profiles: Save all settings like Target Media Player and trigger level
-Tasker Plugin: Change Profiles, Start and Stop control (Find it in Tasker's Plugin section)
-Bug Fixes and UI Tweaks
Let me know what you guys think
Great work! Really good thinking mate
I spend 80% time in my office on music and this would definitely help :good:
Just installed it. will test for couple of days and go for pro version, Keep on innovating
October Experiment
Been taking a break from development... though not really by choice.
From my dev blog:
I just got home after a 10 day stay in the hospital for an unexpected (but luckily) minor surgery. Medicine and disease have unsurprisingly been on my mind.
I want to contribute to fields that really help people. But, I’m no doctor or medical researcher. I’m an app developer making apps that I hope people find useful but are hardly life changing. So, how to reconcile these things?
To fill the days during my hospital stay, I began to read Walter Isaacson’s excellent Ben Franklin Biography. (Recommended from here) In it, I was inspired by Franklin’s effort to tie private enterprise with the public good. Creating a win/win situation where both benefited.
And so, the idea was born to give away half of the proceeds from my app sales. This month being Breast Cancer Awareness Month is a perfect time to start. For the month of October, 50% of my earnings from the sales of my apps (including in app purchases) will be donated to breast cancer research.
I hope this will start a trend and other developers will do similar offers.
This is an experiment for this month. If it proves successful and I can still afford to eat, then next month can feature a different cause to support.
I’m excited to finally be able to give back more and make app development have a meaningful impact. This truly gives me real motivation to keep innovating and working hard.
Ideas and comments are most welcome,
Mark​
Can you guys help me spread the word about this? Maybe we can change the economics of app development and charity.

Recording direct streams within kodi for android

I followed this guys tutorial when I had a Linux laptop for recording direct streams from within kodi using the context menu once I set it up it worked perfectly. He has another video tut where he has been trying to figure out how to do this for android and he needs a lil help from anyone who knows anything about the way android works. If someone could elaborate or help him it would be a brilliant thing for us to have for the shield. Check it out here
https://youtu.be/BAwICjC2ImA

Categories

Resources