Android Dev - Weekly Who's Hiring Thread - March 29, 2021 |
- Weekly Who's Hiring Thread - March 29, 2021
- It's Holi today! A festival of colors and I made a small library using Jetpack compose with over 450 colors and easy gradient builder functions. Do check out! Happy Holi!
- Is it possible to have our own backend server to verify whether a user is a paid user, if the user previously purchased using Google in-app billing API?
- Byte Buddy on Android made possible
- Non-Empty Lists in Kotlin - QuickBird Studios Blog
- How is your experience with Compose on Android Studio Canary?
- Google Play Review Process and Continuous Delivery
- Play store location permission update extension
- How are some apps on google play able to remove uninstall button?
- Spotify Implementation within Android App
- Where can I find the source code or a full documentation of commands like cmd or settings?
- How can I get form data from a header in Android WebView?
- Extract partition from phone, n can't mount the .img file as loop device?
- What are the best ways to disable specific UI features depending on who is seeing them?
- Is it too complicated at the beginning?
- Problem with fireStore to convert an array of mappable to Obejcts
| Weekly Who's Hiring Thread - March 29, 2021 Posted: 29 Mar 2021 06:00 AM PDT Looking for Android developers? Heard about a cool job posting? Let people know! Here is a suggested posting template:
Feel free to include any other information about the job. [link] [comments] | ||
| Posted: 29 Mar 2021 03:30 AM PDT
| ||
| Posted: 28 Mar 2021 09:38 PM PDT May I know, currently, is using Google in-app billing library, is the only way to verify whether an user is a subscribed user/ in-app item purchased user? Is it allowable/ technical viable, to perform such verification every time during app launch, via our own backend server? (Just in case Google in-app billing server doesn't work as expected) As, sometimes, I will get emails from users, that the app is not able to tell him that he is a paid user, even though he had ensured he is login into correct Google account. If that happens, I need to provide full refund to user. Hence, I was thinking, having my own backend server, to verify whether an user is a paid user, will be a good fall-back solution, in case Google in-app billing server doesn't work as expected. But, is it ever possible to do so, technically & legally? Thanks. [link] [comments] | ||
| Byte Buddy on Android made possible Posted: 29 Mar 2021 01:34 AM PDT If you've ever used libraries like https://github.com/JakeWharton/hugo or https://hibernate.org/ (if you've ever done some backend development) and wondered how do they seem to add some code/logic into your app just by adding some annotation to some method, or if you ever wondered how mocking frameworks like Mockito can change a class behavior for example, then most likely you're interested in a programming technique that allows to modify existing code, usually known as Aspect oriented programming (also known in Java as Bytecode instrumentation) which, even though it might sound intimidating at first, some really cool tools such as Byte Buddy or AspectJ make it quite easy to accomplish. This technique comes in handy in many situations where some boilerplate code is involved (maybe not ALL types of situations, as with any tool, it's not good to overuse it) but in general it can save devs from writing a lot of boilerplate by just somehow telling a bytecode transforming tool where to add such code (usually through the use of annotations). Hilt, for example, transforms the bytecode of Android entry points such as Activities in order to add the Dagger boilerplate that takes care of doing the actual injection call, and I think it's safe to say that based on the popularity that Hilt has earned since it was released, it means that many devs do appreciate not having to write all of this code and just use some tool to do it for them (I'm one of those devs). Based on the above, some Android devs might be interested in writing their own bytecode transformations in order to automate some code writing that they'd need in several places across their project (where maybe reusing code wouldn't be as simple as calling some static function somewhere) and, being that the case, they'd turn to some of the tools that can make this possible in Java, such as Byte Buddy or AspectJ, though unfortunately they'd eventually realize that those tools don't work in Android by default due to the way Android works with its custom runtime environment... That's what happened to me when I tried to write some bytecode transformations using Byte Buddy. I noticed that they wouldn't work for Android right away, and instead, some sort of adapter is needed in order to make the connection between these bytecode transforming tools and the Android compilation so that said transformations happen at compile time. Sadly for me, such compilation adapter didn't exist for Byte Buddy and Android, which is why I took the time to create one: Android Buddy. Android Buddy works as a bridge between Android's compilation and Byte Buddy's transformations by using the official Android Build Transform API which allows processing an Android project's code during compilation, hence allowing to apply bytecode transformations to any Android project at compile time. If it sounds interesting to you please have a look at it :) any feedback is greatly appreciated! Thanks for reading! [link] [comments] | ||
| Non-Empty Lists in Kotlin - QuickBird Studios Blog Posted: 29 Mar 2021 07:51 AM PDT
| ||
| How is your experience with Compose on Android Studio Canary? Posted: 29 Mar 2021 05:30 AM PDT I'm using the latest AS Canary to try out Compose. Is it me or the experience using AS Canary is not very good? Autocompletion and popup hints are laggy. The Compose Preview works intermittently. It said I need the @Preview annotation even though it's there. If I make any small changes (eg. adding padding) to the composables, I need to build and run the app on a device just to see the changes. All of this is making the workflow even slower than using the traditional XML to build the UI. With that said, Compose is pretty neat. Looking forward to the stable version. [link] [comments] | ||
| Google Play Review Process and Continuous Delivery Posted: 29 Mar 2021 06:59 AM PDT I know the review process is variable and pretty much a black box to all of us. I'm wondering what kind of experience you all have had with pushing updates to your app when it's already in review? Here's my specific situation:
Thursday -> Monday feels like a longer wait than normal (which is usually ~2 days), which has me thinking maybe the updates caused the review to bump it to the back of the queue.
[link] [comments] | ||
| Play store location permission update extension Posted: 29 Mar 2021 06:22 AM PDT The app I am working on are basically uber for tow-truck drivers, so we use and have been using device location in the background for 5 years with no problems but now we need to request this permission through Google play, after 3 submissions and the same non-applicable template email today is the last day for submissions - I am trying to contact them to ask for an extension but cant get through because yet again "All specialists are busy". I was wondering if there was anyone else with this problem, did Google mention an extension to existing devs that they didn't announce publicly yet? Is trying to chat with them the best way to contact them? [link] [comments] | ||
| How are some apps on google play able to remove uninstall button? Posted: 29 Mar 2021 02:45 AM PDT So I installed this "Dual Space pro: Parallel Space Multiple Accounts (Early Access)" on my Samsung device and it started showing ads everywhere. Uninstall button in phone settings does not work and in google play store it says "Deactivate" instead of uninstall. Clicking deactivate says "this app is a device administrator and must be deactivated before uninstalling" and does nothing. [link] [comments] | ||
| Spotify Implementation within Android App Posted: 29 Mar 2021 01:52 AM PDT Hello, would anyone know how to geta spotify access token within an android app? have been trying to follow the authentication flow that is in their web api documentation but cannot seem to get a grip on it. Ijust need an access token to get playlist and song information to fill my database. This is a personal project and will not be published nor will it go past the development phase. I got as far as getting the spotify sdk working in my app but am having difficulty implementing the code for authentication to get an access token. Thanks in advance, any information will be appreciated. [link] [comments] | ||
| Where can I find the source code or a full documentation of commands like cmd or settings? Posted: 29 Mar 2021 07:22 AM PDT | ||
| How can I get form data from a header in Android WebView? Posted: 29 Mar 2021 07:09 AM PDT Hi, I have to use Android Webview in my project. Inside of the Webview I have to use a form. After the user fills and sends the form, Form redirects to 2 or 3 different links and in the final, it returns to one link with the result. Result comes from Form Data. I have to read form data and check the result. With javascript injection, I can reach the response header(content-type, content-length etc.) but I could not read the Form Data from Header. How can I get the Header Form Data from a Webview? Thank you. [link] [comments] | ||
| Extract partition from phone, n can't mount the .img file as loop device? Posted: 29 Mar 2021 12:35 AM PDT Hi,I followed this guide and tried to mount the .img as a loop devices bu i didn't work.
but can't mount the device because I can't calculate the offset value, without the boot start value?? Best regards [link] [comments] | ||
| What are the best ways to disable specific UI features depending on who is seeing them? Posted: 28 Mar 2021 12:35 PM PDT For example, if users can send friend requests to another user, what Is the best way to remove or hide the request button if that person is already a friend or if they already have a friend request? And I don't mean to logic of it, I am already checking if the friend request exists or if the users are already friends, and if they are not, then show the button (button is gone by default). The issue with this is that those checks take a little bit of time, so at first the user does not see the button and then it appears while you are looking at it, which would be weird to most people. So what is a good way to do this? I have thought about using different views, so if the users are friends just display the same view but without the button and have another view that does have the button. And with this approach I would need to wait until the checks from the database are done before displaying the views, but I'm not sure if this is the best way to do this. Or should the button be "grayed out" and unclickable if I don't want the user to click It? Any thoughts or tips would be amazing. Another example would be only letting a user interact with the "delete" button of a post only if they created the post. [link] [comments] | ||
| Is it too complicated at the beginning? Posted: 28 Mar 2021 04:11 PM PDT Hello, I'd really like to learn android development. I took a few courses, but when it comes develop something things getting complicated, it is difficult to find the solution for a task, and even I found the solution I fell like what I wrote is the worst solution. I am currently front-end. It was hard to deal with React etc. at first but not as much as android. Also, I got used to develop React but even more or less I spent equal time to learn android I feel like I haven't learned anything. Do you think it is hard to learn or compared to frontend stuff is it far harder. How did you manage to develop something? How do you feel comfortable? Thanks [link] [comments] | ||
| Problem with fireStore to convert an array of mappable to Obejcts Posted: 28 Mar 2021 11:46 AM PDT
|
| 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