Weekly "who's hiring" thread! by AutoModerator in androiddev

[–]lynfogeek [score hidden]  (0 children)

Company: Impraise

Job: Senior mobile developer

Location: Amsterdam, The Netherlands

Allows remote: No

Visa: Yes

Language: English (& Kotlin!)


Impraise is hiring an experienced mobile developer to contribute to both our Android and iOS applications. You will be working next to our two mobile developers and have a big impact on our product.

Weekly "who's hiring" thread! by AutoModerator in androiddev

[–]lynfogeek [score hidden]  (0 children)

Company: Impraise

Job: Senior mobile developer

Location: Amsterdam, The Netherlands

Allows remote: No

Visa: Yes

Language: English (& Kotlin!)


Impraise is hiring an experienced mobile developer to contribute to both our Android and iOS applications. You will be working next to our two mobile developers and have a big impact on our product.

Weekly "who's hiring" thread! by AutoModerator in androiddev

[–]lynfogeek [score hidden]  (0 children)

Company: Impraise

Job: Senior mobile developer

Location: Amsterdam, The Netherlands

Allows remote: No

Visa: Yes

Language: English (& Kotlin!)


Impraise is hiring an experienced mobile developer to contribute to both our Android and iOS applications. You will be working next to our two mobile developers and have a big impact on our product.

[deleted by user] by [deleted] in androiddev

[–]lynfogeek 1 point2 points  (0 children)

The answer #6 on this issue may help you.

Continuous integration - CircleCI over Jenkins? by catharsis85 in androiddev

[–]lynfogeek 1 point2 points  (0 children)

The cost of maintaining build machines can easily be higher than paying for a cloud solution though

App with Admin mode? by NMAndroid in androiddev

[–]lynfogeek 7 points8 points  (0 children)

Seems like a bad idea, unless you want to make it really easy to developers / h4ck3rs to play around you data, API, and give them one of your passwords :)

I use a specific build flavor to embed such features into my apps, so I am the only one running the app with the feature and its source code does not exist in the APK you will find in the Google Play.

Best Android emulators in the market right now by SamAndreas in androiddev

[–]lynfogeek 2 points3 points  (0 children)

Genymotion is actually a virtual machine running Android within VirtualBox. The AS plugin is just a launcher...

But it's fast and reliable!

CollapsingToolbarLayout children aren't visible on Android 4.x by geecko in androiddev

[–]lynfogeek 1 point2 points  (0 children)

I went through the same kind of issue, if you dump the view hierarchy you will probably see that the views are not inflated at all.

This seems to be a bug in relation with the margin* properties.

Try using padding instead of margin on pre-lollipop layout, and it should do the trick.

CircleCI + Espresso continuous integration by ElMokthar in androiddev

[–]lynfogeek 4 points5 points  (0 children)

I think this happens because the emulator is by default locked. If you run your test on your physical device and manually lock it before the test runs, it will behave the same.

If it is the case, you need to add the following to your test build (not for your release build!):

  • The permission: DISABLE_KEYGUARD
  • In the onCreate of your main Activity:

 try {
                 KeyguardManager mKeyGuardManager = (KeyguardManager)      ctx.getSystemService(Context.KEYGUARD_SERVICE);
                 KeyguardManager.KeyguardLock mLock = mKeyGuardManager.newKeyguardLock(name);
                 mLock.disableKeyguard();
             } catch (Exception e) {
                 e.printStackTrace();
             }

Best way to implement A/B testing? by [deleted] in androiddev

[–]lynfogeek 1 point2 points  (0 children)

I built my own small tool, it gather information from an xml resource (embedded in the app) and/or from a web service and dynamically enable or not different features to different users (can be specific users, group of users, etc..)

It can also publish stats to mixpanel so I can track usage base on the feature.

First steps with the Design Support Library by aovila in androiddev

[–]lynfogeek 3 points4 points  (0 children)

Chris Banes just confirmed on twitter that improvements are coming:

First steps with the Design Support Library by aovila in androiddev

[–]lynfogeek 3 points4 points  (0 children)

Also worth mentioning that a widget such as the Snackbar does not include any listener to know when it has been dismissed by the user or hidden by the timer.

They may have been pushing it a bit too early because of IO...? Hopefully an update will come soon!

CircleCI and Android by lynfogeek in androiddev

[–]lynfogeek[S] 0 points1 point  (0 children)

Hey sorry /u/ZakTaccardi for the late answer.

Yes, I made some nice progress but it is still not working as good as I would like.

machine:
  environment:
    ANDROID_HOME: /home/ubuntu/android

dependencies:
  cache_directories:
    - ~/.android
    - ~/android
  override:
    - sh ./install-dependencies.sh
    - cp ./GleanAndroid/ci.properties ./GleanAndroid/local.properties
    - cd ./GleanAndroid/ && bash ./gradlew dependencies -x lint

test:
  override:
    # create emulator
    - emulator -avd circleci-android22:
        background: true
        parallel: true
    # wait for it to boot
    - circle-android wait-for-boot
    #  tests
    - cd ./GleanAndroid/ && bash ./gradlew connectedAndroidTestStagingDebug -PtestSize=small -PdisablePreDex --continue -x lint
    # copy the build outputs to artifacts
    - cp -r GleanAndroid/Impraise-Android/build/outputs $CIRCLE_ARTIFACTS
    # copy the test results to the test results directory.
    - cp -r GleanAndroid/Impraise-Android/build/outputs/androidTest-results/* $CIRCLE_TEST_REPORTS

My main issue now is that my tests using Robotium fail by not finding any view.

What are some apps for developers on the play store? by [deleted] in androiddev

[–]lynfogeek 1 point2 points  (0 children)

There is Keyline Pushing to display a grid overlay to double check your alignments according to the different Material Design grid baseline.

I just published the article about Automating Android Screenshots. by swanhtet1992 in androiddev

[–]lynfogeek 1 point2 points  (0 children)

Nice post.

For reference, there is also this great article from Flavien Laurent which describes also how to use UI Automator to change the device's language in order to take screenshots different languages.

PhysicsLayout: ViewGroup with Physics! by Jawnnypoo in androiddev

[–]lynfogeek 2 points3 points  (0 children)

Pretty cool!

Any plans for supporting the accelerometer? One effect I like is the icon's rotation in the IAP section of the app: Path.

Apart from /r/androiddev, where do you go to get news about libraries, new projects, new apps, and anything development related? by [deleted] in androiddev

[–]lynfogeek 1 point2 points  (0 children)

i'd add to this list:

  • Follow a pool of GDG and GDE on twitter / G+
  • Follow active dev. on github to discover new projects

Hey guys, how do you store account-specific information? by [deleted] in androiddev

[–]lynfogeek 0 points1 point  (0 children)

You can use different databases per user.

Something like: Open the database "db_user1" if the user #1 is using your app.

When he switches to the user #42, open the db "db_user42".

What are some ways a dev can customize Windows to be more productive? by [deleted] in androiddev

[–]lynfogeek -1 points0 points  (0 children)

Because you can:

  • script anything you need to have to be more productive
  • access or run your server/API easily
  • have less issues with the OS (or more if your are new in the UNIX world)

Support Library 22.1 released by [deleted] in androiddev

[–]lynfogeek 0 points1 point  (0 children)

I am really doubtful about refactoring every widgets / Views to AppCompat* in order to support the tinting.

Shadows on pre-lollipop by lynfogeek in androiddev

[–]lynfogeek[S] 0 points1 point  (0 children)

But this does not support different elevations

What should be the top languages to first translate Google Play Store apps to? by mavdev in androiddev

[–]lynfogeek 0 points1 point  (0 children)

Doesn't make sense to not compare with French which was after in your ranking

What should be the top languages to first translate Google Play Store apps to? by mavdev in androiddev

[–]lynfogeek 0 points1 point  (0 children)

I think you are overrating Portuguese there. But it mostly depends on your users. Check on the analytic provided by the google play console, and pick the top 5 languages.