Android Studio 4.1 Canary 8 released - Emulator now embedded in the IDE tool window Android Dev |
- Android Studio 4.1 Canary 8 released - Emulator now embedded in the IDE tool window
- Google terminated my Developer account without warning
- Jetpack Compose dev10 release is available
- Use Espresso’s IdlingResource for max Android test speed
- App Suspended on Google Play due to 'Sensitive Events Policy' - What Now?
- The Good, The Bad and The Ugly — Three approaches to loading contacts in your Android application
- Will doing Android TV development hinder my career progression?
- Implementing motion with Material Design | Google Design Tutorials
- SAF is so slow
- How to write good applications in Android?
- Question: AssistedInject + Multibind + Workmanager + Feature modules?
- Hey android app crashes giving me a "Attempt to invoke virtual method 'int org.json.JSONArray.length()' on a null object reference". I am trying to do a nearby search for restaurant. here is the method
- Room Entity's data is stored correctly but is retrieved as null
- How do I make a appChooser to choose from email apps? (NOT SEND)
- WorkManager 2.4.0-alpha03 is now available.
- Modify RecyclerView adapter to show different layouts
- How do you stream audio to and from a phone call?
- Managing Cookies
- Shall I use Android Studio Beta for my projects?
- How can I fix error: Fatal Exception: java.lang.NoClassDefFoundError
- How can I add a fade animation to Canvas.drawText()?
- Update object position in database from RecyclerView onMove() method using room
- Does it *critically* matter which frameworks, libraries, languages, architectures, databases, etc, I use for doing Android dev work?
- Firebase GeoQuery Help
Android Studio 4.1 Canary 8 released - Emulator now embedded in the IDE tool window Posted: 29 Apr 2020 01:55 PM PDT
| ||
Google terminated my Developer account without warning Posted: 29 Apr 2020 04:38 AM PDT
| ||
Jetpack Compose dev10 release is available Posted: 29 Apr 2020 10:57 AM PDT
| ||
Use Espresso’s IdlingResource for max Android test speed Posted: 29 Apr 2020 10:36 AM PDT
| ||
App Suspended on Google Play due to 'Sensitive Events Policy' - What Now? Posted: 29 Apr 2020 10:47 AM PDT My casual trivia game was suspended due to Google's Sensitive Events policy. They provided no details of the violation, just a generic description of the policy: We don't allow apps that lack reasonable sensitivity towards or capitalize on a natural disaster, atrocity, conflict, death, or other tragic event. I don't know what to do next. I think the suspension may be from a joke about COVID-19 in the app description, 'Guaranteed to distract you from coronavirus for at least a few minutes!' but I'm not sure. Google will let me upload a new version of the app 'minus the offending content', but I'm not 100% sure that was actually the violation. I don't want to risk uploading another version and having my account banned entirely. I have submitted an appeal, but feel stuck in limbo right now. What's the best way to handle this? [link] [comments] | ||
The Good, The Bad and The Ugly — Three approaches to loading contacts in your Android application Posted: 29 Apr 2020 05:45 AM PDT
| ||
Will doing Android TV development hinder my career progression? Posted: 29 Apr 2020 02:24 PM PDT I've done mobile for a couple years now. Have an opportunity to join tv development. I'm not really sure how different it is though technically. Would it be hard to switch back to mobile down the line? [link] [comments] | ||
Implementing motion with Material Design | Google Design Tutorials Posted: 29 Apr 2020 12:17 PM PDT
| ||
Posted: 29 Apr 2020 01:45 AM PDT I have an app that asks the user for storage permission and cleans all empty folders from it. Because of the privacy changes in Android 10 and Android 11 we have to find another method for storage access because the write storage permission will be removed. I updated the app with SAF. And everything is working and even the sd card scanning which previously was not available. The problem is that it is working very slow. If I select the main storage folder it takes 2 minutes for an operation that was 2 seconds with the previous mechanism. Of course the bad reviews are starting. What should I do? How I can tell my users that this is the right way for the app to continue working? Also I know there will be special permission in Android 11 for some apps to access the full storage but I don't know if my app will be accepted in this program. Regards! [link] [comments] | ||
How to write good applications in Android? Posted: 29 Apr 2020 05:31 PM PDT I want to know resources where I can learn to create apps that are well coded, maintainable, and readable. How to make something that works well and is efficient. I know it's a very general question but tutorials are either very basic and cut corners on things that wouldn't work on actual apps, or are very specific and only talk about one component or feature. As someone who's new, it's very frustrating to not know what the good way of doing something is. Any ideas? I need some insight into what to search for. I saw the Android Architecture Basic Sample code and there's honestly too many things there which I do not know which makes it hard to understand. Let me give you a toy example.
So the questions are:
I could go on and on, but I think these three are good [link] [comments] | ||
Question: AssistedInject + Multibind + Workmanager + Feature modules? Posted: 29 Apr 2020 01:09 PM PDT Hi I have the following situation: The current application is a single module with feature packages, uses WorkManager. I set up it with `WorkerFactory` and `AssistedInject` and adding different workers `IntoMap` using `Dagger`. Individual `Workers` are located in feature packages with their module. Initialization is done in `Application class` via custom worker factory. Pretty common usage as seen in other examples. Problem: I started to refactor to actual Gradle feature modules. I have `app`, `core`, `features1`, `features`... app requires `core` and other features. and each feature only requires core. uses component dependency, not the subcomponent pattern. problem is that in Application class I immediately need WorkerFactory class but it can't create workers because actual Worker is in feature module and component is not initialized yet. If I move everything to `core`, worker module in `core` couldn't see `usecase` dependency which should be injected, because it' in a dependent module. I did a lot of searches but couldn't find anything useful. Am I doing something wrong or missing? Thanks in advance. [link] [comments] | ||
Posted: 29 Apr 2020 03:50 PM PDT
[link] [comments] | ||
Room Entity's data is stored correctly but is retrieved as null Posted: 29 Apr 2020 09:25 AM PDT I'm building a weather app using MVVM and i'm using the Places SDK & Room to store a location that the user selects using an AutoCompleteTextView. When the app launches each time, i'm prompting the user to use the AutoCompleteTextView and select a location. When that happens, i'm using my Repository class to store that location data using Room and then proceed to use it to fetch new weather data. My issue as described in more detail in this stack post, is that although the Database Inspector shows that the fetched weather data is ssuccessfully stored in my Room db, when i try to fetch the weather data using it, i get a NPE saying that the stored location is null. Can somebody help me figure out what the issue is with the code provided on the attached stack post? I've been stuck at this issue for about a week now and can't seem to find the root cause. [link] [comments] | ||
How do I make a appChooser to choose from email apps? (NOT SEND) Posted: 29 Apr 2020 03:13 PM PDT I can only find information on how to send an email, I'd like to just open email apps, not send an email. Thanks in advance! [link] [comments] | ||
WorkManager 2.4.0-alpha03 is now available. Posted: 29 Apr 2020 11:27 AM PDT WorkManager now officially supports RxJava3. Here is the release notes: https://developer.android.com/jetpack/androidx/releases/work#2.4.0-alpha03 [link] [comments] | ||
Modify RecyclerView adapter to show different layouts Posted: 29 Apr 2020 10:27 AM PDT I'm trying to create a survey and display the questions in a recyclerView, but all the question types have different layouts, how can I display the correct layout depending on the question type? The questions have a method called getResponse_type_id which returns a number between 1-4 which is the type of question. How should I modify the adapter to make this possible. My adapter right now is super basic, this is what I have The questions have this info, when sending to the adapter it is a List of questions, below is a single question. [link] [comments] | ||
How do you stream audio to and from a phone call? Posted: 29 Apr 2020 06:06 AM PDT I want to make an app that lets me take and make a phone call from my PC that's on the same LAN network as my phone. I know Microsoft's MyPhone app exists, but frankly, I'm not comfortable with giving them the permissions on my phone and I think it'd be a fun little(?) project to do on my own. The closest thing I've found while searching online is this old stackoverflow post saying that it is in fact impossible. But considering the aformentioned MyPhone app exists, I guess this has changed in the meantime. Am I also correct in thinking that the best way to stream the audio once I have it over WiFi is using the AudioStream class? [link] [comments] | ||
Posted: 29 Apr 2020 09:46 AM PDT Hello! I have recently started developing my first mobile app and I have a question. Where should I put my cookie store? I am using retrofit to make rest requests to my server, should I implement it on the RetrofitClient class (custom) that I created? Should it be on the main activity? How do other activities communicate with it? Sorry if its a stupid question but I am having trouble wrapping my mind around it.... Thank you very much! EDIT: Do I need to implement a CookieStore AND Interceptors? Is there a better way of doing this? [link] [comments] | ||
Shall I use Android Studio Beta for my projects? Posted: 29 Apr 2020 07:30 AM PDT Hello everyone. This question bugging me a lot. I use the stable Android Studio for all of my production level projects. But I also want to get my hands on the latest features early on. So I am thinking to use the beta version (installed side-by-side with stable one) at least for my personal projects. Still, I do not want to get blocked because of some bug or issue in the IDE and/or SDK, wait for an updated version with fixes and to continue on my project. I can continue on the stable version until the issue gets resolved. But I think that would be a big hassle because of different versions of plugins & SDKs while going back-and-forth between IDEs. So, I want to know your opinion on the same. If you have or are using the beta Android Studio for your projects, tell me how is it? Do you get block very often? Or would you suggest to stick to the stable version only? [link] [comments] | ||
How can I fix error: Fatal Exception: java.lang.NoClassDefFoundError Posted: 29 Apr 2020 09:13 AM PDT
| ||
How can I add a fade animation to Canvas.drawText()? Posted: 29 Apr 2020 09:10 AM PDT I'm using canvas.drawText() to display some text on the screen, and want to fade from one text to another as I call the canvas method. How can I accomplish this? [link] [comments] | ||
Update object position in database from RecyclerView onMove() method using room Posted: 29 Apr 2020 12:50 PM PDT Good day! This is my Room Dao: u/Query("DELETE FROM note_table") u/Query("SELECT * FROM note_table ORDER BY priority ASC") } [link] [comments] | ||
Posted: 29 Apr 2020 02:51 AM PDT The deeper I go into Android dev the more I realize there are multiple methods of doing something. For dependency injection I can use Dagger2 or Kodein. For setting up an online database I can use Firebase or Heroku. For setting up an offline database I can use Room or Realm. For the base language I can use Kotlin or Java. I can use Synthetic or use ViewBinding to make references to Views in a Fragment/Activity class. For the architecture I can go for MVP or MVVM. I mean, I can keep going on and on. All choices if used correctly will allow me to develop properly working Android apps. But would it lead me to get alienated in Android job placements just because I prefer using one over the other? "Oh, you prefer using Kodein for your dependency injection needs? Sorry we won't hire you. We only use Dagger2 here" I doubt that companies are this picky. Surely I could be trained to use another library easily, as long as I know the core concepts of what dependency injection is in the first place, right? Unless I am mistaken. [link] [comments] | ||
Posted: 29 Apr 2020 07:44 AM PDT So I have been trying for a while now to implement a way in which I can update the user if there are no tradesman found or if there are no tradesman within a maximum radius. So the app basically searches for tradesman available within the Firebase and matches with the closest one based on their latitude&longitude. If none are found within 1 mile, it then increments to 2 and so on. What I have been struggling to implement is a way to say if there is no tradesman available within the firebase or if there are no tradesman available within a certain radius so once it increments to say 10 miles stop and return no tradesman found. This is the code I have now which searches for the tradesman and increments the radius, but will never stop searching unless I click a button which ends the search, so I need a way to end the search without clicking the button. This has been bugging me for a while as it seems like something pretty simple and straightforward in my head, so any help will relive a lot of stress. Thanks [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