• Breaking News

    [Android][timeline][#f39c12]

    Thursday, October 29, 2020

    Java 9+ support for Android projects is being worked on Android Dev

    Java 9+ support for Android projects is being worked on Android Dev


    Java 9+ support for Android projects is being worked on

    Posted: 29 Oct 2020 07:56 AM PDT

    Netflix Android and iOS Studio Apps — now powered by Kotlin Multiplatform

    Posted: 28 Oct 2020 06:17 PM PDT

    How to fix the pain of modifying Kotlin nested data classes

    Posted: 29 Oct 2020 08:46 AM PDT

    ConstraintLayout 2.0.4

    Posted: 29 Oct 2020 04:04 PM PDT

    P2P Chat Application (fully decentralized)

    Posted: 29 Oct 2020 12:02 PM PDT

    How would one go about making a fully decentralized peer-to-peer chat application for Android? I need to make such an app for a school project and do not know where to start looking.
    Application should not hold any personally-identifiable-information (PII) and there should not be any type of server involved. Clients would scan each other QR code (to exchange keys and information) and start chatting. This is relatively simple to do on a local network, but how do peers find each other over the internet?

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

    AdMob violation - Scraped content. How to proceed?

    Posted: 29 Oct 2020 05:24 PM PDT

    Hi,

    This is not a post to complain, I just seek advice on the best course of action.

    I have an app that allows the user to authenticate with Spotify only. It gets and saves the user location and the list of the last played songs by the user using Spotify API, then it builds a list of the most played songs in a certain radius around the user's location. In short, it shows the most played tracks by other users of the app given a certain radius from the user.

    Today I received an e-mail from AdMob stating that ad serving for my app was restricted for a policy violation: "Scraped content". They demand I fix the policy violation.

    I see no way to fix this violation, I'd rather just remove AdMob from the app so I don't risk losing the AdMob account. Can it be done? I don't think this is an warning that can be ignored, it demands some action.

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

    Leak detection: Android Studio vs LeakCanary

    Posted: 29 Oct 2020 05:21 PM PDT

    Small dialer?

    Posted: 29 Oct 2020 05:15 PM PDT

    Is there a way to call up a smaller number pad for TextInputEditText fields? (either by providing a smaller keyboard file or maybe there is one I can use I do not know about?)

    Is this the best way?

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

    Big'O Notation Visualizer Android App (Kotlin)

    Posted: 29 Oct 2020 12:58 PM PDT

    I see lots of algorithm visualizers but few that focus on space and time complexity. I decided to make my own Android app to visualize this and to add to my resume. I did create a nice gradient effect for the main page that's pretty boilerplate if you want to add changing background gradients to your projects. New devs feel free to look at the code and learn from it. Experienced devs I would appreciate any feedback on the code for it. I would love feedback from the community and I am happy to answer any questions as well!

    Source Code: https://github.com/justingeist0/big-o-notation

    Google Play Page: https://play.google.com/store/apps/details?id=com.fantasmaplasma.bigonotation

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

    In-app Updates: be prepared for the critical-bug-case

    Posted: 29 Oct 2020 04:25 PM PDT

    Get current TV channel

    Posted: 29 Oct 2020 03:19 PM PDT

    I have built an app for Android TVs that among other things sends an email when a button is pressed. Among the rest of the tasks I'm trying to get the current channel the user is watching, but I can't seem to get a solid answer anywhere, any ideas?

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

    What kind of data type column you use in SQLite, to store LocalDate?

    Posted: 29 Oct 2020 06:31 AM PDT

    Currently, we need to store holidays information in SQLite.

    We prefer to use LocalDate in our application code.

    As, Christmas always happen on 2020-12-25 doesn't matter the user is from United Kingdom, or from Thailand.

    In SQLite side, we tend not to store it in INTEGER timestamp, as that requires correct timezone information.

    So far, we choose to store it in TEXT.

    public class LocalDateConverter { // 2020-12-25 // 2019-11-08 private static final ThreadLocal<DateTimeFormatter> threadLocal = ThreadLocal.withInitial(() -> { DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd", Locale.US); return formatter; }); @TypeConverter public static String toString(LocalDate localDate) { return threadLocal.get().format(localDate); } @TypeConverter public static LocalDate toLocalDate(String string) { return LocalDate.parse(string, threadLocal.get()); } } 

    I was wondering, is that a good approach?

    Is there a better data type in SQLite to store LocalDate using Android Room?

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

    Navigating with Deep Links

    Posted: 29 Oct 2020 07:26 AM PDT

    How much and why is accessibility in Android Apps important for you? What problems do you find in implementing the accessibility guidelines?

    Posted: 29 Oct 2020 05:57 AM PDT

    What is so bad about SDK's initializing themselves?

    Posted: 29 Oct 2020 09:54 AM PDT

    I just found this post https://www.reddit.com/r/androiddev/comments/eowckz/new_androidx_library_for_app_initialization/ and saw that many comments talk negatively about SDK's that initialize themselves. What is the problem with that and what are the suggested alternatives?

    The post i mentioned has already been archived, so I wasn't able to ask there directly. Sorry for making a separate post about this.

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

    daemon not running; adb: CreateFileW 'nul' failed: The system cannot find the file specified

    Posted: 29 Oct 2020 09:47 AM PDT

    daemon not running; adb: CreateFileW 'nul' failed: The system cannot find the file specified. I'm getting this error on running an app. The gradle does complete build and the emulator also runs with android but the app doesn't open and I can't find it either in the apps of the device. And I am using one of those default templates when you create a new project without any modifications. I have tried downloading and replacing three files ( adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll) in the platform-tools in appdata. It says run manually if necessary. So i went to that directory and ran the command: adb start-server, in the command prompt but it gives the same error:

    C:\Users\samir\AppData\Local\Android\Sdk\platform-tools>adb start-server

    * daemon not running; starting now at tcp:5037

    adb: CreateFileW 'nul' failed: The system cannot find the file specified. (2)

    * failed to start daemon

    error: cannot connect to daemon

    How do I fix this?

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

    NotyKT is a complete Kotlin-stack application built with Ktor (REST API Backend) + Android

    Posted: 29 Oct 2020 05:56 AM PDT

    How does the DiffUtil improve the performance of RecyclerView?

    Posted: 29 Oct 2020 12:09 PM PDT

    Android Studio reformatting my code

    Posted: 29 Oct 2020 07:39 AM PDT

    Hi,

    I've been having this problem with Android Studio where it will reformat my code. For example (and the example that bothers me the most) is it separates function call arguments into multiple lines. I don't want this. I want it just leave everything exactly how I formatted it when I wrote it. I find this especially annoying for something like a simple Toast message. In my mind it should just be a single line, but it always gets auto-formatted to 3 or 4 lines. I've looked though some of the formatting settings in android studio for kotlin and I just can't seem to find the right settings.

    Does anyone know what settings I need to change to Android Studio stops reformatting my code? I want it to leave it exactly as I wrote it.

    Thanks

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

    How do I fill the whole popup menu?, don't want the white in the square.

    Posted: 29 Oct 2020 02:34 AM PDT

    How can I unit test my view utils functions?

    Posted: 29 Oct 2020 02:30 AM PDT

    I gathered quite a few utils functions in a library, using kotlin extension functions to simplify common operations when Android framework API was too cumbersome. Like in this very simple example:

    val View.contentWidth: Int get() = width - paddingLeft - paddingRight 

    I would like to add unit tests to this library but have no idea how to test this. I'm new to unit tests and already read a lot of documentation on how to getting started but feel a bit lost about it at the moment and trying to search directly for a solution yielded no result.

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

    Design Question: Storing a list of saved items in the Navigation Drawer?

    Posted: 29 Oct 2020 10:55 AM PDT

    For context, I'm building what's basically a Tinder clone, minus the hooking up, for favorite movies and shows and whatnot. I currently want to store the items that are 'swiped right' on in the Navigation Drawer at the top left (the hamburger thing) as an easily accessible list but I'm encountering a number of problems with this and I'm starting to doubt the decision.

    Should the navigation drawer be used for anything other than navigation or plain menu items? The more I'm playing with it, the more I realize that maybe these larger apps split functionality into different activities for a reason.

    Thanks in advance.

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

    Reddit Client Using MVI, TDD, RxJava, Dagger, and Room

    Posted: 29 Oct 2020 10:19 AM PDT

    IS THERE ANY WAY or TOOL TO UPLOAD AN APP ON ALL APP STOREs IN CHINA?

    Posted: 29 Oct 2020 10:17 AM PDT

    Hello folks!

    We intend to launch an app in China that helps the audience navigate in an exhibition we'll bring there (Shenzhen area).

    As their market is very fragmented and there are plenty of app stores, we'd like to know if there is any way/tools to upload our app on all (or on the most used) Chinese app stores.

    Sorry if it's a dumb/naive question :)

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel