Tag : android

Creating a custom alert view in Android using C#

As mentioned in my earlier post, we can use the default AlertDialog class to display the alerts of screen by setting different properties and methods of it. But still there sounds like, we may need dialogs on screen which would be needed to be customized. They can be accept user inputs, can display an arranged info of an user etc.

How to do it ?


We will follow few simple steps

  • Create a custom view
  • Render the custom view in AlertDialog

Create a custom view


Let’s add a new layout to the project under Resources > layout.
AddedNewLayout

Categories: Android, CSharp, MonoDroid, Visual Studio, Xamarin

Quick Tips : Displaying an Alert in Android using MonoDroid

Displaying an informational alert on screen


Let’s just display a quick informative popup, which will only display an alert on screen with a title and a message in it. It actually gets closed when the back button get touched.

AndroidAlertWithoutButton

Let’s display the OK and Cancel button

We will add OK and Canel button. On click of the buttons, it will display a quick Toast message on screen in order
to differentiate which button is clicked.

Categories: Android, CSharp, MonoDroid, Visual Studio, Xamarin

Upload Failed : You uploaded a debuggable APK

upload-failed

It was quite late in theĀ evening and I was about to wrap up my work. Suddenly I got a call form my client in Skype and he shared his concerns of uploading the build to production. Although it was late, I thought to help him before I close the day, since that guy is in the middle of his day time (in US). Now mind set is to spend time on the issue. I started looking into the issue.

The issue is, while he (my client) started uploading the APK file into the Android store, he is receiving the below rejection message from the store. More..

Categories: Android

%d bloggers like this: