OnQ Blog

Visual Studio Developers: New Plugin for Developing Android Apps [VIDEO]

Apr 30, 2015

Qualcomm products mentioned within this post are offered by Qualcomm Technologies, Inc. and/or its subsidiaries.

You want to develop native C/C++ Android apps using the Android NDK, but you also want to work in Visual Studio where you’re comfortable, right?

Up to now, most developers have had to learn a new environment like Eclipse, then transfer their code to it and start work on their Android apps. It’s a pretty arduous transition, and not really the best initiation you could have to the world of mobile app development.

But starting now, if you have Android projects that you’d like to develop in Visual Studio 2012/2013, we’ve got you covered.

We’ve just released the Qualcomm Snapdragon Debugger for Visual Studio, a plugin for creating and debugging Android NDK apps in Microsoft Visual Studio.

Stay in Visual Studio, Debug Native C/C++ Android Apps

I posted about Snapdragon Debugger for Visual Studio a couple of months ago, just before we demonstrated it at GDC. You can use it to debug various APIs on Snapdragon-powered devices running Android 4.4 and up.

We’ve had a lot of requests from developer partners for a plugin that would allow them to debug Snapdragon APIs from directly within Visual Studio. We’ve built the plugin to satisfy those requests and to ease the transition to mobile app development for those of you accustomed to Visual Studio.

Snapdragon Debugger for Visual Studio lets you see what’s happening in real time as your application runs on an Android smartphone or tablet plugged into the USB port of your PC. The immediate interaction can help you shave hours or days off of your development time, as opposed to going through dozens of debug-compile-sideload-run loops.

Even if you’re not developing specifically for devices running the Snapdragon processor you can still use Snapdragon Debugger for Visual Studio. It works with any commercial device running Android 4.4 or higher, regardless of chipset, and is compatible with Visual Studio 2012 and 2013.

Features of the Snapdragon Debugger for Visual Studio include:

  • Creating and building Android projects and deploying them to the device
  • Breakpoints, conditional breakpoints and memory breakpoints
  • Single-stepping through native and assembly code
  • Views for registers, memory, local variables and global variables
  • Multi-threaded applications
  • Loading tombstone/logcat crash logs
  • GNU Debugger (GDB)

System requirements are modest:

  • Windows 7 or Windows 8
  • Microsoft Visual Studio 2012 or Microsoft Visual Studio 2013
  • 32-Bit Java Devleopment Kit (JDK)
  • Apache ANT
  • Android SDK r10d or later
  • Android NDK

Your Turn

Ready to start working on Android apps from Visual Studio?
Download and install Snapdragon Debugger for Visual Studio, available at no charge to registered QDN developers.

The video below walks you through creating, building and launching a native C/C++ Android app using Snapdragon Debugger for Visual Studio. By the end, you will have an app running on your Android device that is paused at a break point for you to debug.

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries ("Qualcomm"). Qualcomm products mentioned within this post are offered by Qualcomm Technologies, Inc. and/or its subsidiaries. The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.

Manish Sirdeshmukh

Senior Product Manager

©2021 Qualcomm Technologies, Inc. and/or its affiliated companies.

References to "Qualcomm" may mean Qualcomm Incorporated, or subsidiaries or business units within the Qualcomm corporate structure, as applicable.

Qualcomm Incorporated includes Qualcomm's licensing business, QTL, and the vast majority of its patent portfolio. Qualcomm Technologies, Inc., a wholly-owned subsidiary of Qualcomm Incorporated, operates, along with its subsidiaries, substantially all of Qualcomm's engineering, research and development functions, and substantially all of its products and services businesses. Qualcomm products referenced on this page are products of Qualcomm Technologies, Inc. and/or its subsidiaries.

Materials that are as of a specific date, including but not limited to press releases, presentations, blog posts and webcasts, may have been superseded by subsequent events or disclosures.

Nothing in these materials is an offer to sell any of the components or devices referenced herein.