Android Dev - Weekly "who's hiring" thread! |
- Weekly "who's hiring" thread!
- Weekly Questions Thread - November 16, 2020
- Detect Screenshots in Android
- Introducing Laboratory – a library for feature flags management with great QA capabilities
- How can I use the selected item value of the spinner in other methods out of setOnIteamSelected Listener?
- Can anyone help me to write cases for repository and ViewModel .
- I got email with p[romotion offer from MyAppFree.com - are they legit or is it scam? Anybody has any experiences?
- Shared flows, broadcast channels
- Add (not replace) fragment with navigation architecture component
- How to Validate Your Data with a Cyclic Redundancy Check (CRC)
- what kind of source is included when publishing Android AAR to Maven Central
- Sharing ViewModels in multiple fragments
- How to handle notification actions without bringing app to the front
- Would It Have Been Too Hard For The Play Store Dev Console To Ask "Are Any Of Your Apps News Apps?"
- 10 strategies that I tried to grow my Android (only) app to 50,000 downloads & $1000 monthly revenue
- Question about changing MinSDKVersion for my app
- [D] Object Detection in Android with Fritz AI
- Best practice for in-app subscription discounts - when you make a special limited-time discount for a yearly subscription, do you tend to allow that discount for all future years or only the first year?
- Android Emulator Issue
- Advice on Room + Firebase RTDB
- Does MVVM imply that every piece of data exposed by the ViewModel has to be observable?
- Zero reported crashes in an android app
- Managing the recycling of complex CustomViews in a RecyclerView
- How does e-commerce website and app works?
- I will give up room db and will use realm db if I cannot find any solution to this
| Posted: 16 Nov 2020 04:44 AM PST Looking for Android developers? Heard about a cool job posting? Let people know! Here is a suggested posting template:
Feel free to include any other information about the job. [link] [comments] | ||
| Weekly Questions Thread - November 16, 2020 Posted: 16 Nov 2020 02:56 AM PST This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, our Discord, or Stack Overflow before posting). Examples of questions:
Important: Downvotes are strongly discouraged in this thread. Sorting by new is strongly encouraged. Large code snippets don't read well on reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead. Have a question about the subreddit or otherwise for /r/androiddev mods? We welcome your mod mail! Also, please don't link to Play Store pages or ask for feedback on this thread. Save those for the App Feedback threads we host on Saturdays. Looking for all the Questions threads? Want an easy way to locate this week's thread? Click this link! [link] [comments] | ||
| Posted: 16 Nov 2020 02:44 AM PST | ||
| Introducing Laboratory – a library for feature flags management with great QA capabilities Posted: 15 Nov 2020 05:12 PM PST
| ||
| Posted: 16 Nov 2020 07:01 AM PST I want to use this value of selected city outside how can I do it? [link] [comments] | ||
| Can anyone help me to write cases for repository and ViewModel . Posted: 16 Nov 2020 02:32 AM PST I am making a simple app, in which I want to write test cases, I am fetching data from the server. [link] [comments] | ||
| Posted: 16 Nov 2020 01:48 AM PST Title says it all. They basically said if I offer my app temporarirly for free (make a promotion) for just couple days, they can promote my app and I could get many downloads. They said they have partnership with Sony for selected apps, preinstalled on Xperia devices and so far it seems legit (in my opinion). After discussing further details they send me detailed instructions like this I have several questions: 1) is it compliant with Google Play rules, if 3rd party server promotes my app? 2) is it compliant with Google Play rules to alter my app description (see email) with link to their website? 3) are they legit? Anybody has experiences if it is actually worth it? Do you get any significant downloads? Thanks a lot :) [link] [comments] | ||
| Shared flows, broadcast channels Posted: 16 Nov 2020 05:23 AM PST
| ||
| Add (not replace) fragment with navigation architecture component Posted: 16 Nov 2020 08:57 AM PST It's recreate my previous fragment, whenever I backpress from my current fragment. How do I solve this problem? [link] [comments] | ||
| How to Validate Your Data with a Cyclic Redundancy Check (CRC) Posted: 16 Nov 2020 08:53 AM PST
| ||
| what kind of source is included when publishing Android AAR to Maven Central Posted: 15 Nov 2020 09:13 PM PST Let say I want to publish an open-source Android library (i.e. AAR) to Maven Central. This means we need to have a JAR contains source code of the library (i.e. *-sources.jar). So what do you put into the source JAR? - Of course, we need to put Java/Kotlin sources (and maybe C code if we have) - How about the java/kotlin resources? - How about Android resources like layouts, manifests, images, and other assets? [link] [comments] | ||
| Sharing ViewModels in multiple fragments Posted: 16 Nov 2020 08:05 AM PST Hey guys, I have a question about structuring my app. The app is single activity with multiple fragments but in most of the fragments I am using the same viewmodel. I am using DI and was wondering if I have to use a scope to avoid recreating the viewmodel everytime I switch to a different fragment? Or if there was maybe another way to avoid creating multiple instances of this viewmodel. Thanks in advance! [link] [comments] | ||
| How to handle notification actions without bringing app to the front Posted: 16 Nov 2020 07:54 AM PST Hi there.. as the title says, how can I call a method in an activity without bringing the app to the front? For example, when one gets a notification of a new mail and presses the "Delete" button inside the notification, the notification is dismissed and the mail is deleted in the background without starting the app. The only way I found to do it is to keep a static reference to the main activity and using that reference to call a public method from a BroadcastReceiver, but that only works if the activity is alive. If I launch an intent for the activity, it's started and brought to the front. Does anyone know how app achieve that behavior? [link] [comments] | ||
| Would It Have Been Too Hard For The Play Store Dev Console To Ask "Are Any Of Your Apps News Apps?" Posted: 16 Nov 2020 07:30 AM PST Sometimes even the smartest companies make the worst UI decisions. [link] [comments] | ||
| 10 strategies that I tried to grow my Android (only) app to 50,000 downloads & $1000 monthly revenue Posted: 16 Nov 2020 06:22 AM PST
| ||
| Question about changing MinSDKVersion for my app Posted: 15 Nov 2020 07:41 PM PST I'm trying to figure out what happens in the Google play store when I change the MinSDKVersion for my app and I'm hoping someone can help me out. For example, let's say App v1.0.0 is currently in the Google Play store with a MinSDKVersion of OS 7 and all my users have that version installed on their phones. Next week, I plan to release App v1.1.0 with a couple important bug fixes, and it will have the same MinSDKVersion (OS 7). In 2 months, I plan to release App v2.0.0, and I'm going to increase the MinSDKVersion from OS 7 to OS 9. Here's what I'm trying to figure out: If one of my users has a phone running OS 7, and they choose not to update their app to v1.1.0, what will they see in the Google Play store after I release App V2.0.0? I can think of 2 possible scenarios: A. The user on OS 7 will always be able to see and download the most recent version of the app that is compatible with the OS version they are running (in this case, App v1.2.0). B. The user will not see any updated app versions available to them and they will be "stuck" on the app version they currently have installed (App, v1.0.0). Thanks in advance for any help with this!! [link] [comments] | ||
| [D] Object Detection in Android with Fritz AI Posted: 16 Nov 2020 05:39 AM PST Add object detection capacity to your mobile app using Fritz AI https://heartbeat.fritz.ai/object-detection-in-android-with-fritz-ai-fd6e0eb7adfa [link] [comments] | ||
| Posted: 16 Nov 2020 05:08 AM PST I'm trying to work out what's best-practice here. On the one hand it seems like it would be a lot simpler to offer the discount for all future years, and less chance of consumers complaining about missing the "first year only" text on the purchase page. On the other hand, Google seem to have set up discounts to be mainly for first year only - unless I'm mistaken (that could actually be Apple I'm thinking of). Thanks [link] [comments] | ||
| Posted: 15 Nov 2020 06:02 PM PST
| ||
| Advice on Room + Firebase RTDB Posted: 15 Nov 2020 10:30 PM PST I'm trying to build a cloud backup and syncing mechanism for my offline app. The idea is to save my Room data into Firebase Real-Time Database (instead of some web server supported cloud RDBMS). I am new to Firebase Real-Time Database and see that it's a NoSQL database with JSON format data saved as key-value pairs. I need to have my SQL querying and other advanced search and sorting features provided from Room. This means I'd have to write some sort of syncing mechanism between the Firebase RTDB and Room to sync my Room with the freshest dataset. Is there an existing library that can help me with it or do I need to roll out my own syncing service between the two? Any help or ideas are appreciated. Thanks. Edit: Room <-syncs with\*-> Firebase RTDB/Any on device Cloud Storage DB Room:: Does local queries for app Firebase RTDB/ Etc :: Just saves a copy on cloud and syncs on changes [link] [comments] | ||
| Does MVVM imply that every piece of data exposed by the ViewModel has to be observable? Posted: 15 Nov 2020 11:46 AM PST Is it okay if the fragment "asks" for values from the ViewModel if we don't need live updates for this particular value? E.g., is it okay to have instead of ? [link] [comments] | ||
| Zero reported crashes in an android app Posted: 15 Nov 2020 09:42 AM PST Hello devs. I am curious about something. For those who use let's say Firebase crashlytics. Do you ever encounter a scenario where you have zero reported crashes from user devices. Is this even possible? [link] [comments] | ||
| Managing the recycling of complex CustomViews in a RecyclerView Posted: 15 Nov 2020 01:17 PM PST Hey guys, I have a question regarding the managing of complex CustomViews in a RecyclerView. So my scenario is the following: I have a CustomView that shows a chart with quite some additional views that have changing states (like being toggled and changing backgrounds in the process). Right now I'm adding these CustomViews to a vertical LinearLayout, I'd like to use a RecyclerView instead though. Now I'd want to add the CustomView to the ViewHolder and set it up properly in onBindViewHolder. Now comes my question: What would be the best option to make this scalable, considering each CustomView has a lot of modifications done to it and in my experience this means that when they are recycled and reused they have their (now unfitting) modifications still in tact? Options I came up with are:
My assumption is that just resetting the state of each CustomView before using it would be the most scalable, I'm very interested if there would be a better way though (or any input at all!). Thanks in advance! [link] [comments] | ||
| How does e-commerce website and app works? Posted: 15 Nov 2020 11:40 PM PST Hi, I've been studying how real world projects works and now I'm kind of stuck with e-commerce apps. For example, in starbucks website you can login and buy products but if you download the starbucks app, you can also login, buy products and see your last buys even if you bought via website. I think both (website and app) are using maybe a restful api to access and store the data in the same place but this idea is right or maybe in actually exists a better option for this kind of projects? [link] [comments] | ||
| I will give up room db and will use realm db if I cannot find any solution to this Posted: 16 Nov 2020 03:14 AM PST I want to prepopulate my db from assets folder. I asked a similar question but nobody replied. When I changed the schema of my db in assets folder and increased the version, I take the following error. Room cannot verify the data integrity. Looks like you've changed schema but forgot to update the version number. You can simply fix this by increasing the version number. Is there any body else face the issue=? When I change the schema of .db file(rename a column for example) in assets folder, boom! I take this error every time, I removed the database, app folder, cache. I made backup false. Removed the app. When I fresh install it with version 1 with db which I previously changed the schema, I still takes this error. I think, room or "db browser for sqlite" has some bugs related to this. For these reasons, if I can't find a solution, I'm planning to give up from room, and use realm db. [link] [comments] |
| You are subscribed to email updates from Developing Android Apps. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
| Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States | |
No comments:
Post a Comment