Weekly "anything goes" thread! Android Dev |
- Weekly "anything goes" thread!
- A couple of weeks ago I posted a preview of my custom bottom app bar library. Well, now I made some progress and also added a customizable drawer
- I've made my Android basics book free until Sunday
- Bazel now supports desugaring Java 8's streams, java.time, optionals and others
- Is Google price gouging developers?
- How is it that an android app with over 2.3M DAU and over 1.5M downloads a month is only making 70$ ad revenue daily on an average?
- Emulator 28.0.2 Canary
- Survey on App Developers Experiences with In-App Advertising ($20 reward!)
- ProGuard and R8
- Anyone know what this is? It exists on two out of two Android devices I have in the Internal Storage
- What do you use to select UI elements in espresso?
- Best approach for making offline first app
- Making sure a fragment opens on notification click... is this the correct way to do it?
- What's a good practice for handling states when you have a large data to keep?
- Integrating Firebase with Google Cloud VM
- What’s your text’s appearance? Understanding how to declaratively style text on Android.
- Opinions on using services for network layer (or data)?
- Introducing Scarlet, Tinder's WebSocket library written in Kotlin
- Writing UI tests with Dagger Android and MockWebServer - My First Article! What do you think?
- LiveData vs RxJava 2
- How is one supposed to develop for different API levels?
- I need new account google play developer!
- Hiring a Senior Android Engineer at Brave Software (startup from the inventor of JavaScript, and founder of Mozilla & Firefox)
- How to Setup Fabric api on Jenkins build
- Has app development already reached the point that it's possible to create BASIC apps with no previous development experience?
Weekly "anything goes" thread! Posted: 03 Aug 2018 05:41 AM PDT 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: 03 Aug 2018 08:08 AM PDT
| ||
I've made my Android basics book free until Sunday Posted: 03 Aug 2018 03:09 AM PDT Hey there. A year and a half ago I wrote this 200-page book meant for beginners in Android development. I won't lie, it's super-basic and probably not of much use to most people in this subreddit but maybe newcomers will somehow benefit from it. It covers the very basic stuff like XML (basic views, viewgroups), Activities, Intents, Services and Broadcast Receivers and it doesn't go in too much depth. Essentially, I wrote the book I'd like to have if I was just starting out with Android dev. Amazon allows some free promo days, so I thought why not and made it free for five days (it's the maximum permitted). And then I thought 'hey, maybe some people on r/androiddev would like to at least take a look" so HERE IT IS. [link] [comments] | ||
Bazel now supports desugaring Java 8's streams, java.time, optionals and others Posted: 03 Aug 2018 10:56 AM PDT
| ||
Is Google price gouging developers? Posted: 03 Aug 2018 08:09 AM PDT Epic Games is bypassing the Play Store because: "30 percent is disproportionate to the cost of the services these stores perform, such as payment processing, download bandwidth, and customer service," he says. Sweeney adds that Epic is "intimately familiar with these costs" from its direct distribution of Fortnite on Mac and PC." [link] [comments] | ||
Posted: 02 Aug 2018 09:41 PM PDT
| ||
Posted: 03 Aug 2018 08:54 AM PDT | ||
Survey on App Developers Experiences with In-App Advertising ($20 reward!) Posted: 03 Aug 2018 03:26 PM PDT Hello! I am a researcher at University of Michigan conducting a study on how mobile app developers integrate advertising in their apps, to better understand the processes and challenges developers face when integrating mobile ads into their apps. If you have worked with in-app advertisements in your apps, and are interested in forming part of the study, we invite you to participate in a 10-15 minute survey, found at the following link: https://umich.qualtrics.com/jfe/form/SV_8BWsqHywzp6337f In appreciation of your time, you will be entered into a drawing for eight $20 Amazon Giftcards. Additionally, there is the option to participate in phone interviews on this topic. If you are interested in participating in these interviews, please fill out the survey first. Developers who participate in the phone interviews will receive a $15 Amazon Giftcard as compensation. For both the survey and the interview, you must be 18 years or older to participate, and have experience integrating advertisements into mobile apps. Thank you for your time! PS Feel free to share this survey with fellow developers who would be interested in participating! [link] [comments] | ||
Posted: 03 Aug 2018 05:24 AM PDT
| ||
Anyone know what this is? It exists on two out of two Android devices I have in the Internal Storage Posted: 03 Aug 2018 01:39 PM PDT
| ||
What do you use to select UI elements in espresso? Posted: 03 Aug 2018 07:23 AM PDT I've had an ongoing disagreement with our AQA dev on how he should select UI elements and am hoping to get some other input. Pretty much every tutorial uses an element's id as the selector, using Another option is to use the Other options include content description (but that is used for accessibility), text (changes based on data and language), and xpath (just no). Anyone out there have experience with this? Maybe my google-fu is weak, but I didn't see articles discussing this particular topic. [link] [comments] | ||
Best approach for making offline first app Posted: 03 Aug 2018 11:04 AM PDT (No Kotlin please. I haven't learned it yet.) I can make a simple app, retrieving data from Web api. But I want to learn more. I wanted to know about how to save data in app, so that the app can be used even in offline mode. And when there is internet connection, it could load data from web api, if there are any changes. What would be the best approach for doing so? Is it possible to make using minimum libraries; like w/o Dagger 2, RxJava? Any simple explanation for the architecture to develop so? Blogs or tuts regarding this would be really helpful if anyone knows. [link] [comments] | ||
Making sure a fragment opens on notification click... is this the correct way to do it? Posted: 03 Aug 2018 12:48 PM PDT So I have a notification that creates an intent with the FLAG_ACTIVITY_SINGLE_TOP flag on click to open the main activity. In the main activity's onNewIntent() method I have it launch the fragment. Some of my users were telling me that it stops on the main activity rather than opening the fragment. From reading online about the backstack, it seems like it sometimes launches through the onCreate() rather than onNewIntent(). I'm not 100% sure if this is the reason as I can't reproduce the error - no matter what activity or fragment I have on top of the stack it seems to be working on my phone. I'm thinking it may be caused when the app is in the background for too long? My solution is to bundle the intent with a string, and create an instance of an Intent in both onCreate() and onResume(). Then if the bundle is not null I'll launch the fragment. Does this make sense as a possible fix? [link] [comments] | ||
What's a good practice for handling states when you have a large data to keep? Posted: 03 Aug 2018 10:29 AM PDT Hello folks. I'm currently developing and app that has one feature where you can draw some sketches - nothing fancy, no layers, no blending modes, just 5 colors, 4 circular brush sizes and you can erase content (using PotterDuff.CLEAR xfer mode). The way I implemented it is that I created a custom View. Inside the view I create a Bitmap frame buffer of a specified size and a canvas to draw on that buffer. When the user touches the screen it draws on the buffer with the current settings and then the onDraw method draws this buffer on the main canvas you receive on that method. So far this has worked well, but upon device rotation I lose my drawing. This was to be expected and since Bitmap is a Parcelable I just used the View state saving mechanism to save and restore the frame buffer. That's when my issue started because this frame buffer is currently larger than the allowed size for a parcelable so when I try to save it it raises an exception. What's the recommended way to handle this? Should I store the bitmap on a file and open it after rotation? Or is there a method I'm not aware of to handle this? Thanks for your help. [link] [comments] | ||
Integrating Firebase with Google Cloud VM Posted: 03 Aug 2018 03:14 PM PDT Hi, I have a website hosted on Firebase and I have written cloud functions that make HTTP Requests. I want another web server datastore to allow access from this firebase website, with the firebase website static ip address specifically whitelisted for access. I understand that my website on the Google Cloud does not have a static IP, but according to the documentation it is possible to assign one. So heres what I'm planning on doing: 1) Create a VM Instance with Google Compute 2) Reserve Static Address through Google Cloud and assign to Instance 3) Assign domain of website hosted with Firebase to Instance 4) Call Cloud Functions to hit Web Server with Static Address whitelisted Am I missing anything here? I'm a little confused with the sheer number of Google Cloud Products and how they integrate. I just wanted some feedback on whether what I'm planning to do makes sense. Any suggestions would be greatly appreciated. Thanks [link] [comments] | ||
What’s your text’s appearance? Understanding how to declaratively style text on Android. Posted: 03 Aug 2018 10:48 AM PDT | ||
Opinions on using services for network layer (or data)? Posted: 03 Aug 2018 10:13 AM PDT My initial thought is that no, services are not really needed for networking with the possible exception of file uploading. My typical approach would be to create a singleton NetworkManager class and use that in my data layer. I ask because I inherited a project which IMO is a little heavy on the service usage such as having a service for refreshing an authentication token and I want to better understand whether a service is really appropriate (I'd say it's not exactly inappropriate but perhaps unnecessary.) So what do you all think? Do you use services for your networking or a singleton? Or some other approach? Links to any good articles on the topic would also be appreciated. [link] [comments] | ||
Introducing Scarlet, Tinder's WebSocket library written in Kotlin Posted: 03 Aug 2018 05:12 AM PDT
| ||
Writing UI tests with Dagger Android and MockWebServer - My First Article! What do you think? Posted: 03 Aug 2018 11:47 AM PDT
| ||
Posted: 02 Aug 2018 09:52 PM PDT Hello, I have spend a lot of time learning and implementing Livedata (especially MediatorLivedata) in business logic, because it helps to add data from various sources. However, it still lacks powerful RxJava2 implementation. It seems that RxJava is used primarily in Business logic, but in fact I saw a lot of companies using RxJava with UI with additional features/libraries. This actually makes LiveData irrelevant in presentation logic.. So I would like to know if LiveData is somehow better/cleaner in presentation logic(using it in ViewModel) vs RxJava. What would you suggest looking in future? :) [link] [comments] | ||
How is one supposed to develop for different API levels? Posted: 03 Aug 2018 07:22 AM PDT I'm confused how I'm supposed to develop an app that will work for different API levels efficiently. Partly the confusion comes from the fact that I don't see this really talked about which makes me think there's some method I'm unaware of in how to approach this problem. Let me give an example or two: Anyways, basically what I'm asking is, is it normal to set the targetsdkversion high, develop for that, and then to reduce API level lower and fix all the errors that come up (by finding replacements for the objects and methods that aren't available)? Is there no better method? edit: Or have I just misunderstood it all and it will work to develop just for the targetsdk (say 26), but the underlying code will still run for all API levels above the minsdk (meaning I do not have to step through (by changing the targetsdk) the different API levels >=minsdk and check that it always works)? [link] [comments] | ||
I need new account google play developer! Posted: 03 Aug 2018 12:18 PM PDT My account suspended without any reason and now im looking for anyone who want to sell account or create a new one for me. Thank you [link] [comments] | ||
Posted: 03 Aug 2018 10:06 AM PDT
| ||
How to Setup Fabric api on Jenkins build Posted: 03 Aug 2018 05:40 AM PDT Hi yall, I don't know if anyone has been in a situation where they had to Setup fabric integration Add properties for Fabric api on jenkins build. I'm just looking for Tutorials or reading resources. Any help would be great thanks [link] [comments] | ||
Posted: 03 Aug 2018 05:39 AM PDT Hi, Where I'm coming from: I am a full-time UX designer and I love working on side projects with others. I would enjoy creating user-centered, apps that help communities, people or solve real problems. However: Working on technical side projects with developers seems almost impossible, because many young devs with free time that I met on reddit seem to not value designers without useful development skills. Especially thanks to things like Material Design, that makes stuff look great, this situation seems to get worse and devs decide they don't need to collaborate. The Question: With better tutorials, frameworks and libraries I wonder if "basic" development has become easier? I guess that's what new developments like Flutter with it's widgets for example is for. Many apps have identical functionality - so I'd imagine that some can be made by adjusting tutorials, making use of starter-packs and using templates. I don't want to become a full blown developer, but for example I'm interested to try to create small things and be able to do some technical things that would make it easier to find some online collaboration partners. So, is it already possible to create simple apps (really an MVP) by following guides, tutorials, adjusting open source code and so on - or is anything other than a calculator, tick-tact-toe or a Hello-World not feasible and requires serious development commitment? Thanks Edit: Please also comment if you downvote. [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