We made some changes

Our new forums are here!

Saving money on data

Mint SIM is the perfect way to get cheap data in the U.S.

Don't count Windows Phone out just yet

Dead? Psh. Here are 5 reasons to stick with Windows 10 Mobile

VPN vs. Proxy

The difference between a proxy and a VPN

Latitude attitude

Dell Latitude 7280 is a business laptop with tons of consumer attitude

4K all the way

You probably don't NEED a 4K webcam, but we love Logitech's BRIO 4K anyway

Long live Windows phone

Contrary to popular belief, Windows phone won't die anytime soon


Dell's already awesome XPS 15 gets even better in 2017

Surface Pwn 5

Surface Pro 5, Project NEON details leaked on LinkedIn?

Redefining the PC

Why Microsoft's Surface phone could be MUCH more than a mere 'phone'

Surface table meets Windows 10

Yes, we did put Windows 10 on the original Surface table ... and it rocks

Cream o' the crop

Before buying a Microsoft laptop, check out our pick for the absolute best

Simple and secure, just the way I like it

We think Windows 10 Cloud is a great idea, here's why

uber micro

Halo Wars 2 has something for everyone. Here's our full review.

Oldie but goldie

We reviewed Microsoft's decade-old Surface table

Creators Update comin' at ya

These are the coolest new features in the next big Xbox One update (video)

Buyer's guide

The Razer Blade 14 is the best laptop Razer has to offer

Windows 10 app gems

10 terrific Windows 10 apps you should be using

Tower of power

Here's what we think of Dell's XPS Tower Special Edition

Quite a deal

Grab the complete C# coding bootcamp for $41!

< >
Welcome to the Windows Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 2 of 2
  1. Daniel Ratcliffe's Avatar
    Retired Moderator

    3,046 Posts
    Global Posts
    4,703 Global Posts
    0 Post(s)
    0 Thread(s)
    Ok, so I am now clogged up with two more issues. The first is EmailComposeTask issues, the second is AudioStreamingAgent and AudioPlayerAgent issues.


    [CODE]<TextBlock HorizontalAlignment="Left" Style="{StaticResource PhoneTextSubtleStyle}" TextWrapping="Wrap" VerticalAlignment="Top" Width="446">Thank you for your interest! Please note that you are contacting the developer.<LineBreak/></TextBlock>
    <TextBlock HorizontalAlignment="Left" Style="{StaticResource PhoneTextAccentStyle}" TextWrapping="Wrap" VerticalAlignment="Top" Width="446">Your name</TextBlock>
    <TextBox HorizontalAlignment="Left" Margin="0,0,12,0" MinWidth="480" InputScope="LogOnName" TextWrapping="Wrap" VerticalAlignment="Top"/>
    <TextBlock HorizontalAlignment="Left" Style="{StaticResource PhoneTextAccentStyle}" TextWrapping="Wrap" VerticalAlignment="Top" Width="46">Your email</TextBlock>
    <TextBox HorizontalAlignment="Left" Margin="0,0,12,0" MinWidth="480" InputScope="EmailUserName" TextWrapping="Wrap" VerticalAlignment="Top"/>
    <Button Click="EmailButton_Click">Compile to Email</Button>

    [CODE]private void EmailButton_Click(object sender, RoutedEventArgs e)
    EmailComposeTask ect = newEmailComposeTask();
    ect.To = "paladinleeds.programming@gmail.com";
    ect.Subject = "Feedback Form";
    ect.Body = "";


    Now, I want to be able to use the code there (with different text boxes), that when compiled to email, creates something that looks a little bit like this. Let's fill the name TextBox with Joe Bloggs and the email TextBox with bloggs.j@sonicmail.co.uk

    Click image for larger version. 

Name:	Screen Capture.jpg 
Views:	2 
Size:	39.0 KB 
ID:	26818

    Please note that I will of course be changing the text boxes to things more appropriate, I just copy-pasted the code from Visual Studio and this was originally going to be a feedback form that would then automatically send from the app, and haven't yet changed the code since deciding against using that and just opting for an EmailComposeTask instead. There won't be any images etc being sent, just plain text. Any help would be greatly appreciated.

    Audio Streaming/Player Agent Integration

    Now, this issue is a little bit trickier. I'm wanting to create a playlist that goes between station ID/advert/bridge, to the actual stream itself. Let's grab the links to the bridge and the stream so you can get an idea of what I mean. I'll want the playlist to automatically loop, and I'll also want the playlist to be able to bypass the Shuffle command. So, let's name the bridge as "Bridge", any show or other station-relevant adverts as "Advert", the station IDs as "Jingle", and stream as "Stream". Here's the way I would want the playlist to look (or something similar, as long as no 2 "Stream" options are directly adjacent to each other).

    1. Bridge
    2. Stream
    3. Advert
    4. Stream
    5. Jingle
    6. Stream
    7. Advert
    8. Stream

    And you get the picture. My question is, how do I go about integrating that. Lemme give you a link to the Bridge and the Stream.
    http://1radio.org/mp3/bridge.mp3 - the Bridge. Please note that all the adverts work in the exact same way. They are remote files ending with .mp3
    http://spring.wavestreamer.com:8863/ - the Stream Please note no other direct link is available. This URL for example automatically processes into WinAmp as a radio stream, but will require an AudioStreamingAgent on WP unless there is something I am missing.
  2. Daniel Ratcliffe's Avatar
    Retired Moderator

    3,046 Posts
    Global Posts
    4,703 Global Posts
    0 Post(s)
    0 Thread(s)
    I've fixed the EmailComposeTask issue! So now the feedback forms work! Here is the code I used. I have a text box with the following:

    <TextBlock HorizontalAlignment="Left" Style="{StaticResource PhoneTextAccentStyle}" TextWrapping="Wrap" VerticalAlignment="Top" Width="446">Bugs</TextBlock>
    <TextBox HorizontalAlignment="Left" Margin="0,0,12,0" MinWidth="480" InputScope="Text" Name="TB_Bugs" TextWrapping="Wrap" MinHeight="150" VerticalAlignment="Top"/>
    <TextBlock HorizontalAlignment="Left" Style="{StaticResource PhoneTextAccentStyle}" TextWrapping="Wrap" VerticalAlignment="Top" Width="446">Suggestions</TextBlock>
    <TextBox HorizontalAlignment="Left" Margin="0,0,12,0" MinWidth="480" InputScope="Text" Name="TB_Suggestions" TextWrapping="Wrap" MinHeight="150" VerticalAlignment="Top"/>

    [CODE]ect.Body = "Bugs: " + Environment.NewLine + TB_Bugs.Text + Environment.NewLine + Environment.NewLine + "Suggestions: " + Environment.NewLine + TB_Suggestions.Text;[/CODE]

    This was how I fixed my Feedback form issue. Just the AudioPlayerAgent and AudioStreamingAgent to worry about now! Then my app is ready to go to BETA!
    Last edited by Paladinleeds; 01-23-2013 at 06:09 PM.

Similar Threads

  1. WP8 and W7/8 integration
    By drago_zarantik in forum Windows Phone 8
    Replies: 1
    Last Post: 11-06-2012, 10:06 AM
  2. Attentive Phon Integration and DLNA?
    By HsavirnDB in forum HTC Arrive / 7 Pro
    Replies: 3
    Last Post: 09-28-2011, 11:52 AM
  3. Data Useage - Integrated FB and Maps in particular
    By Travis01 in forum Windows Phone 7
    Replies: 6
    Last Post: 07-01-2011, 07:15 PM
  4. Replies: 6
    Last Post: 05-31-2011, 11:47 AM
  5. Replies: 0
    Last Post: 05-27-2011, 06:23 PM

Posting Permissions