Kategorien
Android

Android Advent Calendars 2010 / Adventskalender 2010

Endlich gibt es einen vernünftigen Adventskalender für Android Handys – und zwar den von Patric und mir. ;)

Wer noch nicht richtig in Weihnachtsstimmung kommt und dem ein bisschen nachhelfen will, sollte einen Blick auf unser Angebot im Android Market werfen. Mit den Kalendern “Funny Videos“, “Sexy Videos“, “Weihnachtslieder” und “Weihnachtsgedichte” ist für jeden etwas dabei…

Für alle mit einem Android-Handy öffnet sich ab Dezember jeden Tag ein neues Türchen im Kalender und spendet, je nach Vorliebe, stimmungsvolle Lieder, Gedichte oder einfach nur Spaß.

Adventskalender Android / android advent calendar

Natürlich freuen wir uns über jedes Feedback oder Review. Also wenn die App euch gefällt bloggt, twittert und facebooked darüber! ;) Unter @goddchen und @patrics könnt ihr uns auch direkt eure Meinung sagen.

[ad]

Kategorien
Android Computer / Informatik

Fix for Battery Drain with Cyanogen Mod (CM6) on the Milestone

Hey everybody,

i am using the latest version of CM6 on my Motorola Milestone. The one based on the G.O.T. sbf with the 2.2 test kernel.

I was experiencing a significant  battery drain. The battery wouldn’t hold a whole day… 🙁

So i did a little analysis.

First i found a little hidden feature of Android. Go to the phone app and type: *#*#4636#*#*. This will bringt up some stats. Most interesting are the battery usage stats.

Here is saw that „Being executed“ („Wird ausgeführt“ in german) had 100%. That means that the Milestone didn’t go to deep sleep at all. So i tried to find out why. There is another stats screen titled „usage in partial sleep mode“ or something like that („Verwendung im Teilwachzustand“ in german). There i saw „Facebook“ with nearly 70% of all apps that were listed there.

So i went to the facebook app and deactivated the notifications (which didn’t work for me anyway). And the problem was fixed. The Milestone is now going into deep sleep normally and the battery drain is gone 🙂

Hope that helps many of you out there suffering under the battery drain!

Gr33tz Goddchen

[ad]

Kategorien
Android Computer / Informatik

Motorola Milestone Android 2.2 Froyo – Cyanogen Mod 6.1.0 RC0

Hey everyone,

there finally is a Cyanogen Mod available for the Motorola Milestone 🙂

It brings you Android 2.2 Froyo with all the nice features like apps2sd, market auto-update option, …

Of course it’s not a full custom rom since the Milestone Bootloader still isn’t cracked so there is no custom kernel running behind this CM6.

The installation is straight forward:

I’m so happy with Android 2.2 finally available on my Milestone 🙂 It runs very fast. Before i had 2.1-update1 overclocked @800Mhz. Now i’m not overclocking anything and it feels smoother and faster 🙂 And i love apps2sd and market auto-update 🙂 i love it.

Thanks Cyanogen!

NOTE: if you run into the same problem i had: reboot loop, you have to flash a full sbf first and then install CM6. I tried many things but i couldn’t fix the reboot loop without flash a full sbf first…

[ad]

Kategorien
Android Computer / Informatik

Android-Appz.de berichtet über Memory

Hey,
Android-Appz.de hat ein nettes Review über Memory veröffentlicht! 8.5 von 10 Punkten, Genial! Vielen vielen Dank dafür @Tim 😀

Gr33tz Goddchen

[ad]

Kategorien
Android Computer / Informatik

Flurry Analytics House Ads – Market Links not working on Milestone

Hey everybody,

i was experiencing a problem on my Milestone (Android 2.1). When i clicked on any Flurry Ad that led to a market://… link nothing happened. Instead there was an error in my Logcat saying „could not find a resolving intent on ad click“. On my friend’s Milestone it didn’t work either.

So i made a workaround: I hosted a PHP file on my webserver which just redirects to the market link. Because clicking ads that lead to webpages work perfectly fine…

So i created the following file called market_redirect.php on my webserver:

[code language=“php“]
$pname = $_GET[‚pname‘];
header(‚Location: market://search?q=pname:‘.$pname);
[/code]

Now everything works fine when users click on my house ads 🙂 Now i set my destination url to http:///market_redirect.php?pname=.

Gr33tz Goddchen

[ad]

Kategorien
Android Computer / Informatik

Android OnSharedPreferenceChangeListener not called

Hey everyone,

i now had a problem with an OnSharedPreferenceChangeListener multiple times. The problem was: it just never got called. I had a PreferenceActivity to manage the settings and i wanted to get notified in my main Activity when something changed. But my listener never was called.

Recently i found the answer to that problem on StackOverflow. The thing is that the SharedPreference keeps its listeners in a WeakHashMap. Which leads to the inability to use a nested inner class a the listener since it will be garbage collected.

So the solution to that problem is just storing the listener in a private variable like this: [code language=“java“]private OnSharedPreferenceChangeListener prefListener;[/code]

And everything will work just fine 🙂

Gr33tz Goddchen

[ad]

Kategorien
Android Computer / Informatik

TableLayout with borders / margins

Hey everybody,

in my latest Android game i had the problem that i had a TableLayout with 4×4 icons (cards) in it. There should be a border between them. But neither setting „android:layout_margin“ or anything else i tried did work 🙁 So i had the idea of surrounding each of my table cells content (the icon) with a LinearLayout that only containt the content (the icon) and set a padding (left, right, top, bottom, 2px) on that LinearLayout. And: it works perfectly 😀 Hope that helps many developers that also have problems with TableLayout and borders / margins.

See the app screenshot for a view of what i wanted to do:

Gr33tz Goddchen

[ad]

Kategorien
Android Computer / Informatik

„Android Bash“ hits 1000 downloads

Hey everybody,
i’m proud to announce that „Android Bash“ now has more then 1000 downloads in the Android Market 🙂
It let’s you view quotes from various bash sources like iBash.de, German-Bash.de or Bash.org in the categories latest, best and random.

Gr33tz Goddchen

[ad]

Kategorien
Android Computer / Informatik

ListView Divider Settings Order

Hey everybody,

today i experienced a little „problem“ with a ListView that i want to share with you.

I had a ListView defined in an XML layout file:

[sourcecode language=“xml“]

[/sourcecode]

For some reason i now needed to create it programmatically. So i did the following to create an equivalent ListView:

[sourcecode language=“java“]
ListView listView = new ListView(context);
listView.setDivider(new ColorDrawable(0));
listView.setDividerHeight(5);
listView.setVerticalScrollBarEnabled(false);
[/sourcecode]

But somehow the divider didn’t show up anymore. So what was the reason for that? It was just the order! Somehow setting the divider color after setting it’s height doesn’t work and the height is reset to 0. So changing the order to first setting the color and then setting the height fixed the problem!

Gr33tz Goddchen

[ad]

Kategorien
Android Computer / Informatik

„App Update Notifier“ hits 1000 downloads in Android Market

YEAY,
my first Android app hits 1000 downloads in the Android Market. „App Update Notifier“ has won the race for this milestone.

Followed by „Android Bash“ with ~900 downloads…

Thanks for using my apps! 😀

Gr33tz Goddchen

[ad]