Weekly "anything goes" thread! Android Dev |
- Weekly "anything goes" thread!
- Constructive feedback FTW
- Is anyone else's stable Android Studio, kind of unstable day to day?
- Accessing Pixel's new haptic feedback.
- Architecture components - Sending search query to the ViewModel
- Convincing my coworkers im an Android developer?
- Must-know things that I need to learn
- Publish from Android Studio
- How much dev time would a Bird or lime bike app take to develop
- Kotlin data class + Builder vs. Java + Lombok
- Write an Android Studio Plugin Part 2: Persisting data
- Wrote some small helper functions for Kotlin Coroutines with MVVM. Looking for more, advices and improvements.
- How to merge multiple AndroidManifest.xml files without using build-types/flavors
- About SupportMapFragment and BottomNavigation
- How do you version your app?
- App update prompt in Play Store not going away after update
- Build an automatic pet monitoring app with Fritz and Object Detection
- Client-Generated IDs vs. Server-Generated IDs
- Google's new permission policy
- What should I do when my game is featured on Google Play?
- help me with android memory management
- Admob ads not showing
- [NOOB Question] Simple app builder
Weekly "anything goes" thread! Posted: 30 Nov 2018 04:41 AM PST Here's your chance to talk about whatever! Although if you're thinking about getting feedback on an app, you should wait until tomorrow's App Feedback thread. Remember that while you can talk about any topic, being a jerk is still not allowed. [link] [comments] | ||
Posted: 30 Nov 2018 02:07 PM PST
| ||
Is anyone else's stable Android Studio, kind of unstable day to day? Posted: 30 Nov 2018 06:59 AM PST I have used Android Studio since the day it was released in beta. It's been a god send. Over the years more things have been added to it, but it has reached a point now where there are daily issues for me when I use it.
Maybe I should just reinstall? My machine is an Aorus X3, 16gb, 1tb NVMe, GTX 970M, i7-6700HQ Edit: Invalidate+restart was the fix for missing Timber. I also had a similar issue where it couldn't find a different gradle dependency for a while yesterday. None of these issues are very serious, but they do slow me down a little every day now. [link] [comments] | ||
Accessing Pixel's new haptic feedback. Posted: 30 Nov 2018 06:10 AM PST So the pixel 2 and pixel 3 have a great "clicky" haptic feedback. However this seems available to only system apps and a few non system apps. Is there a different code needed to access this newer feedback? Using "Vibrator vibrator = (Vibrator) getSystemService(VIBRATOR_SERVICE);" just results in the generic "mushy" feedback. [link] [comments] | ||
Architecture components - Sending search query to the ViewModel Posted: 30 Nov 2018 05:12 AM PST I am working on a wallpaper search engine and using the latest libraries( Room, ViewModel, Paging Library) and Retrofit for fetching data over the network. The main activity only has reference to the ViewModel, as MVVM guidelines recommend. But, I need to be able to type a search query into the search box and to pass this query to Retrofit. But I can't wrap my head around it. Since i'm using the Paging Library, I am making the network request in the DataSource which is contained in a LiveDataSource observed by the ViewModel. Any idea? [link] [comments] | ||
Convincing my coworkers im an Android developer? Posted: 30 Nov 2018 10:46 AM PST I was hired last week as a Xamarin developer and I have been doing native Xamarin Android. The other guys do iOS and express their desire for an actual native Android developer. I do about 5 hours of native Android development a day outside of work. I have deployed Android apps to the app store and i currently have been focusing on kotlin. I also have a blog on Android development but my coworkers still talk about getting an Android developer, assuming i dont know much about Android. How can i get my coworkers to respect me as an Android developer? [link] [comments] | ||
Must-know things that I need to learn Posted: 30 Nov 2018 07:35 AM PST Hi everyone, -Views (TextView,ImageView,ScrollView,Button,ProgressBar..) -AsynTask -Connect to internet and make a request to an API -Manipulate JSON data -AsynTask Loaders -Display Audio with Listeners But unfortunately, I have been disappointed so many times. I have spent so much time to learn the AsynTaskLoader functioning, only to know that it is deprecated in API 28 and is considered an old technology now. Same goes to ListView + Adapter, I have spent a lot of effort only to find later that RecyclerView is much powerful. So I invested more time in RecyclerView and finally managed to transfer my old app that used a ListView to a new one with a RecyclerView. Thanks for reading and sorry for the long post. PS : Last year's challenge was about an application that fetches the Github repos of a given user from Github's GraphQL API and display it. [link] [comments] | ||
Posted: 30 Nov 2018 06:09 AM PST Is there a way to publish my apk right from Android Studio using sort of "One click"? [link] [comments] | ||
How much dev time would a Bird or lime bike app take to develop Posted: 30 Nov 2018 02:36 PM PST I am a student who's starting an E-scooter Sharing program in my campus, and I wanted to know how much time would it take to develop the app on just android. And how much would it cost approximately. Another question I have is, how do Bird and lime bike connect the bikes to the app without an IOT Device on top. Any help from anyone would be really grateful. I am from a tech background so I have a general idea how development works etc. [link] [comments] | ||
Kotlin data class + Builder vs. Java + Lombok Posted: 30 Nov 2018 04:49 AM PST Hi, I wish to eliminate Lombok in our project and create Kotlin data class that is: - usable from both Java and Kotlin Here's what it looks like in Kotlin currently: and here's a similar thing with Java + Lombok: Any proposals how to make the Kotlin one more beautiful or shorter? I've tried this annotation-based builder generator https://github.com/jffiorillo/jvmbuilder but it adds a [link] [comments] | ||
Write an Android Studio Plugin Part 2: Persisting data Posted: 30 Nov 2018 01:27 AM PST
| ||
Posted: 30 Nov 2018 02:05 PM PST Hello! I recently started learning Kotlin Coroutines and integrated them into a smaller project I made while working on my master's thesis. While integrating them I wrote some small helper functions that I used and made my code cleaner and more readable. Wondering if there is some other helpful stuff like this that anyone wrote that I could use or ways to improve the ones I already have. Also, feel free to use these and comment :) https://gist.github.com/marijannovak123/f0795f17b1d4f06c8ceefe4a7f197163 EDIT: here's the project where some of the use cases are shown..made it when i just started learning kotlin, architecture components and mvvm, refactoring it now so be gentle :D [link] [comments] | ||
How to merge multiple AndroidManifest.xml files without using build-types/flavors Posted: 30 Nov 2018 07:25 AM PST I'm developing an android app and have made a script that can generate a .xml file dynamically based on certain values. The content it generates are a bunch of <intent-filter> elements. After generating the file I want to use android's AndroidManifest-merging to merge it into my main AndroidManifest.xml The various documentation around the web states, that merging is possible by using different build types/flavors/etc or by having the manifest in its own module (because the manifest of libraries will always be merged into the main manifest). The issue is that I dont wan't to use different build types/flavors, I want this file to be merged into AndroidManifest.xml across all build-types and I don't want to use flavors. So my idea was:
My questions is whether or not this is actually possible? and if so, where (in the project-structure) do I put my created manifest.xml file and how do I make android merge them? I guess one solution could be to create a separate module for the project, which only contains the AndroidManifest.xml file that I want to merge, but I'm hoping that my initial idea is possible, as it seems simpler and cleaner. [link] [comments] | ||
About SupportMapFragment and BottomNavigation Posted: 30 Nov 2018 01:21 PM PST I am currently working on an app which MainActivity has a BottomNavigationView with 3 MenuItems. Each of one is meant to show a different fragment. One of those fragments must be a map. According Google documentation, SupportMapFragment extends Fragment class, so I should be able to manipulate it like any other fragment. Every example I found use an Activity with a fragment as only layout, I meant to use an Activity with a FrameLayout so I can later on replace the map fragment with any other. Problem is that when I try to do it this way I'm getting this error on app's startup: This is my MainActivity.java and activity_main.xml And this is my MapFragment.java map_fragment.xml is just a fragment with Can anyone help me out with this? [link] [comments] | ||
Posted: 30 Nov 2018 12:06 PM PST Do you use https://semver.org/, some other standard, or something else? Just curious what other devs / teams are doing. [link] [comments] | ||
App update prompt in Play Store not going away after update Posted: 30 Nov 2018 11:58 AM PST Yesterday I released an update to my app like I always do, but I'm getting reports from multiple users that the Play Store keeps saying that there is an update available for the app even after succesfully updating the app. No matter how many times you try to "update" the Play Store insists that there is still an update available. Apparently clearing the data of the Play Store and even uninstalling and reinstalling my app does not fix the issue. I also released another update to "overwrite" the issue the Play Store seems to have with the original one, with no success. I saw a few similar reports on stackoverflow today, but no useful response. Is this an issue entirely with the Play Store? Is there something that I or my users can do to fix it? I am kind of clueless on what to do. [link] [comments] | ||
Build an automatic pet monitoring app with Fritz and Object Detection Posted: 30 Nov 2018 10:36 AM PST
| ||
Client-Generated IDs vs. Server-Generated IDs Posted: 30 Nov 2018 03:00 AM PST
| ||
Google's new permission policy Posted: 29 Nov 2018 09:23 PM PST So a couple of weeks before I received an email from google support that according to policy update, two of my apps do not comply with the permissions policy and I was asked to review it and submit adn application accordingly or remove permissions all along. So I reviewed the new permissions policy and sent application according to those policy changes that my app shows exceptional behaviour and core functionalities need those permissions. As of today, I received reply from google saying that my request was rejected. I don't know if I failed to understand the policy or I really need to remove those permissions (my app won't work without which). Any help from you guys is much appreciated. The links of apps are https://play.google.com/store/apps/details?id=com.applistic.hp.timesmessages https://play.google.com/store/apps/details?id=com.shake.user.shake [link] [comments] | ||
What should I do when my game is featured on Google Play? Posted: 29 Nov 2018 08:29 PM PST I want to run UAC but do not know which target to install or IAP. Can you recommend anything (for your strategy, experience, some cases ...) for me? [link] [comments] | ||
help me with android memory management Posted: 30 Nov 2018 05:52 AM PST I have an app where the App shows lists the large images from Internet. the Images are stored in ListView as Bitmap....I believe it is taking too much memory...the app works fine on Big Memory Device but on Small Memory Devices it crash. I have heard theres a library called Glide....Any Ideas How I can make it better.... Looking for a library as solution Thanks in advance [link] [comments] | ||
Posted: 30 Nov 2018 02:01 AM PST When I have run in debug mode it was showing test ad but after publishing the real ads not showing anything, a blank screen. I have another published application use the same admob account and showing all the ads. [link] [comments] | ||
[NOOB Question] Simple app builder Posted: 30 Nov 2018 01:57 AM PST Apologies for this intrusion into real app development. I want to make an app that does a calculation (for my Poker league) This is the formula for calculating points awarded after each game. (SQRT (Players * Buy-in * Buy-in / (Buy-in + Rebuys)) / (1 + Rank))*10 I want to create a simple app that will allow people to enter numbers into 4 fields (#Players, Buyin, #Rebuys, and Rank) and it will do the calc and show the points. Is there a good tool or site that will let me create an apk for this with little or no environment setup? [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