Hi,
I was hoping someone has a recording of the "Twitch Workshop: Build Your First Mobile App with C#, Xamarin, and the Cloud" from blog.xamarin.com?
It was hosted by Jame Montemagno.
Kind Regards
Hi,
I was hoping someone has a recording of the "Twitch Workshop: Build Your First Mobile App with C#, Xamarin, and the Cloud" from blog.xamarin.com?
It was hosted by Jame Montemagno.
Kind Regards
买美国UMD文凭毕业证成绩单加Q微(9105133)马里兰大学帕克分校毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证University of Maryland College Park
买美国OSU文凭毕业证成绩单加Q微(9105133)俄克拉何马州立大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Oklahoma State University
A strange thing happened to my application. The main window command bar (the one with minimize and maximize buttons) from common gray became black. The buttons stayed gray. I don't think I did anything to cause this.
Could you please give me any idea what did this and how to change this back?
买美国OCU文凭毕业证成绩单加Q微(9105133)俄克拉荷马城市大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Oklahoma City University
买美国Temple文凭毕业证成绩单加Q微(9105133)天普大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Temple University
If I remove the event, all is well. Any explanation? Any resolution?
Hi,I have once installed ipa in iphone with AdHoc distribution , it was working fine.After one day I have changed the provisioning profile and again created the ipa , now it is not installing in iphone and in itunes I am stuck with "Installing".I have read issues here about this topic but that didn't help me. What can be the solution ?
Dear experts,
I have a ListView with only two items it it. I need to make a border appear around the selected item. How can I do this?
Here is my code:
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell Height="100">
<StackLayout BackgroundColor="{StaticResource LogoBackgroundColor}"
Padding="15,10"
Orientation="Horizontal"
HorizontalOptions="FillAndExpand">
<Image WidthRequest="50" Source="{Binding IconSource}" Margin="10, 0" />
<Label VerticalOptions="FillAndExpand"
VerticalTextAlignment="Center"
Text="{Binding Title}"
TextColor="White"
FontSize="24"/>
</StackLayout>
</ViewCell>
</DataTemplate>
Thanks!
Hello everyone!
I'm developing a Xamarin.Forms app that is to be used primarily offline (it is a requirement). I manage to make sync work with azure using IMobileSyncClient and now was looking into a way to sync pictures to Azure BLOB Storage. I've searched high and low but couldn't find nothing that helpful.
The closest thing was a couple of articles that relied on Microsoft.Azure.Mobile.Server.Files nuget package, which is now retired. Right now I'm at a loss here.
I thought of doing it ad-hoc, managing everything by myself, piggybacking on the push methods on the client, but it sounds a lot of work, prone to errors...
Anyone else with same issue and with any valid approach? Thanks!
Hello,
I am working on a Xamarin Forms application. Everything was fine until I updated Visual Studio for Mac to the latest version of Xamarin and Mono. Now users are unable to open the application on their iOS devices. After install, when they click on the app icon the application launches and then immediately closes. I have gone through the logs and found the following error:
error 09:40:36.951392 -0500 assertiond Failed to start job with error <NSError: 0x7f97f2801640; domain: NSPOSIXErrorDomain; code: 3; reason: "No such process"> { description = "Unable to get pid for label UIKitApplication:com.myapplication[0xca85][1468]"; failureReason = "No such process"; userInfo = { BKLaunchdJobLabel = UIKitApplication:com.myapplication[0xca85][1468]; BKLaunchdOperation = launch_get_running_pid_4SB; } }
After some searching online I have found similar posts where the issue is that certain certificates were set to "Always Trust" instead of "Use System Defaults". However, I have checked all the related certificates (Apple Worldwide Developer Relations Certification Authority, Developer ID Certification Authority, iPhone Developer, and iOS Distribution). They are all set to use system defaults.
Has anyone else experienced this issue? If so, how did you resolve it?
Thank you
Hello everyone, I'm working on a project that I'm doing everything in C#, now that I started implementing ListView I'm worried if I can do everything I want to do in C#.
I have this class:
public class PlacesBD
{
[PrimaryKey,AutoIncrement]
public int Id { get; set; }
public string name { get; set; }
public double lat { get; set; }
public double lon { get; set; }
public sbyte timeZone { get; set; }
public string ImageResourceId { get; set; }
}
This CustomCell:
public class PlaceCustomCell:ViewCell
{
public static readonly BindableProperty SelectedItemBackgroundColorProperty =
BindableProperty.Create("SelectedItemBackgroundColor",
typeof(Color), typeof(PlaceCustomCell),
Color.Default);
public Color SelectedItemBackgroundColor
{
get
{
return (Color)GetValue(SelectedItemBackgroundColorProperty);
}
set
{
SetValue(SelectedItemBackgroundColorProperty, value);
}
}
public PlaceCustomCell()
{
var placeImage = new Image
{
HeightRequest = 50,
WidthRequest = 50,
Aspect = Aspect.Fill,
VerticalOptions = LayoutOptions.Center
};
placeImage.SetBinding(Image.SourceProperty, new Binding("ImageResourceId"));
SelectedItemBackgroundColor = Color.FromRgb(0, 160, 220);
var nameLabel = new Label
{
FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Label)),
FontAttributes = FontAttributes.Bold,
VerticalOptions = LayoutOptions.Center,
HorizontalTextAlignment = TextAlignment.Start,
};
nameLabel.SetBinding(Label.TextProperty, new Binding("name"));
string stringPercentage = RandomNumber(300, 699).ToString();
stringPercentage+= "%";
var percentageLabel = new Label
{
Text = stringPercentage,
FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Label)),
FontAttributes = FontAttributes.Bold,
VerticalOptions = LayoutOptions.Center,
HorizontalTextAlignment = TextAlignment.End
};
var grid = new Grid()
{
ColumnDefinitions = {
new ColumnDefinition { Width = new GridLength(0.2, GridUnitType.Star)},
new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star)},
new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star)},
},
ColumnSpacing = 0,
RowSpacing = 0
};
grid.Children.Add(placeImage, 0, 0);
grid.Children.Add(nameLabel, 1, 0);
grid.Children.Add(percentageLabel, 2, 0);
View = new StackLayout
{
Orientation = StackOrientation.Horizontal,
HorizontalOptions = LayoutOptions.StartAndExpand,
Padding = new Thickness(5, 5, 5, 5),
HeightRequest = 60,
Children = { grid }
};
}
The ItemSource comes from:
protected async override void OnAppearing()
{
base.OnAppearing();
LocalSQLService BD = new LocalSQLService();
List<PlacesBD> resultado = BD.Consultar();
placesListView.ItemsSource = resultado.ToList();
}
And I want to pass values of the PlacesBD class when the item is tapped:
public async void OnPlaceTapped(object sender, ItemTappedEventArgs e)
{
if(e == null)
{
return;
}
Debug.WriteLine("Tapped: " + e.Item);
((ListView)sender).SelectedItem = null; // de-select the row
}
How can I create a new page and pass my object PlacesBD data to the new page?
Hey guys,
I'm really frustrated and require some help from you. I'm not really new at Xamarin, but some things won't get in my brain. Maybe I haven't understood the entire logic so far.
But, my problem is: I've been adding a Button to the content page and all were working fine. So, I had to change the background color and now it's messed up! When I click the button, it shows WHILE the press event is invoked, a small visible rectangle with the 0.25 scale of the entire button on the top left of the button.
Can someone help me? I've made a screenshot WHILE PRESSING THE BUTTON here:
Note: BEFORE changing the background color, all has been working fine. AFTER setting the background color, the color gets changed well and is correct but the PRESS/CLICK/ACTIVE state of the button shows a small - unrequired - rectangle on the top left of the button.
Thankful for every answer.
Kind regards,
Dominik G.
SetUp : System.Net.Http.HttpRequestException : An error occurred while sending the request.
----> System.Net.WebException : The underlying connection was closed: The connection was closed unexpectedly.
at Xamarin.UITest.Shared.Http.HttpClient.SendData(String endpoint, String method, HttpContent content, ExceptionPolicy exceptionPolicy, Nullable1 timeOut) at Xamarin.UITest.Shared.Http.HttpClient.Post(String endpoint, String arguments, ExceptionPolicy exceptionPolicy, Nullable
1 timeOut)
at Xamarin.UITest.Shared.Android.HttpApplicationStarter.Execute(String intentJson)
at Xamarin.UITest.Shared.Android.LocalAndroidAppLifeCycle.LaunchApp(String appPackageName, ApkFile testServerApkFile, Int32 testServerPort)
at Xamarin.UITest.Android.AndroidApp..ctor(IAndroidAppConfiguration appConfiguration, IExecutor executor)
at Xamarin.UITest.Configuration.AndroidAppConfigurator.StartApp(AppDataMode appDataMode)
at Elog.UITest.Regression59.BeforeEachTest()
--WebException
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
ENV:
Xamarin 4.11.0.776 (d15-8@1ae9b59d7)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer 4.15.9 (d000f568b)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin Templates 1.1.116 (9619170)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.Android SDK 9.0.0.19 (HEAD/a8a3b0ec7)
Xamarin.Android Reference Assemblies and MSBuild support.
Xamarin.iOS and Xamarin.Mac SDK 12.0.0.15 (84552a4)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Andriod SDK 8.1 Oreo, Platform 27
Visual Studio 15.8.4
I have a form with a table view to display info to the user as well as let them edit it.
<StackLayout>
<Frame>
<TableView>
<TableRoot>
<TableSection>
<EntryCell/>
</TableSection>
<TableSection>
<ViewCell>
<StackLayout >
<Label />
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Editor Text="{Binding Service.ExtProblem, Mode=TwoWay}"
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand"
AutoSize="TextChanges"
InputTransparent="{Binding ProblemLocked}"/>
</Grid>
</StackLayout>
<EntryCell Keyboard="Numeric"
x:Name="AmtToCollectEntry"
Label="Amt To Collect"
Placeholder="$0.00"
Text="{Binding Service.AmtToCollect, Mode=TwoWay, Converter={StaticResource CurrencyConverter}}"
LabelColor="{DynamicResource headerFooterIconColor}"/>
</TableSection>
</TableRoot>
</TableView>
</Frame>
</StackLayout>
This is the basic format of the form, with a few more of the ViewCells
containing Editors
. For whatever reason when some of my testers with Samsung devices try to use the form, the keyboard covers the entry fields so the user can't see what they are typing. Additionally, when first selecting the numeric EntryCell
, it seems to get deselected and none of the input gets recorded. Some playing around on the form and coming back seems to let you select it correctly the second time.
What's weird is I can't repeat this with another android device (Google pixel and some no-name android tablet) or iOS. Anything I was able to research on it seemed to only come up with iOS keyboard issues and a few years old. Please help.
Hi all
Just created a nuget package which provides opportunity to create expandable views.
Hi,
I would like to access the control lblName on page 2 for example, is it possible?
<control:CarouselView.ItemTemplate>
<DataTemplate>
<Label x:Name="lblName" Text="{Binding LabelText}" />
</DataTemplate>
</control:CarouselView.ItemTemplate>
Thank you and best regards
Chris
Snippet:
<Entry.Behaviors>
<b:EventToCommandBehavior EventName="Completed" Command="{Binding DurationCompletedCommand}"></b:EventToCommandBehavior>
</Entry.Behaviors>
</Entry>
Please let me know in case missed anything.
I'm building a cross-platform app, and I'd like to make the standard "Preferences" menu responsive on MacOS. I can see how to add the code for an "open preferences" action, but it isn't clear what class this code should live in. I have a SettingsPage already built, so what I mainly need to do is find a way to call Navigation.PushModalAsync() in response to the Preferences item in the menu bar.
There's some documentation for how to do this in Xamarin.mac, but it's not clear (to me) how to do it in Xamarin.Forms. Can somebody steer me in the right direction, or perhaps suggest a sample to look at?