hvisser / android-apt — Bitbucket

The android-apt plugin assists in working with annotation processors in combination with Android Studio. It has two purposes:

Allow to configure a compile time only annotation processor as a dependency, not including the artifact in the final APK or library

Set up the source paths so that code that is generated from the annotation processor is correctly picked up by Android Studio.

This plugin requires the android or android-library plugin (version 0.9.x or up) to be configured on your project.

via hvisser / android-apt — Bitbucket.

Remote Debugging – Chrome Developer Tools — Google Developers

The experience of your web content on mobile operates very differently than what users experience on the desktop. The Chrome DevTools allow you to inspect, debug, and analyze the on-device experience with the full suite of tools you’re used to, meaning you can use the tools in your desktop Chrome to debug a page on mobile Chrome.

Debugging occurs over USB and as long as your mobile device is connected, you can view and change HTML, scripts and styles until you get a bug-free page that behaves perfectly on all devices.

Remote Debugging – Chrome Developer Tools — Google Developers.

How to enable USB debugging mode on all Android 4.2 Jelly Bean and higher devices (Nexus 4, Nexus 10, Nexus 7, etc.) [Guide] | Reviews, news, tips, and tricks | dotTech

Sag das Zauberwort!

Open up your device’s “Settings”. This can be done by pressing the Menu button while on your home screen and tapping “System settings”

Now scroll to the bottom and tap “About phone” or “About tablet”.

At the “About” screen, scroll to the bottom and tap on “Build number” seven times.

Make sure you tap seven times. If you see a “You are now a developer!” message pop up, then you know you have done it correctly.

via How to enable USB debugging mode on all Android 4.2 Jelly Bean and higher devices

pocorall/scaloid · GitHub

Scala is cool. Writing Android applications with Scala is also a cool idea. Because Android exposes Java APIs, we need some utility library to leverage full power of Scala. Scaloid is a library aimed to simplify your Android code.

For example, the code block shown below:

val button = new Button(context)
button.setText("Greet")
button.setOnClickListener(new OnClickListener() {
  def onClick(v: View) {
    Toast.makeText(context, "Hello!", Toast.LENGTH_SHORT).show()
  }
})
layout.addView(button)

is reduced to:

SButton("Greet", toast("Hello!"))

pocorall/scaloid · GitHub.

Android UI Patterns: Bad, outdated UX will be rejected by users

Microsoft gave a valuable lesson to any company relying on old data on user acceptance of old design on Android. Yesterday, they released a new app for their outlook.com on Android. Well, when I say “new app” I mean they changed few strings in the strings files and replaced couple of icons and released the old hotmail app as a outlook.com app.

What makes this interesting is the difference in reception of the app by the users. The hotmail app seems to be generally liked by the users and has a OK 4.2 rating average at the time of writing this.

Android UI Patterns: Bad, outdated UX will be rejected by users.

Android Emulator Plugin – Jenkins

In order to provide effective test coverage of the ever-increasing range of Android platform versions, screen resolutions and densities (amongst other device properties), automated and scalable build tools like Jenkins become highly advantageous.

This plugin aims to vastly simplify automated testing of Android applications across a wide range of emulated devices by automatically generating emulator instances, starting them up and capturing the logging output, with many device parameters being under your control.

Android Emulator Plugin – Jenkins – Jenkins Wiki.

Android Bootstrap

Android Bootstrap includes a full working implementation of Fragments, Fragment Pager, Account Manager, android-maven-plugin, RoboGuice 2, ActionBarSherlock 4, ViewPagerIndicator, http-request, GSON, Robotium for integration testing, API Consumption with an API on Parse.com and much more.

via Android Bootstrap.

Ethiopian kids hack OLPCs in 5 months with zero instruction | DVICE

“We left the boxes in the village. Closed. Taped shut. No instruction, no human being. I thought, the kids will play with the boxes! Within four minutes, one kid not only opened the box, but found the on/off switch. He’d never seen an on/off switch. He powered it up. Within five days, they were using 47 apps per child per day. Within two weeks, they were singing ABC songs [in English] in the village. And within five months, they had hacked Android. Some idiot in our organization or in the Media Lab had disabled the camera! And they figured out it had a camera, and they hacked Android.”

from Ethiopian kids hack OLPCs in 5 months with zero instruction via Nerdcore.