Profile

Cover photo
Simon Vig Therkildsen
586 followers|132,216 views
AboutPostsPhotosVideos

Stream

 
Sometimes I question why I spend time contributing to an ecosystem that obviously don't care about the developers that create content for it.

What other explanation could there be for the recent wave of reddit posts/articles about developers having apps suspended, without receiving a real explanation or any chance to rectify.

Most recently it hit phandroid, who have written a quite good article on the issue. You can read it here: http://phandroid.com/2015/01/04/play-store-developer-policies/

To sum up the general issue, app gets suspended and all the developer gets is some vague email that one or more things may or may not violate one or more clauses of the developer distribution agreement. No information on exactly what the issue is.
The developer attempts to guess what the issue is and wants to release a new version that hopefully complies. Except, that's not possible since the app is suspended.
Requests to reinstate the app are denied with canned responses.

The only possibility left is to release it as a completely new app, and lose all your downloads and reviews.

Could Google be shitting any more on these developers?

I'm sure phandroid is going to get their issue resolved. After all, they have thousands of readers - too much bad publicity.

The rest of us are fucked tho.

I'm glad play store isn't my source of income.
20
7
Chris Harpner (CSharpner)'s profile photoAri Heinonen's profile photo
Add a comment...

Simon Vig Therkildsen

Shared publicly  - 
 
*MenuDrawer is no more*

When MenuDrawer was released over 2 years ago, there weren't really any good drawer implementations. Some performed badly and some had a horrible API. MenuDrawer was an attempt to solve these issues.

Last year Google released DrawerLayout. It offered about the same features as MenuDrawer, so, like most of their libraries (e.g. ABS/ABC), there wasn't much reason to switch.
But, as the framework evolves, so must the libraries. DrawerLayout now offers some convenient integration with new OS features, such as an ActionBarDrawerToggle for the Toolbar and setting status bar background colors. Since MenuDrawer doesn't offer anything over DrawerLayout, it seems like a waste of time to duplicate that behavior.

This is why I'm deprecating MenuDrawer.

Thanks to everyone who has been using or contributing to the library, and good luck with DrawerLayout :)
12
Jacob Tabak's profile photoFida Muntaseer's profile photo
2 comments
 
RIP... :(
Add a comment...

Simon Vig Therkildsen

Shared publicly  - 
 
It seems kind of broken that CardView (probably because of the new elevation attribute) is drawn on top of the edge glow in e.g. ListViews in L.
1
Add a comment...
 
*Announcing Schematic*

ContentProviders can be a hassle to maintain. For every Uri you create you have to add it to 5 different methods, as well as add it to your UriMatcher. For large databases the ContentProvider becomes overly complex for what it actually does (proxy calls to an SQLite database).

To alleviate this, Schematic generates the ContentProvider for you. All you have to do is define the Uri's and annotate them.
Schematic requires that the ContentProvider is backed by an SQLiteDatabase so to close the loop this is also generated from annotations.

There a sample in the repository that shows how this all works. Once built you can find the generated classes in schematic-samples/build/source/apt/.

This initial release is version 0.5, so there's likely to be several changes to the API before a 1.0.

It will be available in maven central shortly.
34
16
Wade Morris's profile photoDanny Preussler's profile phototeo ramone's profile photoTony Kwok's profile photo
 
WIll the schematic support tables joining? For example left outer join.
Add a comment...
 
If anyone feels they have a good handle on how Android handles the view hierarchy, feel free to answer my question on SO.
1
1
Cyril Mottier's profile photoSimon Vig Therkildsen's profile photoIvo Encarnação's profile photo
2 comments
 
+Cyril Mottier But I am using addViewInLayout as he mentions, as well as measuring and calling layout() on the child view I am adding
Add a comment...

Simon Vig Therkildsen
owner

Discussion  - 
 
Beta versions now available. Join the community and sign up on the link below.
2
Add a comment...
Have him in circles
586 people
Dushyanth Maguluru's profile photo
Ran Nachmany's profile photo
zhenguo jin's profile photo
Ovidiu Latcu's profile photo
zhang nian's profile photo
Alex Korovyansky's profile photo
Андрей Новиков's profile photo
Alif Aziz's profile photo
Mouna Cheikhna's profile photo
 
Can SQLite triggers trigger other triggers on Android?

When a row in TableA is deleted, a trigger executes and deletes a row in TableB.
When a row in TableB is deleted, a trigger executes that deletes a row in TableC.

If I delete a row in TableA, is the second trigger executed?
1
Francesco Pontillo's profile photo
 
Yes, triggers should get applied on cascade.
Add a comment...

Simon Vig Therkildsen

Shared publicly  - 
 
Annoying that SearchView requires a CursorAdapter for suggestions..
4
Simon Lightfoot's profile photoDylan Drost's profile photoSimon Vig Therkildsen's profile photo
7 comments
 
+igor ganapolsky Not really when you're implementing a Filter.

+Simon Lightfoot Unnecessary boilerplate.
Add a comment...

Simon Vig Therkildsen

Shared publicly  - 
 
This is amazing. To think there are actually people who defend this approach.
"I don't know what to do if this happens, so I'll just log something out." CRASH. CRASH, CRASH, CRASH. Expand Collapse. Reply; Retweet Retweeted; Favorite Favorited. More. Embed Tweet. Mark Allison ‏@MarkIAllison 12h12 hours ago .@JakeWharton I disagree. Never crash. The user suffers if you do.
4
1
Ivo Encarnação's profile photo
Add a comment...
 
It's easy to mess up when using AsyncTask, especially if you're new to the Android platform. Fortunately, it's also easy to get right.
AsyncTask is bad and you should feel bad. There are a lot of mixed feelings about AsyncTask - some even go as far as to say you should never use it. All this stems from the fact that developers new to Android jump to AsyncTask when they need to do something on a thread, without fully ...
12
6
teo ramone's profile photoIvo Encarnação's profile photoRussell Wheeler's profile photoCage Chen's profile photo
6 comments
 
+Ronald Ammann I'd use it when querying data that's likely to be updated while the app is running (like CursorLoader for ContentProviders), but not for one-off kind of tasks.
Add a comment...

Simon Vig Therkildsen

Shared publicly  - 
 
Apparently Fragment#isAdded returns false when Fragment#isDetached is true..

That doesn't really make sense to me. If you read the javadocs for isAdded it says:
Return true if the fragment is currently added to its activity.

A detached fragment is still added to its activity - its UI has just been detached. Or maybe they make a distinction between being being attached to an activity and being added to an activity.. But then isAdded should return false for Fragments without an UI, so that's out.

The Fragment API naming is so inconsistent..
5
Said Tahsin Dane's profile photo
 
It is the same with the functions isVisible isHidden and isMenuVisible. It is so confusing. 
Add a comment...

Simon Vig Therkildsen

Shared publicly  - 
 
Join the Cathode community and sign up to receive beta versions.
2
Add a comment...
People
Have him in circles
586 people
Dushyanth Maguluru's profile photo
Ran Nachmany's profile photo
zhenguo jin's profile photo
Ovidiu Latcu's profile photo
zhang nian's profile photo
Alex Korovyansky's profile photo
Андрей Новиков's profile photo
Alif Aziz's profile photo
Mouna Cheikhna's profile photo
Links
Other profiles
Basic Information
Gender
Male