• Breaking News

    Friday, May 27, 2022

    Android Dev - What resources would you recommend for learning how to build Multi-Module android apps?

    Android Dev - What resources would you recommend for learning how to build Multi-Module android apps?


    What resources would you recommend for learning how to build Multi-Module android apps?

    Posted: 27 May 2022 02:25 AM PDT

    I'm looking for something comprehensive and beginner friendly.

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

    Yay. org.gradle.unsafe.configuration-cache=true

    Posted: 26 May 2022 03:00 PM PDT

    Finally upgraded Gradle on one of my personal projects and gave this a spin in my gradle.properties.

    HUGE difference in build times. Not sure I'd try this on a large corporate project, but it's currently making me happy on my personal one.

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

    Slack clone app built with Jetpack Compose and Stream Chat SDK following clean architecture principles.

    Posted: 26 May 2022 04:35 AM PDT

    Those who maintain large libraries with UI, How do you generate your style guide?

    Posted: 27 May 2022 07:47 AM PDT

    I am now in charge of assisting outside individuals with my companies sdk / library integration. This library is very heavy on UI. It was originally written with per view styling, meaning each screen view widget had a style attribute,

    eg: loginViewSubmitButtonStyle, mainViewExitDialogBodyTextStyle 

    This type of styling created a ton of style attributes to be applied using a ThemeOverlay. Around 700+ attributes. We are in the process of migrating each screen from a per view style to material design condensing to just stock material design attributes. This process is taking a long time.

    The previous owner of the project was manually maintaining the documentation on each of these styles, what attributes can be overridden, and what all the default values are, how to set them in the themeOverlay. I'm glad that worked for the previous guy, but it's not sustainable with every release during a theme migration. You end up with if on sdk v1 do x, v1.5 do y...

    I am looking for information on best practices on how other people / companies maintain / generate style guides for their Android libraries?

    My goal is to have the team building the feature document the styles in some way, then when the release is cut we can generate a full style guide for that release. That way we know nothing is missed and everything is always up to date.

    TLDR: What tool / tools do you use to auto generate style guides for your Android Library?

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

    Senior Android developer career path …

    Posted: 26 May 2022 09:27 PM PDT

    Hi, I just wanted to know what the senior Android developers in this sub are doing in their career right now…

    Have you guys moved to management? Or did you guys change your tech stack and moved to backend or other streams?

    I wanted to get opinion on long term career path for an Android developer..

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

    Discovery of DNS-SD on a non android device

    Posted: 27 May 2022 01:34 AM PDT

    Anyone had any success discovering a service advertised by an android device using a windows machine?

    I have a service running and can find it from another android, but I have yet to successfully discover it from another OS.

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

    0 active devices

    Posted: 27 May 2022 04:12 AM PDT

    Hello,

    since today for all my apps, in the Google Play Console, I have "0 active devices". Is that a bug from Google ?

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

    How to make our app searchable on Google Play Store .

    Posted: 27 May 2022 12:50 AM PDT

    I possess published recently an app called : EnglishRay: Missing Letters Word Game. As you can see , if i type the complete name in search, my app doesn't show anywhere. But if I type‍ developers name it shows. I am not understanding and I want to know how this works and is there any possibility of the app to be available easily.

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

    [Question]how to convert Json to csv?

    Posted: 27 May 2022 07:15 AM PDT

    How to convert Json to csv... using java spring boot..I receive multiple Json response in postman..I need to read that in code and convert that to csv and return it as csv as response..

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

    It looks like there are 2 listed Google Certified Assoc. Android devs in the US and 420 worldwide

    Posted: 26 May 2022 07:43 PM PDT

    I don't know what the ratio of people agreeing to be listed is, but this number seems really low.

    I was previously certified in Java expiring last year, and I'm working on my second attempt at the Kotlin version now.

    BTW: Both US developers are Android leads, according to LinkedIn.

    https://developers.google.com/certification/directory

    submitted by /u/Place-Wide
    [link] [comments]

    App development with AI/ML

    Posted: 26 May 2022 10:51 PM PDT

    Hello everyone. I am a current high school student and I am planning to prepare for various tech competitions this summer. Could you please tell me what skills, which languages, and which courses I can take in order to learn to develop an Android App with the implementation of Artificial Intelligence or Machine Learning algorithms? I would be very grateful for every response.

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

    how do I fix this ?

    Posted: 27 May 2022 06:42 AM PDT

    ROOM database: insert static data before other CRUD operations

    Posted: 26 May 2022 08:02 PM PDT

    Hi all,

    I have a question about adding static data (taskPriority) to the database. From what I understand, the right way to insert data on database create is to use RoomDatabase.Callback. However, when the app runs the first time and I insert a task (a task has taskPriority.id as a foreign key), it seems that the task is being inserted before taskPriority has a chance to be inserted from the callback. My question is: How do I make it so that taskPriority is inserted before task is inserted? Both taskPriorityDao.insert() and taskDao.insert() run on a separate thread (with ExecutorService).

     public static TaskRoomDatabase getDatabase(final Context context) { if (null == INSTANCE) { synchronized (TaskRoomDatabase.class) { INSTANCE = Room.databaseBuilder( context.getApplicationContext(), TaskRoomDatabase.class, DATABASE_NAME) .addCallback(sRoomDatabaseCallback) .build(); } } return INSTANCE; } private static final RoomDatabase.Callback sRoomDatabaseCallback = new RoomDatabase.Callback() { @Override public void onCreate(@NonNull SupportSQLiteDatabase db) { super.onCreate(db); databaseWriteExecutor.execute(() -> { TaskPriorityDao taskPriorityDao = INSTANCE.taskPriorityDao(); taskPriorityDao.deleteAll(); TaskPriority taskPriority = new TaskPriority(Priority.HIGH, "HIGH"); taskPriorityDao.insert(taskPriority); taskPriority = new TaskPriority(Priority.MEDIUM, "MEDIUM"); taskPriorityDao.insert(taskPriority); taskPriority = new TaskPriority(Priority.LOW, "LOW"); taskPriorityDao.insert(taskPriority); }); } }; 
    submitted by /u/dookie168
    [link] [comments]

    HELP!!!

    Posted: 27 May 2022 06:20 AM PDT

    So basically I downloaded a software or app which now gives me so many ads and slows down my mobile. I can't find the app icon though. I use android 8.1.Can it take my personal info? Please give any suggestions to get rid of it.

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

    My developer account banned for no reason

    Posted: 27 May 2022 03:43 AM PDT

    I am founder at a new global technology company called TXT LLC and competing against companies like Google. This past year Google has banned my developer account for no reason and refuse to un ban me or allow me to speak to a supervisor about my issue. May anyone here help?

    submitted by /u/vidyostreams-com
    [link] [comments]

    which manager to use?

    Posted: 26 May 2022 02:49 PM PDT

    i have this app, i want to make it send a notification when the battery percentage or temperature reaches a certain threshold, while the app isn't open(running), i saw many options but they seem confusing, there is WorkManager, but it has a minimum frequency of 15min, and thats too hight as i want the notification as soon as the threshold is reached, then there is AlarmManager, then there is Foreground Service, i seem very confused about which is the correct one to use.

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

    which of these 2 approaches is best for a card game

    Posted: 26 May 2022 06:09 PM PDT

    I am building an android game and I got the UI nearly complete but I find myself torn between 2 approaches to run the back-end side of the app.

    The first is to build 52 cards stack them on top of each other for a full deck, assign the value randomly at the start of the game to each card, then the players will physically draw a real card each turn. This way each card will have a fixed value from the start but will require me to code for each of the 52 cards.

    The second, which is how my app is currently at, use a pic of a full deck only have real cards for the hands' cards and a card on top of the full deck pic that keeps going back to the top of the deck after a drawing action is complete so that the next player can draw it again and so on.. , then Use a list and change the values of the cards as the game goes on. This is less coding but is also less straightforward to code. The main issue with this approach I guess is not having realistic gameplay for example when the last card is drawn it should show no deck, this all can be fixed of course with a few tweaks.

    I am curious which way would you choose?

    submitted by /u/08Feb2022
    [link] [comments]

    What did Google announce for Developers at Google I/O 2022?

    Posted: 27 May 2022 02:36 AM PDT

    Google I/O is an annual event that Google performs to publish its largest software modifications and updates. Google I/O 2022 was held from May 11 to 12, carrying with it some substantial modifications.

    Read more: https://www.androiddeveloper.co.in/blog/what-did-google-announce-for-developers-at-google-i-o-2022/

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

    Do you guys have any recommendations for mobile scan app? The one that could really replace scanner?

    Posted: 27 May 2022 02:08 AM PDT

    Overall, I recommend you to try CamScanner for its ease of use. I have been using it for a year, frequently for scanning documents. Except for providing me with high-quality scans, this scan app has strong deep editing capabilities which makes documents look very professional. As a student, I frequently find myself in situations where I must submit academic papers online. This is where CamScanner comes to the rescue. I may simply click a photo or a series of photographs for several pages and send them to emails or store them to my hard disk. In my opinion, it's not only a scanning app, but also a sharing app. I have to admit CamScanner is one of the few apps I actually paid for. Its performance is outstanding, the auto crop is usually super accurate, and it does everything I could ask.

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

    What is the best way to develop a profile visits counter?

    Posted: 26 May 2022 12:24 PM PDT

    Let's suppose you are working on a specific app and this app contains a fragment called ProfileFragment.

    The customer told you, He wants to add a text that shows inside it the number of profile visits inside ProfileFragment.

    The customer doesn't need to show a total of profile visits only but he also wants to give the user ability to filter the visits like this

    • Last 24 hours
    • Last 7 days
    • Last 30 days
    • Last 365 days
    • All time

    1- As a developer, How you will design the table in MySQL? (Best practices)

    2- How you will handle or get millions of visits because that will affect performance.

    I'm here to learn from you, Thank you.

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

    Would it be possible to get a junior android dev job if I dedicate 3 months?

    Posted: 26 May 2022 03:55 PM PDT

    I know you guys hate these questions but honestly I'm just so fucking depressed in my current job. My plan rn is to save up enough money to last me about 3 months, quit my current job, and just spend all day working on apps. I have about a year of android dev exp with java I'm currently learning kotlin and eventually going to learn jetpack compose. Would it be realistic to be able to get a job in about 3 months? I honestly don't know what to do and I feel like me getting a job is just too good to be true. I have a few portfolio ideas that I'll publish on the play store and if I'm able to complete them they'll be good apps I think lol

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

    identifying & fixing UI blocking code

    Posted: 26 May 2022 08:14 AM PDT

    I am working on an old project that have a significant codebase, I noticed that the devs who where working on it didn't do a great job with coroutines and API calls, the result was UI blocking operations all over the app.

    Is there an easy way to identify the bad use of coroutines and fix this problem?

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

    Is there any way to proxy (with credentials user and pass) an android device programmatically?

    Posted: 26 May 2022 03:05 PM PDT

    Android devices has this feature where you create a VPN profile using host address and user & pass credentials just like i wanted. however android has no API to this feature.

    I wonder if there is any other way to do it programmatically in java or kotlin ?

    I'd appreciate it if anyone has an idea on how to do this.

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

    Android app to make a robot follow a invisible line drawn on screen

    Posted: 26 May 2022 03:03 PM PDT

    In a very basic way of saying, my project to the end of my school year is making a app to make my arduino robot follow a line on a camera interface and have the robot follow it, but i'm not seeing any way of doing, i was looking into tensorflow object tracking but i cant figure out how to use it properly and even if it's the best way

    Can someone help me?

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

    Android NDK Firebase Crashlytics Symbolication for C++

    Posted: 26 May 2022 10:58 AM PDT

    I'm getting NDK Crashes in Firebase from my Android app written in java, but there is no symbolication for them, only:

    SEGV 0x0000000000000000 libnative-lib.so (Missing UUID bbcaa3aa5d4aea6d2f4865d907eced52ccb8835a) libart.so (Missing UUID adb75d6f792faa24b1bc8cf512fb112c) 

    I've followed all indications from the Firebase documentation but still nothing.

    Here's my project level gradle:

    // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:7.1.3' classpath 'com.google.gms:google-services:4.3.10' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { google() jcenter() } } task clean(type: Delete) { delete rootProject.buildDir } 

    And app gradle:

    plugins { id 'com.android.application' id 'com.google.gms.google-services' id 'com.google.firebase.crashlytics' } android { compileSdkVersion 32 defaultConfig { applicationId "com.example.myapplicationid" minSdkVersion 18 targetSdkVersion 30 versionCode 10 versionName '1.2' multiDexEnabled true vectorDrawables.useSupportLibrary = true testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" externalNativeBuild { cmake { cppFlags "-ljnigraphics -Wl,--build-id=none" } } ndk { stl "stlport_shared" } } buildTypes { release { /* Add the firebaseCrashlytics extension (by default, * it's disabled to improve build speeds) and set * nativeSymbolUploadEnabled to true. */ firebaseCrashlytics { nativeSymbolUploadEnabled true } minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } debug { /* Add the firebaseCrashlytics extension (by default, * it's disabled to improve build speeds) and set * nativeSymbolUploadEnabled to true. */ firebaseCrashlytics { nativeSymbolUploadEnabled true } minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } externalNativeBuild { cmake { path "src/main/cpp/CMakeLists.txt" version "3.10.2" } } flavorDimensions "version" productFlavors { GoogleFlavor { dimension "version" applicationIdSuffix = ".google" } SamsungFlavor { dimension "version" applicationIdSuffix = ".samsung" firebaseCrashlytics { nativeSymbolUploadEnabled true } } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation 'androidx.appcompat:appcompat:1.4.1' implementation 'com.google.android.material:material:1.5.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.3' implementation 'com.google.android.gms:play-services-ads:19.7.0' implementation project(path: ':IAP6Helper') testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' implementation 'com.android.billingclient:billing:4.1.0' implementation 'com.google.code.gson:gson:2.8.6' implementation platform('com.google.firebase:firebase-bom:26.0.0') implementation 'com.google.firebase:firebase-analytics' implementation 'com.android.support:multidex:1.0.3' implementation 'com.google.firebase:firebase-config' implementation 'com.flurry.android:analytics:12.1.0' // Import the BoM for the Firebase platform implementation platform('com.google.firebase:firebase-bom:27.0.0') // Add the Firebase Crashlytics SDK. implementation 'com.google.firebase:firebase-crashlytics:18.2.9' implementation platform('com.google.firebase:firebase-bom:27.1.0') // Add the Firebase Crashlytics NDK dependency. implementation 'com.google.firebase:firebase-crashlytics-ndk:18.2.9' // Pull and compile the latest release of the Amazon Appstore SDK implementation 'com.amazon.device:amazon-appstore-sdk:3.0.2' } 

    And pro guard:

    # Add project specific ProGuard rules here. # You can control the set of applied configuration files using the # proguardFiles setting in build.gradle. # # For more details, see # http://developer.android.com/guide/developing/tools/proguard.html # If your project uses WebView with JS, uncomment the following # and specify the fully qualified class name to the JavaScript interface # class: #-keepclassmembers class fqcn.of.javascript.interface.for.webview { # public *; #} # Uncomment this to preserve the line number information for # debugging stack traces. #-keepattributes SourceFile,LineNumberTable # If you keep the line number information, uncomment this to # hide the original source file name. #-renamesourcefileattribute SourceFile -keepattributes SourceFile,LineNumberTable # Keep file names and line numbers. -keep public class * extends 

    What could it be ? I'm stuck with this for days and can't figure it out.

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

    No comments:

    Post a Comment