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

Where are the XAML designer tools?

$
0
0
Years have past ;-) not really but I think this question has been asked many Times' before.

The forms previewer crash all the time. It could be seen more of a compile:designer that breaks as soon as you start adding codebehind stuff.

We need a designer for Xaml not css? I think the web guys gonna stick to other tools anyways
The live previewer very nice idea, same thing doesn't work yet.

I just need BLEND with a Visual state manager. where is the backning from the Microsoft team that dream up stuff like the Blend tools :-)

Draw RadioButtons using Frame?

$
0
0

I'm creating a custom RadioButton control, currently I'm using those two glyphs :◉, ◯
but I prefer not using them as fonts may have unexpected behaviors regarding the environment.
so I need to draw them: I tried using Frame but can't approach the result I want:
this is one of many tries I made:

    <Frame Padding="3" CornerRadius="10"
                       WidthRequest="10" HeightRequest="10" BackgroundColor="Black"
                       VerticalOptions="Center" HorizontalOptions="Center">
                    <Frame Padding="5" CornerRadius="5"
                       WidthRequest="5" HeightRequest="5" BackgroundColor="White"
                       VerticalOptions="Center" HorizontalOptions="Center">
                    </Frame>
                </Frame>

None of them made the empty circle

Lost some emulator options from Visual Studio?

$
0
0

I've been happily writing my xforms app using visual studio with a 'macincloud' subscription and it works great. This evening I noticed that visual studio no longer gives me the 'iPhone 8' emulator options, everything else except them. I can start the iPhone 8 emulator on the remote mac and it starts up and still has the previous install of my app on it, but it no longer shows in the list of simulator targets inside visual studio.

Any ideas?

Chris

How to test application lifecycle?

$
0
0

Is there a way of start the debugger without launching the app?
I'd like to test the app being launched from a Notification, not being in the foreground.

Also, how to test suspend/resume scenarios?

Thanks

VS 15.5 Remoted iOS simulator issues

$
0
0

Just updated to 15.5, very cool that you can now run the iOS simulator on Windows and not need an enterprise license! I'm having problems with it though. After updating and rebooting, I installed the Xamarin Remoted iOS Simulator from the provided link. My mac is all up to date as is VS on it too as of right this second. When I try and launch my app on the iPhone 8 with iOS 11.2, I just get a blank screen. What happens is when I start a debug session I see the "iOS Simulator" window appear. It goes through "waiting for device..." and then the full "iPhone 8 iOS 11.2" simulator appears. But the screen is just black. There's nothing on it. The debug output window just sits there saying that it's launching my app. Looking at the simulator itself, the buttons at the top (i.e. settings, home, etc) are all grayed out (save the ... one, but the button menu it brings up is the same: all buttons are grayed out). I've tried cleaning/rebuilding/rebooting a few times (rebooting the mac too) but it doesn't work. If I disabled it and just run the simulator on my mac like old times, it works fine. I've tried disconnecting and reconnecting to my mac, same issue. I will try on my laptop in a little bit to see if the same problem happens there.

Capture Build Commands That Are Used in Visual Studio for Mac

$
0
0

Is there a way to see/log the build commands that Visual Studio for Mac uses to build Xamarin.iOS and Xamarin.Android projects?

I'm working on some automated builds in Jenkins and I'm running into some issues when using msbuild on a Mac (builds succeed, but incorrect configuration is being used and simulator builds won't install on a simulator). I want to compare my command line arguments with whatever Visual Studio for Mac is doing (builds work as expected from Visual Studio for Mac).

Making iOS 11 Even Easier with Xamarin.Forms

From Object to Byte Array in Xamarin Forms

$
0
0
Ho community!
I try to use
Serialize.Formatters.Binary.BinaryFormatter

With this class I can convert an Object (like JObject) to a Byte Array. I install it with nuget for Android, iOs and UWP but compiler say me that IT'S NOT INSTALLED FOR UWP

How to Obtain Diagnostic Build Logs

$
0
0

One of the most valuable pieces of information that you, as a developer, can use to diagnose build problems with your Android, iOS, Mac, or any other type of application is the Build Log. Build Logs are also extremely useful to pass along to Xamarin when things go wrong with your build.

Enabling Diagnostic-Level Verbosity in Your Build Logs

To change the level of verboseness in your Build Logs, you'll need to open your Xamarin Studio Preferences dialog. On Mac, you can find this dialog by opening the Xamarin Studio menu and selecting the Preferences item. On Windows, you'll need to go to the Tools menu and select the Options item.

Once the dialog appears, navigate to the Build panel of the Projects section and you should see a Log verbosity setting. The log verbosity drop-down menu offers a number of possible verbosity levels, including Diagnostic (which is the most verbose).

Build Log Verbosity

Where To Find Your Build Log

You can find the Build Log for your project in the Errors output pad located at the bottom right of your Xamarin Studio IDE window (just below your Text Editor view):

Error Pad Location

Note: If you do not see the Errors button, then it might have been closed. To re-enable it, go to the View menu, navigate down to the Pads sub-menu and then select Errors.

Clicking the Errors button will display the Error Pad which contains the Build Log as well as the list of errors and warnings that occurred while building your project.

Build Log

Note: You can easily copy the entire Build Log by using the Command-A shortcut to select all text and then using Command-C to copy the Build Log to your clipboard.

Enjoy a fun game - Paw Puppy Subway Train Surfer Patrol by SamWellEnough

$
0
0

Paw Puppy Subway Train Surfer Patrol is an Arcade game developed by SamWellEnough. The latest version of Subway Puppy Surf Run is 1.2. It was released on 2017-08-27. You can download the Paw Puppy Subway Train Surfer Patrol v1.2 directly on the Google Play store. Over 1000 are playing Metro Racer Run Now. Come join them and download Subway Puppy Surf Run directly!

GAME: Paw Puppy Subway Train Surfer Patrol
According to the developer: SamWellEnough
Version: 1.2
File Size: 51.46 MB
APK signed: 40060BA4CC29DB30C9C5B2F26D8AF6F6675C9038
Released: 2017-08-27 00:47:44
Updated on: 2017-08-27
Category: Arcade
Operating System Requirements: Android 4.0.x - Ice Cream Sandwich
Paw Puppy Subway Train Surfer Patrol Apk Has been Downloaded so far and 0 votes has been casted so far. More details on the Puppy Poodle Subway Train Surfer Patrol can be found at google play: Link here

Enjoying pet care educational game which enhances the mental development

$
0
0

Pu - Care my baby Pandas bears game is both enjoyable as well as educational. Children like this type of educational fun games. Playing these types of games help them to learn a lot of things. By playing this type of pet caring they learn the responsibility in the real life. They also learn to take care of the pet and make them an individual with a good heart. This game has the many of the interesting part. Overall the game is very interesting and also very helpful to the children. The game has many of the interesting part and tasks.

IOS Release build in Visual Studio shows error "Debug is not enabled in the current configuration."

$
0
0

Hi all,

Since a few days (I think since last updates of Xamarin.Forms), I am getting an error message when I try to do a Release build of my IOS app. The message says: "Debug is not enabled in the current configuration. Please Start Without Debugging or change it in Properties -> iOS Build."

A screenshot of the error message:

So I took a look at the properties, but I did not understand what I had to change. As far as I know I did not change anything in the properties.

Also a screenshot of the properties of the project:

Setup information:

  • MacBook with Parallels, running Windows 8.1
  • Visual Studio 2013
  • Project was previous created in Xamarin.Forms 1.2.3 and updated to 1.3.1 last week.

Does anyone know how to resolve this problem?

KingGames2017 - Android Games Developer

$
0
0

Hello,
Below is KingGames2017 PlayStore Page where you can get the android games for your android device.
goo.gl/kwGatz

Below is KingGames2017 Amazon AppStore Page where you can get the android games for your android device.
goo.gl/uCE9fd

Best Regards

iOS USB remoting

$
0
0

Anyone got this to work? Seems from this blog post that it should be possible https://blog.xamarin.com/live-from-evolve-new-xamarin-previews/

I have a remote Mac and a local iPad. I have the latest Xamarin alpha releases on both ends (local Win10 PC, remote Mac), the new Visual Studio simulator seems to be working, but the Visual Studio does not see my iPad.

Are there any special steps I need to take to get this to work?

Android app deploys/works fine when built in VS but not when built from msbuild

$
0
0

This has me pulling my hair out..

We have a project that works fine in debug or adhoc(release) when built and deployed using Visual Studio. But when we build it from the command line (msbuild as part of cake script) it just repeats the following log output:

D/ResourcesManager(24055): For user 0 new overlays fetched Null
I/MultiDex(24055): VM with version 2.1.0 has multidex support
I/MultiDex(24055): install
I/MultiDex(24055): VM has multidex support, MultiDex support library is disabled.
W/monodroid(24055): Creating public update directory: `/data/user/0/<AppName>/files/.__override__`
W/monodroid(24055): Using override path: /data/user/0/<AppName>/files/.__override__
W/monodroid(24055): Trying to load sgen from: /data/user/0/<AppName>/files/.__override__/libmonosgen-2.0.so
W/monodroid(24055): Trying to load sgen from: /storage/emulated/0/Android/data/<AppName>/files/.__override__/libmonosgen-2.0.so
W/monodroid(24055): Trying to load sgen from: /storage/emulated/0/../legacy/Android/data/<AppName>/files/.__override__/libmonosgen-2.0.so
W/monodroid(24055): Trying to load sgen from: /data/app/<AppName>-1/lib/arm/libmonosgen-2.0.so
W/monodroid(24055): Trying to load sgen from: /data/user/0/<AppName>/files/.__override__/links/libmonosgen-2.0.so
A/monodroid(24055): No assemblies found in '/data/user/0/<AppName>/files/.__override__' or '/storage/emulated/0/Android/data/<AppName>/files/.__override__'. Assuming this is part of Fast Deployment. Exiting...

On one device it just loops with the splash screen visible spitting this out forever, on another device it does 3 iterations (with splash flashing visible) and then stops trying and the app crashes.

I've checked that fast deployment/android shared runtime are disabled. I've tried multiple different settings in the csproj file.

relevant parts of project file (I think):

<Project>
    ...
<PropertyGroup>
    ...
    <AndroidApplication>true</AndroidApplication>
    <AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
    <AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
    <AndroidUseLatestPlatformSdk>true</AndroidUseLatestPlatformSdk>
    <TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
    <AndroidSupportedAbis>armeabi,armeabi-v7a,x86</AndroidSupportedAbis>
    <AndroidStoreUncompressedFileExtensions />
    <MandroidI18n />
    <JavaMaximumHeapSize>1G</JavaMaximumHeapSize>
    <AndroidEnableMultiDex>true</AndroidEnableMultiDex>
    <JavaOptions />
    ...
<PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <AndroidUseSharedRuntime>False</AndroidUseSharedRuntime>
    <EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
    <AndroidLinkMode>SdkOnly</AndroidLinkMode>
</PropertyGroup>
...
</Project>

And here is how I call it from my cake script

MSBuild(androidProject, settings => settings
    .SetConfiguration(configuration)
    .WithProperty("Platform", "AnyCPU")
    .SetVerbosity(Verbosity.Verbose)
    .WithProperty("AndroidKeyStore", "true")
    .WithProperty("AndroidSigningStorePass", aksPassword)
    .WithProperty("AndroidSigningKeyStore", androidKeyStoreFile)
    .WithProperty("AndroidSigningKeyAlias", androidKeystoreAlias)
    .WithProperty("AndroidSigningKeyPass", aksPassword)
    //.WithProperty("DebugSymbols", "true")
    .WithTarget("SignAndroidPackage")
    .WithTarget("Build")
    .WithProperty("OutputPath", System.IO.Path.Combine(buildDir, "android"))
    .WithProperty("TreatWarningsAsErrors","false"));

I've been searching the web and changing settings/rebuilding all day with no progress.

(This is a Xamarin.Forms app, but I'm posting in Android because I don't think the issue is specific to that)


The "XamlCTask" task failed unexpectedly.

$
0
0

Hello Team,
I am facing this The "XamlCTask" task failed unexpectedly. problem after adding the xamarin.forms.maps package to my application.

Waiting for your response.

Storyboard editing, too slow (4.1.0)

$
0
0

I really like new feature that is storyboard editting in xamarin studio. but so so slow. (I use mac mini server)

I guess that the problem caused by too many grid lines.

Hardware requirement

$
0
0

I wanted to develop native application for iOS, Windows phone and Android platform using Visual Studio 2013/Xamarin. My question is: What is the hardware requirement for the development?

What happened to PCL and UWP in VS 15.5.1?

$
0
0

I just updated Visual Studio to 15.5.1. When I tried to create a new project, the PCL option seems to be replaced by a .Net option. Is this the same? Also, the selection for UWP is grayed out. How do I get this option back?

Color Animation - Button

$
0
0

H!
So...I tried to make an animated button (colors).
My goal is to make a button which change his color smooth and without using OnClick-Event. By the way... which color-system is the best for that.?
Does sombody has an idea or maybe some rows code for me?

Would be very nice - thank you in advance!
best regards Anthony

Viewing all 204402 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>