Quantcast
Channel: Eclipse – dimitar.me
Browsing latest articles
Browse All 14 View Live

Eclipse Project is Flagged with an “Android Packaging Problem” Error

Sometimes while developing in Eclipse you will notice that the Android Project will be flagged with the red “x” but none of your source files or resources will have errors. If you look in the...

View Article



How to sign an unsigned Android package (.apk file)

If you develop with Eclipse, you most likely use the built in Export Wizard to export and sign your Android applications. There are some cases though, when this method will not do. For example, if you...

View Article

How to get Picasa images using the Image Picker on Android devices running...

Using the Image Picker to get a local image from the Gallery is pretty easy and trivial task. But things get a lot more interesting if the user has a Picasa account and he/she happens to select an...

View Article

A small bug in the Android In-App Billing demo app causes “Item Not Found”

Important: This is not a bug in the API! It is only a bug in the demo Dungeons application that Google provides. Several months ago (May, 2012) Google released the new version (v2) of the Android...

View Article

Quick and easy way to remove all single line (//) comments in Eclipse

I had to quickly remove single line comments from an Android project in Eclipse. I could not find any built in feature in Eclipse to do that. So I resorted to a simple regular expression: (//[^\n]*)...

View Article


Implementing Android GCM in a different package other than the main...

There is something you need to be aware of if you are placing your GCM (Google Cloud Messaging, aka push notifications) service (the one extending from GCMBaseIntentService) in a package other than the...

View Article

How to detect a user pan/touch/drag on Android Map v2

If you are impatient, you can skip directly to the solution. The new implementation of the Android Map (v2) is great in many ways and their support for map fragments is awesome, but they fall a bit...

View Article

In-app Billing API v3 throws IllegalStateException

If you have followed Google’s instructions when implementing version 3 of the Android’s in-app billing API by exploring their TrivialDrive sample app, you probably have come upon some numerous...

View Article


Android applications that use the MyLocationOverlay class crash on the new...

Update: August 29, 2010 Tested this myself on a friend’s phone and this bug is definitively not fixed yet despite the recent Motorola updates! The burden is on you (the developer) to fix this if you...

View Article


How to connect your Android phone to Ubuntu to do development, testing,...

All the way back in 2010 I wrote a post how to connect your Android device to your Ubuntu computer in order to develop on it. There have been a few changes since then, so here is the updated version of...

View Article
Browsing latest articles
Browse All 14 View Live




Latest Images