• Breaking News

    Wednesday, February 10, 2021

    Android Dev - My first compose desktop app

    Android Dev - My first compose desktop app


    My first compose desktop app

    Posted: 10 Feb 2021 03:36 AM PST

    Those of you working in dev shops, or frequently building large apps, do you make a template to build off of or start each app from scratch?

    Posted: 10 Feb 2021 06:16 AM PST

    Does anyone have any suggestion, which part of my app description has violated Metadata policy?

    Posted: 10 Feb 2021 04:43 AM PST

    Hi all,

    Today, I receive an app update rejection, due to violation of policy of Metadata policy - https://support.google.com/googleplay/android-developer/answer/9898842/

    The problem can be lied in my short description, or full description. However, the information provided makes me even more confused.

    It states

    Issue details We found an issue in the following area(s): Full description (en_GB): "code, user code, user interface, user card, or user code" 

    But, in my text description, it doesn't contain any wording on "code", "user code", "user interface", "user card", "user code" ?!

    It seems like the information supposed to be provided to another developer, but accidentally copy-n-paste to me?!

    Here's my Google Play store page in en_GB

    https://play.google.com/store/apps/details?id=com.yocto.wenote&hl=en

    Anyone has any idea what's went wrong?

    Thanks.

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

    How we sped up Dropbox Android app startup by 30%

    Posted: 09 Feb 2021 08:58 AM PST

    Creating Spring-back animation for RecyclerView from scratch

    Posted: 10 Feb 2021 06:00 AM PST

    HOW TO MAKE SOCIAL MEDIA APPS IN ANDROID STUDIO

    Posted: 10 Feb 2021 09:10 AM PST

    HI EVERYONE,

    I was not long ago a software developer. I am not that highly skilled. I decided to go to developing games on Unity, and now I am returning to Android Studio.

    My aspiration is to build an application for social communication within my university in order to share knowledge and experiences with it

    Now all you need are the things that I need not learn to build this app [exp: database] and some references and lessons if possible.

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

    Android development environment setup guide on Windows (Not just android studio installation)

    Posted: 10 Feb 2021 08:34 AM PST

    Top android courses 2021 ?

    Posted: 10 Feb 2021 05:51 AM PST

    What are the top android courses for an intermediate java programmer in 2021?

    I'm open to any learning platform as well as paid/free courses as long as they're worthwhile and taught by professionals.

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

    Is there a downside to registering a singleton at app creation?

    Posted: 10 Feb 2021 05:42 AM PST

    To initialize my repository I need access to a context. I know the guides recommend lazily initializing and then returning a cached instance, but I happen to know essentially every screen will immediately initialize, including the launch screen.

    I came up with a relatively simple way to access my repository. It feels hacky, but I think it is essentially the same conceptually as something like hilt would do. I also think this is how Timber works?

    In my Application::onCreate I call Repo.initialize(this). Elsewhere I use Repo.get() which throws if Repo.initialize hasn't been called.

    This feels much simpler than other solutions. Am I missing something?

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

    Flashing when scrolling issue

    Posted: 10 Feb 2021 05:38 AM PST

    Hi,

    Some of my app users reported that when start to scrolling the screen flashing. I see there is another close issue with Google app: https://www.reddit.com/r/OnePlus6t/comments/iiujc8/anyone_facing_this_screen_flickers_while/

    I have created a question about the issue on stackoverflow but nobody answer it. I can't solve the problem because I have never experienced that.

    https://stackoverflow.com/questions/65914382/some-part-of-screen-disappears

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

    Does anyone have experience working with Android HCE?

    Posted: 10 Feb 2021 04:23 AM PST

    For a project I am doing, I am trying to give users a way to authenticate themselves on a Linux system using an NFC tag in their phone. I have produced the Linux solution, where users register their device tag and from then on can authenticate themselves using it.

    However, I am having some problems when it comes to producing the app for this. The documentation appears to be quite thin and I do not understand a lot of it, so was just wondering if anyone has had any experience of this and can point me in the direction of some good articles or tutorials to help?

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

    Cert pinning and Hostname verification by downloadmanager.request in Android

    Posted: 10 Feb 2021 04:00 AM PST

    Downloadmanager.request class here https://developer.android.com/reference/android/app/DownloadManager.Request provides an option to download a file. It seems from Android 4.0 onwards, downloadmanager started supporting the SSL handshake and thus the cert validation. My questions are:

    1. Does downloadmanager do any hostname validation implicitly? If not, is there any way to force this validation?
    2. Is the downloadmanager runs as a separate service? If yes, does it obey the configuration provided in network_security_config.xml such as cert pinning, etc.?
    submitted by /u/abhinashjain
    [link] [comments]

    A lesser known way to boot into recovery using local command shells, no root.

    Posted: 10 Feb 2021 02:22 AM PST

    There's this app called Button Mapper pro. It can help customize buttons to do certain tasks, like you could set the volume button to screenshot etc.

    So, when you would want to set a specific task for your buttons, there's six categories you can select from... Action, Applications, Shortcuts, System, Media, Advanced. In The Advanced Category, There's shell commands. Select it. You write reboot recovery in it. Now when you put your button in action, it reboots into recovery! Ofcourse it's only one thing. Many more you could do.

     A little story time... My power button came off. You could still click it using a screwdriver or pin, but less useful. I wanted to boot into recovery to install Magisk but it just kept restarting. The pressure on the power button must've been failing. Now, I tried that 15-second adb command tool with the PC. Didn't work for some reason. Gave up... came across this option midnight! So cool. 
    submitted by /u/ActiveFormality
    [link] [comments]

    Instrumentation tests, Release and Proguard

    Posted: 10 Feb 2021 02:15 AM PST

    Alright Android Team, there's some behind the scenes thing going on with Instrumentation tests / androidTest and the source code which I don't believe is explained anywhere.

    On debug builds tests run fine. On release builds there's something freaky. Let's take this example:

    I'm using gson in my instrumentation tests, directly imported androidTestImplementation "com.google.code.gson:gson:${versions.gson}" or not I have this error:

    java.lang.NoSuchMethodError: No virtual method getAsJsonArray(Ljava/lang/String;)Lcom/google/gson/JsonArray; in class Lcom/google/gson/n; or its super classes (declaration of 'com.google.gson.n' appears in /data/app/com.mydomain.app-tr_IypDBUv-MWFcNwrKcyA==/base.apk!classes3.dex)

    The classes, methods and fields exist in the androidTest.apk, and I even added -keep class com.google.gson.** { *; } to my test proguard file:

    release { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), "proguard-app.pro" testProguardFile "proguard-app-test.pro"

    And yet, the code, that runs from the androidTest.apk that uses the getAsJsonArray() method, doesn't look for the method in androidTest.apk but it looks for it in the release.apk.

    How are we supposed to deal with this? /u/chethaase /u/jlehrbaum

    This happens with compileSdk/target 29 and minSdk 26 running on the android emulator api 29.

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

    Android stuiod on m1 Mac?

    Posted: 10 Feb 2021 02:06 AM PST

    Hi I am learning android developement i have an m1 mac does android stuido work on m1 mac? I don't need the emulator to work i have my android device i only need the studio to work good.

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

    An open source device identification library written in Kotlin

    Posted: 09 Feb 2021 09:11 AM PST

    Hey everyone! I'm the developer of FingerprintJS.

    Since its release, it has helped thousands of websites identify devices and prevent fraud. Today we are excited to share our native Android client building upon what we learned from FingerprintJS.

    It uses all available permission-free methods of device identification, including Android ID, GSF ID, and device fingerprinting techniques. We've selected techniques that are especially effective against tampering attacks.

    Our goal is to have the most developer-friendly possible integration. There are no transitive dependencies or permissions required. The probability of a crash is almost zero.

    See the source code and try the library here.

    Feel free to ask me anything.

    Feature requests are welcome!

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

    Practical concepts for Coroutines (Part 1) This article covers the practical concepts for using coroutines in actual projects, different use-cases that arise, while showing the code in action to explain the concepts clearly.

    Posted: 09 Feb 2021 07:51 AM PST

    Android 12 leaks and lets us glimpse its first novelties

    Posted: 10 Feb 2021 02:55 AM PST

    Question about Google Developer physical address requirement...?

    Posted: 09 Feb 2021 03:55 PM PST

    Hey, I just recently finally purchased a Google Developer Console license for a few tiny apps/games I was developing in Unity and thought would be fun to publish and see statistics grow and whatnot and let people use and try it out. After purchasing the license I found out that there is a requirement to post a PHYSICAL ADDRESS on the description of the account... So at every single app you post, anyone will be able to see my address..?

    I don't have any money set aside to spare as this is a hobby so I do not want to end up purchasing a PO Box or something from UPS. But do I have to use my home address? I live with my parents and I'm not sure they'd enjoy that. Also, how bad would it be if I put a fake or old address of an old house?

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

    Android Studio stuck at analyzing, is this a looming IDE issue, and can it be fixed ??

    Posted: 09 Feb 2021 10:40 AM PST

    JUnit 5 Assertions In Android - Is It Enough?

    Posted: 09 Feb 2021 11:07 AM PST

    How is the process of transferring existing apps from old Google Play Developer account to new Google Play Developer account?

    Posted: 09 Feb 2021 06:06 PM PST

    Recently, in order to comply to new regulation of Google Payment Merchant Center, I'm forced to open a new Google Play Developer account, to transfer my payment profile from country X to country Y?

    However, I do have concern on the risk involved when transferring existing apps from old to new Google Play Developer account. Here're my concerns

    1. Can I still keep using the old app signing key?
    2. Will all the app id still be the same?
    3. Will this affect my current app search ranking in Google Play store?
    4. Will this affect the SEO of my app?
    5. Will I need to setup again the pricing of my in-app purchase and pricing of my month subscription, from X country dollar to Y country dollar? If yes, how does this affect my current subscribers?

    Does anyone have experience of doing such migration? If yes, can you share with me what risks you have faced in between? Thanks.

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

    No comments:

    Post a Comment