InternetException

Android

Android · 8 posts (all categories)

Problem with local network in termux

· 227 words · ~1 min read · in Android

#termux

I bought new phone and I started installing applications from previous device. When I installed termux I tried to copy ssh keys and ssh config from previous installation.

This is where problems started. I could not reach any local address. Nothing in 10.x.x.x was working. No pings no ssh.

I could do that to public IPs just fine.

I tried to install new version of packages but it also did not work.

Read the whole thing →

Automatic scrolling to edited text box in Xamarin Android.

· 858 words · ~4 min read · updated · in .NET, Android, C#, Xamarin

Important note: this should work well with newer version of Xamarin (2.3.3). If you cannot update for some reason this article will explain workaround.

Introduction

In previous article I explained how to detect show and hide events of software keyboard in Xamarin Android. I did it in my project because of the fact that some of text boxes was hidden by software keyboard that suppose to edit contents of those text boxes. In this article I will explain how to work around this issue in some older versions of Xamarin.

Read the whole thing →

Xamarin with TinyIoC

· 3190 words · ~15 min read · updated · in .NET, Android, C#

#XAML #dependency injection #Xamarin

Introduction

This article is builds on topics and solutions introduces in ViewFactory for Xamarin application and Xamarin Master-Detail Page articles. It shows method for easier navigation and use of services via IoC in Xamarin application. Knowledge from previous examples is not necessary, but makes this article bit easier to understand.

Read the whole thing →

ViewFactory for Xamarin application

· 5652 words · ~28 min read · updated · in .NET, Android

#delegates #reflection #async #XAML

First things first - Why?

First of all I do not like how creating of views and navigation works in Xamarin. There is much boilerplate needed to just navigate from one page to another. Typically like in Xamarin documentation we have to obtain INavigation interface instance, create instance of a new page, create instance of view model and all dependencies it requires. When you page do not require view model things are real easy and Xamarin sample is just enough.

Read the whole thing →

Xamarin Frame and disappearing Outline

· 777 words · ~3 min read · updated · in .NET, Android, C#, Xamarin

#XAML

This is another article in mini series of Xamarin bugs and workarounds for them :) Previous one you can find here . This one is again about Frame control. I promise that another one will be about something else B) Issue can be observed when you bind BackgroundColor property of Frame control and something will trigger change of view model source property binded to background color.

Read the whole thing →

Xamarin Frame and Style with Padding

· 496 words · ~2 min read · updated · in .NET, Android, C#, Xamarin

#XAML

If you are a bit advanced with Xamarin you should already now that there is possibility of styling your controls almost like in WPF. Almost, because there is a few strange bugs involving this. For example there is a problem with styling a Padding property in Frame. Consider following Xaml of Xamarin application (I tested it in Android):

Read the whole thing →