• Home
  • Events
  • About
  • No end to the mobile hype

    March 22nd, 2013

    The topic mobile is on everyone’s lips – indeed throughput the year! The MobileTech Conference is therefore the biannual venue for captivated visitors. Following the successful spring edition in Munich, preparations are now in full swing for its autumn counterpart.
    Andreas Hölzl was a speaker at the conference and presented concepts in his talk “Andriod-UIs für alle(s)” for the efficient realization of user interfaces for all conceivable Android-smartphones and tablets. On the conference sidelines, Claudia Fröhling invited the mobile expert for an interview and chatted with him about mobile business apps, Wikihood and tablet UIs. The main message was: due to the expanding bandwidth of mobile end devices, platform-independent mobile development expertise is in demand as never before.

    MobileTech Conference | Mar 11-14, 2013 | Munich

    March 14th, 2013
    When it comes to the development of sustainable mobile strategies and the development of apps on various platforms then a visit to the MobileTech Conference is a must for your 2013 todo-list. Canoo’s mobile expert Andreas Hölzl will be a speaker at the conference. In his talk “Android-UIs für alle(s)” [Android UIs for everyone & everything] he will be presenting concepts that enable the efficient realization of user interfaces for all imaginable Android smartphones and tablets. Why not pay a visit?

    DSwiss SecureSafe goes Android

    December 20th, 2012

    SecureSafe from Zürich based DSwiss is now available to all Android users. The mobile application for the leading password and document safe sets new standards in terms of usability and high security mobile web technology. In collaboration with Canoo a cross-platform approach based on Sencha Touch was implemented that makes no compromises when it comes to native look & feel or the handling of sensitive data. The results are an impressive demonstration of how mobile web solutions are pointing the way forward in the efficient implementation of business critical applications. You can find out more about Canoo´s mobile expertise on our website.
    Click here to download SecureSafe app from the Google Play Store!

    MobileTech 2012 – Final thoughts

    April 2nd, 2012

    At the end of last week I received a comment concerning my MobileTech blog posts, which cast doubt on my objectivity: The tone of my posts was almost exclusively positive and contained too little critical analysis of the conference’s content.
    Well guys, if the tone was positive it’s simply because it was a great conference; both from my perspective and from the perspective of the many other participants that I spoke to.
    So what makes for a great conference? Most importantly, of course, is that you come away feeling that you’ve learned useful stuff. And I learned a lot. For example:

    • I got a great introduction to the Android platform from the chaps at Open Knowledge.
    • I got an extraordinary sense that we’ve only just begun to see the potential of mobile technology. Case in point: Mind-blowing demos from Reality Jockey and Wahwah.fm, Andy Abgottspon and others.
    • The fact that UI design is even more critical in mobile than in traditional apps was made crystal clear to me. The necessary clues as to how to create successful UI designs were provided by Werner Jainek (design process) and Stephan Gillmeier (iOS APIs Core Animation, Core Graphics, Quarz Core)
    • Finally, Heiko Behrens reminded me of the growing power (and relative simplicity) of web technology and that it’s possible to exploit this power in the context of native apps. This is certainly something I’m going to pay more attention to in my future mobile project.

    With all the new information and valuable reminders, there was naturally a lot of brainstorming and networking going on at MobileTech 2012. Facilitating this were the more general aspects of the conference – accommodation, catering etc. – which were as smooth as silk in their execution. Kudos to Sebastian Meyen of Sands Media and his team as well as Holiday Inn München.

    So to return to the comment above: I stand firmly by my statement that this was a conference of exceptional quality. If anyone has a different take on it, please feel free to comment.

    Android Testing in IntelliJ IDEA

    January 12th, 2012

    Google’s Android site has some fairly detailed instructions for testing Android applications… from Eclipse. They were nice enough to supply a “Testing from Other IDEs” page, but that is nothing more than instructions on using Ant and the command line. Well, if you are using IntelliJ IDEA then you already believe the IDE is going to be a better tool than Ant for this. It’s easy to set up a test project in IDEA and get your tests running. Here are some simple instructions.


    This tutorial assumes you have installed IntelliJ IDEA and an Android SDK, and also created an Android project. If you haven’t yet, then you should read Testing Fundamentals accessible from Google’s Testing Home page.

    Creating a Test Project

    Your Android tests are going to be placed in a separate module from your main Android application. Remember: an IDEA project is composed of several modules. We’re going to have the main application module and the test module. Each module has it’s own set of dependencies and classpath. (Eclipse users confused about the terminology should read this). Here are the steps to follow to set up a test project:

    1. Have your main project open in IDEA
    2. Create a new module using the menu File->New Module
    3. Select “Create module from scratch” and click Next
    4. Select “Android Module”, give the module a new name, and click Next. You should put the module in a directory called “tests” that is in your project root. That way your project will follow the same naming conventions that Ant expects, making the project easier to set up in a CI server later. Here is what your wizard screen might look like:

    Adding an Android Testing Module

    Adding an Android Testing Module

    5. On the next wizard step just click Next to create a source directory for your files.
    6. Finally, on the last wizard step select “Test” under Project properties. Make sure it is going to test your module. Then Finish.

    Select Test as Project Type

    At this point your two modules exist: the production module and your test module. If you look in the Project View (Alt+1) you will see both modules. Mine are named “android-testing-in-idea” and “tests”. You’ll even be given a template test for your main activity. It’s pretty slim so you will certainly want to write some of your own tests. IDEA isn’t smart enough to automatically create the test content for you… at least yet.

    Running Tests

    Running tests is simple. A run configuration to run all tests was created for you when you added the project. Click the ‘run triangle’ to run the tests or the ‘bug triangle’ to debug the tests. You’ll be prompted to select an emulator if you don’t have one set by default.

    run all tests

    Click to Run All Tests

    There are other ways to run tests at a more granular level, too. To run all the tests in a package, right click the package and select Run (Ctrl+Shift+F10). To run all the tests in a class, right click the class and select Run (Ctrl+Shift+F10). You can also run individual test methods one at a time. Just right click inside the test method within the IDE editor and select Run (once again, (Ctrl+Shift+F10)).

    You may want to switch the emulator version from time to time in order to test across multiple devices. You can bring up the Run Configuration from the drop down menu highlighted in the screenshot above. It opens a screen like this where you configure the run target:

    Configure the Test Run Target

    Configure the Test Run Target

    You can switch the emulator here to a different version. Be sure to check out the other tabs as well. The Emulator tab allows you to configure the network speed and latency, and the Logcat tabs lets you configure one or two things about Logcat. Handy.

    Viewing Results

    So you want to view the test results? Well results window probably popped up on screen after you ran the test. Anyway, if you’re still confused you can click the Run (Alt+4) or Debug (Alt+5) drawer and see the JUnit results. There is also a Logcat drawer to click (sorry no shortcut) to view the logs.

    Viewing Test Results

    Viewing Test Results

    Other Tools

    The last thing you need to know is a little about the other tools. You can manage your emulator ROMs using the AVD Manager. The menu option for that is Tools -> Android -> AVD Manager. Also, you can change the project compatibility to be a different version of Android OS. It’s under File->Project Structure (Ctrl+Alt+Shift+S) then click Module SDK. Finally, if you want to set the project up for continuous integration then head on back to the Ant command line guide from Google. It’s best not to have the IDEA project file drive your builds.

    You made it to the end. Thanks for reading! And remember, Canoo is here to help with your Android and Mobile needs. Email me directly (hamlet.darcy@canoo.com) or give us a phone call. Thanks.