• Breaking News

    Wednesday, April 21, 2021

    Android Dev - [Open Source] I made my first app. Its a fully functional social media app. And I decided to open source it.

    Android Dev - [Open Source] I made my first app. Its a fully functional social media app. And I decided to open source it.


    [Open Source] I made my first app. Its a fully functional social media app. And I decided to open source it.

    Posted: 21 Apr 2021 04:08 AM PDT

    [Open Source] I made my first app. Its a fully functional social media app. And I decided to open source it.

    Hello. I'm a new android developer. This is my first project. I decided to learn while I build something. Here is github link: https://github.com/uzaysan/sonata-social-app

    Here is an image:

    App has all the features that social media apps does.

    You can download app from play store and try it on your phone.

    Before you guys say anything, I want to clarify. This is my first real app. It doesn't use MVVM or MVI. It propably has some bad practices. It doesnt use Kotlin Jetpack or other popular libraries It doesnt use live data. All app logic is contained in activities.. But It does use RxJava for async jobs.

    I worked quite a bit for this app.I should also clarify that I'm not a CS student or graduate. I'm law school student. I started coding as hobby. But then I realized I love coding more than law school. So I want to make career on programming. Right now I'm learning React native. Along side with native android.

    So If you have any advice for me, I would gladly take it. What Can I do for increase my coding knowledge? I dont have a CS degree. That put me behind the others. How can I overcome this and pass them?

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

    A new Android library to make testing deep links easier.

    Posted: 21 Apr 2021 03:45 AM PDT

    A new Android library to make testing deep links easier.

    I just published a new Android library + a Gradle plugin to make testing deep links easier.
    The idea is to have a new launcher activity for your App(in debug builds) that will list all deep links available in your App and with a click on any of them you can test it.
    The gradle plugin will collect all deep/app links registered for your App and will list them automatically.
    You still also have the option to list some links manually (most used for example or some links with predefined query params)
    https://github.com/mlegy/linkester

    https://i.redd.it/9n1ivw8iaiu61.gif

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

    RoundedProgressBar 2.0: The first open source ProgressBar with individually "roundable" corners

    Posted: 20 Apr 2021 11:06 AM PDT

    RoundedProgressBar 2.0: The first open source ProgressBar with individually "roundable" corners

    Hey fellow android devs, I'm proud to say I've made the "first" of something, albeit a very specific something. I've been working on my open source library, RoundedProgessBar, and it is the first progress bar in Android that allows you to give individual corners different corner radius values.

    Initially, I thought this would be a marginally useful feature. However, after creating it, I realized that this ability is quite useful. For example, if you want a progress bar with an icon in front of it, usually you'd need to find a progress bar library that has that built in. However, with RoundedProgressBar, you can just round a few select corners and then append it to a custom view (as seen below). This fits right into the single responsibility principle and allows the library to just focus on being a good progress bar.

    Example progress bar with an icon & download count indicator

    If you're interested in checking out the library you can find it here on github. If you have any ideas for how to improve it and would like to contribute, please do! I would love to collaborate on some new features to improve the library further. Finally, if you find this library useful then consider leaving a star on the repo as that helps other people find the project!

    If you have any questions about the library, or my process creating and maintaining it, feel free to ask below. I'd be happy to discuss them!

    Edit: Woah that's my first silver, I wasn't expecting that. Thanks a bunch kind fellow!

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

    Lazy and fluent syntactic sugar of Kotlin for initializing Android lifecycle-aware property.

    Posted: 21 Apr 2021 08:30 AM PDT

    Getting a lot of Payment Declined and Payment Pending : Is this normal?

    Posted: 21 Apr 2021 05:52 AM PDT

    I am getting a lot of Payment Declined and Payment Pending orders in my app. I followed the official developer documentation on implementing the IAP. It's frustrating to see all the IAPs being declined or pending. Searched everywhere regarding the issue and couldn't find any relevant information. Just wanted to know if this is normal behaviour or is there anything wrong with my implementation or is it just users card not approving the payment.

    Issue: http://imgur.com/gallery/HV0ocXP Details Section: https://m.imgur.com/gallery/zfUP0Gs

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

    Tools to help developers provide a safer content experience

    Posted: 21 Apr 2021 07:55 AM PDT

    Speed up Android Compilation in Apple M1 Device

    Posted: 21 Apr 2021 12:06 AM PDT

    Total remake of my game - New game or update?

    Posted: 21 Apr 2021 07:09 AM PDT

    So I have a game with at least some downloads a day and I've been working on a complete makeover. I've changed all graphics, game engine - however the concept is the same. Almost the same levels, the same logic at least.

    Should I update my current game with these changes or should I release a new game?

    I've released some games and they get like 0 traction. My existing game at least gets some downloads a day, which makes my think i maybe should release a major update to keep my play store ranking.

    What are your thoughts?

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

    Why lazy initialization of Shared Preferences in the Google I/O app?

    Posted: 21 Apr 2021 12:52 AM PDT

    In the Google I/O, there is a comment in a lazy initialization of Shared Prefs:

    private val prefs: Lazy<SharedPreferences> = lazy { // Lazy to prevent IO access to main thread. context.applicationContext.getSharedPreferences( PREFS_NAME, MODE_PRIVATE ).apply { registerOnSharedPreferenceChangeListener(changeListener) } } 

    What is the purpose of lazy initialization? What doesn't mean to "prevent IO access to main thread" in this case?

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

    Livedata giving null

    Posted: 21 Apr 2021 06:46 AM PDT

    Hello All,

    I am new to Android development. I am using live data implementation "like so viewModel.userID.observe(viewLifecycleOwner, Observer {text_view_id.text = it.toString() })

    i have added a default value to the viewmodel like so val userID = MutableLiveData<String>("no id")

    "androidx.lifecycle:lifecycle-livedata-ktx:2.2.0

    But still i am getting a null value in the fragment when the data from API is null. How do i handle this?

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

    Am I at risk of getting my account flagged if I upload apps from my own play store account and also via another company's account when freelancing?

    Posted: 21 Apr 2021 06:31 AM PDT

    Hi all,

    I handle two play console accounts. One is my my own personal account and another is a company's account (who I freelance for) which is on a different email. I almost always open the company's account in a incognito mode or a different browser.

    Is this ground for Google's bots to flag me or this company's account? Been seeing more and more posts on Play Store account bans and I wanna make sure I'm in the clear and not doing anything which looks suspicious to Google.

    Any light on this matter will help. Thanks.

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

    Apple’s $64 billion-a-year App Store isn’t catching the most egregious scams - The Verge

    Posted: 21 Apr 2021 06:27 AM PDT

    A big "This is bull****" to big tech interviews.

    Posted: 20 Apr 2021 11:04 AM PDT

    This is more of a free form rant and complaint I submit out into the universe over the lackluster process most big tech seems to use for interviews. I have one scheduled for Google coming up in the next few weeks and I've tried to spend time preparing but at this point I just feel burnt out and like this is a massive waste of time. I highly doubt I'll make it through any of the phone screenings because I'm not fresh out of college, I've never taken an algorithms or data structure's class and I don't have a CS degree. The sheer volume of knowledge I "should know" that most jobs don't actively use or rely on is a bit staggering, especially if you've never learned any of it to begin with? Yes, this is me just ranting because I'm tired and exasperated with studying for what feels more like a CS final exam than an interview. Any one else that's gone through the hoops, feel the same?

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

    Problem with lauching app on AVD

    Posted: 21 Apr 2021 05:19 AM PDT

    Hello,

    I need someone's help. When im running my app there is a problem that i cant solve. In my run I have message:

    "Launching 'app' on No Devices."

    I tried everything what i have found here:

    https://stackoverflow.com/questions/64776903/android-studio-launching-app-on-no-devices-the-app-is-unable-to-install

    submitted by /u/Substantial-Bag2293
    [link] [comments]

    What ad mediation are you using?

    Posted: 21 Apr 2021 05:18 AM PDT

    I am using AdMob and Facebook ads mainly, but What ad mediation are you using?

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

    Any tool to check icon conversion rate on android play store?

    Posted: 21 Apr 2021 05:02 AM PDT

    Am I allowed to name my app ios 15 widgets for example?

    Posted: 21 Apr 2021 02:34 AM PDT

    Hi, Google won't think its impersonation right?

    I have seen other apps with ios 15...

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

    Multiple apps depending on the same fragment from a module with different layout files

    Posted: 21 Apr 2021 01:42 AM PDT

    My company is making a 'clone' of its current app, which will mostly have the same functionality, but the UI will be quite different. Some screens only have different colors, while others require different layouts completely.

    The app is currently split into multiple modules that can be used in both apps, making future maintenance easier. However, I'm struggling to find a good way of using different layouts for each app in fragments.

    Ex: Fragment A has layout X in the first app. Fragment A needs layout Y in the second app, which will be somewhat different but will contain the same views with the same ids.

    My current idea: create modules that only contain layout files. Add the modules as an app-level dependency and inject them into each fragment using dagger. This feels like a lot of work and also means that the modules containing the fragments have no reference to the ids in the layouts, making databinding and even findViewById() impossible, unless I also inject the ids. You can see how this becomes a huge problem very quickly.

    Another idea: use different flavors in each module for colors and layouts. But this will make building the project quite complicated and it means that the 2 different apps will have to reference different flavors of each module's artifact.

    Anyone out there with better ideas/solutions?

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

    How to do file operations which will work without issues in different Android versions?

    Posted: 21 Apr 2021 12:52 AM PDT

    Selecting a file/files of specific mime types from file picker & get file path Saving a file in a specified folder in phone's internal/external storage e.g. downloading from URL, generating PDF, TXT files Sharing a file after creating/downloading. Opening a file with the appropriate available app.

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

    Using State in Jetpack Compose | How to use state in compose by Aseem Wangoo

    Posted: 21 Apr 2021 12:25 AM PDT

    Is app-ads.txt really necessary?

    Posted: 20 Apr 2021 10:17 PM PDT

    I do not have a website, only some apps having admob. Is app-ads necessary? If yes, then where (which website) do I put the file in?

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

    10 ideas to improve your Gradle build times [Part II]

    Posted: 20 Apr 2021 01:12 PM PDT

    Will you help build the crowdsourced GPSTest Database?

    Posted: 20 Apr 2021 09:40 AM PDT

    I'm the developer of the open-source app GPSTest, and I'm trying to build the world's largest public crowd-sourced database of Android device GNSS / GPS / Galileo capabilities. 🛰️

    Will you help by contributing data? 🙏

    Simple steps after you start up the app:

    1. On the Status screen, wait for a GNSS fix (location)
    2. On the top Action bar, tap the "Share" icon
    3. Go to the "Device" tab and tap the upload to cloud icon

    Some background info and screenshots are in this article:

    https://barbeau.medium.com/crowdsourcing-gnss-capabilities-of-android-devices-d4228645cf25

    All code I wrote (including server-less "server" software) is open-source and detailed in this article, if you want to see how it's implemented:

    https://barbeau.medium.com/implementing-the-gpstest-database-a-serverless-architecture-c61a2084965

    Final result (contributed data) can be seen in a Google Sheet at:

    https://docs.google.com/spreadsheets/d/1jXtRCoEnnFNWj6_oFlVWflsf-b0jkfZpyhN-BXsv7uo/edit?usp=sharing

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

    A Google Sheet model to help convert Android Strings.xml in different languages

    Posted: 20 Apr 2021 09:06 AM PDT

    No comments:

    Post a Comment