Weekly "anything goes" thread! Android Dev |
- Weekly "anything goes" thread!
- We’re on the engineering team for Android Studio. Ask us Anything! (starts February 28)
- It's been a year since I started learning how to develop Android apps. I just my released my second app: MovieDB. An open source, gorgeous client for The MovieDatabase API. Please check out the code, the app and let me know what you think!
- Android Modularisation — the results!
- [Android Library] A light-weight library to make beautiful Navigation Bar with ease with ton of customization option. Inspired by popular Bottom Bar UI on this subreddit.
- Just frustrated and wanted to share it with fellow devs - SMS/CALL LOG permissions
- Deleting your Developer Account
- Emulator 28.1.9 Canary
- Unpublishing apps from Google Play Store - should apps be cured before unpublishing ?
- TIL the class name that handles an alarm clock alert in Googles Alarm Clock app is "AlarmKlaxon". Klaxon is the term for a horn as pictured below...
- need help: app removed without email explaining why
- Next steps toward entry-level employability 9 months in?
- ADS ON UNPUBLISHED APP
- Develop from my phone
- Alternative way for Multidex To build release version?
- Why are Fragments in a ViewPager resetting?
- Where can I share my App Ideas?
- Doesn't Dependency Injection break Encapsulation?
- How do I get back in sync in Android development within 5 days?
- Which is better for a Google Maps API app: Android Studio, Unity, Redux…?
- Firebase Recycler View inside a tabbed activity
- What does your team call your models that are used only on your view layer?
- An other fantastic review
Weekly "anything goes" thread! Posted: 01 Mar 2019 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] | ||
We’re on the engineering team for Android Studio. Ask us Anything! (starts February 28) Posted: 26 Feb 2019 11:42 AM PST As part of the Android engineering team, we are excited to participate in another AMA on r/androiddev on Thursday, February 28! Last month we announced Android Studio 3.3 and kicked off the broader quality focus area for the year, which we call Project Marble. Announced at the Android Developer Summit in November 2018, Project Marble is the Android Studio team's focus on making the fundamental features and flows of the Integrated Development Environment (IDE) rock-solid, along with refining and polishing the user-facing features that matter to you in your day-to-day app development workflows. In Project Marble, we are specifically looking at reducing the number of crashes, hangs, memory leaks, and user-impacting bugs. We are also investing in our measurement infrastructure to prevent these issues from occurring. This is your chance to ask us technical questions related to Android Studio and Project Marble. Please note that we want to keep the conversation focused strictly on the engineering of the platform. We'll start answering questions on Thursday, February 28 at 9:00 AM PST / 12:00 PM EST and continue until 10:00 AM PST / 1:00 PM EST. Feel free to submit your questions ahead of time. This thread will be used for both questions and answers Here are some topics we're looking forward to talking about, but feel free to ask anything!
Participants from the Android Studio team:
[link] [comments] | ||
Posted: 01 Mar 2019 07:00 AM PST Hello everyone! Last year in February I took part in an overnight dev sprint in my college. I didn't know much about developing software back then, but I went anyway because I thought it would be fun. Me and my team had to choose to work on one of five projects given to everyone at the dev sprint, and we didn't know how to work with any of them. I picked the Android app project to work on because what the heck, and started learning through the Android Fundamentals course on Udacity that night itself. We didn't deliver anything useful, but it was really fun! I chose to stick to learning Android dev, and here I am a year later releasing my second app: MovieDB It is a small, gorgeous front end client for the TMDb API. It's still very early in the development process. It is 100% Kotlin, uses something in between MVVM and MVI (I created a very lightweight version of AirBnb's MvRx library to use in this project). Some key points about the app:
There are a lot of problems with the app right now: I don't know how to write tests, I need to extract a lot more string resources into XML files, performance is a little janky in some places, and a whole lot of other things. I don't even have an about page in the app yet! But I still want to share this with you guys today because the app as it stands today sort of represents a landmark for me: it is a way for me to record and reflect upon the progress I've made in the last year of learning how to write good Android apps! Any feedback, advice or comments are really welcome. I really like this community because literally every type of android developer is here. Small and novice developers like me, great developers like /u/saketme, amazingly helpful angels like /u/Zhuinden, Googlers like /u/yboyar, and straight up demigods like /u/JakeWharton too! Everyone is really helpful and I have learned a lot by reading discussions on this subreddit. Special shoutout to /u/hi-manshu for being a cool mentor to me. Thank you everyone who makes this community great! [link] [comments] | ||
Android Modularisation — the results! Posted: 01 Mar 2019 12:21 PM PST
| ||
Posted: 01 Mar 2019 02:35 AM PST
| ||
Just frustrated and wanted to share it with fellow devs - SMS/CALL LOG permissions Posted: 01 Mar 2019 04:37 AM PST I've just published an update that removes CALL LOG permission from my app with over 5 million active users. I have been communication this to users over 3 months with notifications, help articles and what not. I have also added a big banner in to the app that explains reasoning behind it. Yet, -as expected- 1 star ratings and complaints blaming me for it started to flow. I am so frustrated it is unreal. I do not understand how people could be this ignorant. I have given 6 year, at least 3 hours a day to this app to face this. It is so demoralizing I don't know if I am going to continue developing for Android anymore. [link] [comments] | ||
Deleting your Developer Account Posted: 01 Mar 2019 01:48 AM PST In regards to ongoing battle against developers (dramatic, I know, but how else do you call it), and threads like this one I am considering deleting my Developer Account. I got my app removed for incorrect rating. Rating I have assigned over 5 years ago. I did the survey to the best of my abilities, and the email I got was we removed it, fix it. Well, I do not have time nor will to resubmit the app. I also have zero intention of contacting support. Questions for you
There is a FAQ but as always it is written in absolutely non-committal and non-informative way. As is tradition per Google. [link] [comments] | ||
Posted: 01 Mar 2019 09:36 AM PST | ||
Unpublishing apps from Google Play Store - should apps be cured before unpublishing ? Posted: 28 Feb 2019 10:11 PM PST We have decided all minor apps, apps with buttons pointing to dev page on Google Play that have been flagged once, and apps we do not have the resources to be updating all the time (to comply with changing policy in the future) should be removed from Google Play. Basically, what is the best way to ensure an app no longer takes up developer's time, and to ensure it no longer can be used by Google Play against the developer - the intent being to shed baggage so dev is light again with fewer apps on their plate.
I ask this because even if a developer unpublishes an app (or it is removed by Google), it stays on the store for users who have paid for it, or paid for it's features with in-app purchase. This is Google's way of ensuring previously paid users dont get pissed. Does this fact place a continuing burden to comply with future Google policy when the dev no longer has an interest in doing so ? If so, this would be a highly irregular never ending obligation - where Google compels a developer to do more work - with app ban and account ban being used to compel developer to do work without compensation. Some of this language was reported in the first ineffectual "deep dive" presentation by Google on the call/sms fiasco - however, later devs have said they were told simply unpublishing an app would be enough. If not, what is the procedure to follow ? [link] [comments] | ||
Posted: 01 Mar 2019 04:00 PM PST
| ||
need help: app removed without email explaining why Posted: 01 Mar 2019 02:07 PM PST Got word from a user that app was missing from Play Store and indeed it's "removed" from play store. I never got an email explaining why so I'm hesitant to resubmit only to suffer worse consequences. Any suggestions on who to contact for help? I've already reached out to some contacts without response. The app has been in the play store since launch back in 2009/2010. Name: IP Cam Viewer Pro play store id: com.rcreations.WebCamViewerPaid Please help, Robert [link] [comments] | ||
Next steps toward entry-level employability 9 months in? Posted: 01 Mar 2019 06:14 AM PST Hi, all. Last summer, I started my journey toward a career switch from a non-technical role to one in Android development and I'm pleased with my progress. I've been checking most of the boxes I've gathered from the internet, including building an app (messaging) I built with Java and Firebase and delivering it to the Play Store. Between cutting my teeth on that and the tutorials I used to get the basics, I've gotten a firm grasp on essential concepts like the activity lifecycle, services, fragments, multithreading, the use of APIS, recycler views, et al. In addition to that, my GitHub has some server side code in node.js to send my apps notifications and a small algorithm to simulate the Monty Hall problem. Right now I'm starting to write second app in Kotlin that shows off my ability to make heavy use of an API without Firebase abstracting it away. I bought time with a career counselor to revise my resume and make a job search strategy, and two weeks ago I started applying for jobs in the Philly and NYC areas, where my social network is. It's been going normally. Decent amount of recruiter spam and internal recruiters telling me I'm too junior for roles. I understand that this is normal and I know not to get discouraged this early. I'm also not here to torture the "entry level needs experience" trope. That said, I'm interested in hearing from people who hire Android devs, or who took a path similar to mine, about what things I should be working on to take me from "longshot employable" to having a real edge over others looking for their first dev job. I know not having a tech-related degree works against me, but I'm willing to do the work to get to the appropriate level, I just want to be sure what that work is. Is there something specific that should be in my portfolio? Specific technologies that will be useful more independently of what stack a company uses? Any job search tips are welcome, too. I've been reaching out on LinkedIn to people at companies that interest me to ask these questions, but I figure my response rate will be better here. I got crickets in /r/cscareerquestions. I appreciate any time spent reading this and responding. [link] [comments] | ||
Posted: 01 Mar 2019 01:30 PM PST Hello everyone.I want to ask if there is a way that i can add advertisements to my app if i dont want to publish it on google play store. [link] [comments] | ||
Posted: 01 Mar 2019 11:41 AM PST I am starting to learn android app development through the Android nano degree that's made by Udacity, but because of some complications I don't have access to my laptop most of the time, is there a way for me to develop from my phone or link my phone to the laptop so I can write the code but run it on the laptop? Thanks for your help [link] [comments] | ||
Alternative way for Multidex To build release version? Posted: 01 Mar 2019 03:46 AM PST Hi all, there an alternative way to build a release version without using multidex if the number of methods more than 64k. There are a way to optimize the huge number by removing the unused methods? [link] [comments] | ||
Why are Fragments in a ViewPager resetting? Posted: 01 Mar 2019 11:13 AM PST --SOLVED-- The solution was to set the off screen page limit, as suggested by nickm_27. Added the following line of code when initializing the ViewPager in the MainActivity onCreate() method: Thanks guys. I've been loosely learning android app development as a hobby for awhile - nothing formal. I've run into a weird bug in an app I've been building that I don't understand. Initially, in my app, I was trying to design my UI so that everything was visible on a single screen at the same time, while compartmentalizing a bit by grouping functions into separate fragments. But things were getting crowded, so I basically turned half the screen into a ViewPager allowing you to swipe through some of the Fragments. At the moment I have 3 Fragments in the pager. THE PROBLEM: If I go to the 3rd Fragment and "do some stuff" that makes visual changes to that Fragment, swipe to the 1st page, and then back to the 3rd, those changes will be reset. If I only go to page 2 and back to 3, all is well and nothing gets reset. Also, there are no issues going from page 1, to 3, and back to 1 - only specifically 3->1->3. Now, everything was working fine before I implemented the ViewPager. Still, I thought maybe I'd screwed something up in the 3rd Fragment and spent all day yesterday combing through the code. But just now, on a whim, I thought to see what happens if I swap Fragment positions in the pager. So I swapped Fragments 2 & 3, and now the old Fragment 3 works fine in the #2 pager slot and the old Fragment 2, which was fine before, is now exhibiting the same visual reset when moving to page 1 and back. My instinct is that it's an issue of the 3rd Fragment for some reason being destroyed and recreated, though I'm a little confused as to why since I'm using FragmentPagerAdapter (which it's my understanding should maintain all pages in memory) vs FragmentStatePagerAdapter (which recreates pages each time). I'm a little confused on how to proceed. My first thought was maybe make the Fragments in the pager singletons (a singleton class is how I'm storing persistent app data shared & utilized by all Fragments), but I read that singleton Fragments is a no-no. At the moment I'm wondering if maybe I should look into a savedInstanceState kinda thing - though I thought one of the perks of Fragments was that state was automagically maintained. Here's my adapter related code, in case anything jumps out as being wrong. Any guidance would be appreciated. From MainActivity: PagerAdapter class: [link] [comments] | ||
Where can I share my App Ideas? Posted: 01 Mar 2019 04:56 AM PST I posted my app idea of r/apps and r/AppIdeas but I haven't got any feedback. These 2 subs have very less activity. Where can i share my app ideas and get feedback? I don't want to spend months on an app that no one wants to use. Specifically I have an idea of making a "Things to do in your place" or "Places near you" app in an interesting way. Here is the link https://www.reddit.com/r/AppIdeas/comments/aw15q1/radar_an_interesting_way_to_explore_a_place/ Any place where I can reach out to the people who use this type of app and get their opinions? PS: Sorry, I know this is not suitable post for this sub but I was getting desperate. [link] [comments] | ||
Doesn't Dependency Injection break Encapsulation? Posted: 01 Mar 2019 10:41 AM PST I've been doing OO programming for a long time, but have never used DI. I can see advantages for testing and other things, but it appears to break a fundamental OO principle: Encapsulation. The implementation of a method shouldn't be visible to a caller. Say I've got a method getUserProfile(). A caller can use this to get the profile. The caller shouldn't know how this is implemented: options might include a request to a remote server or the read of a local database or cache. If I've understood DI correctly, the caller has to provide any dependencies that this method has. Say, for example, a remote service wrapper so that the method can retrieve the profile. But now the caller knows that the method is (currently) implemented using a remote server. That sounds bad. And it gets worse. What if the method needs several dependencies? And the caller calls several methods? Now there quite a few dependencies the caller needs to know about. And if the caller is itself called from elsewhere (the "super-caller") then the super-caller has to pass all these dependencies to the caller, for it to pass to the methods. The super-caller doesn't even want to know that the caller uses getProfile(), but it's even worse because it needs to know the dependencies of getProfile() as well. And when I change the implementation of getProfile() I have to change whole chains of callers for things they don't even want to know. I must be missing something here. Perhaps DI frameworks take care of this somehow. Because if this really is the case I think I'd rather have encapsulation and singletons or something than expose all this implementation up the calling chain. Can someone set me straight! [link] [comments] | ||
How do I get back in sync in Android development within 5 days? Posted: 01 Mar 2019 04:07 AM PST I partially left Android development about a year ago to focus on Flutter. Now, I have technical interview on Android in about a week and my knowledge is already getting rusty. Please, what's the easiest way to catch up? [link] [comments] | ||
Which is better for a Google Maps API app: Android Studio, Unity, Redux…? Posted: 01 Mar 2019 06:30 AM PST I have no idea of apps paradigm, so I need some help. For my "final degree project" I'm going to create an app that uses Google Maps, Directions,Geolocation and Distances. The main idea is that the user creates a route using markers and then the app checks user's location to check if the user stray from the route. And I'm wondering which option is better/easier to develop it. - My first idea was using Android Studio because of the oficial doc. - A teacher recommended me Unity because it's popular but I'm not sure how it interacts with Google Maps API (if I remember correctly there's no oficial support) - Redux/Redux Native (I don't know the real differece between them tbh): I've found some examples of Maps in Javascript and it looks like the code is much easier than Java one. (Multi-platform is not required, just a cool addition) Any idea is welcomed ^^ [link] [comments] | ||
Firebase Recycler View inside a tabbed activity Posted: 01 Mar 2019 04:52 AM PST I have been developing an instagram like app where I have been struggling with this one problem for three days now. I have a users account page which is a tabbed activity where there are three tabs. The first one shows general info about the user from Firebase, which works fine. The second tab should show all the users posts from Firebase also in a Recycler View but instead it is just a blank white screen. I have a "home page" where every post is shown and that works fine, but that is an activity and not a fragment, which is it inside the tabbed activity. I think there is something wrong with my code since I am not so familiar with fragments. I was wondering if some of you have some knowledge about this specific subject and willing to help me out a little. I would be so greatful if so. The code is relatively big so I decided not to copy it here, but if some of you are able to help I will gladly show any code needed. I use java. Thank you in advance. :) [link] [comments] | ||
What does your team call your models that are used only on your view layer? Posted: 28 Feb 2019 06:02 PM PST With ViewModel being an architecture component and somewhat of an overloaded term as of late, I'm having issues with my team on what to call data in my view layer. I use room for my persistence layer, so I call my db objects PersonEntity and UserEntity for example. In situations where I need a view that represents essentially my db entity plus some other properties (when working with checkable lists, I need isChecked for example ) I'm at a loss for what is a good name. My team came to the conclusion that PersonEntity should be used for our persistence layer and PersonEntityViewWrapper should be used to wrap our entity with additional properties for the checkable list example in our view layer. How does your team do this? [link] [comments] | ||
Posted: 01 Mar 2019 04:35 AM PST
|
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