Profile

Cover photo
Wolfram Rittmeyer
Lives in Münster, Germany
3,755 followers|1,549,706 views
AboutPostsPhotos

Stream

Wolfram Rittmeyer

Shared publicly  - 
 
On my N5 with Google Play Services version 7.8.99 neither the FaceDetector nor the BarcodeDetector are operational.

Manifest file has the appropriate meta entries.

Looks like the download of the necessary libraries isn't working - though I had proper Wifi yesterday (when I gave it a first try) as well as today. Anyone seeing the same?
4
Bogdan Zurac's profile photoJulien Dodokal's profile photoHarald Sigmond's profile photo
3 comments
 
I suspect that to. Added the Mobile Vision demos to the "API demos for Android" app on Google Play. The demos worked great when deploying from Android Studio, but it's not working after downloading from Google Play. Or it works on the devices that had it installed previously from Android Studio, but not on other devices. Could it be something with the proguard setup. It says in the documentation that this will be handled automatically?
Add a comment...

Wolfram Rittmeyer

Shared publicly  - 
 
 
This Wednesday August 26th, we're organizing our monthly GDG Düsseldorf meetup at the usual place in Garage Bilk.

We're starting at 19:00 and have two "charity" orientated themes for the evening:

1. Freifunk Rheinland - Free open Wifi for everyone
2. GDG Düsseldorf Charity App kickoff

1. Freifunk Rheinland

Daniel and Mic from Freifunk Rheinland will come present their free Wifi project;Here's the short introduction from their site:

"Freifunk ist die Möglichkeit jedem Bürger, der sich in der Nähe eines Freifunk-WLAN-Netzwerks befindet, einen kostenfreien Zugang zum Netzwerk zu ermöglichen. Freifunk ist gemeinnützig und wird von ehrenamtlichen Helfern in Eigenregie aufgebaut und gewartet."

Since we're techies, expect high level router firewalls and network protocol topics!

More info: https://freifunk-rheinland.net/was-ist-freifunk

2. Resul will introduce the GDG Düsseldorf Charity Project in cooperation with betterplace.org

More info at www.betterplace.org

Please come along and bring your friends!
Looking forward seeing you all.
 ·  Translate
View original post
3
Add a comment...

Wolfram Rittmeyer

Shared publicly  - 
 
Today I''ve read this excellent post by +Pierre-Yves Ricau.

Obviously the Dalvik VM uses an optimization that was once used in the stock Java VM as well. And dropped for good reasons in later VMs.

For some history here's a quote of a very old book from within SUN's Java series books (section A.3.3 Invisible (!) objects):

public void run() {
   try {
      Object foo = new Object();
      foo.doSomething();
   } catch (Exception e) {
      // whatever
   }
   while (true) { // do stuff } // loop forever
}

In this example, the object foo falls out of scope when the try block finishes. It might seem that the foo temporary reference variable would be pulled off the stack at this point and the associated object would become unreachable. After all, once the try block finishes, there is no syntax defined that would allow the program to access the object again. However, an efficient implementation of the JVM is unlikely to zero the reference when it goes out of scope. The object referenced by foo continues to be strongly referenced, at least until the run method returns. In this case, that might not happen for a long time. Because invisible objects can't be collected, this is a possible cause of memory leaks. If you run into this situation, you might have to explicitly null your references to enable garbage collection.

Note: This quote is from 2000 :-)
In plain words: a Picasso thread was holding on to a Message instance as a local variable on the stack. That Message had a reference to a DialogInterface.OnClickListener , which itself referenced a destroyed Activity . Local variables are usually short lived since they only exist on the stack.
54
25
Ankur Nigam's profile photoHéctor Júdez's profile photoBernardo Pina's profile photoZhanhong GONG's profile photo
 
That made me utter "Oh, wow…" Thanks, this is good to know!
Add a comment...

Wolfram Rittmeyer

Shared publicly  - 
 
 
I've updated my RxAndroid memory leaks sample w/ the latest Rx libs. Also included LeakCanary for added fun!
android-subscription-leaks - Small sample app demonstrating memory leak solutions when using RxJava
1 comment on original post
6
1
Wolfram Rittmeyer's profile photoAlex M's profile photoAndroid Resources's profile photo
3 comments
Alex M
+
1
2
1
 
+Wolfram Rittmeyer   Okay fair enough my dear friend.  I appreciate your very kind and honest feedback to me as always.  

Talk to you soon,
Alex
Add a comment...

Wolfram Rittmeyer

Shared publicly  - 
 
 
Hugo Visser discusses how you can add an OnItemClickListener similar to that of the ListView to a RecycleView in this article.

#androiddev
View original post
8
3
Sudhanshu Singh's profile photoRussell Wheeler's profile photoTara Fennell's profile photoHéctor Júdez's profile photo
 
Isn't This a too much implementation! While we can simply do it from ViewHolder class itself!
Add a comment...

Wolfram Rittmeyer

Shared publicly  - 
 
 
Drag and Swipe with RecyclerView - Part Two

Just (finally) published part 2 of the series, Handles, Grids, and Custom Animations. Was hoping to fit more in, but the good news is that part 3 will come much quicker this time!

Corresponding GitHub project was also updated:
https://github.com/iPaulPro/Android-ItemTouchHelper-Demo

Please file any issues:
https://github.com/iPaulPro/Android-ItemTouchHelper-Demo/issues

#androiddev  
Part Two: Handles, Grids, and Custom Animations
1 comment on original post
16
6
조남두's profile photoYang Feng's profile photo
Add a comment...
In his circles
1,979 people
Have him in circles
3,755 people
Tohirbek Abdullayev's profile photo
Mirko Mahlberg's profile photo
John Paul Manoza's profile photo
Brandon Murray's profile photo
Richard Copeland's profile photo
Michael Ritchie (ThanksMister)'s profile photo
Daniel Klintworth's profile photo
Kevin Biloski's profile photo
Emanuele Pecorari's profile photo

Wolfram Rittmeyer

Shared publicly  - 
 
Recently I started a draft for a blog post about notifications. You can get a feeling for what caused me to start this draft and a glimpse of the state of mind I was in, when you know that the first sentences were/are:

"I'm pissed! I'm really pissed! I have endured for too long crappy notifications within Android apps. I simply cannot stand it any longer!"

Today Google offered these tips by Seriously on their blog - and I guess I have to finalize and publish my post pretty soon :-)

"Look at timing this shortly after the player exits the game." WHAT? For me that's a surefire way to loose me. But then again I'm probably not the typical gamer.

Anyway, some tips are good. But all in all, please, be very careful when using notifications.
15
3
Alex M's profile photoSalvador Gómez's profile photoGabor Orosz's profile photoAnkur Nigam's profile photo
Alex M
+
1
2
1
 
Nice dear friend 😊👍
Add a comment...

Wolfram Rittmeyer

Shared publicly  - 
 
 
One of my 20% projects has been Sharp, a scalable vector graphic library for Android. It's very beta, but I invite my fellow Android devs to give it a test drive and share your thoughts.

Feedback is welcome!
sharp - Scalable vector graphics for Android
View original post
7
Mike Wallace (MikeWallaceDev)'s profile photo
 
I need that for Coloroos 
Add a comment...

Wolfram Rittmeyer

Shared publicly  - 
 
I think using a proper theme so that the launch preview Android is creating for your app resembles the first screen actually shown as described by +Cyril Mottier a few years back [1], is still something to strive for.

But branding images are a no go IMHO and I agree wholeheartedly with Juhani's post!

BTW: Cyril wrote another post in 2012 titled "Splash Screens Are Evil, Don't Use Them!" [2]. While the techniques used back then to use splash screens were very different - and thus splash were much more annoying - most of his reasoning still holds true today.

[1] http://cyrilmottier.com/2013/01/23/android-app-launching-made-gorgeous/
[2] http://cyrilmottier.com/2012/05/03/splash-screens-are-evil-dont-use-them/
 
There's been many, many discussion threads about the introduction of Splash Screens to Google design guidelines. Almost in all of the discussions the same arguments for splash screens pop up.

I decided to put my responses to the common arguments in form of a blog post.
For some unfathomable reason Google decided to add Splash Screens to their design guidelines. While they now call it a "Launch screen" it's the same thing. A screen that is shown to the user while the app is loading. Unsurprisingly, this started a lot of (unhappy) discussion in the Android ...
14 comments on original post
18
Alex M's profile photoKarl Heimann's profile photo
2 comments
 
Move on guys...
Add a comment...

Wolfram Rittmeyer

Shared publicly  - 
 
Oh dear. Two weeks more or less offline - and my feed reader is bursting :-)

Looks like I missed some interesting posts. That's why I still think a feed reader is necessary. Might take me some time to catch up, though.
9
Alex M's profile photoMike Wallace (MikeWallaceDev)'s profile photoMartin van Z's profile photo
3 comments
 
I Hope you had a nice vacation, and welcome back! :)
Add a comment...

Wolfram Rittmeyer

Shared publicly  - 
 
Most preparations for our summer vacation are done. Tomorrow we start up to Germany's North Sea.

Not the best time for a summer vacation in Germany since the summer seems to be somewhere else. But as an optimist I refuse to take note :-)
20
Wolfram Rittmeyer's profile photoMarie Schweiz's profile photoMartin van Z's profile photoDor Kleiman (configurator)'s profile photo
9 comments
 
You could always come here to Israel. We have ALL THE SUMMER right now. 
Add a comment...

Wolfram Rittmeyer

Shared publicly  - 
 
 
New post on deferring Observable code until subscription inRxJava.
I've grown fond of RxJava's defer() as a tool for ensuring Observable code runs when subscribed (rather than when created). I've written about defer() before but I'd like to go into more detail here. Suppose you've got this data class:...
2 comments on original post
4
5
Android Resources's profile photoGabor Orosz's profile photoOleg Semen's profile photoStephen Anthony's profile photo
7 comments
Add a comment...
Story
Tagline
Software-Developer, Android-Geek
Introduction
Interested in all things regarding Android - especially everything about developing for Android.

I am also a Java EE-developer and happy GlassFish user.
Bragging rights
Two lovely sons: Linus and Niklas
Work
Occupation
Software-Developer
Basic Information
Gender
Male
Apps with Google+ Sign-in
  • Ultimate Tic-Tac-Toe