Ref: https://www.visualstudio.com/en-us/features/xamarin-vs.aspx
ASUS X450J / Windows 10 x64 Education
ASUS Zenfone 6
1. Download xamarin installation from vs 2015.
2. The installation was stopped during the slowly download rate.
3. Download XamarinStudio and XamarinVisualStudio manually.
4. Install XamarinStudio and XamarinVisualStudio.
5. Install Xamarin intsllation again.
6. VS2015 new Android project
7. Change to release mode
2015年8月30日 星期日
2015年8月21日 星期五
Android push Server test
Ref:https://developers.google.com/cloud-messaging/android/start?configured
1. First try
ASUS X450J Windows 10 + Android 1.2/1.3
Download Gradle for windows, fail to send message to GCM
2. Macbook Pro OX 10.10.5 + Android 1.3
ASUS zenfone 5 and 6
3. Both of zenfone 5 and 6
4. Download android examples
https://github.com/googlesamples/google-services
5. Download google-Services.json
6. Copy to gcm/app folder
7. Replace API into Gcmsender.java
8. Install Quickstart sample into zenfone 5 and 6
9. ./gradlew run -Pargs="<message>"
Automatically download and install package
10. ./graglew run -Pargs="推播中文Zenfone 5 and 6"
11. Response
12. Windows
1. First try
ASUS X450J Windows 10 + Android 1.2/1.3
Download Gradle for windows, fail to send message to GCM
2. Macbook Pro OX 10.10.5 + Android 1.3
ASUS zenfone 5 and 6
3. Both of zenfone 5 and 6
4. Download android examples
https://github.com/googlesamples/google-services
5. Download google-Services.json
6. Copy to gcm/app folder
7. Replace API into Gcmsender.java
8. Install Quickstart sample into zenfone 5 and 6
9. ./gradlew run -Pargs="<message>"
Automatically download and install package
10. ./graglew run -Pargs="推播中文Zenfone 5 and 6"
11. Response
12. Windows
2015年8月18日 星期二
主控台程式,中英文模式切換
1. ASUS X450J/ Windows 10 Education version
2. Add Ref : https://inputsimulator.codeplex.com/
namespace ConsoleApplication1
{
using WindowsInput;
using WindowsInput.Native;
class Program
{
static void Main(string[] args)
{
InputSimulator im = new InputSimulator();
System.Threading.Thread.Sleep(1000);
im.Keyboard.ModifiedKeyStroke(VirtualKeyCode.CONTROL, VirtualKeyCode.SPACE);
Console.Write("輸入英文:");
Console.ReadLine();
System.Threading.Thread.Sleep(1000);
im.Keyboard.ModifiedKeyStroke(VirtualKeyCode.CONTROL, VirtualKeyCode.SPACE);
Console.Write("輸入中文:");
Console.ReadLine();
}
}
}
2. Add Ref : https://inputsimulator.codeplex.com/
namespace ConsoleApplication1
{
using WindowsInput;
using WindowsInput.Native;
class Program
{
static void Main(string[] args)
{
InputSimulator im = new InputSimulator();
System.Threading.Thread.Sleep(1000);
im.Keyboard.ModifiedKeyStroke(VirtualKeyCode.CONTROL, VirtualKeyCode.SPACE);
Console.Write("輸入英文:");
Console.ReadLine();
System.Threading.Thread.Sleep(1000);
im.Keyboard.ModifiedKeyStroke(VirtualKeyCode.CONTROL, VirtualKeyCode.SPACE);
Console.Write("輸入中文:");
Console.ReadLine();
}
}
}
2015年8月6日 星期四
簽署時發生錯誤: 找不到 SignTool.exe
Ref: http://stackoverflow.com/questions/22946399/signtool-error-no-certificates-were-found-that-met-all-given-criteria-with-a-wi
1. Windows 10 Education version
2. VS 2015 Dreamspark
3. Download KTOI source code(https://ktoi.codeplex.com/)
4. Test run error : 簽署時發生錯誤: 找不到 SignTool.exe
5. Go to property of project
6. De-select 簽署簽證清單...
1. Windows 10 Education version
2. VS 2015 Dreamspark
3. Download KTOI source code(https://ktoi.codeplex.com/)
4. Test run error : 簽署時發生錯誤: 找不到 SignTool.exe
5. Go to property of project
6. De-select 簽署簽證清單...
訂閱:
文章 (Atom)