• Breaking News

    [Android][timeline][#f39c12]

    Monday, August 30, 2021

    Weekly Who's Hiring Thread - August 30, 2021 Android Dev

    Weekly Who's Hiring Thread - August 30, 2021 Android Dev


    Weekly Who's Hiring Thread - August 30, 2021

    Posted: 30 Aug 2021 06:00 AM PDT

    Looking for Android developers? Heard about a cool job posting? Let people know!

    Here is a suggested posting template:

    Company: <Best Company Ever>
    Job: [<Title>](https://example.com/job)
    Location: <City, State, Country>
    Allows remote: <Yes/No>
    Visa: <Yes/No>

    Feel free to include any other information about the job.

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

    Jetpack Compose navigation architecture with ViewModels

    Posted: 30 Aug 2021 09:23 AM PDT

    Android Drag and Drop Tutorial: Moving Views and Data

    Posted: 30 Aug 2021 01:42 PM PDT

    Kuberam: Jetpack Compose Project using MVVM pattern

    Posted: 30 Aug 2021 08:27 AM PDT

    Today I completed my project for Hashnode+Auth0 hackathon hosted by Hashnode and Auth0

    This is my first project using Jetpack Compose.

    It was a great journey building this project.

    Let me know how it is. You can read my article at https://blog.rohitjakhar.me/kuberam-jetpack-app

    Github Link: https://github.com/rohitjakhar/Kuberam

    Like and share this article if you like it and help me get more reach.

    Looking forward for your feedback.

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

    Trying to debug an App crash exclusively on Samsung devices on only Android Oreo, when the app is always in the background

    Posted: 30 Aug 2021 02:24 PM PDT

    Fatal Exception: android.app.RemoteServiceException: Bad notification posted from package com.myproject.mobile: Couldn't inflate contentViewsandroid.view.InflateException: Binary XML file line #58: Binary XML file line #58: Error inflating class <unknown> at android.app.ActivityThread$H.handleMessage([ActivityThread.java:1881](https://ActivityThread.java:1881)) at android.os.Handler.dispatchMessage([Handler.java:105](https://Handler.java:105)) at android.os.Looper.loop([Looper.java:164](https://Looper.java:164)) at android.app.ActivityThread.main([ActivityThread.java:6944](https://ActivityThread.java:6944)) at java.lang.reflect.Method.invoke([Method.java](https://Method.java)) at [com.android.internal.os.Zygote$MethodAndArgsCaller.run](https://com.android.internal.os.Zygote$MethodAndArgsCaller.run)([Zygote.java:327](https://Zygote.java:327)) at com.android.internal.os.ZygoteInit.main([ZygoteInit.java:1374](https://ZygoteInit.java:1374)) 

    I am not sure what is causing this crash, since no part of our code is included in the stack trace. Any suggestions would be gratefully appreciated.

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

    How To Make An Android Runner Tracking App?

    Posted: 30 Aug 2021 04:37 AM PDT

    MyFitnessPal Question: how do they get nutritional data??

    Posted: 30 Aug 2021 11:32 AM PDT

    Hello, I was wondering if anyone here knows how to get their app to scan the barcode on food, and then have all the nutritional data brought up on their phone?

    MyFitnessPal is on app on android that does just that. It's basically a calorie counting app, but something really cool about it is that you can scan just about any food there is with a barcode on it, and it will bring up all the nutritional data for it.

    I'm trying to make an app that has that as one of its functions. Anyone know how it does that?

    I'm very new to programming as well, just an fyi.

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

    Android in-app purchases tutorial: how to retrieve active purchases and process a subscription change

    Posted: 30 Aug 2021 06:32 AM PDT

    Help creating circle with transparent rings bitmap and questions about dynamically creating shapes

    Posted: 30 Aug 2021 02:58 PM PDT

    Help creating circle with transparent rings bitmap and questions about dynamically creating shapes

    I need help creating the following shape either with XML or programmatically:

    https://preview.redd.it/5pqpskimdkk71.png?width=72&format=png&auto=webp&s=2b25db90f9d63087d052f046c0cf154a31a24087

    I've managed to start with the following XML and get the first transparent ring working:

    <?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item> <shape android:shape="oval"> <solid android:color="#0077ff" /> <size android:width="40dp" android:height="40dp" /> <stroke android:width="15dp" android:color="#990077ff"/> </shape> </item> </layer-list> 

    But I can't figure out how to get the second transparent ring working. I thought I could layer items with one circle slightly bigger and change the color to be slightly transparent as well but that didn't work.

    Also, is there a way I can dynamically create this Drawable as a Bitmap at different sizes from within Java? For a start I assume I wouldn't hard-code the sizes in the shape, but I don't know how else I'd define them.

    I'm coming from mostly react native for this project, where I know I'd easily be able to do something like:

    function Rings() { return ( <View style={styles.large_transparent_circle}> <View style={styles.med_transparent_circle> <View style={styles.small_solid_circle} /> </View> </View> ); } const styles = StyleSheet.create( { large_transparent_circle: { flex: 1, height: 100%, width: 100%, opacity: 0.3, borderRadius: 1000, justifyContent: 'center', alignItems: 'center', backgroundColor: '#0077ff' }, med_transparent_circle: { flexGrow: 0.6, opacity: 0.6, justifyContent: 'center', alignItems: 'center', borderRadius: 1000, backgroundColor: '#0077ff' }, small_solid_circle: { flexGrow: 0.3, borderRadius: 1000, backgroundColor: '#0077ff' } } ); 

    And this would dynamically resize to whatever constraints I put on the component's surrounding container.

    But I'm not exactly sure what this is actually translating to on the native-side. I'm not opposed to using android Views or Fragments either (as long as it can be rendered to Bitmap) if that's easier but it seemed XML was the norm for these sort of things on the android-side.

    I had to step down to the native level for this portion of the app for performance reasons and am not that familiar with the native android libraries, so please go easy on me, haha.

    Thank you!

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

    Referral Tracking for Google Play Store

    Posted: 30 Aug 2021 02:05 PM PDT

    I'm looking to have a YouTube channel create a review video for my paid app. They're still new so rather than getting paid a flat free upfront, they wanted to go with a % of sales. Does someone have a handy guide for setting up referral tracking?

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

    How to add Client Certificate for HTTPS Requests

    Posted: 30 Aug 2021 01:42 PM PDT

    I am looking for a solution to add client certificate on my request to backend server.

    In node.js, its like this:

    const httpsAgent = new https.Agent(...cert=cert,key=key...); axios.get(url, { httpsAgent:httpsAgent } ).then().catch();

    How can i implement this in android/java, i was looking into okHttp and Volley but to no avail.

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

    Android Apps on Windows 11

    Posted: 30 Aug 2021 12:57 PM PDT

    Hey! I've read that Windows 11 will be able to run Android Apps (https://www.theverge.com/2021/6/24/22548428/microsoft-windows-11-android-apps-support-amazon-store) . I have an iOS/MacOS app but I'd like to build Android and Windows clients but I'm wondering with Windows 11, if I can get by with just creating an Android app instead of building a dedicated app for both?

    A couple questions:

    1. Is this going to essentially an emulator like Android studio?
    2. Or will developers be able to create fully functional Windows applications from their Android apps with access to Windows functionality like keyboard shortcuts, Windows screenshotting, etc.)?

    Please feel free to answer either or both questions. Thanks for your help.

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

    Android Developer Certification..Kotlin or Java????

    Posted: 30 Aug 2021 11:39 AM PDT

    What to pick to study? I have the option of picking one certification to get ? Which one should I pick? Whats more in demand or useful for future employment? What is being valued more? Please help me decide.

    Also if anyone has any resources they used to prepare for this exam please share. Thank you so much in advance.

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

    Android Emulator native pen support

    Posted: 30 Aug 2021 01:01 AM PDT

    Daily active users(DAU) displays "Data Unavailable" on play console.

    Posted: 30 Aug 2021 03:20 AM PDT

    Hi, I have been trying to check DAU for our android app but google play console does not display the Engagement data such as Monthly active user, or DAU on the Statistics page. How to enable it guys?

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel