Does Xamarin.Forms have any sort of MultiBinding support? If not, how might one go about applying the following.
IsVisible="{Binding AltFileLocation.IsVoiceLoading, Converter={StaticResource NotValueConverter}}"
IsVisible="{Binding IsNeutralVoice}"
Does Xamarin.Forms have any sort of MultiBinding support? If not, how might one go about applying the following.
IsVisible="{Binding AltFileLocation.IsVoiceLoading, Converter={StaticResource NotValueConverter}}"
IsVisible="{Binding IsNeutralVoice}"
I am getting error in Xamarin Forms Listview Binding.
Following the steps from the Xamarin Forms intro, and running into the error "the resource identifier 'Monkey.ios.MonkeyPage.xaml' has already been used in this assembly (CS1508). Ideas?
Hi all
I have bought a (brandnew) Nokia Lumia930 (to be able to debug on real device in VS2013).
As I don't have found any information's in the forum, how to connect a real windows phone, I have searched the internet (maybe this information's are helpful for other's)...
First, you have to "unlock" your windows-phone for development.
Therefore you (first) must have a registered MS-Account.
Then you have to connect the Windows Phone with the PC and to load a tool from the WP-Toolkit to "unlock" your Phone (here you need your MS-Account).
Details to register the phone under this link:
msdn.microsoft.com/library/windows/apps/ff769508(v=vs.105).aspx#BKMK_UsingtheWindowsPhoneDeveloperRegistrationTool
Further information's for trouble-shooting under this link:
msdn.microsoft.com/de-DE/library/windows/apps/ff402565(v=vs.105).aspx#BKMK_device
I have "unlocked" my device.
Also the service "IpOverUsbSvc" (described under the second link above) is running on my machine.
The (also under the second link described) tool "IpOverUsbEnum", I don't have found, as I also don't have found the whole directory "C:\Program Files (x86)\Common Files\Microsoft Shared\Phone Tools\CoreCon\11.0\Bin\".
I can see the Phone in the Windows-Filemanager (and have access to it).
Unfortunately, I don't can see the device in VS2013 and are not able use the device for debugging...
Under VS 2013 (Update 2) I have installed:
Windows Phone SDK 8.0 - DEU
Windows Phone 8.1 SDK-Integration (1.0)
To the project (nuget) I have installed:
WindowsPhone Toolkit V. 4.2013.08.16
Do I miss something...?
Help please....
Thanks a lot
I followed these instructions, but I can't get my app to respond when clicking on specific web links.
https://xamarinhelp.com/ios-universal-links/
Here is my apple-app-site-association file. It has no extension. The file downloads when I access it with Google Chrome using a link like this. https://portal.mydomain.com/.well-known/apple-app-site-association
{
"applinks": {
"apps": [],
"details": [
{
"appID": "MYAPPID.com.mydomain.appname",
"paths": [ "/PublicOffers/OffersPage" ]
}
]
}
}
Here are my applink settings.
applinks: portal.mydomain.com
Here are URL examples.
https://portal.mydomain.com/PublicOffers/OffersPage?id=SOMEGUID&cid=SOMEGUID
https://portal.mydomain.com/PublicOffers/OffersPage/SOMEGUID
When in Debug mode, I've noticed that ContinueUserActivity and OpenUrl never get called.
Here is my current development environment. I'm in the process of configuring a newer MacBook Pro, but at this time I'm connecting to an older MacBook running XCode 8.2.1 (can't go any higher).
Microsoft Visual Studio Enterprise 2015
Version 14.0.25422.01 Update 3
Microsoft .NET Framework
Version 4.7.02556
Installed Version: Enterprise
Xamarin 4.3.0.789 (4d2ed3d)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.iOS 10.4.0.128 (ba11e48)
Visual Studio extension to enable development for Xamarin.iOS.
Any ideas why this is not working? Thanks!
Hi!
Is it possible to disable scrolling in a ListView if you have only a few items?
Thanks
// Johan
I made audio player in xamarin forms(PCL) as Follows:
Player.xaml(PCL):
public player(Entity.File entity)
{
InitializeComponent();
_file = entity;
DependencyService.Get<iFile>().PlayFile(entity.FullPath);
}
Files.cs(Android):
public bool PlayFile(string filePath)
{
if(currentFile != filePath)
{
if (_mediaPlayer != null)
{
_mediaPlayer.Stop();
}
_mediaPlayer = MediaPlayer.Create(global::Android.App.Application.Context, Android.Net.Uri.Parse(filePath));
_mediaPlayer.Start();
var file = rootDirectory.GetFiles(".lrc", SearchOption.AllDirectories).FirstOrDefault();
_mediaPlayer.AddTimedTextSource(file.FullName, "application/octet-stream");
_mediaPlayer.SetVolume(100, 100);
currentFile = filePath;
}
return true;
}
It works fine in play and pause but I am unable to display lyrics which is attached in addtimedTextSource file. I have to display lyrics while play the song.
Anyone have idea about displaying lyrics of audio in xamarin forms?
I know that this question was already asked but I was not able to find a solution for my problem.
My question is this: I've a bindable property in a custom control that is exposed to show a text (the pagetitle), and I need that this text is cutted when the view is in portrait.
I want that this bindable property takes its value from a property inherited from a base (PageTitle) and than that a converter do the work to cut the word when it's needed.
I have created a datatrigger to fire that converter, but I think that I misunderstanded how it works, because on the first rotation all works as expected, but from the second rotation the Propertychanged delegate is fired twice and I didn't understand why.
I was able to solve this specific problem using a Label binded to the property that I use as parameter in my converter, but it's not a clean way to achieve the result and I would understand if something is wrong with my datatrigger and what.
I've a created a simple demo project downloadable from here that explains better what I mean, in the first row I've inserted the control with the bindable property that doesn't work, and in the thirth the solution that works but that it's surely not the best practice to do it.
Thank you in advance
Hello,
I have listview with header and items but i couldn't find how to make a space between them.
Thanks
I am developing one mobile application using Xamarin Forms. My Application navigates in such a way where initially LoginPage is my MainPage i.e.
MainPage = new LoginPage();
After successful login, i reassign MainPage with master detail page i.e.
MainPage = new MasteDetailPage();
In Master page, i have one list and on click of list item, i navigate to different content pages i.e.
this.Detail = new NavigationPage(new DetailPage());
Once i click on logout which is one of the list item of master page, i again re-assign MainPage with LoginPage i.e.
MainPage = new LoginPage();
This is how navigation works in my application.
Each page is having their own view model which contains business logic. Once my viewmodel initializes, it initializes few class level objects and commands which i need to nullify in order to avoid memory consumption because it initialize every time when my page initializes.
So my question is, when i should remove these class level objects from viewmodel ? Do i need to pop each pages from navigation stack manually, once i navigate to another page.
Each page has OnDisappearing() method. Should i remove/pop that page from navigation stack on page OnDisappearing() method ?
Please help.
Hi everyone, I just created an empty Xamarin.Forms project (shared code) in Visual Studio 2017. The project built and ran fine (debug x86, UWP, local machine).
I then added the CocosSharp.Forms and CocosSharp NuGet packages for Android, iOS, and UWP.
Now the project does not build (same configuration), with errors:
I'm not sure how to interpret this. Does CocosSharp.Forms not support UWP?
Cheers,
Thomas
Versions:
CocosSharp.Forms Android, iOS, UWP v 1.7.1
CocosSharp Android, iOS, UWP v 1.7.1
Xamarin.Forms Android, iOS, UWP v 2.3.3.193
Can any one please help me on this? I have a label like this Wallet order :210541 .Wallet order is constant but the order id number is getting from the server. so my question is how to write the xaml code in xamarin.forms in mvvm? I tried with label span but i could not able to get that.
Thanks in advance.
How to make the navigations like LinkedInApp with Tabbar in every screen.
If I clicked on profile image the Content in the middle changing with back button in the top navigation bar.I have to achieve this in both Android and iOS using Xamarin.Forms
Hi all
I'm new to xamarin i was try to install SidebarNavigation 2.0.0 from nuget.org and I got this error message 'Could not install package 'SidebarNavigation 2.0.0'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile111', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.'
What is mean, how I can fix it
Thanks in advance
Hey,
i want to change the color from the Toolbar and the color from the Text in Toolbar too, can someone help me to do this?
At the moment i have a black default Background, but want to change it to green. Where i can set the color for the ContentPage Toolbar?
Greez Dahl
does it support using signal r client for signalr . net core. If not is there a possible solution of that for connecting the server to client in xamarin forms. I am currently using .net standard 2.0 for my xamarin forms application.
I have no trouble hiding the toolbar, but I want to have a fullscreen windowless app in UWP when I hit the fullscreen button and then go back to a windowed app with a title bar when I hit it again. It was easy in windows forms but I can't seem to figure it out for Xamarin Forms. Any suggestions?
I am using Visual Studio 2017 v15.6.4, in the XAML file when I add markup that includes events how do I get the system to create the method stub in the code behind. I have tried alt-enter, ctrl ., none of them seem to work. Maybe not the correct place to ask this question, but I am hoping someone out there can tell me how to do it.
Can't deploy my code into my android device, with out any break points it replies "The application is in break mode" am using VS2017.
Thank you for your cooperation.
Greetings,
is there any way to show a notification at a defined date and time? It should also work even when the app has been killed or the device has been rebooted.
Right now I'm considering to use a web service to send push notifications to the device at a specific device but I'd like to use a local option for that. Has anyone ever implemented this or knows a cool NuGet?
Kind regards
Mario