• Breaking News

    Thursday, June 4, 2020

    Android Dev - With all these new restrictive rules, what is this sub for? Serious question.

    Android Dev - With all these new restrictive rules, what is this sub for? Serious question.


    With all these new restrictive rules, what is this sub for? Serious question.

    Posted: 04 Jun 2020 03:37 AM PDT

    With all these new rules, what can you post in this sub? Who thought these new rules would be helpful/good for community?

    Since new rules have been applied the quality and usefulness of this sub including number of posts has been reduced drastically, now it's just a generic links sharing hub with occasional lib discussion.

    No app/takedown posts?
    No help me posts?
    What the actual fuck?

    News for Android developers with the who, what, where when and how of the Android community.
    Maybe rename this sub into AndroidHelpPage? Because its no longer useful.
    I have been following this sub for a while now, and ever since new rules have been applied, this sub went from very useful to meh.

    submitted by /u/TADSRCOP
    [link] [comments]

    cmdline-tools package is replacing the old tools package: was I the only one that missed this change?

    Posted: 04 Jun 2020 02:22 AM PDT

    cmdline-tools package is replacing the old tools package: was I the only one that missed this change?

    So, yesterday I just noticed that there is a new SDK Tool package available, cmdline-tools:

    Android SDK Command-line Tools package

    I decided to download and install it and, to my surprise, contains some of the same binaries available inside the good old tools directory:

    $ find . -name sdkmanager ./cmdline-tools/latest/bin/sdkmanager ./tools/bin/sdkmanager $ find . -name avdmanager ./cmdline-tools/latest/bin/avdmanager ./tools/bin/avdmanager 

    But the interesting part is that the binaries are different:

    $ find . -name sdkmanager -exec sha256sum {} \; 42e587cd6795924403943856f8d5d62200272cc121ae89e5c91681967449c6e0 ./cmdline-tools/latest/bin/sdkmanager ca5dce516a93bea2c070ba6cc63d3d45436ce1c9a27f1173256b2aa98ae1cffa ./tools/bin/sdkmanager $ find . -name avdmanager -exec sha256sum {} \; a5ca2a53294ea0b4af3d91fb59b3c8b7878c1d9eb7ecfc9d521c896ecbf7653e ./cmdline-tools/latest/bin/avdmanager a98933db7c4d8dd376d67208316732ccf3a4917d0aea109302feda86bfc5a906 ./tools/bin/avdmanager 

    and the crazy part is that the version numbers are very different:

    $ find . -name sdkmanager -exec {} --version \; 4.0.0 26.1.1 

    Please note that the new cmdline-tools package is the one using version 4.0.0!

    I tried to search about this change but I can't find a single place where this is announced.

    The official SDK Manager page still refers to the version from tools and the version number 25.2.3 or higher:

    sdkmanager

    But the Command line tools page advise instead to use the new cmdline-tools version:

    Command line tools

    Does anybody have more info on this cmdline-tools package? Is it safe to migrate to it or is it better to stick with the tools version?

    Why did the version number of the sdkmanager go from 26.x back to 4.x?

    submitted by /u/leinardi
    [link] [comments]

    Kotlin 1.4-M2 Released

    Posted: 04 Jun 2020 04:51 AM PDT

    Coroutines: Suspending State Machines

    Posted: 04 Jun 2020 12:16 AM PDT

    Securing Network Data Tutorial for Android

    Posted: 03 Jun 2020 01:33 PM PDT

    [Library]simple/beautiful/smart image picker

    Posted: 04 Jun 2020 07:52 AM PDT

    Possible to show Geofence Notification with Location "Allowed Only While In Use" while device is locked?

    Posted: 04 Jun 2020 07:34 AM PDT

    I am trying to show a geofence notifications, while the device is locked, but without having to use Location "Allowed all the time."

    Does anyone have any resources or suggestions on how I may be able to achieve this?

    submitted by /u/rickhouse
    [link] [comments]

    Database security: how secure is standard application db usage ?

    Posted: 04 Jun 2020 07:32 AM PDT

    Hello everyone. I recently got involved in development of medical related product.

    And with medical field development in EU come some rules: all user data on device must be encrypted.

    So I opted to go with SqlCipher solution (pretty standard)

    It works fine. But we'll be using AWS Amplify to communicate with graphQL backend and after researching library code it turned out that the models we create to send to backend are saved in non-encrypted SQLite Database. Which contradicts with our requirements. Sure the data sent by AWS is encrypted and sent via https, but main concern is that the data being sent is duplicated in Amplify's own database which does not use encryption and as my research showed that they do not allow external hooks for our own DB implementation (SqlCipher in my case).

    The counterpoint for that is:

    - Our min sdk is 24 (which is pretty high in security tbh)

    - Our application does not allow backups which does not allow to make a backup via adb and grab db from installed release apk. (or is it still possible? )

    - Obviously that production app (release) will also use play console's option to exclude rooted devices ( I believe we'll be able to use SafetyNet filter in play console https://support.google.com/googleplay/android-developer/answer/7353455?hl=en )

    So the question - is a standard SqliteDatabase that is used in aws amplify library secure enough given that other security pre-cautions like app not shipped with debuggable flag = true, backupEnabled=true, SafetyNet device exclusions in play console enabled to prevent rooted devices from installing app?

    submitted by /u/SolidScorpion
    [link] [comments]

    Help: Native vs Flutter

    Posted: 04 Jun 2020 07:28 AM PDT

    Hey guys, we are a small startup team with limited resources. We are developing an app in the likes of TikTok and we are in the process of choosing whether we should go for native development (swift + SwiftUI) / Kotlin or if we should give Flutter a try.
    We really want our final product to have native feel (as much as possible at least) so we are really only considering Flutter because of our small team size.
    If you have experience with Flutter, would it be a good choice you think? Are there any roadblocks we should expect in terms of developing an HLS player, customer camera, filters, effects etc? Any help would be appreciated! Thank you!

    submitted by /u/sth_wicked1
    [link] [comments]

    Android Gradle Plugin can have better performance with Graalvm

    Posted: 03 Jun 2020 10:34 PM PDT

    Check if students (users) are paying attention to my session.

    Posted: 04 Jun 2020 07:06 AM PDT

    Hello guys, I am a teacher and I am giving some online sessions for free on my app (not public yet), I have only 1 condition and it is that they need to put effort and attention to the session. What I want to know is:

    if students (users) on my app did attend and check if they are paying attention or actually doing the classwork. Or if they are only reproducing the video on the background and idk.. Playing games.

    submitted by /u/Joseamica
    [link] [comments]

    does PDA important when flashing your phone ?

    Posted: 04 Jun 2020 06:16 AM PDT

    i have a Samsung j5 stuck on Samsung logo so i am gonna flash it but its PDA is j500HXXS1APE1
    and i did not find the exact same firmware , is it important ? or i can flash it with a firmware with another PDA

    submitted by /u/MarcoAcrono
    [link] [comments]

    Mobile and web application costs in 2020

    Posted: 04 Jun 2020 04:54 AM PDT

    RxJava onNext only works with the mainThread, not newThread

    Posted: 04 Jun 2020 04:36 AM PDT

    When I switch from running the observeOn on the Main thread to a newThread, the onNext only runs once.

    That only way I can get it to work is to keep it on the Main thread, but then I get that it does too much work on the Main Thread.

    Without the setErrorHandler it just crashes (Also, can I use doOnError instead of RxJavaPlugins?)

    PS. It works on the emulator fine, but it's on the physical device that the issue comes up.

    public void updatePie() { RxJavaPlugins.setErrorHandler(Functions.<Throwable>emptyConsumer()); Observable<Long> intervalObservable = Observable .interval(1, TimeUnit.SECONDS) //.doOnError(Functions.<Throwable>emptyConsumer()) .subscribeOn(Schedulers.io()) .takeWhile(new Predicate<Long>() { @Override public boolean test(Long aLong) throws Exception { if (isMyServiceRunning(MyService.class) == false) { RxB = false; } return RxB; } }) .observeOn(Schedulers.newThread()); intervalObservable.subscribe(new io.reactivex.Observer<Long>() { @Override public void onSubscribe(Disposable d) { } @Override public void onNext(Long aLong) { triple = mService.Time; entries.set(0, new PieEntry(mService.Time, "kronk")); entries.set(1, new PieEntry(mService.Time2, "notre dame")); pie_chart.notifyDataSetChanged(); pie_chart.invalidate(); } @Override public void onError(Throwable e) { Log.d(TAG, "Pie Update " + e.toString()); } @Override public void onComplete() { Log.d(TAG, "Pie Update completed"); } }); } 
    submitted by /u/CrunchyMind
    [link] [comments]

    Fuchsia is not a science experiment

    Posted: 04 Jun 2020 04:16 AM PDT

    Did app-ads.txt increase your ad revenue?

    Posted: 03 Jun 2020 08:09 PM PDT

    For those who have implemented it.

    submitted by /u/CryptoPonies
    [link] [comments]

    No comments:

    Post a Comment