xamarin.android

Java Binding Abstract class not being generated

余生颓废 提交于 2019-12-29 06:29:10
问题 Error CS0234: The type or namespace name IBitmap' does not exist in the namespace Com.Sushi.Hangover'. Are you missing an assembly reference? I have an Android binding project which has classes that are inheriting from multiple interfaces but these interfaces are not been generated and thus all of the public classes that depend upon them are failing to bind. Java Class: abstract interface Bitmap { ~~~ (methods removed) } api.xml: <interface abstract="true" deprecated="not deprecated" final=

Android Action Bar Tabs, Styling the Icon and Text together

老子叫甜甜 提交于 2019-12-28 13:56:16
问题 Firstly, there is the image of my current tab bar What I want is either aligning the images to very left, while keeping the text centered or moving the images on top of the text centered. Here is how I add the texts: var tab = this.ActionBar.NewTab (); tab.SetText (tabText); tab.SetIcon (iconResourceId); Here is my relevant style.xml entries: <style name="Theme.Discover" parent="@android:style/Theme.Holo.Light"> <item name="android:actionBarStyle">@style/MyActionBar</item> <item name="android

Anyone have experience with architecture for cross platform WP7 Android iOS mobile development (monotouch, monodroid, C#)

梦想的初衷 提交于 2019-12-28 08:05:15
问题 This question is specifically related to a recommended architecture and people's previous experiences for cross-platform WP7, iOS, Android apps developed using C#, Monotouch and Monodroid respectively. I have researched previous questions here, here and here. They provide good answers but not quite what I'm looking for. I have also found this excellent question which does go into the cost benefit so there is some overlap. I have a requirement to develop a cross-platform iPhone/iPad, WP7 and

Anyone have experience with architecture for cross platform WP7 Android iOS mobile development (monotouch, monodroid, C#)

[亡魂溺海] 提交于 2019-12-28 08:05:12
问题 This question is specifically related to a recommended architecture and people's previous experiences for cross-platform WP7, iOS, Android apps developed using C#, Monotouch and Monodroid respectively. I have researched previous questions here, here and here. They provide good answers but not quite what I'm looking for. I have also found this excellent question which does go into the cost benefit so there is some overlap. I have a requirement to develop a cross-platform iPhone/iPad, WP7 and

Add elevation/shadow on toolbar for pre-lollipop devices

旧街凉风 提交于 2019-12-27 17:05:29
问题 I updated my android app to the new material design, but I also wanted to add some shadow or elevation to the Toolbar. There seem to be some (hacky) ways of doing it via images/9-patches, but I wonder if it can be done via the support libraries. (just like the CardView can have elevation) According to this answer on another question, this is possible by wrapping the Toolbar in a AppBarLayout , but this doesn't work for me. My layout: <?xml version="1.0" encoding="utf-8"?> <android.support

Add elevation/shadow on toolbar for pre-lollipop devices

亡梦爱人 提交于 2019-12-27 17:04:00
问题 I updated my android app to the new material design, but I also wanted to add some shadow or elevation to the Toolbar. There seem to be some (hacky) ways of doing it via images/9-patches, but I wonder if it can be done via the support libraries. (just like the CardView can have elevation) According to this answer on another question, this is possible by wrapping the Toolbar in a AppBarLayout , but this doesn't work for me. My layout: <?xml version="1.0" encoding="utf-8"?> <android.support

Xamarian Crossplatform

廉价感情. 提交于 2019-12-25 18:32:37
问题 I am new in Xamarian cross platform.I am unable to install any package in my project. I need ITextSharp package to install in my project. Any suggestion about my project. or is there any installation error my visual studio 2017 V15.6.6 Here you find my project backup. https://transfer.pcloud.com/download.html?code=5Z1KYY7Z1tqniyz5QUVZDoDVZswIUny3aQ8BrUrsQ9o7s1z6iCPtk Please give me suggestion. 回答1: You could refer to the following document: iTextSharp: Any support for dotnet core

How can we make app in kiosk mode using xamarin?

﹥>﹥吖頭↗ 提交于 2019-12-25 17:46:51
问题 I'm creating new app using xamarin. I have already completed some part using some sample codes. I'm able to disable back buttons, volume buttons and power button. But when trying to disable home button I'm getting error on debugging. I'm following this link,Kiosk mode in Andriod. 回答1: But when trying to disable home button I'm getting error on debugging. Since you didn't post your code and your error message, we don't know what happened, I just tried to create such a sample followed the blog

Multiple Estimote/Beacons in Xamarin.Android

北慕城南 提交于 2019-12-25 16:54:22
问题 I am very new to this beacons concept. For demo purpose i have configured one of my beacon/estimote using this sample application Android iBeacon App . Here the application can able to find single beacon at a time.I mean i have to pass the UUID of a single beacon to find whether it is inside the beacon range or not . Is there any possibility to find the multiple beacons using the same application.? I mean if the user enters the particular beacons range, the user should get the notification

Working with front camera (Xamarin.Android)

自闭症网瘾萝莉.ら 提交于 2019-12-25 11:33:11
问题 I have gone through this recipe and it is working fine. However, I have a couple of questions: 1) It tells me how to work with the main camera but I am looking to work with the front camera, how can I do that? 2) I have to develop an app for 10.1 tablet and I was hoping that when I click on the 'Activate Camera' button, the front camera activates and rather than showing what the camera sees in the complete view, I should be able to show it in a defined box on that screen. In other words, I