In this exercise we will use Android Studio to create a single screen Android UI app that will access the sensor class to get the number of established sensors on a device. Don’t worry if you don’t have any sensors, It’s just that its more interesting than doing yet another “Hello World”. My system didn’t have any sensors enabled.
This blog will cover getting the development environment set up on a Windows 10 development machine. It also covers (an issue I wrestled with for some time) getting the target connected to the development machine. The second blog in this sequence will cover app development and deployment. Given my Windows background, it might have made sense to do the app development in Xamarin, the cross platform .NET app development environment for which you can simultaneously develop code for Windows, Android and Apple. You can also code in Visual Studio and deploy to an Android device. That will be the topic of a subsequent blog as I wish in this first instance to use the generic Android develop environment (Android Studio). I will then cover Android specific development in Visual Studio (2013) using a plugin. The hard part of the installation is getting ADB set up.
The Dragonboard 410C from Arrow has been certified for Windows 10 IoT-Core. It comes though with the Android OS installed. Whilst a subsequent blog will cover the Windows 10 installation to it, this blog focuses upon getting a feel for the board’s capabilities and how to use it in the Android context. This will then will lead to expectations of the board’s functional capabilities in the IoT-Core context for the next blog. The previous blog covered the board’s features.
The Dragonboard 410C from Arrow has been certified for Windows 10 IoT-Core and comes with Android installed. This blog takes a close look at the board’s features. Subsequent blogs will look at using the board in Android and IoT-Core modes.
After an absence from significant IoT-Core activity, whilst working on a significant phone app (as blogged here) I’m back in the IoT-Core space. Things have changed for the better so here goes. This blog covers my experiences with getting a RPI3 going with the latest Technical Preview build. Tools are now available to simplify setup and there is now a Remote Viewer. As a test UWP app, I have used (after a small modification) the Icons app on Codeplex, Universal Windows 10 SDK App Icons app as blogged in a previous blog. The app was modified because popups (as in MessageBox) are not supported in IoT-Core (Use thereof can cause an app crash in later OS versions). This feature change is covered.
This blog covers the use of the Symbol Enumeration class as the displayed icon of XAML buttons. Data binding of them to ViewBoxes is also covered including in a MenuItem template. This includes implicitly creating a list of Symbols for the menu in a couple of lines of code. AppBars are also covered
Screen Scraping tools have been around for some time. These enable an app to download HTML source and extract specific entities from an HTML page. Given that an HTML table IS structured data it shouldn’t be hard to programmatically extract a table. It could be done with Linq queries to teh page text. This blog uses the HTMLAgilityPack’s HtmlDocument in a Universal Windows app to extract an HTML table directly into a list of a matching class.
Its not too hard to add GPS capability to the Universal Windows SDK Camera sample so that captured images can have GPS information embedded in them. Here’s how.
Its not too hard to add flash capability to the Universal Windows SDK Camera sample. Here’s how.
For those who have missed this, its at https://www.visualstudio.com/en-us/news/vs2015-update2-vs.aspx
I think that these two improvements are gems:
PS: Has anyone tried Compact 2013 Platform Builder and App Development with this release. Have they made it through unscathed?
I’ll try Iot-Core tomorrow.