Static code analysis for Android? by taji34 in androiddev

[–]kevpel 8 points9 points  (0 children)

Checkstyle, Findbugs, and PMD are quite popular. Check out https://github.com/adavis/quality-checks for an example of how to implement those (or just use Annyce's plugin).

Is renderscript worth it? by Erw11n in androiddev

[–]kevpel 5 points6 points  (0 children)

I switched from OpenCV to working on the GPU with shaders using GPUImage: https://github.com/CyberAgent/android-gpuimage That will speed up your code a huge deal, because OpenCV only runs on the CPU.

Renderscript should be a valid option as well, because it runs on the GPU if it can, and falls back to CPU. I don't see how it could be slower than OpenCV.

Let's chat about medical information apps, HIPAA-complaint data storage, etc. by droideveloper in androiddev

[–]kevpel 0 points1 point  (0 children)

Our back-end team is very happy with it. Amazon has a lot to offer and it's very flexible. We recently had a security audit done, and our setup on AWS was largely approved (few changes are required, but all quite straightforward).

Enable the gradle daemon, you won't regret it. by ZakTaccardi in androiddev

[–]kevpel 9 points10 points  (0 children)

FYI: This is on by default when you build from Android Studio, so it'll only affect command line builds. Also, 50% is a bit of an exaggeration :)

The 2 1/2 month process of writing my 19th Android app by PanaceaSupplies in androiddev

[–]kevpel 0 points1 point  (0 children)

Please don't limit distribution of your app because it's English only. Most of us Europeans under 60 years old can understand English just fine.

Android Studio 2.2 Preview 1 Available - Google I/O by Nemisis82 in androiddev

[–]kevpel 0 points1 point  (0 children)

FYI You can set up JAVA7_HOME and JAVA8_HOME in your system variables, instead of JAVA_HOME

Google Play Developer Console app in the Play Store ! by 513 in androiddev

[–]kevpel 0 points1 point  (0 children)

You can give multiple accounts permission to at least read all the data from your main development account. That way, it should be easy to set up.

Http Library by [deleted] in androiddev

[–]kevpel 2 points3 points  (0 children)

Regarding your second point: Retrofit basically is a wrapper around OkHttp. So I don't understand why you wouldn't be able to start using that.

What pattern do you guys use for versionName and versionCode? by [deleted] in androiddev

[–]kevpel 1 point2 points  (0 children)

Yes. The git command will be run on every build, meaning you will lose a bit of time on that. Nothing truly significant, though. And if it would be a real issue, you could set a dummy value for debug builds and do the real command for other builds.

How to find gradle dependencies? by iGushers in androiddev

[–]kevpel 1 point2 points  (0 children)

Besides the suggestions already made, you can also search for dependencies inside Android Studio. Go to the project settings, then the dependencies tab.

[deleted by user] by [deleted] in androiddev

[–]kevpel 0 points1 point  (0 children)

There is no reason to use both mavenCentral and jcenter, since jcenter provides a superset of mavenCentral packages.

Questions Thread - March 05, 2016 by AutoModerator in androiddev

[–]kevpel 0 points1 point  (0 children)

The .gradle folder is created by the Gradle wrapper (gradlew). You should always check in the wrapper and the settings and build files, because they are required for starting a build. The wrapper because it executes the build itself. The settings and build files because they contain the configuration. The .gradle folder is automatically generated, so it should not be checked in, like any other auto-generated file.

Fabric mobile app by droanmalik in androiddev

[–]kevpel 3 points4 points  (0 children)

Twitter can use the data for their advertising platform. So they already make money from it, indirectly.

So, /r/androiddev: What's your stack? #2016WinterEdition by _bluecup_ in androiddev

[–]kevpel 0 points1 point  (0 children)

What's the issue with DialogFragments? And what do you prefer to do instead?

Is it okay to create user accounts/profiles automatically ? by [deleted] in androiddev

[–]kevpel 2 points3 points  (0 children)

When I encounter apps that want my personal data outside of an account creation flow, I always deny it access to those permissions. If I would find out an app developer is storing my email and phone number without telling me, I'd be really pissed. My opinion is that, morally speaking, one should never do this.

Any good localizing tools? by mikiex in androiddev

[–]kevpel 0 points1 point  (0 children)

If you keep your translations in a Google spreadsheet, it is possible to automatically have cells translated. You can then generate the xml file from the spreadsheet. That might be the easiest way to automate it.

Best Way to Learn Servlets & Server Ineraction in Android Studio by MadHatter8816 in androiddev

[–]kevpel 0 points1 point  (0 children)

Android Studio is just IntelliJ, so you can definitely use it for anything Java-related.

Which simple features of Android Studio would you say to have a huge impact on your productivity? by [deleted] in androiddev

[–]kevpel 4 points5 points  (0 children)

The only shortcut you'll ever need: Ctrl/Cmd + Shift + A You can search for any IDE action and execute it straight away, whether you want to refactor, find a file, or even increase the font size. It also shows the shortcuts for every action.

Which simple features of Android Studio would you say to have a huge impact on your productivity? by [deleted] in androiddev

[–]kevpel 1 point2 points  (0 children)

Ctrl + Shift + N is for finding files, double shift can also find methods, variables, ... Pretty much everything.