As an Office 365 Admin, I have to learn Powershell
In my position, I need to do some Administrative tasks in Office 365. Office 365 got a very user-friendly interface to config the Office 365 products, from Calendar to Sharepoint Online. However, for advanced administrative tasks, I need to use Powershell script. Such as unlocking composited looks in Sharepoint and Change the permission of a room's calendar. Thus, as an Office 365 Admin, I have to learn Powershell. I need to watch more tutorial video from Plursight.
Error:Could not determine the class-path for interface
Last weekend, I started to migrate my old projects to the latest Android Studio. That is not a smooth process, first error I got is "Could not determine the class-path for interface com.android.builder.model.AndroidProject". I believe that caused by the old grade. I got a tip smart from Android Studio saying I should upgrade the version from 0.22 to 2.3.0. So I modified the classpath in the build.gradle file
classpath 'com.android.tools.build:gradle:2.3.0'
Then I still got the same error. After I did some research on the internet. I found to upgrade the gradle. I need to change gradle-wrapper.properties too.
distributionUrl=http://services.gradle.org/distributions/gradle-3.3-all.zip
That is to get the latest package.
Reference:https://stackoverflow.com/questions/42777321/could-not-determine-the-class-path-for-interface-com-android-builder-model-andro
[Xamarin]Get the Screen Height and convert for Height Request
That is impossible to detect screen size in the Xamarin Form. You have to do in the native Android code.l suggest to do in MainActivity and then put in the static variable in the Forms PCL project like this:
Android.Util.DisplayMetrics displayMetrics = new Android.Util.DisplayMetrics();
this.WindowManager.DefaultDisplay.GetMetrics(displayMetrics);
App.Height=(int)(displayMetrics.HeightPixels/displayMetrics.Density);
Also, the unit of HeightRequest is device-independent units. But I found if you use HeightPixel divide by Density of the screen, then it will convert into the unit for HeightRequest or WidthRequest
Microsoft Surface Laptop
Last week, finally, I got a chance to see a Microsoft Surface Laptop in JB HiFi. This product is available in Australia! I got about one minute to try this laptop. Firstly, I found it looks like Surface Book, just only it cannot detach its screen to become a tablet. Secondly, it has a fabricskin keyboard. I found that is very comfortable. Also, the fabric cover made me feel warm when I type. Thirdly, the screen is sharp too.
Well, there is the usual downside again. The price tag is not cheap. The Core i7 with 8GB and 256SSD costs $2499.
In the end, it cost too much, I cannot have it!
LG V10 got Android 7
I have used my LG V10 for one and half year. In general, that is not bad. A few days ago, I got the latest update for Android OS. That is Android 7. I used Samsung before; I only got 2 OS updates. But LG sounds a better deal. My LG V10 came with Android 4.4, then I got Android 5.5 not long afterward. About a year ago, I got Android 6.0. Now, I got Android 7.0. I like it.
After the upgrade, my phone is still smooth. Moreover, I love the notification hub. The new way is more organized. Lastly, I found the icon sets are changed, the style got more flatten.