• Breaking News

    Wednesday, January 22, 2020

    Android Dev - Twitter's latest android update does something I have done at least twice - new db column without a migration

    Android Dev - Twitter's latest android update does something I have done at least twice - new db column without a migration


    Twitter's latest android update does something I have done at least twice - new db column without a migration

    Posted: 22 Jan 2020 02:35 AM PST

    Life After Java 8

    Posted: 22 Jan 2020 07:27 AM PST

    I'm in love with JetPack Compose!

    Posted: 21 Jan 2020 06:30 PM PST

    I'm in love with JetPack Compose!

    Going from this

    https://preview.redd.it/fp6a97i3r8c41.png?width=1098&format=png&auto=webp&s=6d01f9a2c688b44cce8d3c6466b7b1873b8d07bd

    to this

    https://preview.redd.it/9re9tb0vq8c41.png?width=1616&format=png&auto=webp&s=f169163b6fe3a3ff3cf304015003b0921bdff752

    Minus ALL of the XML files that define the UIs.

    This seems to be going the route of GWT, Flutter, and React Native where the UI is defined within code. This is an excellent start to simplifying the UI development experience.

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

    187: Coroutines with Manuel Vivo & Sean McQuillan

    Posted: 22 Jan 2020 12:13 AM PST

    Android Studio 4.0 Canary 9 available

    Posted: 21 Jan 2020 11:06 AM PST

    Custom video player application

    Posted: 22 Jan 2020 08:44 AM PST

    Hi i want to write a custom video player application. I want to decode, encode, mux using MP4 containers and just basically create my own pipeline and not rely on the inbuilt one. Where should i start. Can anyone guide me. Thanks.

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

    Anyone using Fyber as Ad network? How is your experience with them?

    Posted: 22 Jan 2020 08:36 AM PST

    Hi, I am looking for a steady and trustworthy ad network with Banner ads, upon my search I found out about Fyber aka HeyZap. At glance they seem like a serious company, they even have ad filters which is a HUGE plus for me and my apps. But they seem to be mediation based network and I believe they don't have their own ads?

    So, what do you think of Fyber?
    Are they purely mediation network?
    How would you compare them to AdMob?

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

    Nice animated digital clock with 'running' animations.

    Posted: 22 Jan 2020 08:02 AM PST

    Retrieving context of application (browsing, youtube etc.)

    Posted: 22 Jan 2020 03:49 AM PST

    Hello

    In Android it is easy to get the application or package name of the current foreground application. Is it also possible to get the context of the foreground application (i.e. for youtube application what video is played and for browsing what webpage is browsed and so on)? It should run on non-rooted phones. Is it perhaps possible with an accessibility service?

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

    Livedata asynchronous

    Posted: 22 Jan 2020 01:26 AM PST

    Is livedata asynchronous? Because its the same as rxjs and rxjava.. And since it is called when data is changed then I think it is asynchronous. So my question is if it is asynchronous then we don't need courtines or executor to create another thread, we can just use livedata for that or am I thinking about it in a wrong way?

    Because in javascript it is single threaded and we can use rxjs for any I/O operation. So was wondering if livedata is the same or not

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

    I'm have an idea on an App

    Posted: 22 Jan 2020 07:21 AM PST

    I am very interested in developing an Android but i am new to this area so it would be kind to give a detailed explanation from which programming language to learn and releasing it in Play Store.

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

    [NEWBIE] New Hire, guidance or help is appreciated.

    Posted: 22 Jan 2020 07:13 AM PST

    Hi Guys,

    My name is James and due to some nice interviewing skills I got a nice job working for a company which provides transaction analysis for Web(via JavaScript) and APP(Native Android). I get around very well in Web integrations however I am completely lost with APP integrations. Time is definetly a factor and I have been going through APP fundamentals, however as we are not creating an app per se but integrating an "application class" into the customer´s APP core code I don´t know where to start...

    I´ve looked on GitHUB: https://github.com/codepath/android_guides/wiki/Understanding-the-Android-Application-Class and on several Reddit posts but it seems like I am overwhelming myself with so much information.

    I would like to request you guys some basic information about integrating an Application class into an App (Android ),

    What is an Application class, what is an Instance in Android Dev. How does the communication work?

    What does the below do for example?

    c l a s s ExampleApplication : Application() { {

    override fun onCreate() {

    s u p e r .onCreate()

    Again I am no developer, I have a technical and gained experience in JSON, XML and SQL customized interface creation and database integrations.

    Any help or pointers in the right direction, would be appreciated and virtual beers will be sent.

    Thanks!

    J

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

    How to shut down device from app after period of inactivity?

    Posted: 22 Jan 2020 06:30 AM PST

    Greetings,

    I'm a beginner dev for android and I've been tasked to modify one of the apps we're using.

    Long story short, we use android devices to scan barcodes. The problem is that, too often, the users have a tendency to leave the device turned ON when they take a break, or finish their days. The task I've been given is relatively simple: modify the app so that it makes a popup for the use "are you still there?" after 5 minutes of inactivity, and shutdown the device if it doesn't get answered.

    As such, I'd like to know, how can do that? How can I setup a background timer while the app is running?

    How can I check if there is any human interaction for the device (screen touch, button press,...)

    How can I shutdown the device from the app?

    For the purpose of this, you can assume that the device is used solely for the purpose of this app, it is not used outside of this purpose. You can thus assume that "last interaction with this device" is equivalent to "last interaction with this app", as I am unsure if it is possible for an app to ask the device whenever it's interacted with.

    Thanks for the help.

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

    Should I just use the templates given by Android Studio and just 'extrapolate' from there?

    Posted: 22 Jan 2020 12:13 AM PST

    I created a project on Android Studio and picked Navigation Drawer Activity as the project template. This is entirely different from what I usually do, which is to start with just an Empty Activity.

    When I read at the code generated by Android Studio after it loads, wow....three days and I still am not done digesting and absorbing everything into my brain.

    I have this habit of wanting to 100 percent fully understand and internalize code before I use it. It worked for me in my beginner phase when I wrote apps mainly using TextView, ImageView, EditText, Buttons, RadioButtons, etc.

    Things got a little trickier when it came to using RecyclerViews. I took some time trying to understand the code, but I managed.

    But a Navigation Drawer........wow. It's seriously dragging on my time, I doubt that I will be able to fully digest this by the end of today.

    Should I just...try not to 100% percent understand the code and just follow the code's template to save time? I wonder if this is what devs normally do in the workplace setting.

    I don't want to be labelled to be that one guy who relies on templates and doesn't understand shit.

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

    How to make a anchor tag clickable in Android app which is inside paragraph tag?

    Posted: 22 Jan 2020 05:31 AM PST

    My android app developer have an issued in anchor tag clickable. Please give me answer with proper code.

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

    Public updates for Java 8 will remain available for individual, personal until at ~end of 2020: What does this mean for Android Studio?

    Posted: 22 Jan 2020 05:31 AM PST

    Hi, I'm new to Android Dev and understand that Kotlin is Google's primary language of choice. But, does the IDE depend on Java 8 and updates in any way?

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

    Android Begginer Question

    Posted: 22 Jan 2020 04:18 AM PST

    Hello Guys,

    im Studying CS and ive got an assigment where i have to create an Android App.

    Im searching for some sort of Components, so that i dont have to copy paste all my UI "code".

    For Example: if i want to create a Table in HTML i would do something like this

    i nest all my cells in a row, and all my rows inside a table

    <table> <row><cell/><cell/><cell/></row> <row>..</row> ... <table> 

    There fore i just have to write the code for my cell one time, the code for my row one time etc

    and reuse it without copy pasting all the code

    If i google Android components i dont find something like that. What are this Components called in Android? Are this Fragements?

    Ty in advance

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

    Navigation Architecture Component in Android

    Posted: 22 Jan 2020 01:51 AM PST

    Navigation Architecture Component in Android

    I'll show you how to implement the navigation architecture component in your app in Android. For demonstration will create a sample app and will integrate the navigation component in this app.

    https://androidwave.com/navigation-component-in-android/

    submitted by /u/kushwaha-morris
    [link] [comments]

    Best way to propagate live data from viewModel to view?

    Posted: 22 Jan 2020 01:50 AM PST

    Hi,

    what do you guys and girls think what's the best way to propagate data to from viewModel to view layer. I have this repository class (model) with with few calls to various endpoints which are wrapped in live data and I want them when they all finish to propagate data to viewModel layer in which they will be transformed in a way that is consumable by the view layer.

    I saw that there are Transformations in live data, but I am not sure how to accomplish all of this.

    Do you guys and girls have any idea?

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

    Gradle 6.1 Released

    Posted: 21 Jan 2020 11:16 AM PST

    How to use Tabs in Jetpack Compose?

    Posted: 21 Jan 2020 11:25 PM PST

    Pinch to zoom speed up

    Posted: 21 Jan 2020 11:01 PM PST

    I have implemented pinch to zoom. But it takes around 3 times to zoom completely into the view. I use: float scale factor = scale gesture detector.getScaleFactor()-1; factor += scaleFactor;

    How to speed up this zoom so i can completely zoom in one swipe itself.

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

    [Android] Exploring Unidirectional State Flow, Part 2

    Posted: 21 Jan 2020 10:31 PM PST

    No comments:

    Post a Comment