cost 460 ms
Microsoft.Datasync.Client.SQLiteStore.SQLiteException:無法為 URI 連接字符串配置 sqlite3

[英]Microsoft.Datasync.Client.SQLiteStore.SQLiteException: Unable to configure sqlite3 for URI connection strings

我收到此錯誤“Microsoft.Datasync.Client.SQLiteStore.SQLiteException:無法為 URI 連接字符串配置 sqlite3。” 嘗試使用 Microsoft.DataSync.Client.SQLiteStore 在 xamarin.android 項 ...

如何將 Xamarin DatePicker 彈出窗口 header 和背景更改為白色,並將字體顏色更改為灰色

[英]How to change Xamarin DatePicker popup header and Background to White and also Font Color to Gray

我正在嘗試為 datePicker 彈出窗口提供自定義外觀。 但是我找不到任何直接字段來更改彈出窗口中顯示的文本的 header 背景和字體顏色在此處輸入圖像描述 ...

為什么添加“Android:Exported”屬性不能解決 Google Play 商店中的問題?

[英]Why is adding "Android:Exported" property is not resolving issue on Google Play Store?

我遇到了您上傳的 APK 或 Android App Bundle 的問題,其中包含一個活動、活動別名、服務或帶有意圖過濾器的廣播接收器,但沒有設置“android:exported”屬性。 此文件無法安裝在 Android 12 或更高版本上。 請參閱:developer.android.com ...

如何在Android后台加載UI?

[英]How to load UI in background on Android?

我有一個片段加載時間太長,因為它的 OnCreateView() function 配置了大約 40 個文本框。 有沒有辦法將它放在后台線程中並在加載時顯示進度指示器圓圈? 我曾嘗試使用 AsyncTask,但是當第二次調用 OnCreateView() 時,我收到一條錯誤消息,指出我必須使用原始 ...

Xamarin Android 屏幕方向

[英]Xamarin Android Screen Orientation

我正在為 android(空白 Xamarin 項目/Visual Studio 2022)編寫一個 WebView 應用程序。 我添加了這一行,因此 WebView 不會在方向更改時重新加載: [Activity(Label = "@string/app_name", Theme = "@styl ...

編寫 Xamarin.Forms 應用程序的提示

[英]Hints for programming a Xamarin.Forms application

對不起,我的問題可能很愚蠢。 由於我是 Xamarin Forms 的新手,我需要一些基本提示: 我需要一個 window(“輔助窗口”)從左側滑入我的主窗口 window。在這個 window 中,應該顯示一個項目列表(帶有圖像和文本),這個 window 應該只覆蓋我的 1/4 到 1/2主要 ...

在 CarouselView 中縮放圖像並滑動到下一張圖像后,上一張圖像未以其原始形式顯示,而是以縮放類型圖像顯示

[英]After zooming the image in CarouselView and swiping to next image, the previous image is not display in it's original form it is in zoom type image

在 CarouselView 中縮放圖像並將圖像滑動到其他圖像並返回到我縮放過的圖像后,圖像已經縮放,因為我希望當我滑動到其他圖像時圖像應該達到其原始形式。 這是我下面的 XMAl 代碼:- ...

如何使用社區工具包 NuGet Package 中的 TabView 重新創建此處展示的設計? (詳情中提供鏈接)

[英]How can I recreate the design presented here using TabView from the Community Toolkit NuGet Package? (link provided in the details)

我在重現此處鏈接中提供的設計時遇到問題: Extending TabbedPage in Xamarin Forms 我從頭開始創建了一個項目並使用了提供的所有片段。 我在共享項目中創建了一個文件夾,並添加了一個繼承 TabbedPage 的 class。 在 Android 項目中,我創建了一個 ...

如何對齊 Xamarin StackLayout 中的元素?

[英]How align elements in Xamarin StackLayout?

我附上這段代碼的結果。 在此處輸入圖像描述我希望布局看起來像紅色保持居中,黃色朝向水平線的兩端。 不管黃色內 label 的文字大小如何,我都希望紅色保持居中。 請給我建議 我試圖將黃色部分發送到遠端,同時將紅色 label 保持在中心。 ...

無法捕獲選定的列表視圖項

[英]Cannot capture listview itemselected

我正在嘗試捕獲在列表視圖中單擊的項目。 我在這里看到的所有內容都涉及 Xamarin Forms,我沒有使用 Xamarin Forms。我構建了我的列表視圖並正常顯示,但我不知道如何捕獲項目點擊。 我的構建代碼: 此代碼按預期顯示姓名和電話號碼,但我不知道如何檢測何時單擊列表視圖。 我試過了: 但 ...

更新 Xamarin.Android Contacts with ContentProvider

[英]Update Xamarin.Android Contacts with ContentProvider

我正在 Xamarin.Forms 中開發一個應用程序,它允許用戶保存聯系人,如果聯系人已經存在,它會得到更新。 Xamarin.iOS這邊已經在工作了。 到目前為止,保存聯系人效果很好。 為了更新聯系人,我刪除了所有的電話號碼,然后再一一添加。 刪除所有電話號碼已經有效,我只是無法再次添加它們 ...

無法將類型 Android.Net.Uri 隱式轉換為 System.Uri

[英]Cannot implicitly convert type Android.Net.Uri to System.Uri

這段代碼: 結果:錯誤 CS0029 無法將類型“Android.Net.Uri”隱式轉換為“System.Uri” 在 Visual Studio 2022 中,使用 Android.Net 和 Xamarin。 我試圖進行類型轉換,例如: 然后我收到錯誤:錯誤 CS0030 無法將類型“And ...

自定義 collectionView 實現

[英]Custom collectionView implementation

我正在嘗試實現一個 CollectionView,如下圖所示。 可以看到,如果一個元素被選中,它的右上角會有一個對應的復選標記 首先,我試圖在 SelectionChanged 事件中找到 AbstractLayout 類別 ID,並且我已經在其中尋找一個名為 =“showIfSelected”的元 ...

Xamarin.Forms ImageLoaderSourceHandler:無法檢索圖像或圖像數據無效

[英]Xamarin.Forms ImageLoaderSourceHandler: Could not retrieve image or image data was invalid

我正在嘗試從本地 ASP.NET API 顯示 xamarin.forms 中的圖像。我可以在電腦和手機上訪問該圖像,但不能在我的自定義 android 應用程序中訪問。 它也適用於 UWP。 我在 output window 中收到以下錯誤:[0:] ImageLoaderSourceHandle ...

Xamarin.Android 廣播接收器在 Android 模擬器上啟動完成后被正確觸發,但在 Android 9 (Techno Spark 4) 上它沒有

[英]Xamarin.Android Broadcast Receiver is being fired properly after boot completion on Android Emulator but on Android 9 (Techno Spark 4) it doesn't

我正在嘗試讓我的 xamarin.android 前台服務在我的 Android 9 (Techno Spark 4 Air) 手機啟動完成后運行。 它在 android 模擬器上運行良好。 這就是我所做的。 我的BroadcastReceiver: 我的接收器在 Android 清單 XML 文件 ...

如何在 Xamarin.Android 中正確注冊 FCM 針對 API 33

[英]How to properly register FCM in Xamarin.Android targeting API 33

我想更新我的應用程序以支持 Android API 33(推送通知權限請求)的新要求,但我無法獲取令牌,甚至無法OnNewToken() 。 我的清單中確實有<uses-permission android:name="android.permission.POST_NOTIFICATION ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM