• Breaking News

    [Android][timeline][#f39c12]

    Thursday, May 16, 2019

    Simple flowchart to easily distinguish between kotlin's apply, also, let, run and with. Android Dev

    Simple flowchart to easily distinguish between kotlin's apply, also, let, run and with. Android Dev


    Simple flowchart to easily distinguish between kotlin's apply, also, let, run and with.

    Posted: 16 May 2019 05:38 AM PDT

    Google finally blocks call recording in Android Q DP3 completely

    Posted: 16 May 2019 05:38 AM PDT

    Google already closed access to in-call sound for third party apps in Android P last year, but apps could still record sound via the microphone albeit low quality. In Android Q DP3 recording apps won't able to record any sound during a call, just silence.

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

    You won't believe what we added in WorkManager 2.1.0-alpha02

    Posted: 16 May 2019 10:12 AM PDT

    Apologies for the click-bait. :)

    We added support for initial delays for PeriodicWorkRequests among other things.

    Full release notes: https://developer.android.com/jetpack/androidx/releases/work#2.1.0-alpha02

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

    Is there a checklist to know my app is ready?

    Posted: 16 May 2019 02:05 PM PDT

    I'm looking for some kind of "checklist" of things I need to do before I know if I'm ready to try and launch my app.

    I've never done anything like this before and all my programs I've written in the past have been packaged as an executable and written in Python. I'm also not an android user, so I'm not super familiar with common things I need to know specifically to android.

    I'm looking at this checklist which is very helpful, but I'm also looking for something a bit more...well, dumbed down on things I should be checking. Examples such as:

    1. Have you tested it on various devices (Am I supposed to test on EVERY device? Or just a few different ones to know what it's compatible with? Maybe a few specific devices?)
    2. Have you tested for crashes? (Is there an easy way to do this?)
    3. Does your app work with ads? (Can I test this even? or should I?)

    Various things above is what I'm looking for. I'm not looking to make money off of this app, just trying to do something new and have a personal achievement as well as something to add in my portfolio. My app is pretty simple and I plan on making it free to download.

    I'm sure there's plenty of other things I need to know, but I don't even know what I need to know so it's hard for me to ask specific questions!

    If there is any step-by-step guide you guys use I'd love to hear it!

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

    Do you use Git from the terminal or from Android Studio?

    Posted: 16 May 2019 12:09 PM PDT

    Had an argument with a friend about using git. He believes that you should only use Git from the terminal since it's more "pure", and I believe using Git from Android Studio is fine since it's more convenient. Which do you prefer and why?

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

    Coordinator Pattern in Android with Kotlin Coroutines

    Posted: 16 May 2019 12:11 PM PDT

    I'm working on an adb android automation API written in python. I would appreciate suggestions and insight on what to add.

    Posted: 16 May 2019 12:21 PM PDT

    I wanted to figure out a way to automate android actions, and I came across many usefull commands on how to do it using the adb bridge. I decided that typing out CLI commands was kinda annoying, so I decided to build a python API around adb. Its a heavy work in progress. I would appreciate any input on which direction to take this. Heavy criticism is encouraged. https://github.com/KonradStanski/androidAutomate

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

    Code Review Video: How to Write Take-Home Interview Assignments

    Posted: 16 May 2019 10:30 AM PDT

    A couple of day ago there was a thread about career advice in respect to take-home interview assignments. After getting a permission from OP, I decided to invest some time and share my thoughts on this important topic.

    You can watch the resulting code review video on YouTube.

    I know that there are many developers here who are much more involved in hiring than I'm, so I invite you to correct me if I got something wrong and share your opinion on this subject in general.

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

    Is there any resources where you can learn about iOS development by leveraging your current Android knowledge?

    Posted: 16 May 2019 12:37 PM PDT

    Hi all,

    Our goal is to port the current Android app ( https://www.wenote.me/ ) to iOS platform. Our goal is to able to ship it in next 6 months.

    Currently, we are taking https://www.udacity.com/course/intro-to-ios-app-development-with-swift--ud585 Udacity course.

    Over-the-time, we realize if we can map our Android knowledge to iOS, it will make our learning process faster. For instance, one of the very useful resource we hard found, is how we can map Activity's life cycle to iOS's ViewController's life cycle - https://stackoverflow.com/a/28969161/72437 This helps us pick up iOS related knowledge faster.

    We also took some time to figure out, there is no parcelable concept, Activity re-creation concept in iOS...

    Is there any reference/ learning resource you have encountered, which we can learn to map Android concept to iOS concept? By leveraging our current Android knowledge, we hope we can shorten our learning curve.

    Thanks.

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

    Best way to log methods and field get/set?

    Posted: 16 May 2019 03:11 PM PDT

    Last week I got tired of writing tons of log lines when checking complex input validation flows, so I set out to make an easier way to log things. Long story short, I ended up writing an annotation processor @Log that I can put over any method or field which will log some details whenever they're accessed.

    A method will now log something like

    INVOKE class.method(input1: 3, input 2: "foo")

    RETURN class.method() -> True - finished in 8ms

    A field will log something like

    FROM line 298 GET myField <- 17

    FROM line 124 SET myField 17 -> 15

    I'm pretty happy with what I was able to achieve, I can now get a lot of details with very little effort.

    My question is, are there any built in tools or utilities for doing something similar? Any logging libraries?

    I searched a little before doing this but couldn't find what I was looking for, what do you guys think?

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

    Is it possible to check if an app is using admob SDK or not from the apk file?

    Posted: 16 May 2019 02:44 PM PDT

    i want to check if an app is using admob or mopub or appodeal etc. and maybe follow in their footsteps.

    Is it possible? If so can you please tell me how.

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

    How to downgrade Android Emulator?

    Posted: 16 May 2019 12:43 PM PDT

    Android Q images were working until recently but I made a mistake by making update.

    I suspect that the culprit is Android Emulator.

    I already restored older version of Android Q system image and Android Q SDK Platform.

    Next I would like downgrade Android Emulator.

    However, I have not found a way to do the downgrade, because the address to emulator image is

    https://dl.google.com/android/repository/emulator-windows-5537588.zip

    It is difficult to guess what was the address of a previous release.

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

    Why can't I stop builds started from Android Studio?

    Posted: 16 May 2019 12:24 PM PDT

    Why can't I stop builds started from Android Studio?

    https://i.redd.it/s1448o45jmy21.png

    What is Android Studio actually doing when I cancel a run task but the process runs forever?

    How can I fix it?

    OK, now how can I fix it other than "Invalidate caches and restart"?

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

    Google's app developer research group

    Posted: 16 May 2019 12:04 PM PDT

    Google has opened up invites for the app developer research group. They use the group to collect insights on how developers are using their tools and what we're looking forward to.

    Sorry if it's against the rules to post a referral link. But It doesn't seem to work without the referral code.

    Invite Link

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

    Google I/O 2019: Unpacking the top Android news for developers

    Posted: 16 May 2019 11:57 AM PDT

    3D Model

    Posted: 16 May 2019 03:05 AM PDT

    Whats the simplest way to add a 3D model on an app, not to use it as a game, but like inspecting a character in 3D that u can rotate it 360 degrees

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

    Best way to implement "in app purchase" on android studio ???

    Posted: 16 May 2019 09:37 AM PDT

    Hi, I'm making an app and I need to implement "in app purchase" on it.

    I already tried a library from github called anjlab/android-inapp-billing-v3 and when I sign out with "x" user and sign in with "y" user my code assumes the payment from the x user instead of show to purchase layout.

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

    Blocking calls during an ongoing call

    Posted: 16 May 2019 09:34 AM PDT

    I'm working on a call blocking app. I've managed to get the call blocking working using the ITelephony with reflection method on earlier versions and TelecomManager on Pie. However, it seems that if the call the app is supposed to be blocking starts ringing while another call is ongoing, the incoming one doesn't get blocked. Does anyone know what the reason might be? I'd be more than grateful for help.

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

    What is realistic crash-free user for a popular app.

    Posted: 16 May 2019 05:32 AM PDT

    I work in a firm that makes applications for other companies. 2.5 years ago we received a big contract, a junior developer work on the project alone, until he left a year ago. Since then I inherited the project.,without really knowing all the business rules. The problem is that the last 3 releases revealed crashes that had not been seen by the QA team. and we have now a 95% crash-free user, according to Fabric. I have a lot a pressure by my superior, and the company thinking of cancelling our contract. It's our first big application with 7k-10k daily user (i know it's not that big, but for us it is :) )

    I have two questions for you the android community;

    1. What can i do to impovre the crash-free user ?

    I'm slowly changing the architecture to a more MVVM architecture, but it seem to add new bug and the client is not to happy about it, and is reluctant for me to continue changing architecture.

    1. What is a acceptable crash-free user ?

    In a perfect world it would be 100% but is it realistic ?

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

    Kotlin Coroutines - UI Scope - Can I run UI Updates concurrently?

    Posted: 16 May 2019 09:01 AM PDT

    Disclaimer: I'm just starting out with coroutines, so bear with me.

    So I have a pretty big androidx.preferences view. I initialize everything inside onResume().

    There is a slight but noticeable delay. Now this is not really necessary but it got me thinking and I didn't find anything relating. Would something like this be possible:

    val uiScope = CoroutineScope(Dispatchers.Main) uiScope.launch { initSomething() } uiScope.launch { andSomethingElseHere() } uiScope.launch { setSomeVisibilityFlagsAndText() } uiScope.launch { animateACoolButtonAndTextView() } 

    Would all this run concurrently? In Dispatchers.Main documentation it says:

    Usually such dispatcher is single-threaded.

    So I'm really not sure what would happen? Can anyone enlighten me?

    Thank ins advance!

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

    sdkmanager outputs help

    Posted: 16 May 2019 08:47 AM PDT

    Using the sdkmanager tool from the command line, it gives me the help output. I have tried all the options and I received the same output in all parameters. sdkmanager -list, sdkmanager --version, sdkmanager --licences... The outputs of all commands is the help output.

    What could be the problem?

    Note: I am using the OpenJDK-12.0.1 and the Android SDK is up to date.

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

    I built an annotation processor to avoid @VisibleForTesting

    Posted: 16 May 2019 05:00 AM PDT

    https://github.com/stoyicker/test-accessors/

    It generates accessors that allow both setting and getting final and/or private/unreachable fields, and it works both with Kotlin and Java. Feel encouraged to check it out and open issues if you have any suggestions or problems!

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel