CommonsWare Community Archives
The CommonsWare Community was a Discourse-hosted discussion board for Android app development questions, open to subscribers. While the board has been discontinued, the questions and answers are archived here.
- 2021-12-28: Swapping resource values at runtime
- 2021-12-18: Thermal printer
- 2021-12-14: Background app on locked phone
- 2021-12-01: Is simple case of creating multiple files and giving the user an easy access to them is impossible with Stored Access Framework?
- 2021-11-25: Working with Javascript from Android
- 2021-11-10: Threads and Coroutines
- 2021-11-09: Get File from URI
- 2021-11-06: Content Provider: in depth
- 2021-11-05: Firebase cloud Messaging
- 2021-10-20: Android resource linking failed
- 2021-06-18: Is changing the app language an anti-pattern?
- 2021-10-08: Custom permission on Broadcast
- 2021-10-08: 403 when building
- 2021-10-07: Getting data between apps
- 2021-09-30: Jetpack 2.1 book projects not working
- 2021-09-23: Background scrollview with image in a viewpager with parallax effect
- 2021-09-09: TargetCompatibility and SourceCompatibility
- 2021-09-07: MediaStore and ContentRepository < Android 10
- 2021-08-19: Loading Data into the SQLiteDatabase in the onCreate() method of the SQLiteOpenHelper
- 2021-08-04: Opinion Required: Should I use context or activity to start a service from a fragment?
- 2021-06-22: Single event MutableLiveData regarding API result refactor
- 2021-06-04: Writing and updating trees of files on shared storage
- 2020-03-22: Top recommended books for software development and clean code
- 2021-05-03: Collect on BroadcastChannel asFlow()
- 2021-04-28: NSDManager and co-routine
- 2021-04-28: Get current location
- 2021-04-27: NetworkServiceDiscovery thread
- 2021-04-25: Cannot hack 1337 leet
- 2021-04-12: Camera - SurfaceView displays stretched preview
- 2021-04-07: Deprecation list for forthcoming or preview release
- 2021-04-06: Co-routine flow wrapper
- 2021-04-05: ConcurrentLinkedQueue
- 2021-04-01: Start accessibility service in the second process of my app
- 2021-03-29: Toolbar is hiding when keyboard is shown
- 2021-03-06: Autoscroll for a recyclerview inside another recycler view (Rails) goes out of control
- 2021-03-15: Open the E-Mail client on button click
- 2021-03-03: Page not found - GitHub
- 2021-02-21: Regarding onStartCommand return flags
- 2021-01-22: Duplicate class
- 2021-02-06: Overwrite a file using OpenCSV
- 2021-02-03: Unable to read SQLite database from app
- 2021-01-29: Foreground Service - make API request and show notification
- 2021-01-14: Excluding constraintlayout dependency in an implemented library
- 2021-01-05: Double instantiation of fragments
- 2020-12-12: Aync with await
- 2020-12-10: Application scope for viewmodel
- [2020-12-01: Thank you for use of
](t/thank-you-for-use-of-t/537) - 2020-11-27: Retrofit passing in suspend function
- 2020-11-22: Custom styling of Button, EditText, etc
- 2020-11-19: Disable keyboard actionsend until email matcher return true
- 2020-11-17: Asynchronous Server Responses communication to view/viewmodel
- 2020-11-13: How do I change other part of the colour in progressbar Programmatically
- 2020-11-10: View binding for android.R layouts
- 2020-11-04: Manifest output directory error
- 2020-11-03: Recyclerview: pass listener to viewholder in constructor or during binding?
- 2020-10-28: Button to “toggle” a foreground service (start if stopped, stop if started)
- 2020-10-23: Display PDF into webview with autofill onReceivedHttpAuthentication of webview
- 2020-10-22: Data Usage on each API request
- 2020-10-18: Relationship between Rect class and View
- 2020-10-17: Effect of anonymous class accessing outside variables in a multi threaded environment?
- 2020-10-10: Services, no more?
- 2020-10-01: RecyclerView items unclickable
- 2020-09-29: Return value from coroutines
- 2020-09-26: From Java to Kotlin (MVVM + Retrofit + Coroutines + Jetpack)
- 2020-09-20: MVVM recyclerview click listener
- 2019-12-14: Can I add GitHub project as gradle dependency?
- 2019-10-28: Biometric(fingerprint) development from scratch
- 2020-07-17: Would I ever want an AndroidViewModel?
- 2020-07-13: Using Hilt instead of Koin?
- 2020-07-03: Copy image from internal storage to destination folder. (If destination not exist create one)
- 2020-07-01: Why video URI is giving Invalid column?
- 2020-06-18: Trying the new relations in Room . Why My insertion suddenly stopped?
- 2020-06-15: BroadcastReceiver for Android Chooser not receiving anything
- 2020-06-09: Upload from android gallery to Server
- 2020-05-25: How to manually destroy a shared ViewModel
- 2020-05-22: Improving android project build time
- 2020-05-18: Understanding Android app size
- 2020-05-14: Limit on size of Assets folder
- 2020-05-13: Pre-launch report strict mode warnings
- 2020-05-05: EXTRA_INITIAL_URI isn’t working
- 2020-05-05: Using SAF, how to check if a file already exists
- 2020-04-26: Small typo in the Klassbook
- 2020-04-24: Google map Polygon with draggable marker
- 2020-03-11: JobService is started without (or before?) calling Application onCreate
- 2020-04-25: How to advance in Android development?
- 2020-04-22: ConstraintLayout + scrolling
- 2020-04-23: Memory leak in Fragment
- 2020-04-23: How to send a view from module to different module
- 2020-04-22: Test phases for new app on play store
- 2020-04-20: Login Requirements
- 2020-04-09: Determine if a build is debug or release
- 2020-04-10: Room with RxJava background thread
- 2020-04-09: Module state to be injected in the usecases and the view models
- 2020-04-04: Initialize Switch widget in menu during activity OnCreate
- 2020-03-29: Creating a RX Observable without calling onComplete is it Valid?
- 2020-03-29: Delete an image by content URI
- 2020-03-28: Why this Code for saving text to a file in downloads folder not working (Android Q)?
- 2020-03-26: MediaStore.Video.Media.getContentUri(MediaStore.VOLUME_EXTERNAL) vs MediaStore.Video.Media.EXTERNAL_CONTENT_URI
- 2020-03-16: Firebase Dynamic Links after installation
- 2020-03-25: Android Spinner data binding
- 2020-03-23: Error on RecyclerView Basics in Jetback
- 2020-03-19: How to build Exploring Android Master project or subproject
- 2020-03-16: Close system dialog when opening the screen
- 2020-03-10: Suggestion on creating a module that only exposes a public API
- 2020-01-20: Making of shadow
- 2020-02-11: Confusion regarding unit testing of private methods
- 2020-01-19: Replacing Koin with Dagger?
- 2020-02-28: Rx repeat observable every amount of time with stop and resume
- 2020-02-27: Add Helpers and usecases in ViewModel is valid or not?
- 2020-02-20: How to test Fragments in a module which has no activity
- 2019-06-17: ViewPager2 with fragments lazy inflation
- 2020-01-16: AndroidX TabLayout setupWithViewPager() not found
- 2020-02-03: ImageSwitcher or ViewSwitcher sections?
- 2020-01-28: Extending Activity vs Application
- 2020-01-19: Roadmap for upcoming books or chapters?
- 2020-01-19: Multi-module app architecture?
- 2020-01-10: How to set custom text at any position of List view
- 2019-12-31: Shared Testing issue
- 2019-12-30: Workmanager vs Alarm manager
- 2019-12-27: Constraint Layout details
- 2019-12-23: Testing on selector file
- 2019-12-19: Printing a PDF from a WebView
- 2019-12-21: Mobile app backend development
- 2019-12-12: Horizontal Scrollbar for recyclerview
- 2019-12-11: Percentage appearnace while Progress
- 2019-11-28: Start a new task with an activity already in the backstack
- 2019-11-26: New to mobile app development
- 2019-11-24: Regarding Android Studio
- 2019-11-17: Androidx dependencies
- 2019-11-10: Progress Dialog
- 2019-11-04: Threads vs coroutines
- 2019-10-26: Problem with text alignment in a chat bubble layout
- 2019-10-24: How to use external public storage directory in Android Q and above?
- 2019-10-18: Time passed/total time listener for video view
- 2019-09-27: How to create custom popup
- 2019-10-08: AndExplore: LayouInflater-access, Recyclerview-Reference
- 2019-09-18: Custom Permissions
- 2019-09-22: Get “alert” of new voicemail
- 2019-09-11: How to create TileView on the screen
- 2019-09-12: Adding a view to an already created activity/fragment without considering their root layout
- 2019-09-12: Databinding crashes onCreateViewHolder
- 2019-08-29: How to change images for Checkbox
- 2019-09-07: Context.startForegroundService() did not then call Service.startForeground()
- 2018-12-09: How to include a pre-populated database with Android app
- 2019-08-28: How to create custom image button
- 2019-08-24: Popup menu with icons
- 2019-08-21: Shared preferences onPreference change listener
- 2019-08-19: Livedata updating recycler view animation
- 2019-08-02: Fragments backstack working
- 2019-08-14: Android Jetpack navigation: One activity with several navigation views
- 2019-08-14: Move android emulator menu to left side of emulator (Mac)
- 2019-08-08: Save/Retrieve access token in AndroidKeyStore
- 2019-08-07: Question about foreign key constraints
- 2019-07-27: VersionCode for Android library module?
- 2019-07-18: Recyclerview first scroll slow/lags
- 2019-07-10: Android app crash behavior
- 2019-07-11: Patterns: Combining RecyclerView, LiveData and Firebase Cloud Firestore
- 2019-07-09: Espresso in androidx : RecyclerViewActions.class not found, what to do?
- 2019-07-03: How to Disable logs at Component Integration , Application Integration and System Integration Phases
- 2019-06-27: Livedata with a raw query getAll() : how to update liveData’s data source via ui (and therefore change UI accordingly)?
- 2019-06-26: How proguard rules can impact my project while Debugging
- 2019-06-24: Methods that are used to implement Flick and Drag Gestures and implementation of Checkstyle
- 2019-06-13: Swiperefreshlayout + Viewpager + Recyclerview
- 2019-06-13: NavigationView custom menu item
- 2019-06-12: Jetpack navigation with bottom navigation view
- 2019-06-10: Custom button creation with multiple background states
- 2019-06-06: Doing asynchronous work and continuing after getting the result
- 2019-06-05: Application Launch Time is too long
- 2019-06-05: Periodically check if socket connected using workmanager
- 2019-06-04: Get path of image without inserting it to the gallery
- 2019-06-04: Custom Button creation with multiple functionalities
- 2019-05-24: Retrofit request works on Wi-Fi, doesn’t work on 4G
- 2019-04-04: MVVM(Model View ViewModel)
- 2019-05-17: Nullable argument in displayFragment (AndExplore-0.6, p 273-6)
- 2019-05-07: How to load data only for current fragment in ViewPager?
- 2019-05-08: Storing data in a fragment
- 2019-04-23: Why does Android studio suggest i update to unstable alfa dependencies?
- 2019-04-18: String or String Array
- 2019-04-18: What does map() actually do?
- 2019-04-10: Using an excecutor for threading in LiveData
- 2019-04-09: Log in activity
- 2019-04-04: Detecting if a handwritten signature is in a Bitmap
- 2019-03-25: WebView padding on top and bottom
- 2019-03-22: How to change the font of Toolbar menu item title popup
- 2019-02-27: Weird response from Volley request
- 2019-02-21: Google Pixelbook: Accessibility Events
- 2019-02-08: WebView how to detect user selected the input box on the any webpage?
- 2019-02-10: How to detect if application was restarted?
- 2019-02-10: How to do TDD considering the Views are not stupid and decoupled?
- 2019-02-09: Should communication with database be so frequent?
- 2019-01-31: How to extract names from a text paragraph?
- 2019-01-28: Regarding flat view heirarchy
- 2019-01-22: Which is the proper way to expose UI state as LiveData objects from ViewModel?
- 2019-01-18: Application context as a static reference in an Activity
- 2019-01-17: Timer threads and presenter questions
- 2019-01-14: ActionMenuView doesn’t sowing menu items as Icons. (Only showing as overflow menu)
- 2019-01-03: Make input into Presentation
- 2018-12-28: Manipulating fields in a WebView
- 2018-12-17: APK performance is inconsistent when compiled from different machines
- 2018-12-17: Encryption in App, Decryption in Backend
- 2018-12-10: Web dev with kotlin
- 2018-12-09: Legacy Code strategies
- 2018-09-15: Concurrency vs Parallelism in Android?
- 2018-09-12: How to use createPendingResult to Communicate between service and fragment?
- 2018-09-10: Creating a button with custom color shadow
- 2018-09-06: Store a phone number with a custom label in call log and then call it with my app
- 2018-09-05: Can’t understand this block of code and need explanation?
- 2018-09-04: How to Change ShareActionProvider Icon?
- 2018-09-03: Android tasks are full of bugs or it has poor documentation?
- 2018-09-01: Difference between LocalBroadcastManager’s sendBroadcast vs sendBroadcastSync?
- 2018-09-01: What is the use of getAbortBroadcast in Broadcast Receiver?
- 2018-09-01: Does using Scala in Android a Good option?
- 2018-08-30: Intent.FLAG_ACTIVITY_NEW_TASK is doing What we think it should do ?
- 2018-08-02: Batch fetching over the network in SAF
- 2018-05-11: Change the language of an app depending on the user’s choice
- 2018-07-25: Use Model Mapper during DTO between different layers?
- 2018-07-12: Some questions re sample project ActionModeList2
- 2018-06-30: Custom DocumentsProvider access to user requested intent data
- 2018-06-23: Dialog Fragment: Issues with a bigger custom layout
- 2018-06-21: Best way to store sensitive data in app
- 2018-06-08: Gradle add aar only for release build
- 2018-06-06: Android string resource with value
- 2018-06-03: Setting arguments to fragments vs saving in a static variable
- 2018-05-29: How to copy and modify the POJO class objects for reuse
- 2018-05-12: No stock implementation of FAM?
- 2018-05-21: How to put android in standByMode
- 2018-05-16: Can’t find some topics!
- 2018-05-16: Editable - in-place text modification
- 2018-05-15: Android videoview playing encrypted mp4 file
- 2018-05-13: TabLayout/Pizza » How to guess the delay time?
- 2018-05-12: Auto-hiding toolbar
- 2018-05-11: Some questions about Database/FTS sample project
- 2018-05-11: Serializable or Parcelable
- 2018-05-10: SearchView in case of a separate Searchable activity
- 2018-05-10: How to apply styles to ActionMode
- 2018-05-10: How to implement Search?
- 2018-05-04: Recyclerview Adapter hasStableIds
- 2018-04-29: Daily notification at a given time
- 2018-05-02: A List With Header - how to use with cursors?
- 2018-05-02: Why a grid-style table?
- 2018-05-02: VideoThumbnailController Video URI duplication?
- 2018-04-29: Local Broadcast vs EvenBus
- 2018-04-29: Prerequisites for AlarmManager
- 2018-04-28: What is a Pending Intent?
- 2018-02-27: Accessing json in tutorial# 12 from “Busy”
- 2017-10-07: What is the suitable algorithm for this type of application
- 2017-07-21: Welcome to the Android Development Category!