rkcr

- friends
23,360 link karma
28,141 comment karma
send messageredditor for

reddit is a source for what's new and popular online. vote on links that you like or dislike and help decide what's popular, or submit your own!

I got annoyed with Android complaining about non-localized strings, so I made this script to do it automatically by ENOTTYin androiddev

[–]rkcr 0 points1 point ago

It's not a big waste of time though. It's a tiny amount of work and once you get in the habit it's no trouble at all. And if you're reusing the same string multiple places, it'll actually be easier to extract that string into strings.xml.

What is trouble is if you hardcode all your strings and then unexpectedly have to end up localizing it later (for whatever reason). There's no reason not to prepare for the future.

ICS x86 image now available in SDK manager by chiatarin androiddev

[–]rkcr 0 points1 point ago

Does it also support GPU?

Sumo Wrestling by StellaMarooin PerfectTiming

[–]rkcr 4 points5 points ago

That looks like it's going to be incredibly painful in about a quarter of a second.

To celebrate passing 4k subscribers, please welcome chlorine_kelsey as new mod. Also, for the next 48 hours you can edit your own flair! by TheGreatCthulhuin Swimming

[–]rkcr 0 points1 point ago

It works now, but it'd be nice if you could setup the symbol next to the flair as well (not sure if you can do that?)

Google IO 2012 - Places to stay?? by ph0n3Ixin androiddev

[–]rkcr 0 points1 point ago

If you can find a cheap place near a BART station, it's incredibly easy to get to the Moscone center from BART.

ListView displaying new data without calling notifyDataSetChanged(). How is this possible? by the_biebin androiddev

[–]rkcr 6 points7 points ago

ArrayAdapter.add() calls notifyDataSetChanged() itself:

public void add(T object) {
    synchronized (mLock) {
        if (mOriginalValues != null) {
            mOriginalValues.add(object);
        } else {
            mObjects.add(object);
        }
    }
    if (mNotifyOnChange) notifyDataSetChanged();
}

You can call ArrayAdapter.setNotifyOnChange(false) if you want to disable automatic list updating.

Who do you think is the QI guest who receives the questions before the show? by ArchaeopteryxAlexin quiteinteresting

[–]rkcr 2 points3 points ago

Hahaha, I would love for it to be Rob because that would make so little sense.

If I were to guess, I'd say Clive Anderson. He always seems a tad more prepared than everyone else and is a regular guest.

New survey ranks Minneapolis as the #1 bike city in the US. Portland comes in second by cameronjin twincitiessocial

[–]rkcr 3 points4 points ago

The survey is only about large cities. I grew up in Davis, CA and that place is a dream for anyone on two wheels (but it's significantly smaller than any city on the list).

"Avengers" star Tom Hiddleston nails an impromptu Shakespeare monologue by tone_is_everythingin entertainment

[–]rkcr 23 points24 points ago

That didn't seem impromptu at all. He barely paused before agreeing to it and the lighting change anticipated him saying he was going to stand up.

Pikatikit helps you pick winning scratch off tickets! My first app, would love to hear feedback from androiddev. by pikatikitin androiddev

[–]rkcr -2 points-1 points ago

I did read the description. It's more that I see one of two situations:

  1. The app gives you +EV, at which point it makes no sense for them to sell the secret (they might as well just use it themselves to make money).

  2. The app still results in -EV, at which point it's pointless to get it because -EV is just a losing proposition.

This is from the perspective of a person who really doesn't "get" gambling (excepting games of skill involving gambling, like poker). To me it's a random redistribution of wealth where most people lose.

Reddit meetup at AnDevCon next week? by cokacokacohin androiddev

[–]rkcr 0 points1 point ago

Unfortunately I'm busy Monday night (and Tuesday night is a speaker dinner). But Wednesday/Thursday night I'm free.

Pikatikit helps you pick winning scratch off tickets! My first app, would love to hear feedback from androiddev. by pikatikitin androiddev

[–]rkcr -1 points0 points ago

I always wonder about this when people try to sell a method for making money: if the method actually worked, wouldn't you do better to use it yourself instead of sharing it with everyone?

Reddit meetup at AnDevCon next week? by cokacokacohin androiddev

[–]rkcr 0 points1 point ago

I'll be speaking there as well. I think it would be fun to meetup with redditors; we could probably grab dinner one of the nights.

Good date restaurant? by ruckus_randallin twincitiessocial

[–]rkcr 4 points5 points ago

First Dates/General Dates

Specialty Dating Advice

Easter egg in iso by agorneyin dominion

[–]rkcr 0 points1 point ago

I've actually gotten it legitimately once (without the opponent resigning). That said, it was one of those horribly mismatched skill level games where I'd cleared out my deck of cards and cursed my opponent to death.

Looking for apartment by morgantoshin twincitiessocial

[–]rkcr 2 points3 points ago

No, he is being helpful by pointing out that you should expand your search options. You're going to have a difficult time trying to find a 2BR in the uptown/lakes area for $800/month (and when you do it's going to be a really crappy place).

Like he said, not impossible, but not terribly realistic either. You might be able to hit $400/person if you go to 3+ BR and split a larger place with more people (but it will still be crappy).

Two versions, or a paid unlocker? by justtohidesubredditsin androiddev

[–]rkcr 0 points1 point ago

Sure, if they go through the effort of re-signing our APKs (not sure how you do that myself). We don't put LVL on our apps, so that doesn't matter anyways.

I don't think you get what I'm saying, though - the point isn't to protect against piracy. The point is to have a system that works for paying customers. Just about any app can be pirated if you try hard enough, so we've given up trying to stop pirates. It's not worth our time and effort (and DRM systems typically end up backfiring on legit users at some point).

Two versions, or a paid unlocker? by justtohidesubredditsin androiddev

[–]rkcr 2 points3 points ago*

The signatures won't match if they don't use the same keystore that I used.

Edit: I'd also like to add that fighting piracy is usually a losing proposition. If someone wants to go through all the effort of cracking my app, so be it. They weren't going to pay for it anyways. I wanted a solution that works for my actual customers.

Two versions, or a paid unlocker? by justtohidesubredditsin androiddev

[–]rkcr 2 points3 points ago

I would recommend either having a free version and a paid version, or implementing an in-app purchase to upgrade the app.

I would not recommend having a paid unlocker. In the case of one of my apps, we have two paid version (normal and pro). The pro is just an unlocker but it causes confusion because users buy the "pro upgrade" and don't necessarily read the description where it says that it's an upgrade rather than an app. We had to do it this way at the time because there were no in-app purchases, but now it'd be much less confusing to users to upgrade in-app.

This is how I've done an unlocker app in the past.

view more: next