• Breaking News

    [Android][timeline][#f39c12]

    Tuesday, July 23, 2019

    "Package by feature" means that you should be able to understand what the app does just by reading the names of the top-level packages Android Dev

    "Package by feature" means that you should be able to understand what the app does just by reading the names of the top-level packages Android Dev


    "Package by feature" means that you should be able to understand what the app does just by reading the names of the top-level packages

    Posted: 23 Jul 2019 01:26 AM PDT

    Supporting Android Q gestural navigation in Philips Hue

    Posted: 23 Jul 2019 10:46 AM PDT

    An open source app in Google Play with minimalistic UI for tracking expenses

    Posted: 22 Jul 2019 10:50 PM PDT

    Some time ago, when I was planning my two-month trip around Asia, I was looking for an application that would help me to track my expenses while traveling. As befits a good backpacker, I wanted to share information later on how much exactly the whole trip cost me, so that others could use it in the future. I tried many applications from Google Play, unfortunately most of them looked overloaded with functionalities and interface as per my needs (don't hate me for it if your favorite application suffered, I probably missed it). That's why I quickly wrote an application that allowed me to enter my daily expenses and categorize them using tags. I tested the application a few weeks before my trip using it on a daily basis, and then I used it offline during the trip.

    Today I would like to share with you the source code of this application :)

    Here is the link to source code: https://github.com/nominalista/expenses

    Here is the link to store: https://play.google.com/store/apps/details?id=com.nominalista.expenses

    What can you see in the code?

    - 100% Kotlin.

    - I use the MVVM approach to create new screens.

    - Use of Jetpack libraries - Navigation, Room, WorkManager.

    - Use of MaterialComponents.

    - Use of RxJava.

    What are my plans for the application?

    - The application is fully free and open source, I plan to leave it in this state.

    - Initially, the application was written using the Automaton framework, which I created (the equivalent of Mobius and MvRx). It turned out that for such a simple application, I quickly create functionalities using the standard MVVM approach. I plan to keep her in this simple approach.

    - I would like this to be a battlefield for learning new libraries from Google (I don't always have time for that in commercial projects). From here you can expect implementation with the latest tools, for example Jetpack Components.

    - I am planning to make an iOS version, because I use both systems on a daily basis.

    - My friend plans to add some extra backend to the application (probably also open source :)), so I hope to start working on synchronization soon.

    If you have any questions, I will be happy to tell you more.

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

    I want to respond to app store reviews but I don't want my google developer email shown in the reply. What are my options?

    Posted: 23 Jul 2019 11:56 AM PDT

    Hi, so I want to improve my app and user experience by responding to some user reviews for my company's app. However, currently, I just used my personal email for developer account to publish this app for my company since Google needed a gmail email and I only have a corporate non-google email. I was wondering if I can replace my google email with my corporate (non-gmail) email when responding to app reviews or...? Or can I leave the email from showing at all and just show a specific name when I'm replying?

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

    Is the Associate Android Developer certification worth it?

    Posted: 23 Jul 2019 07:56 AM PDT

    I know, you don't need certifications nor school to make a great resume and also become a great Android dev. But what benefits does the ASC Android Developer bring?

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

    What would be the easiest way to generate custom Image Vector Assets?

    Posted: 23 Jul 2019 09:33 AM PDT

    Is there a program that turns ...I dunno...(DWG)CAD's??? to xml??? Whatever helps.

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

    Singletons, Application and temporary storage.

    Posted: 23 Jul 2019 05:43 AM PDT

    Hi everyone, I have a few architectural questions.

    Short overview of the app:

    A Service connects to a bluetooth device and gets some info (e.g. battery level). These are stored in a singleton object "DataRepository" that exposes LiveData. ViewModels access the LiveData from DataRepository and expose other LiveData

    After studying Google's example it seems that the best way to handle Singletons is to extend Application and initialise them there. However, I've also read that you should not store data in Application as it can be reset/replaced at any time.

    From what I gather my solution (storing data in the Singleton and initialising it in the Application) is not great. On the other hand I don't care if the data are deleted, I only need them while the app is running. The only reason I store them in the Singleton, to begin with, is to allow access to the ViewModels.

    Any thoughts? Where should I store the data if not the singleton?

    submitted by /u/HamSlayer-
    [link] [comments]

    Android 9 App Switcher Preview Wrong

    Posted: 23 Jul 2019 10:01 AM PDT

    Hi all,

    We're having an issue where the app's preview in the Android 9 app switcher is "incomplete"; some components are missing. On other Android versions the preview is correct and shows the app in its current state. This seems to happen on Samsung devices, like many other annoying changes they made to the system. I'm not aware of any API we can call to determine what is shown in the preview. Also, this isn't on every screen, only on one activity out of the entire app.

    Thanks!

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

    Refactoring to Kotlin Codelab

    Posted: 23 Jul 2019 09:37 AM PDT

    Can I use my analytics tool instead of a separate crashing reporting tool?

    Posted: 23 Jul 2019 08:49 AM PDT

    I'm already using Amplitude for analytics where I am sending events like "User Signed In", "Navigated to Home Screen". For each of these events I can send extra properties to give me more even more info. I was looking at adding Sentry as my crash reporting tool but I got thinking, do I even need it? Could I just use Amplitude and log an event inside a catch like "App Crashed" and pass the exception as an extra property? This way everything is one place and I can see exactly what the user was interacting with leading up to the crash. Perhaps I'm being a bit too naive, I don't know much about Sentry.

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

    Can trackers like Google ads, CrashLytics be added in app without the user updating the app.

    Posted: 23 Jul 2019 07:42 AM PDT

    I'm not a developer. Question concerned me after the controversy regarding Joey app (I hope you're aware of it.) Since Joey for reddit app got updated with new privacy policy. I found out by looking on Exodus privacy tracker that app has three more trackers installed than before Proof. So I was wondering if I don't update the app, can those trackers be installed in background without my knowledge? Or does it even matter since privacy policy itself has changed? I don't know anything about app development so sorry if stupid concern.

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

    Hi everyone, I am a senior developer tired of these non-productive mobile app tools, so I decided to create a Cloud mobile app builder. Follow my daily coding adventure on twitter: https://twitter.com/TheAppStudio. I post on daily basis and ask for feedbacks ;)

    Posted: 23 Jul 2019 01:15 PM PDT

    Unity game crashes on il2cpp because of google play services

    Posted: 23 Jul 2019 01:12 PM PDT

    The game crashes when authenticating when using il2cpp.

    It works fine on mono but it keeps crashing when I build with il2cpp.

    I used plugins version 0.9.64 and unity 2018.3.14f1

    I tried everything and nothing works.

    Any ideas?

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

    "you cannot use AdMob at this time", do I need an AdSense account in order to register to AdMob?

    Posted: 23 Jul 2019 05:39 AM PDT

    I'm not sure if this is the right sub to post this, all related questions were posted here and I couldn't find an active sub for Google AdSense.

    I was using AdMob on this Google account before I closed my AdSense account, now when I try to access admob it says "you cannot use AdMob at this time" without any warnings or errors, nothing was sent to my e-mail either. I can't create a new AdMob account on that Google account and I'm unable to register for AdSense without a website. Do I need a new Google account?

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

    Phone number verification

    Posted: 23 Jul 2019 12:29 PM PDT

    What do you guys do when a Phone number is already registered with google so a verification code wont be sent through firebase as its already registered?

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

    Kotlin multi-platform project

    Posted: 22 Jul 2019 05:43 PM PDT

    I have created a multi-platform project using Kotlin native. I have used coroutines, Kotlinx serialization, Ktor and followed the MVP architecture to build both Android & iOS app. Check this git repo for the source code:

    https://github.com/SAGARSURI/GithubKMP

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

    Android native game dev

    Posted: 23 Jul 2019 07:34 AM PDT

    So, i want to build a simple game, something that looks somewhat similar to Bitlife, if anyone knows that game.

    However I only know how to use android studio and Java and that's what I used to build a mockup of the app. I dont think I need a fancy engine like Unity or even Godot to build it since it's not a 2d or 3d game, it's just based on a simple interface much like bitlife.

    If you know any alternatives or if you've tried native Android gamedev, I would really like to hear your story. I don't really have much time to learn how to use another engine unless it's necessary. I was hoping to make the game cross platform but I'm unsure if it's worth it. Thanks in advance!

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

    Close the soft keyboard when a particular fragment is opened

    Posted: 23 Jul 2019 11:14 AM PDT

    I want the soft keyboard to always be closed whenever a particular fragment is opened. Is there a way to do this? Assume the fragment doesn't have an EditText.

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

    "Embracing the Future in a Multi-Platform World: A Kotlin Story" with Sean McQuillan (42min talk from GOTO Chicago 2019)

    Posted: 23 Jul 2019 07:14 AM PDT

    Application Testing with Firebase Robo Test

    Posted: 23 Jul 2019 06:44 AM PDT

    How to get different image location to download in a recycle view from the firebase storage?

    Posted: 23 Jul 2019 10:22 AM PDT

    Well, I want to have a download button where I can download different image while I scroll the recycle view, the images are being uploaded to the firebase-storage. The code I'm using is not working, I think the location is the issue. Suggest me where to make the change or what to add.

    shareImageView.setOnClickListener(v -> { Drawable mDrawable = shareImageView.getDrawable(); Bitmap icon = ((BitmapDrawable)mDrawable).getBitmap(); Intent share = new Intent(Intent.ACTION_SEND); share.setType("image/*"); ByteArrayOutputStream bytes = new ByteArrayOutputStream(); icon.compress(Bitmap.CompressFormat.JPEG, 100, bytes); File f = new File(Environment.getExternalStorageDirectory().getPath()); try { f.createNewFile(); FileOutputStream fo = new FileOutputStream(f); fo.write(bytes.toByteArray()); } catch (IOException e) { e.printStackTrace(); } share.putExtra(Intent.EXTRA_STREAM, Uri.parse(Environment.getExternalStorageDirectory().getPath())); context.startActivity(Intent.createChooser(share, "Share Image")); 
    submitted by /u/Nilaw1
    [link] [comments]

    3rd party website donation link inside of the android app

    Posted: 23 Jul 2019 12:23 AM PDT

    I'm only finding older answers where people are saying that this is not allowed, but they are also not quite sure.

    Am I allowed to give my users a link where they can buy me a coffee type of thing?

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

    Developing a Facebook Plugin as my Cybersecurity degree dissertation project

    Posted: 22 Jul 2019 10:51 PM PDT

    I will be starting the final year of my degree in Cybersecurity after the summer and my dissertation project is going to be to make a plugin for the Facebook Android app.

    The idea is for the plugin to use biometrics to approve posts on Facebook for accountability. I would like my plugin to replace the current 'post' button.

    This would be my first attempt at doing any programming for Android so was wondering where a good place to start would be?

    Can anyone recommend any books or online courses that would get me started?

    Thanks in advance for any help and advice!

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

    Anybody knows the code to edit tags of songs?

    Posted: 23 Jul 2019 07:37 AM PDT

    Does anyone know the algorithm of editing the tags in a song, even when stored in an SD card, for a music player?

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

    Right way for fetching podcast episodes

    Posted: 23 Jul 2019 05:47 AM PDT

    Hi. I am getting a podcast app made. Over the last month we got several python crawlers made that fetch podcast RSS feeds from the internet and insert them into our db. Then another script runs those RSS feeds, and inserts the podcast metadata into a separate table.

    Now I & my android developer have been having a debate for an hour about the right way to send notifications to users when their subscribed show has a new episode out. The options that came up are:

    1. A script on the server runs the RSS feed, identifies if there is a new timestamp on the first <pubDate> and if there's send notification to all subscribers of that show and update the <pubdate> in the db
    2. Create a mini db on the user's device for all his subscribed shows (realm), run the feeds via a background service for the subscribed shows once or twice a day, identify new episode via <pubdate> and send notification

    The issues that he brought up for option (1) are that the script would be running continuously on the server for thousands of subscribed podcasts, if the script stops somehow you will have to have some kind of notification in the backend so as to run it back again & that it may stress the server too much.

    The issues I brought up for option (2) are that it might make the app heavier on the user's device, background service like this might affect battery and it isn't efficient for let's say 500 subscribers of a podcast to fetch a new episode 500 times when one time (with option 1) would suffice. Also I wondered if sending so many requests to one feed's server might result in us being blocked by them.

    Please let me know your opinions on the same. Or if there are other options we have been overlooking.

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel