Code Samples

Using the Intel GPA System Analyzer to Improve Android* Apps

Download Sample Code (ZIP)

Mobile applications can behave differently between emulator and device and, as an app grows more and more complex, debugging performance bottlenecks can become extremely difficult. The GPA System Analyzer, part of the Intel® INDE, is a tool that can help diagnose a variety of performance issues.

  • Developers
  • Android*
  • Android*
  • C/C++
  • Intel® Integrated Native Developer Experience (INDE)
  • Graphics Performance Analyzers
  • Debugging
  • Conservative Morphological Anti-Aliasing (CMAA) - March 2014 Update

    This article was taken from a blog posting on IDZ by Leigh Davies at Intel Corp, highlighting work and results completed by Leigh and his colleague Filip Strugar in the new AA technique being referred to as Conservative Morphological Anti-Aliasing. Below is the content of the blog along with the available code project download for your examination 

  • Developers
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8
  • Game Development
  • Windows*
  • C/C++
  • Advanced
  • Intermediate
  • Microsoft DirectX*
  • GameCodeSample
  • Game Development
  • License Agreement: 

    Intel XDK Basic Hybrid App Sample

    The Basic Hybrid App sample is intended to demonstrate the basics of creating a hybrid mobile app that relies on the JavaScript bridge library to provide an API to native features of the device it runs on. It shows how to react to the JavaScript event that indicates that it is ready to go as well as how to manage the splash screen that hides the HTML as it loads into the browser control at startup.

    Intel XDK Simple Accelerometer Sample

    The accelerometer demonstration is a very simple implementation of how the intel.xdk JavaScript Bridge Library can be used to read a device's accelerometer data in a hybrid app. The initial event thrown when the intel.xdk library loads calls an event handler that includes this command. This command makes the device start reading accelerometer data and throwing JavaScript events to relay the results back to the HTML5.

    Intel XDK Simple Camera Sample

    The camera demonstration is a very simple implementation of how the intel.xdk JavaScript Bridge Library can be used to use the device's camera in a hybrid app. The HTML of this app contains images and button DIV elements that are used to display the pictures taken with the camera and interact with the application. Touching the button DIV element triggers the takepicture function found in js/main.js

    Burglar Alarm Using the Intel® Galileo Board

    This sample application was developed to showcase the use of a proximity sensor with the Intel® Galileo development board. In the sample whenever any object is found within 3 centimeter from the proximity sensor, the system makes an alarm sound and blinks an LED continuously until the object is out of range of the proximity sensor.

    This sample code uses the Internet of Things (IoT) Development Kit’s Live USB image to run a host system that can push sketches to an Intel® Galileo board using Yocto Application Development Tools and Eclipse*.

  • Developers
  • Internet of Things
  • Internet of Things
  • Internet of Things
  • Subscribe to Code Samples