• Breaking News

    Friday, October 23, 2020

    Android Dev - Weekly "anything goes" thread!

    Android Dev - Weekly "anything goes" thread!


    Weekly "anything goes" thread!

    Posted: 23 Oct 2020 05:40 AM PDT

    Here's your chance to talk about whatever!

    Although if you're thinking about getting feedback on an app, you should wait until tomorrow's App Feedback thread.

    Remember that while you can talk about any topic, being a jerk is still not allowed.

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

    Somebody uploaded my app on MIStore(Xiaomi store 500+ downloads) and V-AppStore(Vivo 100K+ downloads) I have not checked on other app stores. What can I do about this.

    Posted: 22 Oct 2020 10:40 PM PDT

    Introducing Jenny

    Posted: 22 Oct 2020 09:42 PM PDT

    Jenny is a java annotation processor, which helps you generate C/C++ code for JNI calls according to your java native class.

    https://github.com/LanderlYoung/Jenny

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

    Choosing the right architecture for a [new] Kotlin Multiplatform, Jetpack Compose and SwiftUI app

    Posted: 23 Oct 2020 04:50 AM PDT

    Announcing Coil 1.0

    Posted: 22 Oct 2020 09:24 AM PDT

    Difference between LAUNCHER and HOME

    Posted: 22 Oct 2020 10:18 PM PDT

    I have this app of a client which acts as the Home Screen Launcher. That is, on the device's home screen, on swipeRight, it opens up. Same as how we have Google News on Pixel phones and Bixby on Samsung phones.

    My question here is, when I was trying to fix something I came to know that this app should be used as,

    <category android:name="android.intent.category.HOME" /> 

    Instead of,

    <category android:name="android.intent.category.LAUNCHER" /> 

    Could anyone tell me what would be the major difference between these two categories and when I should be using both?

    P.S - Appls like Nova Launcher falls under which category - HOME or LAUNCHER?

    P.P.S - If the intended action is as same as Google News on Pixel devices, what do you recommend to use?

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

    setVertexArrayObject Log Spam Problem

    Posted: 23 Oct 2020 05:58 AM PDT

    I am getting like 20 lines a second of output that look just like:

    2020-10-23 01:01:37.216 7429-8654/com.example.[APP_NAME] D/eglCodecCommon: setVertexArrayObject: set vao to 254 (254) 46 655

    But with different numbers each line. It's totally preventing me from being able to check on my log output. I have no idea where it could be coming from. My hunch is that it has to do with Mapbox. Any thoughts?

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

    Introducing EitherNet! A pluggable sealed API result type for modeling Retrofit responses in Kotlin, designed for extensibility with your existing Retrofit converter/call adapter stack.

    Posted: 22 Oct 2020 12:26 PM PDT

    Navigation Component: Dialog Destinations

    Posted: 23 Oct 2020 12:42 AM PDT

    Benchmarking Image Loading Libraries on Android

    Posted: 22 Oct 2020 09:26 AM PDT

    Automated, on-demand benchmarking of Android Gradle builds with Github Actions

    Posted: 23 Oct 2020 04:22 AM PDT

    Android 11 Conversation Notifications - are you supporting them yet?

    Posted: 23 Oct 2020 04:04 AM PDT

    Has anyone updated their app to target Android 11 and implemented support for the new conversation notifications as announced here:

    https://developer.android.com/guide/topics/ui/conversations

    If so, how did it go? Are you using the priroity/silence/etc features provided by Android 11?

    I'm on the fence whether to invest any time in this in my app yet, or wait and see.

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

    Help: Mass spam and doxxing in play store reviews, no action taken by Google

    Posted: 22 Oct 2020 05:05 AM PDT

    Help: Mass spam and doxxing in play store reviews, no action taken by Google

    A month back we started a Discord group for our app to build a community and get user feedback. It's a gamification app where users get vouchers for some tasks. But soon, Discord became a channel for users to blackmail us for vouchers.

    Few days back one user spammed 1 star reviews to "bargain" for a voucher he didn't earn. After banning him, he doxxed our identity in a review. The reviews were not removed for supposedly not violating the "Google Play Comment posting policy". What can be done?

    Doxxed- this does not violate Google Play comment posting policy

    1 star spam in a short span of time- no action taken

    Same person, same text, multiple accounts

    Edit: Thank you for the support, but seems like Google does not care. As long as our rating remains healthy, I'm fine with it. I've contacted Google support over the doxxing incident and will see how they respond.

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

    Announcing Coil 1.0

    Posted: 23 Oct 2020 02:53 AM PDT

    lint warning - WRITE_EXTERNAL_STORAGE no longer provides write access when targeting Android 10+ - but I'm already using scoped storage

    Posted: 23 Oct 2020 02:09 AM PDT

    So I got this lint warning on the latest Android Studio, regarding this permission:

    <uses-permission android:name="android.permission.WRITE\_EXTERNAL\_STORAGE"/>

    WRITE_EXTERNAL_STORAGE no longer provides write access when targeting Android 10+

    I do ask for external storage permission at runtime. But I only use scoped-storage directories:

    /data/data/packageName/ --- internal storage scoped files

    /storage/emulated/0/Android/packageName/ --- external storage scoped files

    So I can drop asking for external storage permission, and still be able to access the scoped external storage? I'm confused..

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

    Got Mail From Google “Your app(s) are vulnerable to Intent Redirection” but cannot find vulnerability

    Posted: 22 Oct 2020 03:21 AM PDT

    When I update my app then I got a mail from google showing

    Hello Google Play Developer,

    We reviewed your app and found that your app uses software that contains security vulnerabilities for users. Apps with these vulnerabilities can expose user information or damage a user's device, and may be considered to be in violation of our Malicious Behavior policy.

    Vulnerability - Your app(s) are vulnerable to Intent Redirection.

    But I am not doing any intent extraction or redirection. After searching a little bit I apply some solution like android:exported="false"
    but none of them works.

    Now, I think some third party plugin is responsible for the vulnerability. How to find that vulnerability in my code?

    Below is my build.gradle file

    apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services' apply plugin: 'com.google.firebase.crashlytics' android { compileSdkVersion 29 defaultConfig { minSdkVersion 21 targetSdkVersion 29 renderscriptTargetApi 18 renderscriptSupportModeEnabled true multiDexEnabled true testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" resConfigs "en" } buildTypes { debug { firebaseCrashlytics { mappingFileUploadEnabled false } } release { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility = '1.8' targetCompatibility = '1.8' } externalNativeBuild { ndkBuild { path 'src/main/jni/Android.mk' } } dependencies { androidTestImplementation('androidx.test.espresso:espresso-core:3.1.1', { exclude group: 'com.android.support', module: 'support-annotations' }) testImplementation 'junit:junit:4.12' implementation 'androidx.multidex:multidex:2.0.1' implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.2' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.recyclerview:recyclerview:1.1.0' implementation 'androidx.cardview:cardview:1.0.0' implementation "androidx.viewpager2:viewpager2:1.0.0" implementation 'com.github.bumptech.glide:glide:4.11.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0' implementation 'com.google.android.material:material:1.3.0-alpha03' //fix implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava' implementation 'com.google.android.gms:play-services-basement:17.5.0' //Firebase implementation platform('com.google.firebase:firebase-bom:25.12.0') implementation 'com.google.firebase:firebase-auth' implementation 'com.google.firebase:firebase-database' implementation 'com.google.firebase:firebase-storage' implementation 'com.google.firebase:firebase-firestore' implementation 'com.google.firebase:firebase-messaging' implementation 'com.google.firebase:firebase-config' implementation 'com.google.firebase:firebase-analytics' implementation 'com.google.firebase:firebase-crashlytics' implementation 'com.google.firebase:firebase-inappmessaging-display' implementation 'com.firebaseui:firebase-ui-auth:6.3.0' // Google Sign In SDK (only required for Google Sign In) implementation 'com.google.android.gms:play-services-auth:18.1.0' implementation 'com.google.android.gms:play-services-identity:17.0.0' // Facebook Android SDK (only required for Facebook Login) implementation 'androidx.browser:browser:1.2.0' implementation 'com.facebook.android:facebook-android-sdk:7.1.0' //retrofit implementation 'com.squareup.retrofit2:retrofit:2.2.0' implementation 'com.squareup.retrofit2:converter-gson:2.2.0' implementation 'com.squareup.okhttp3:logging-interceptor:3.9.0' //json utilities implementation 'com.fasterxml.jackson.core:jackson-core:2.10.1' implementation 'com.fasterxml.jackson.core:jackson-annotations:2.10.1' implementation 'com.fasterxml.jackson.core:jackson-databind:2.10.1' //Paytm All-in-one SDK Payment Gateway implementation'com.paytm.appinvokesdk:appinvokesdk:1.5' //Circular ImageView implementation 'de.hdodenhof:circleimageview:2.2.0' //Number Picker implementation 'com.shawnlin:number-picker:2.4.7' //Version Compare implementation 'com.g00fy2:versioncompare:1.3.2' //Seekbar implementation 'com.github.warkiz.widget:indicatorseekbar:2.1.2' //country picker implementation 'com.hbb20:ccp:2.3.1' //TrueTime implementation 'com.github.instacart.truetime-android:library:3.4' //facebook ads implementation 'com.facebook.android:audience-network-sdk:6.1.0' //shimmer implementation 'com.facebook.shimmer:shimmer:0.5.0' //Loading Animation implementation 'com.wang.avi:library:2.1.3' //likeButton implementation 'com.github.varunest:sparkbutton:1.0.6' } configurations.all { resolutionStrategy.force 'com.android.support:support-annotations:28.0.0' } } 
    submitted by /u/viditbabele
    [link] [comments]

    Dark mode in Flutter

    Posted: 22 Oct 2020 10:37 PM PDT

    Compose Catalog: Discover the most popular Jetpack Compose libraries, tools and examples!

    Posted: 22 Oct 2020 08:52 AM PDT

    Compose Catalog: Discover the most popular Jetpack Compose libraries, tools and examples!

    Hey Droids,
    You'll have been kind with your time and feedback on my previous projects:
    Showkase, Which Compose API to use?, Learn Jetpack Compose By Example & Jetpack Compose FAQ's

    And that's why I'm excited to add another project to this arsenal. Introducing Compose Catalog

    Compose Catalog

    There's a ton exciting development happening in Compose land but there's no easy way to discover it 😔Compose Catalog makes it easy to discover the latest and greatest in Jetpack Compose 💥 Here's a quick demo:

    Compose Catalog Demo

    In order to make it easy for anyone to contribute, I have also open sourced this entire website - https://github.com/vinaygaba/jetpackcompose.app

    Adding your project requires simply editing a json file so hopefully I'll see some of you'll contributing to keep this list up-to-date 🤞

    Would love to know what you'll think about this! Check it out 👉https://jetpackcompose.app/compose-catalog

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

    pastelPlaceholders - clean pastel colors as placeholder for images

    Posted: 22 Oct 2020 07:00 AM PDT

    hey guys i made this android library, hope you guys find it useful as well.

    https://github.com/zedlabs/pastelPlaceholders

    this is my first library and I made this because I wanted to implement this feature in few of my apps, so I made a library for it, please share your impressions about it!

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

    Moving windows floating over other apps on Android

    Posted: 22 Oct 2020 11:51 AM PDT

    App says in production, but I dont see it in google store

    Posted: 22 Oct 2020 01:35 PM PDT

    I published on oct 6, its been 3 weeks. It might take longer, but I dont know if I need to do anything else.

    Open Testing, Closed Testing, And Internal Testing all say "Inactive"

    Above it it says "We're experiencing longer than usual review times"

    I published on oct 6, its been 3 weeks. It might take longer, but I dont know if I need to do anythign else.

    On the dashboard I can click "View on Google Play" and I can see it in the Browser version of google play, I can even search for it, but I cannot see it in my phone's Google Play. I have a galaxy S8 which I used to develop and test the app.

    What could be wrong?

    Thanks,

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

    Google Maps SDK + AdMob policy restrictions?

    Posted: 22 Oct 2020 09:53 AM PDT

    Hey, does anyone know if there are any restrictions with using a Google Maps component fragment and an AdMob banner on the same screen (banner at the top and Google Maps below it)? Would that be "Framed Sites"?

    I haven't found any clear information about this and I know that the SDK is free to use for Android apps with no limits.

    https://cloud.google.com/maps-platform/pricing

    https://support.google.com/adsense/answer/1346295

    "Valuable inventory

    Advertising and other paid promotional material added to your pages should not exceed your content. Furthermore, the content you provide should add value and be the focal point for users visiting your page. For this reason, we may limit or disable ad serving on pages with little to no value and/or excessive advertising until changes are made.

    Examples of unacceptable pages include but are not limited to:

    - Mirroring, framing, scraping or rewriting of content from other sources without adding value;"

    "Displaying a third party site on your page

    When a site displays someone else's site within a frame or window, this is considered framing content. Placing Google ads on such pages is strictly prohibited."

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

    New Udacity Android Kotlin Nanodegree. Would you recomend it?

    Posted: 22 Oct 2020 01:31 PM PDT

    This is the course.

    Hi all. Im unemployed because of the pandemic and thought it could be a good time to change my work field. Until now my work had nothing to do with programming. But some years ago i got a chance to do a copule of courses, where i learned some C++, Java and SQL and loved it. Actually, i never got to work as programmer. But back in the day, when Android was on 2.2, i managed to do an app which got like 500.000 downloads. Really enjoyed all of it.

    I know there are lots of resources on internet nowdays. But if im good at something, its procrastinating. So if i have to pay for it (special offer right now, arround 600+ €) i think it could be a good way to force my to do it.

    Right now im doing the free one "Android apps with Kotlin". And while im enjoying it, dont know if its deep enough. And since i dont expect to find a job within the next months, im wondering if it would be a good way to invest my time for a while. So what do you think, would it be worth it? Think it would be a good beggining to start working as Android developer?

    Thanks in advance.

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

    Developer Option: Stay awake while USB debugging is connected

    Posted: 22 Oct 2020 05:52 AM PDT

    I use my own phone for development and I find it convenient to enable the stay awake while I'm working. The issue is that I constantly forget to disable when I'm done working. Later, when I go to bed and charge my phone, I'll get some notification and my screen stays on all night (probably not the best for my hardware). Wouldn't it be better if the stay awake option only applied while the USB debugger was connected? It could even be an alternative option. I think I could sleep more soundly if I didn't have to worry about my screen being on all night.

    Are there any other options that you use or could see being part of the developer options?

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

    Library : Android ScratchCardView

    Posted: 22 Oct 2020 11:07 AM PDT

    Library : Android ScratchCardView

    A lightweight Coupon ScratchCardView open-source library

    -> Open Source Library : Android ScratchCardView

    Android Coupon ScratchCardView

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

    Question about Android & TVs

    Posted: 22 Oct 2020 07:20 AM PDT

    Hello everyone, I'm struggling to find an answer online so I'm asking you devs:

    is there a way an Android Phone can control the TV stream?

    The target of the app is to allow regular TV sessions from standard channels and then when something specific happens, the app should stop the TV stream and show some sort of message on the TV.

    What I thought of is either:

    - have the antenna to stream to the Phone and then the phone streams to the TV (either cable/wifi)

    - have a chromecast attached to the TV and make the app connect and stream to the chromecast when the conditions are true and then the chromecast will handle the switch by itself

    I'm open to any question about this, so if you have any question regarding this, please ask. I really need to find a solution to this.

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

    No comments:

    Post a Comment