Tuesday, November 28, 2017

Mobile app options using Visual Studio 2017 Community.

The Web application templates in VS 2017 Community has not changed much from those available in VS 2013 except that the Facebook web application has disappeared and a new Azure API App has been added. You can add folders and core references to:

Web Forms
MVC
API

The various templates available in VS 2017 Community are:
  • Empty - No content but a template for creating ASP.NET applications
  • Web Forms-For building event driven dynamic web sites with drag and drop support. You have whole toolset of controls and components
  • MVC - Using Model-View-Controller architecture with support for test-driven apps
  • Web API-Use RESTful HTTP services that can be used by broad range of clients-browsers and mobile devices
  • Single-Page application Client side rich JavaScript driven HTML5 with CSS3
  • Azure API app-Microsoft Azure API apps for hosting REST APIs as well as API Market place. They can be consumed by mobile, desktop and web apps
Visual Studio 2017 templates:




Thursday, November 23, 2017

Installing Android Studio 3.0 on Windows 10

Android Studio 3.0 is the official Integrated Development environment (IDE) for Android app development.
Android App studio brings in many features :

• A flexible Gradle-based build system
• A fast and feature-rich emulator
• A unified environment where you can develop for all Android devices
• Instant Run to push changes to your running app without building a new APK
• Code templates and GitHub integration to help you build common app features and import sample code
• Extensive testing tools and frameworks
• Lint tools to catch performance, usability, version compatibility, and other problems
• C++ and NDK support
• Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine

The installation is straight forward on Windows 10 as the installation program downloads all the necessary items during Android Studio installation. It is driven by a wizard which makes it very easy.
You can download Android Studio from here:
https://developer.android.com/studio/index.html

The instructions are available on this page and a step-by-step process detailed here with screenshots.


 InstallAndroid

Double click the downloaded file android-studio-ide-171.4408382-windows.exe. This begins the Android Studio Setup program.


InstallAndroid_1

Click Next>. The virtual device is an emulator to test the apps you build. Click Next.


InstallAndroid_2

Click Next>

 InstallAndroid_3

Accept (or Change) the location and click Next>


InstallAndroid_4


The downloading begins from the repository and you should have your Internet connection working.

InstallAndroid_5

All types devices for which you can build apps are lined up in this Welcome screen. Click Next.

InstallAndroid_6


It is recommended to choose Standard if you have never used Android app development tools before.
Click Next accepting the default. You select the UI theme.



InstallAndroid_7


Click Next.

InstallAndroid_8


Verify the settings. We have included the emulator. Click Finish.
 
 
InstallAndroid_9

More components are downloaded as shown.


InstallAndroid_10


Click Finish one more time.


InstallAndroid_11

Now you are ready to build apps for Android using the Android Studio IDE 3.0































Friday, November 10, 2017

Does your Windows 10 computer support Mixed reality?

The computer I am using is a Dell Computer (a laptop, actually) with Intel Core I7 and it has a NVIDIA GeForce GTX card. Can I run Microsoft Mixed Reality on this laptop?

I have 8GB installed RAM. It is a 64-bit OS with x64-based processor. The Intel i7-6700HQ CPU runs at 2.60 GHZ.

The OS software is Windows 10 Pro Insider Preview, Version 1709.

To check whether it can support Microsoft Mixed reality you should download an app that you can find in Microsoft Store shown here. Run the app and agree for the conditions.





Looks like my NVIDIA GEFORCE GTX chip may not be adequate.



I could try updating the drivers.

Monday, October 30, 2017

What do you need for developing Android apps on Windows?

First of all you need Android Studio and for Windows you can download Android Studio 3.0 here. Of course you need to accept the license terms.

https://developer.android.com/studio/index.html

Once you download the file you will be taken to the installing directions page here.
https://developer.android.com/studio/install.html

Review this page's image here:


Run the downloaded executable and follow the wizard.

Sunday, October 29, 2017

Get started with Thimble by registering

Just signing up for Thimble gets you this page...


I signed up and this is where I landed. It is an untitled project.


ThimbleStart_0

The file icon brings this up.

ThimbleStart_1

Click Add a Tutorial adds this page-tutorial.html



ThimbleStart_2

You can type over Untitled with a name of your own and click Save.


ThimbleStart_3

Let us see what Publish would do. Click Publish.

Provide some description here:


ThimbleStart_4

Click Publish

It gets published here:
https://thimbleprojects.org/mysorian/344268



The tutorial page is found at:


https://thimbleprojects.org/mysorian/344268/tutorial.html

Very fast, no fuss. That's great.
Look forward to more on Thimble at this site.



Monday, October 23, 2017

Get Thimble to design your web pages now!

It is from Mozilla.org. It is free and has many cool features. It's Remix mode allows you easily modify existing Thimble projects to suit your requirements.

Thimble is a one-stop program bundling code editor, web server, web browser and developer tools.

It has an unbelievable number of cool features. Sure, I will test drive it!

  • Make a change and see your changes in real time
  • Has handy code snippets
  • Has a built-in JavaScript console
  • Add your files (drag and drop) and manage them
  • Has both dark and light themes
  • Embedded tutorials-follow or create OK
  • Get code hints
  • Edit CSS right in the HTML file
  • Publish to Web
  • Pick colors in the editor
  • Test project on your mobile device
  • Has a DOM inspector to work with HTML elements
  • Has Image filters
  • Take selfies

You start here.

Here is a video that explains it all:

Sunday, October 22, 2017

Compiling a Typescript file using the command-line

Please read the post about downloading the latest Typescript here.

Once you have downloaded Typescript file, you can compile it using the command tsc from the C:\ prompt.

Here is a Typescript file, Person.ts:
--------------------------------
interface Person {
    age: number,
    name: string,
    say(): string
}

let mike = {
    age: 25,
    name:"Mike",
    say: function() {
        return "My name is " + this.name +
               " and I'm " + this.age + " years old!"
    }
}

function sayIt(person: Person) {
    return person.say();
}
--------------------
Save it to a location of your choice as shown.



Typescriptsample_0

Now compile it using the command tsc as shown here:
----------

C:\Users\Owner> tsc Person.ts

C:\Users\Owner>dir
------------
The program compiles it to a JavaScript file as shown:
-----------

Typescriptsample_1.png

The JavaScript file now reads as shown:
-------------
var mike = {
    age: 25,
    name: "Mike",
    say: function () {
        return "My name is " + this.name +
            " and I'm " + this.age + " years old!";
    }
};
function sayIt(person) {
    return person.say();
}
console.log(sayIt(mike));
--------------------------------
Notice the strong typing in the Typescript file.