Friday 26 June 2015


HELLO
INTEL XDK
WRITE ONCE, RUN ANYWHERE

 The much anticipated Intel XDK Training finally went down at the Dedan Kimathi University of Technology on the Wednesday 24th June 2015 and I must say it was a great event. The event drew a crowd of 100+ attendees from the renowned developer community. The event featured three sessions, the first one involving an in depth session about Intel XDK followed by two technical hands on sessions on the Intel XDK.
+Ngesa Marvin  the intel student partner kicked off the afternoon event with an introduction to the Intel XDK  explaining how it provides a simplified workflow enabling developers to easily design, debug, build, and deploy HTML5 web and hybrid apps across multiple app stores, and form factor devices. For a long time developers have been suffering as there is no common language for developing mobile applications. In order to create mobile apps for popular platforms like iPhone, developers have to use Xcode, they need to have a Mac and must learn objective C , to develop the same application for Android market, the user must learn Java and use Android studio and for other platforms like Windows Os the user need to have a knowledge on C#. This wastes a lot of time as developer need to learn new a language as well as tool just to finish on a single application on a different platform. But with Intel XDK the user just writes HTML5 codes once, and with a single codebase he can make it run in all the devices. Intel XDK makes the same source code compatible on all the mobile operating systems including Android, iOS, Windows Phone 8, Windows 8 Store, Tizen, Amazon and Nook. It also includes the ability to build the app as a webapp, Chrome installed app (for the Chrome web store), and Facebook.

With no extra  development skills required as long as  developers of all types are familiar with HTML, CSS and JavaScript, developers focus more on user interface rather porting on different devices thus cutting down overall multiple developers cost. It also gives the user the ability to enjoy the same experiences across the PCs, phones and tablets.
He explained about the different frameworks that the Intel XDK Supports, including Bootstrap, JQwery mobile and top coat. He advised the new developers not to worry in case they had no developer experience as there were templates which they could use to jump start their mobile development career. With these templates, anyone can build an app on top of the initial code. They also help developers understand the code and working of Intel XDK better.
He also explained to the attendees about the game engines such as Scirra which provides drag and drop game creation to those who doesn’t have much programming experience.



Here is what everyone is talking about |RoboControl

The attendees were then given the Intel XDK tool free of charge in flash disks. The attendees had to sign in using the same email address to start working with the IDE. After a good number had signed up, the second session kicked off. For good understanding of the IDE, Ngesa Marvin build an app and used it to explain the Intel XDK features during the building process.  The app enabled people to be taught more about the DEVELOP, EMULATE, TEST, DEBUG, PROFILE and BUILD tabs.
+Dedan Kimathi University of Technology  is known for making robots, so the best example to use was an app that controls a robot. After ensuring that a good number had already installed the software, the developers got into the real deal, fired up the XDK and started to navigate to the tabs.
He helped the attendees create a new XDK projects, gave it a name, RoboControl then chose the app designer option in the project type.  APP Designer enabled the developers to quickly create an app in common UI frameworks using this drag-and-drop tool that supports responsive design layout. The multiple UI framework support is an excellent feature offered by Intel XDK. He selected App framework. The other UI frameworks supported by Intel XDK are Ratchet, Bootstrap 3, Topcoat, jQuery Mobile... He then got into the develop tab and explored a lot of things before digging into code. Drag and drop features from the vertical tab were used to to add layouts and controls to the app.
They easily switched from the design view to code view by clicking on the CODE and DESIGN buttons located in the upper  left corner of the DEVELOP tab. In the code view, the Intel XDK uses its code editor, the brackets. The attendees could see all the codes generated for each the controls, text areas and different layouts. They then moved to the Emulate Tab which offers device settings where developers can test their app with different platform and type.
RoboControl was then tested on different phones, tabs, notebooks and they finally settled on Lenovo K900. XDK also provides the option for testing the application on a real device. People can connect to their phones using a USB cable and experience live design layout changes. They can also use Intel App Preview to test the app over the Wi-Fi on a real device. The test tab will allow them to push their app to the XDK server and use the app preview. The Debug tab allows for similar options like testing but just for Android devices.
Performance is key in mobile development. Intel XDK has a profile tab that allow developers to evaluate their application performance and helps developers gain important insight into how their app utilizes the device memory. With this information the app can be fine-tune for optimal responsiveness and performance.

RoboControl mobile app can be advanced to utilize the accelerometer available on the mobile devices to interact with a REST API. A robot device provides this REST API that include captured robot motion together with its latitude and longitude. The app then makes a REST API calls and provide a feedback to control the movement of the robot when the user presses either its forward, reverse, left or right buttons or even a combination.

Making use of Cordova plugins in Hybrid HTML5 Mobile apps

Miss +Angela Sambu  then took to the stage and focused her presentation on creating a camera app framework plugin using the apache Cordova inside the Intel XDK. The Apache Cordova plugins are a very important tool for enhancing the features and functionality of Intel XDK HTML5 mobile application. They provide a way to extend developer app's JavaScript API, resulting in a much tighter integration of the apps with a mobile device's software and hardware.
She prototyped her design using the drag and drop environment and included the Intel XDK camera and file plugins. JavaScript codes were then used to handle the events.
To display images, they were first stored in the local storage and all of them got a unique name. The image file name is the image identifier. They were then uploaded using the Intel XDK File Upload API and displayed on the screen. The application was then tested on different devices utilizing the power of Intel XDK.

Giveaways
Those who followed the app building process correctly were then awarded together with the top three persons with the most tweets. Those who answered questions were also awarded.  All the t-shirts were then given to the attendees. Miss Angela then signed the certificates and all of them handed over to the attendees.
Wrap up

As usual, we arranged ourselves and took the final photo to mark the big day. It was another great event. Big thanks to our sponsors, Intel, thanks to +Intel At DeKUT  team for hosting, and much thanks to everyone who attended. We would love to hear from you, in case you have anything about the event, contact your Intel student partner. We will communicate to you about our next event, hope to see you then! Keep checking on this blog for more information on our upcoming events…Oh and it only takes a few minutes to get started and build hybrid apps using the Intel XDK, get out there and start building some apps!

Wednesday 3 June 2015

Intel XDK | HTML5 Training: Enter a cross platform mobile app development world

Imagine an integrated system that enables a developer to develop, test, debug and deploy applications across multiple operating systems including iOS, Android, Windows 8 and Windows 8 Phone. Who wouldn’t love this? For a long time, designing a mobile applications has been a challenge for many organizations and developers as they need to work with different devices to design applications for them. There is no common language that is used to develop for all these devices. Apple have Objective C, Android have Java, Windows Mobile or Nokia have C# etc. Targeting one platform in mobile technology has always been a big mistake and most of the organizations that have attempted mobile solutions targeting a single platform has always failed. But with Intel XDK Cross-platform Development Tool, this is not the case, developers are able to deploy HTML5 web and hybrid apps across multiple app stores including Amazon App store, Apple App Store, Google Chrome Web Store, Google Play Store and Windows Phone Store and form factor devices using a simplified workflow from design to app store. You can also choose to be a desktop app. Even Facebook is a valid choice for target platforms.  
This undoubtedly helps developers to scale their apps to reach more users easily and faster, and cut down on overall multi-platform developmental costs.
 With XDK there is no need to install Emulators for different devices, or tediously prepare your development environment. All these components are built into the IDE. In fact there are more emulators than you can imagine
A developer may also jumpstart his/her mobile app development on top of existing templates where they can start with functional samples and still the XDK provides examples for both hybrid and web apps.
XDK also supports so many game engines in HTML5 standards. The most famous is ImapactJS which is integrated to XDK interface with the Weltmeister editor to create levels tile by tile inside the Game Dev mode. There are other tools like Scirra which provides drag and drop game creation who doesn’t have much programming experience. Other engines are like LimeJS, Box2DJS, and the Render engine.
The best part of it all is that Intel provides the IDE for free. To start using XDK you only need to download it from the official website http://xdk-software.intel.com.
On 24th June, 2015, Intel at Dekut will give you an in-depth training covering the parts of the Intel XDK. This includes, developing a mobile app, emulating it, testing, debugging and deploying it.
HTML5 is a future trend in the world of app development. Intel believes it is important to help experienced developers transition to this cross-platform approach and aid new developers to quickly get up to speed with this exciting new approach.
That is why Intel at DeKUT will hold an Intel XDK/HTML5 Training at the Dedan Kimathi University of technology. On that day we will help you set up your development environment and ensure you are familiar with XDK, then help you create your next generation of HTML5 apps for the mobile world, from idea to app store.

Join us for a chance to learn how to create a cool mobile app for DeHUB Lab using Intel XDK HTML5 App Development platform. In the meantime send in your suggestions to your Intel Student Partner using this email address: marvinngesa@gmail.com on what you wish to see on that day.