Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all 204402 articles
Browse latest View live

Xamarin UITest does not clean my app on iOS

$
0
0

Hi all,

When I ran my tests on android the app always starts at the beginning and no prev configurations are set. But with iOS the app always starts with the page where it last has been. So when I ran test A and i'm on screen X and after that I ran test B then the app will start at screen X instead of the initial beginning screen.

I already set the AppDataMode to clear but this didn't do the trick.

Thanks in advance!


how to add user's location marker on custom map

$
0
0

Hellow! How to add user's location marker on my custom map?

I have made my map by the toutorial

docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/custom-renderer/map/customized-pin

It's work correctily with my custom pin, but the property
IsShowingUser=true
doesn't work

How to save the DirPath + The Filename of a picture selected from the Gallery in a SQLite Db.

$
0
0

Hello Guys,
I am constructing a Hybrid app using Xamarin, my App is Totally HTML + Css and JS, works fine(i am suing WebView Template Project), the app is just an Input form, the user can type text, select dates or check boxes etc, everything works fine, now i need to implement the functionality to attach an image(s) to the form and save the info into the DB, i would not like to save the image into the DB but save the DirPath and FileName as string. Later on the user could send the info of the Input Form (including the Images) to a Web Api Service . For now i just need to :

1.- Select the image from Gallery.
2.- Save the DirPath + The FileName.

Just keep in mind that i am not using Xamarin Forms, for that reason i need to trigger the functionality from an HTML button (this is not a problem for me ( i know how to do it) i just need the code to display the dialog box where the user can select an image from the Galley and later on just save the DirPath and FileName of the picture selected(could be more than one).

I really appreciate the help you can provide, KIND REGARDS.

what form is this?

$
0
0

Greeting everyone, i am having hard time figuring this form, is it using listview or table? or something else?
can someone help me out?
thank you

How to Create a curved header layout and making a button that overlaps the header???

$
0
0

Here im using stacklayout as header,How to create a curved header layout?????


<Grid.RowDefinitions>


</Grid.RowDefinitions>

  <!-- header background -->
        <StackLayout Grid.Row="0" BackgroundColor="White">
            <Grid ColumnSpacing="0" RowSpacing="0">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <StackLayout Grid.Row="0" HorizontalOptions="Center" VerticalOptions="Start"  Padding="0,50,0,00">
                    <Label Text="Name" HorizontalOptions="Start"/>
                    <Entry Placeholder="Enter Your Name" HorizontalOptions="Center" HorizontalTextAlignment="Center" />
                </StackLayout>
                <StackLayout Grid.Row="1" HorizontalOptions="Center" VerticalOptions="Start" Padding="0,50,0,00">
                    <Label Text="Place" HorizontalOptions="Start"/>
                    <Entry Placeholder="place" HorizontalOptions="Center" HorizontalTextAlignment="Center"  />
                </StackLayout>
            </Grid>
        </StackLayout>

  <Image Source="ProfilePic.jpg" Margin="0,0,0,-50" HeightRequest="50" WidthRequest="50" HorizontalOptions="Center" VerticalOptions="EndAndExpand"/>

Sample output will be like this...

Error appear when import InTheHand

$
0
0

When I using the DLL, it gives me this error, did I need to install something? or Xamarin don't support the DLL?
I want to make a project that can receive Bluetooth data, so I need to use that DLL

Can not resolve reference: System.Configuration, referenced by App2 > InTheHand.Net.Personal. Please add a NuGet package or assembly reference for System.Configuration, or remove the reference to App2. App2.Android

want to acquire more traffic for Mobile Apps ?

$
0
0

then Start an ad Campaign with AdwertMobi they have different services like :

  • Android & ios App Installs

  • High Retention Install

  • Keyword Search Installs

  • Country Geo Base Installs

  • ASO service

and many more very effective approach for app promotion.

Visit at : ADWERTMOBI.COM
For more details contact on Skype : live:adwertmobiz

Buy App Installs/Buy Android Installs/Buy ios Installs/Buy App Downloads

$
0
0

There is vast range of website or app traffic providers for App Installs some are good and some are really great like AdwertMobi, simple process just add funds and start campaign. Android installs, ios installs, app installs various services to choose from.

Out of all providers, I genuinely recommend AdwertMobi which is best for Buy App Installs. At **AdwertMobi **you can - Buy App Installs - Buy Android Installs, Buy iOS Installs at Affordable Price starting at just $0.05 per Install. Promote your Android / iOS App on CPI, CPA, CPE, CPC, CPM, CPV basis. Get Real Installs from Real Users & Real Device with FREE Country Targeting and it can deliver up to 15000-20000 installs in a single day.All installs have 3 days retention guarantee.

Most importantly, AdwertMobi provides real device installs,will get full tracking reports.like device,mac,ip,county etc. so it is safe for you. The business owner is also a nice person who readily replies to inquiries.

Visit at : adwertmobi.com
Email us at : Sales@adwertmobi.com


Pop up page not closing when click device back button

$
0
0

I am using Rg.Plugins.Popup NuGet package for showing pop up page. When clicking the android device back button the pop-up page is not hiding, it only closes the content pages. I am working on a .Net standard project.

Versions:

Rg.Plugins.Popup - 1.1.5.180

Xamarin Forms - 3.3.0.967583

Pop-up Page Codes

protected override bool OnBackButtonPressed()
{
    return base.OnBackButtonPressed();
}

protected override bool OnBackgroundClicked()
{
    return base.OnBackgroundClicked();
}

BackgroundClicked closing the pop-up page, but the device back button pressed not closing the pop-up page.

UWP crashing after latest vs2017 update

$
0
0

After updating to the latest release of VS2017 I keep getting an error when I try to debug my UWP XF applications with an error saying "Unable to activate Windows Store app ……. The …..exe process started but the activation request failed with error 'Operation not supported. Unknown error: 0x80040904'.

I have another computer with the version prior to latest and it can build and run my projects with no issue.

Manual clean builds have not fixed the issue.

Side loading release builds do build but won't install properly.

A new vanilla uwp project builds fine.

The XF version is 3.4.0.1029999

A brand new XF project also has no issues.

Emulator Issue

$
0
0

Hi Good Morning Everyone.
I hope this wonderful day.
Am installed my laptop visual studio 2017 Community. Am create new Android Emulator but it was showing some error. I have attached error snapshot. please kindly give me any solution. Thanks in Advance.

Regards
Anandha murugan R

how to receive a mysql query by passing a parameter,receive that user's data in a list

$
0
0

private async void llenarListView()
{
try
{
userManager manager = new userManager();
var result = await manager.pasaracjaCompra(txtahora.Text.ToString());
if (result != null)
{
lsUsuarios.ItemsSource = result;
}
}
catch (Exception e1) { }
}

<?php

$usuario=$_REQUEST['usuario'];
$cnx=new PDO("mysql:host=localhost;dbname=nxf344","xc310344","nuevo123");
$res=$cnx->query("select * from carrito where usuario='$usuario'");

$datos=array();

foreach ($res as $row ) {
array_push($datos,array(
'codigo_Pro'=>$row['codigo_Pro'],
'producto'=>$row['producto'],
'cantidad'=>$row['cantidad'],
'precio'=>$row['precio'],
'total'=>$row['total'],
'usuario'=>$row['usuario'],

));

}
echo utf8_encode(json_encode($datos));
?>

What's the correct way to implement login page in Xamarin Shell?

$
0
0

My app has structure like this.

Splash page => Login page => Main page

After login, user cannot go back to login/splash page. There are several pages in flyout menu that user can go to. However, login/splash items should not be showed in these flyout menu items.

Some project may try to load main page first before show login page as a modal page. I think this way doesn't work because it should take so much time to load complex main page before send user back to login.

Tree View in Xamarin forms.

$
0
0

Hello guys,
Is there any way to implement Tree View in Xamarin forms ? If yes then please let me know how ?

Thank you.

Free Xamarin Forms TreeView (All Platforms)


How to implement kiosk mode for xamarin.forms application?

$
0
0

I have been searing to implement the kiosk mode for xamarin.forms application but could never came across any sample in the xamarin.forms, can some help me to implement kiosk for the xamarin. forms android and ios applications.

How to implement kiosk mode for xamarin.forms applications.

$
0
0

I have been searching for the sample application in xamarin. forms which run in kiosk mode, but I could not find it anywhere. can someone please help me to implement kiosk mode application, it would be a great help.

Thanks in advance.

Implementing Print on a bluetooth printer in Xamarin Forms App

$
0
0

Any one can you please share with us how to working on bluetooth printer and how to print with help of bluetooth printer in xamarin forms xamarin forms? I wasted for days to find a way to work with bluetooth printer.

Thanks,
sudheer G

How to display 360 video

$
0
0

I have a Xamarin.iOS app where video is displayed in a WKWebView.

360 panoramic videos don't display properly, which looks like its an inherent limitation in the web view.

Is there any way to

  1. Get the 360 video to display correctly in the WKWebView
  2. Read the video's metadata to determine if it is 360 so I can open it in something else?

Thanks

Hi, I am facing Deployment to emulator error in Xamarin Forms

$
0
0

I am trying to build a Xamarin forms Application, It's a blank code, the code builds perfectly without error but it does not get deployed on an emulator.

If I click "Start without Debugging" then the application gets installed on my emulator or else it stays black and after building complete I get just a "Ready" output. It happened all of sudden. Visual Studio version: VS2017 15.9.6

Can anyone help me with this? It started out of nowhere.

I tried to search for mono in "Extensions and Update" to enable it but couldn't find anything installed. If I try to install mono it gives an error "Either it is not compatible or already installed"

Also in my registry, I can't find the SDK path.

I need visual studio to build and display output in emulator.!

Viewing all 204402 articles
Browse latest View live