It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want to insert the audio to my project and it don't stop when I navigate to the other page. So I can't use MediaElement. What shold I do? please help me.
Thanks so much.
You can use the MediaPlayer instead.
First, add next statements to your code file:
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Media;
Then add next code where you want to play the audo. Change the Uri string with the one for your file:
FrameworkDispatcher.Update();
Song song = Song.FromUri("SongName", new Uri("SongURI", UriKind.RelativeOrAbsolute)); // Change with your audio file URI
MediaPlayer.Play(song);
The audio will keep playing if you navigate to other page, but will stop if you quit the app.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to know how to get Badge notification in ios. I mean inside the app. I can't post the image. Follow this link
I want to get that badge notfication inside the app over a button.
I don't know what do you mean by "bubble notification" but maybe you meant to badge over a UIButton? maybe CustomBadge could help you.
I don't know if this is what you're looking for, but take a look at CMPopTipView!
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I would like to create an OSX app programmatically that loads just one website by default, no address bar. Any pointers?
You can also use Automator to achieve this:
Have a look at the generated document.wflow inside the app bundle. It's a XML document which you can programmatically edit to create "apps" for other URLs.
WebView!?
https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/WebKit/Classes/WebView_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40003822
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
This app is using iOS 5's built-in dictionary with UISearchBar.
I want to include this feature for my iOS app.
But, I Can't find document in developer.apple.
If you tell me about it and example code, Please.
Sadly there isn't an api for the built-in dictionary. The only thing you can use in that direction is the UITextChecker class. It seems to me, that the app you are talking about uses it too.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How to read and display PDF in Objective-C?
If you just want to display it, the easiest way is to load it in a UIWebView.
If you want to solely read and display PDFs to users, as the Mail app does on your iOS device with all the scrolling and zooming done for you, then I would use a UIDocumentInteractionController.
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIDocumentInteractionController_class/Reference/Reference.html
You'll find some useful code in one of my recent questions, here:
UIDocumentInteractionController crashing upon exit
Hope this helps.
the easiset way is with the UIDocumentInteractionController
Drawback: you need a local file-url
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am trying to figure out how to capture the audio from a given software running on a mac, just like audio hijack does.
I'm aware that this is not the first question on the subject, but I'd like to better understand the possibilities on how to do it.
Crete a user space driver is the only solution to achieve it?
The best way that I've found is to get soundflower from cycling74.com. This basically gives your computer an internal interface that you can route to audio programs. If you then get a DAW like audacity you can choose soundflower as your audio input, set soundflower as your system audio output and record audio directly into your DAW.
GW