c#,windows,audio,phone,overlapping
I figured it out. I had to manually set the delay for BackgroundAudioTrack. Here is the working code: public async Task<IStorageFile> ConcatenateAudio([ReadOnlyArray]IStorageFile[] audioFiles, IStorageFolder outputFolder, string outputfileName) { IStorageFile _OutputFile = await outputFolder.CreateFileAsync(outputfileName, CreationCollisionOption.ReplaceExisting); MediaComposition _MediaComposition = new MediaComposition(); MediaEncodingProfile _MediaEncodingProfile = MediaEncodingProfile.CreateM4a(AudioEncodingQuality.High);...
c#,windows,dictionary,phone,bing
I used to use bing map api on my web I`m not sure if it will work well initialize the map using the following code. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">`<html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script> <script type="text/javascript"> var map =...
As mentioned in this blog entry, the asynchronous work needs to be encapsulated in a background task deferral public async void Run(IBackgroundTaskInstance taskInstance) { BackgroundTaskDeferral _deferral = taskInstance.GetDeferral(); Debug.WriteLine("Test"); Debug.WriteLine(DateTime.Now.ToString("g")); StorageFolder dataFolder = ApplicationData.Current.LocalFolder; StorageFile logFile = await dataFolder.CreateFileAsync("logFile.txt", CreationCollisionOption.OpenIfExists); IList<string> logLines = await...
Its giving error like "Additional information: Use of undefined keyword value 1 for event TaskScheduled" So may be sample.txt can't able to define as its undefined keyword. Change file name to other name or "sample1.txt", it will work. private async void WriteToFile() { StorageFolder folder = Windows.Storage.ApplicationData.Current.LocalFolder; StorageFile sampleFile =...
Your Windows phone project is being developed using C++/CX which is the C++ interface to WinRT. C++/CX represents string data using Platform::String^, a handle to a WinRT HSTRING. These strings store arrays of Unicode characters, and you can get a wchar_t* via s->Data(). Then you just need a C++ function...
javascript,ruby-on-rails,twilio,phone
You can register an event listener on a Twilio Connection object to achieve that: var connection = Twilio.Device.connect(); connection.disconnect(function(conn) { console.log("the call has ended"); }); ...
Looks like you're either passing in a NULL value in the Intent.putExtra() method called from the godwin.com.study.chooseTestLength.sendLengthOnClick() function on line 57 or the Intent itself is NULL. Please post some code to better assess the issue. EDIT: As already stated, TEST_LENGTH is NULL. Give it a value like this: public...
There IS a better way. An NSURL object has an attribute of scheme, which will identify what type of URL it is. if ([URL.scheme isEqualToString:@"tel"]) { // handle telephone case here } else { // handle http or other case here } The documentation says the scheme could be considered...
WhatsApp actually uses your phone number that you already own similar to how your email account uses a username. This is their take on a login and accounting system. As far as services like TextMe, Google Voice etc. The Provided would have to purchase a list of phone numbers and...
Here you've got a list of SMS APIs: http://blog.mashape.com/list-of-50-sms-apis/. It's from 2013 though, some of them might have changed. You do have free APIs like http://textbelt.com/ but it depends on where do you want to send those SMSem, different providers in different countries have different gateways. I think it's impossible...
javascript,mobile,numbers,phone,clickable
Do you mean this? Please rewrite your script to not use document.write. If you ever call one of your functions after the page loaded it will wipe the page. document.getElementById("phonenumber").innerHTML='<a href="tel:'+phone_number+'">'+phone_number+'</a>'; Like this, using your original code <div id="phonenumber">Call: </div> function getPhone() { var phone = get_named_cookie("MM_TrackableNumber"); if (phone ==...
javascript,php,browser,twilio,phone
Twilio evangelist here. So just to be clear, Bob is making an inbound call via Twilio Client for JavaScript which is dropped into a Conference. Then your app makes an outbound call to Alice via PSTN and idealy she is dropped into that same Conference. If you can't connect to...
android,xml,tablet,material-design,phone
Create values-sw600dp folder in your project and add dimens.xml file in it. Define width in dimens.xml file of both values and values-sw600dp folder For values-sw600dp/dimens.xml <resources> <dimen name="width">300dp</dimen></resources> For values/dimens.xml <resources><dimen name="width">150dp</dimen> </resources> Call this in this manner android:layout_width="@dimens/width" ...
javascript,wordpress,mobile,phone,event-tracking
The syntax for UA event tracking is ga('send', 'event', 'Phone Call Tracking', 'Click/Touch', 'Home Banner') So your complete code would be <a href="tel:18285053969" onclick="ga('send', 'event', 'Phone Call Tracking', 'Click/Touch', 'Home Banner');">828.505.3969</a> Once you have that set, and if you are not filtering out your own views, you can check for...
In HttpClient cache is enabled by default. As far as I know, the only way to get rid of it is to pass a random parameter, so it looks like a different request and it doesn't already exist in cache. var uri = new Uri("http://example.com/getimage.php?no-cache=" & DateTime.Now.Ticks.ToString()); ...
Please check the below links http://forum.xda-developers.com/showthread.php?t=2140706 http://www.telerik.com/blogs/want-to-decompile-silverlight-xap-files-try-justdecompile-beta for information.
extjs,sencha-touch,textfield,phone
I have figured it out. The problem was fixed by deleting this segment: onChange: function (c) { c.setValue(Ext.util.Format.phoneNumber(c.getValue())); } The field still validates the number until it matches the format criteria. Cannot save until it matches. :D...
You can create User Control and included in any xaml page. You can look here
I have <asp:TextBox ID="phone" " runat="server" AutoCompleteType="Disabled" onkeyup="this.value=this.value.EditPhone()"></asp:TextBox> Or See Example Click Here...
First there are a few minor issues with the approach you have taken. First you use a lot of magic numbers, this makes your code difficult to maintain and evolve as you have to worry about updating more code increasing the chance of introducing bugs. The second is there isn't...
android,phone,com.android.phone
you have to do as suggested on this answer: android.permission.CALL_PHONE for tablets add the call phone permission: <uses-permission android:name="android.permission.CALL_PHONE"/> and then call with Intent.ACTION_CALL. Intent intentcall = new Intent( Intent.ACTION_CALL, Uri.parse("tel:" + phonenumber)); startActivity(intentcall); edit: there's a way you could do, but it won't work in Lollipop and forward, as...
(Disclaimer: I'm the VP of Engineering @ HeyWire) The TextUs FAQ is spot on. SMS routing and voice routing are completely separate. OTT text carriers like us have agreements with SMS aggregators and have to abide by industry rules and guidelines. The agreements and rules may vary depending on whether...
That's how a StackPanel is supposed to work. The behavior you want is achieved by a WrapPanel, which doesn't exist natively in Windows Phone 8. You can get it in the Windows Phone Toolkit; note that it works only for apps that target Windows Phone Silverlight (8.0), not WinRT (WP...
It seems an error from the beginning of the phone is introduced.I faced same problem. You may see this
No, there is no workaround with those symbols.
android,connection,localhost,device,phone
Go to your phone's settings Go to the network settings Go to WIFI Long tap on your WIFI network After this, their should be an option to modify the settings. Click Advanced Options Go to Proxy Settings and select manual Enter your PC's IP address in hostname. For port,...
windows,windows-phone-8.1,phone
I figured out what was causing the issue. The startup object didn't have a value in the project property section. Once I made a selection, the app was able to go in debug mode.
You can try something like this, Set the ScrollViewer Height to "Auto" <ScrollViewer Height="Auto" Grid.Row="1"> If it does not work,There is a 2048 pixel limitation for UI controls. Sometimes the text to be displayed is so large that it can’t fit in a TextBlock and some of it overflows. You...
c#,wpf,windows,windows-runtime,phone
This might seem like a simple enough answer, but cant you just create a trigger like so: <c:DataTriggerBehavior Binding="{Binding Path=IsInBubbleGroup}" Value="True"> .... </c:DataTriggerBehavior> which would be equivalent to the EnterActions, then create another one: <c:DataTriggerBehavior Binding="{Binding Path=IsInBubbleGroup}" Value="False"> .... </c:DataTriggerBehavior> which would be equivalent to the ExitActions? (Note the False...
windows-phone-7,navigation,phone
If you want to skip the previous page, just remove it from the back stack before triggering the navigation: // After the user has clicked on the button, remove the intermediate page before going back: this.NavigationService.RemoveBackEntry(); this.NavigationService.GoBack(); ...
If you want to store data that can roam between devices, you should look at creating a web service. Then, every time, read/store data onto the web service by (de)serializing JSON. However, if you want the data to roam across user's personal devices, say Universal App on PC and phone,...
First you'll have to look at the Intent Receivers, it should be something like: ACTION_ANSWER, defined for incoming calls. Then you define your own application, an Activity with the design you want and properly configured to receive this kind of Intent. Please refer to these links: http://developer.android.com/intl/fr/guide/topics/manifest/intent-filter-element.html http://developer.android.com/intl/fr/guide/topics/intents/intents-filters.html ...
You cannot reserve an app name in the Play Store. The app-name is not unique. Just the package-name (application id) (e.g. com.helloworld.app) is unique and cannot be changed.
android,button,phone,wallpaper
If you take a look at the official docs, you will find, that this method is deprecated since API 5 and you should use WallpaperManager.setBitmap() instead.
Reason might be that you are refering to it before calling InitializeComponent() method.
[SOLVED] Sorry I forgot to edit my AppxManifest so I didn't give the right permission for music library !!
You can try something like this to convert byte[] to BitmapImage: using (InMemoryRandomAccessStream ms = new InMemoryRandomAccessStream()) { using (DataWriter writer = new DataWriter(ms.GetOutputStreamAt(0))) { writer.WriteBytes((byte[])fileBytes); writer.StoreAsync().GetResults(); } var image = new BitmapImage(); image.SetSource(ms); } Found it on this: http://www.codeproject.com/Tips/804423/Conversion-between-File-Byte-Stream-BitmapImage-an I'm using it to read byte[] from sqlite database and...
windows,webview,windows-runtime,gmail,phone
The hosted browser (WebView) cannot show the native file picker. You'd need to proxy the request somehow and show the picker from C# for example. But, as you don't own the gmail source code, making the proper surgical changes would be difficult (and subject to be changed).
Not sure if the following seemed to be working or not ? String Sel_MobileNo_type_1=ContactsContract.CommonDataKinds.Phone.DATA2+"= '2'"; String Sel_MobileNo_type_work=ContactsContract.CommonDataKinds.Phone.DATA2+"= '17'"; String Sel_MobileNo=Sel_MobileNo_type_1+" OR "+Sel_Mobile_type_work ; Thanks...
You can put the Canvas inside something (a Border, a Grid), and then get the ActualWidth and ActualHeight from the container. I have the impression that Canvas does not expand to fill container, so it is better to get dimensions from the container itself. Just be sure the container layout...
You have to override button Template in Style and wrap ContentPresenter with ViewBox. Here is example (look for Viewbox added comment): <Style x:Key="ButtonWithViewbox" TargetType="Button"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="Button"> <Grid x:Name="Grid" Background="Transparent"> <VisualStateManager.VisualStateGroups> <VisualStateGroup x:Name="CommonStates"> <VisualStateGroup.Transitions> <VisualTransition From="Pressed" To="PointerOver">...
c#,time,timepicker,phone,culture
I assume you have a System.Windows.Forms.DateTimePicker. If so, you need not change the culture on the current thread - you can just use the CustomFormat property, e.g. public void SetCustomFormat(DateTimePicker dateTimePicker, bool twentyFourHour) { dateTimePicker.ShowUpDown = true; dateTimePicker.Format = DateTimePickerFormat.Custom; dateTimePicker.CustomFormat = twentyFourHour ? "HH:mm" : "hh:mm tt"; } Note:...
Just try: if let url = NSURL(string: "tel://\(busPhone)") { UIApplication.sharedApplication().openURL(url) } assuming that the phone number is in busPhone. NSURL's init(string:) returns an Optional, so by using if let we make sure that url is a NSURL (and not a NSURL? as returned by the init)....
All you have to do is in your AndroidManifest.xml add the permission for vibration. <uses-permission android:name="android.permission.VIBRATE" /> After that in your activity whenever you want to change it to vibrate use this code (button press etc.) AudioManager audioManager = (AudioManager)context.getSystemService(Context.AUDIO_SERVICE); audioManager.setRingerMode(AudioManager.RINGER_MODE_VIBRATE); To unmute simply use the code AudioManager audioManager =...
Try going to device manager and view your USB connections. Plug in the phone. You should see the device appear, but you should another 'usb composite device' appear under USB Serial Bus Controllers. With the phone plugged in see if you can uninstall it. Be careful if you already have...
For each object you need create DoubleAnimation, each DoubleAnimation add to one Storyboard and then play it. This is one method of my AnimationHelper, I modified it for this case. public static void Animate(List<DependencyObject> objects, EventHandler onComplete = null) { Storyboard sb = new Storyboard(); foreach (DependencyObject obj in objects)...
You can put the xaml above into a long string (start with @" to have a multi-line string in C#) and then call XamlReader.Load( myXamlString ). Alternatively, you can create the hyperlink button and set its template in code-behind. Even in that case, however, the general advice is to use...
c#,windows,windows-phone-8,calendar,phone
Can you elaborate your issue... Please select necessary Capabilities..so that Windows phone SDK allows your app to use required functionality.. ADD ID_CAP_APPOINTMENTS ID_CAP_IDENTITYDEVICE ID_CAP_NETWORKING check the checkbox next to them Build again and see if problem persists,if persists . revert back with error screen...
google-chrome,google-chrome-extension,voip,phone
An update may be downloaded at any time, but an extension is only reloaded when the background page goes inactive. I guess that you're using Web sockets for signaling. Since the connection need to be available at all times, you are probably using a persistent background page. This is enough...