• Breaking News

    [Android][timeline][#f39c12]

    Thursday, February 6, 2020

    Huawei, Xiaomi, Oppo and Vivo creating a Google Play Store alternative Android Dev

    Huawei, Xiaomi, Oppo and Vivo creating a Google Play Store alternative Android Dev


    Huawei, Xiaomi, Oppo and Vivo creating a Google Play Store alternative

    Posted: 06 Feb 2020 08:06 AM PST

    AndroidX security

    Posted: 06 Feb 2020 05:19 AM PST

    Whats the point of "Developer Support" when you can't tell me what i need to fix to deploy an update? Directing me to the Developer Program Policies does NOT help - especially when the app has been live with no major changes.

    Posted: 05 Feb 2020 05:12 PM PST

    How to update APK without Playstore?

    Posted: 06 Feb 2020 11:35 AM PST

    Hi! I have made a funny stickerpack for whatsapp, and would like to just share it friends, so just APK. How would I automatically update this software to users? I have no idea, I am completely newbie at this. Thanks for help

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

    Kotlin Flow Backpressure

    Posted: 06 Feb 2020 11:47 AM PST

    Does old code stay when a device is updated?

    Posted: 06 Feb 2020 01:56 PM PST

    When an Android 9 running receive certs, device works fine.

    When an Android 9 is upgraded to Android 10, the device accepting certs works fine.

    When a device is pure Android 10(out of the box) the apps that see the same certs, fail.

    I am assuming that upgraded phones now running Android 10 still have some Android 9 hooks and that is why the certs in apps work.

    But since a device that never had Android 10 doesn't have those hooks and that is why it is failing.

    **Webview with Android 9 can see and accept the cert server whereas with 10 that doesn't happen

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

    Motion Pattern (Gesture) Recognition AI: MiVRy

    Posted: 05 Feb 2020 09:58 PM PST

    Major changes in our app and fears of losing users

    Posted: 06 Feb 2020 08:27 AM PST

    We have an app that has more than 200k users (mostly kids) and the app has been working for 2+ years.

    but we had to do major improvements in the UI and UX so we are having two options:

    - updating the current app to the new version but we fear that the users will reject the new UI/UX and stop using the app.

    - the second approach is creating a new separate app and promote for it in the old app, so over time most of our users will transition to the new app.

    which one is better from your opinion? is there a third approach?

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

    ARCore and Sceneform in Android — Performing Gestures and Collisions on Transformable Nodes

    Posted: 06 Feb 2020 08:22 AM PST

    Android Dark Theme

    Posted: 06 Feb 2020 05:10 AM PST

    Anyone actively using Xamarin for production apps?

    Posted: 06 Feb 2020 11:02 AM PST

    I used Xamarin.Android at my last job and enjoyed it enough to get through but would sometimes use Android Studio when building out the UI and copy + paste that into the Xamarin editor.

    Now I am going to start a personal project that I am still unsure if I will try and release something to the Google Play store or not, and to that extend iOS. So I am wondering if anyone is using Xamarin.Forms for this or if you are using Kotlin JVM and Native? And if anything, are you building your UI with other tools and moving them into the project?

    Cheers!

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

    KotlinConf 2019 Overview

    Posted: 06 Feb 2020 12:22 PM PST

    Hello everyone!

    Registration to KotlinConf 2020 just opened. I recently published article to medium about my feeling of KotlinConf 2019.

    Feel free to check it, hopefully it will be useful if you are thinking to apply in this year -https://badootech.badoo.com/overview-of-kotlinconf-2019-c1591f172e32

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

    How to place ads on a hosting activity for fragments?

    Posted: 06 Feb 2020 03:50 PM PST

    I'm still new to programming and Android dev, but I'm working on an app which shows you how to tie knots.

    On a detail activity which tells you the steps on how to tie the knots, it's a hosting activity which will swap out fragments for each step. The fragments basically take the full screen.

    I wish to put ads on this detail activity, but I'm having troubles positioning it.

    Here is my XML for the hosting activity:

    <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:ads="http://schemas.android.com/apk/res-auto" android:id="@+id/fragment_container" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <com.google.android.gms.ads.AdView android:id="@+id/adView2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center|bottom" ads:adSize="BANNER" ads:adUnitId="ca-app-pub-3940256099942544/6300978111"/> </LinearLayout> 

    The root of the layout is acting as the container for the fragments. What I'm looking for is an ad to appear on the bottom when the user is navigating the detail activity and each step for the knot.

    What's occuring in this linear layout is that the ad appears at the top, then the fragments appear below.

    Changing the root to a relative layout with the ad having constraints to the bottom of the parent OR a frame layout with the ad having gravity center|bottom does make the ad go to the bottom of the activity. However, the ad still appears to be behind the fragment and the step by step instructions. Also, an issue occurs when rotating the screen with the view, but doesn't for some reason on the linear layout.

    I also thought about putting the ad into the fragment layout itself, but I don't really want a new ad to be intialised every time the user goes to the next step.

    I'm thinking a frame layout somewhere is probably the answer, as I would want the ad to be on top of the fragment. But I'm having troubles getting this to work.

    How would you go about putting an ad into the hosting activity and what elements do you use to get the ad to appear properly?

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

    Guid me on revamping UI and maintaining existing app

    Posted: 06 Feb 2020 03:30 PM PST

    We are going to revamp our whole app. It will take at least 6 months. In parallel, we need to add features and maintain existing app. We have planned to release revamped version as a separate app. Because there are some major UX changes. So, we need to maintain existing app for at least 1.5 years. How should we maintain codebase? Multiple branches? Multiple repositories? Same branch with multiple flag check?

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

    Online Web Development Mentoring Program

    Posted: 06 Feb 2020 12:53 PM PST

    Hey guys!

    A friend and I are starting a web development program - the gist is to basically develop web apps from scratch using the latest tech frameworks. All will be done online and free :)

    For the first web app, we've chosen VueJS, Tailwind CSS, and Firebase.

    If interested, you can find out more below

    https://webdevofficehours.com/#freementorship

    We are gonna cap this to 20-30 people - so subscribe! It's first come, first serve.

    Paul

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

    How can i do jvm unit test, a click listener on Button with View Binding. if i don't Use ViewModel.

    Posted: 06 Feb 2020 12:53 PM PST

    Clean Navigation Between Screens in Android Applications

    Posted: 06 Feb 2020 08:46 AM PST

    Sklearm Support Vector Machine on Android ?

    Posted: 06 Feb 2020 11:57 AM PST

    Hey, I've been trying for a method/library to convert a RBF SVM, trained on python using Sklearn to java to be used in Android. Still cannot find a way. Any help will be greatly appreciated.

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

    How can I fix this type of crashes which are apparently not exactly related to my code?

    Posted: 06 Feb 2020 02:12 AM PST

    CMake on Android Studio doesn't provide with error log?

    Posted: 06 Feb 2020 07:23 AM PST

    I'm currently working on a C++ project that can be built for Windows and Android. I use Visual Studio for Windows part and it lets me know what exactly is wrong in my CMakeLists. But all Android Studio shows me is just single line of ERROR: Cause: executing external native build for cmake, which doesn't help at all. How do I debug something like this?

    I googled a bit but all the answers are just about correcting what is wrong in the specific codes. What I want to know is whether I can get nice log messages or not, so that I can fix tons of problems I would encounter in future.

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

    What platform do you guys use for proper session recording for usability testing?

    Posted: 06 Feb 2020 11:05 AM PST

    Live Data + Sealed Classes are an easy way to lose a reference to data. How can I go around this?

    Posted: 06 Feb 2020 02:08 AM PST

    It's becoming very popular to use sealed classes as a way to handle errors when observing LiveData. One common example would be to have a sealed class named Result with two Data Classes: Success and Failure.

    Success holds a reference to our data and Failure holds a reference to Exception.

    If we have a very simple data flow where we request some data once and wait for it to be read, this works very well. Our observable will either give us the Success state, after which we retrieve our value and draw UI - or it'll give us a Failure state, after which we handle the error gracefully and deem that we were unable to get the data for whatever reason.

    Now here are two relatively common cases from the top of my head when things can go wrong and I'm not sure how to handle them:

    1. We read some data and pass it to UI. User decides to refresh the view, but this time the network request fails for whatever reason. Now our LiveData<Result> turns from Success (which holds a reference to our previous data) to Failure (which only holds a reference to our Exception). We can decide to ignore the error in this case, since our UI is already drawn and we can tell the user that the refresh failed some other way (e.g. Toast) but we don't have a reference to our data any more.
    2. Our Repository read the data from both a local cache and a network request. We don't have a single point of truth implemented (we don't read all data from a database because we only cache data rarely) so the way it works is we read data from SharedPreferences and pass it to LiveData as a Result.Success. Observable is fired and UI is drawn. Now because the network request failed, just like last time, this Result.Success turns into Result.Failure again. The UI is already drawn, we don't really care that the request failed because we'd rather display outdated data than an error message. But again we lost the reference to our data because Result.Success was overwritten by Result.Failure.

    How should this be handled? I don't see how Sealed Classes are so popular and they seemed to have completely replaced callbacks when it's so easy to lose a reference to your data. Error states will simply overwrite any other states.

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

    Why is my Android virtual device so slow on Ubuntu 18?

    Posted: 06 Feb 2020 04:19 AM PST

    I've been developing an app for Android using the Pixel 3a Oreo virtual device. Every time I start up the device, my computer completely tanks, to the point of not being able to move my mouse for 30 seconds at a time. It only runs slightly better once set up, and practically freezes my computer for 5 minutes when shutting down.

    I followed these tutorials on VM acceleration fully and they don't appear to have helped.

    This isn't the case for my friends on Windows, and I'm sure it isn't the case for most people on Ubuntu, so do you know how I can make the device run better?

    I will gladly provide any information needed in solving this problem.

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

    Does view.ContextMenu no longer work?

    Posted: 06 Feb 2020 07:08 AM PST

    I wrote an app for work about 6 years ago and we haven't really looked at it since. I was asked to add some features to it and now with my new phone I noticed that some of my menus are drawn so small you can't read the text, but not all of them... I figured out that the ones that display correctly are ones I created myself and manage the layout manually, the ones that don't work were created as ContextMenu's.

    As far as I understand a ContextMenu manages it's own layout, and there is no way to override or specify this in code. All I do in the "onCreateContextMenu" override is set the title and add (textual) menu items.

    Is there a way to salvage this easily? I don't want to have to do something completely different... looking for the path of least resistance here.

    Thanks.

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel