- XAMPP for Windows: https://www.apachefriends.org/download.html
- Download Xdebug for:
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore "your.jks" your.apk alias |
version: "3" | |
services: | |
sonarqube: | |
image: sonarqube | |
expose: | |
- 9000 | |
ports: | |
- "127.0.0.1:9000:9000" | |
networks: |
AOSP 的 WebView 預設使用com.android.webview | |
安裝Android System WebView (com.google.android.webview) | |
執行 App 使用的 WebView 元件仍是com.android.webview |
List<ApplicationInfo> apps = getPackageManager().getInstalledApplications(0); | |
for (int i=0; i < apps.size(); i++) | |
{ | |
if ((apps.get(i).flags & ApplicationInfo.FLAG_SYSTEM) != 1) | |
{ | |
//System app | |
} | |
} |
CALL %LOCALAPPDATA%\Android\sdk\emulator\emulator.exe -list-avds | |
@ECHO off | |
SET /P name=Enter Emulator Name: | |
CALL %LOCALAPPDATA%\Android\sdk\emulator\emulator.exe @%name% | |
PAUSE |
[TestFixture] | |
public class TrannsactionScopeTests | |
{ | |
private TransactionScope trans = null; | |
[SetUp] | |
public void SetUp() | |
{ | |
trans = new TransactionScope(TransactionScopeOption.Required); | |
} | |
[TearDown] |
using System.Threading.Tasks; | |
using Newtonsoft.Json; | |
using Refit; | |
using System.Net.Http; | |
using System; | |
namespace wms_xamarin | |
{ | |
public class LoginApi | |
{ |
One of the best ways to investigate a problematic Xamarin.Android Binding is to first ensure you have the proper tooling available:
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end | |
#parse("File Header.java") | |
public class ${NAME}{ | |
private static volatile ${NAME} INSTANCE; | |
public static ${NAME} getInstance() { | |
if (INSTANCE == null) { | |
synchronized (${NAME}.class) { | |
if (INSTANCE == null) { | |
INSTANCE = new ${NAME}(); |