• Breaking News

    [Android][timeline][#f39c12]

    Wednesday, May 29, 2019

    Easy tool for creating beautiful app screenshots for the Play Store Android Dev

    Easy tool for creating beautiful app screenshots for the Play Store Android Dev


    Easy tool for creating beautiful app screenshots for the Play Store

    Posted: 29 May 2019 09:43 AM PDT

    Easy tool for creating beautiful app screenshots for the Play Store

    Hello fellow developers. I'm sure that most of you have wasted hours or maybe days creating beautiful screenshots for your apps. I've decided to build a tool for creating these screenshots, with devices such as Google Pixel 3 and XL, Samsung Galaxy S9, Nexus 6P, and support for 7 & 10 inch tablets. It's completely free and comes with a couple of templates to use right from the start.

    You can check it out at https://app-mockup.com and let me know if you think there's any feature you'd want me to add.

    I've attached a couple of screenshots recreated from scratch with the tool.

    It's also available for iOS as well, including all device sizes.

    Airbnb

    Blink Travel

    Medium

    Netflix

    Slack

    Spotify

    submitted by /u/deaconudanandrei
    [link] [comments]

    I've been struggling to get a WebRTC Android Android application running. I've finally cracked it and wrote about it. Check out my latest blog to know how to build a video chat application using WebRTC on Android.

    Posted: 29 May 2019 03:17 PM PDT

    What's up with Material Components for Android?

    Posted: 28 May 2019 11:07 PM PDT

    Are material components dead? I am concerned about the state of the project because:

    So what's up with the material components? Can I use them in my apps? Are there any plans for the project support?

    submitted by /u/antonshilov
    [link] [comments]

    I'm seeing a lot of hype for Kotlin. What are things the Kotlin enthusiast don't want you to know?

    Posted: 29 May 2019 11:53 AM PDT

    There's been a lot of hype, I feel because it's a new language and people love new. What are some of the pitfalls of developing in Kotlin?

    I've been working with Java for 12 years and Android for the last eight. Aside from less coding, I don't see much advantages of switching to Kotlin.

    submitted by /u/KevoMojo
    [link] [comments]

    HAXM 7.5.1 for Windows

    Posted: 29 May 2019 08:21 AM PDT

    Activity/Service as a Dependency: Rethinking Android Architecture for the Uber Driver App

    Posted: 29 May 2019 02:06 PM PDT

    Emulator 29.0.11 Stable

    Posted: 29 May 2019 09:01 AM PDT

    A few quotes regarding Java and 'Kotlin First' from the latest Android Developers Backstage podcast.

    Posted: 29 May 2019 05:56 AM PDT

    http://androidbackstage.blogspot.com/2019/05/episode-113-io19.html

    3:06 Chet: "It's very important for us to say, 'Kotlin first', as opposed to, 'Kotlin only', right? So we're clearly still, not only supporting the other languages, but we're also still doing stuff there - there's still ongoing development in C++ support, as well as great stuff we're doing for the Java programming language stuff. so it's not like we're saying, 'don't do these other things', it's more like, Kotlin is awesome, you should really, probably try using it."

    3:33 Tor: "We're not even being prescriptive, We're saying that we're doing Kotlin first."

    6:59 Tor: "...basically, you want to use Kotlin. You do. You really want the [?]"

    7:06 Romain: "Listen to Tor."

    10:27 Tor: "I think it was at the Android Developer's Summit, people were asking about Google, and, 'Are we using Kotlin in production?', and now we are. That was a few months back, where it sort of got unblocked internally, and now there's several of our large apps that are using Kotlin in production."

    50:00 Chet: "Remember that whole Kotlin first thing?"

    Tor: "Written proudly in Kotlin."

    Romain: "Written proudly in Kotlin."

    52:00 Chet: "So the state of this - this is not even in alpha, right, this is basically available in source."

    52:30 Chet: "But we were interesting in getting this out early for a couple of reasons [...] One is Kotlin first, right, for the people who aren't in Kotlin yet."

    submitted by /u/esotericnumeric
    [link] [comments]

    How to get Code Coverage of monkey testing?

    Posted: 29 May 2019 12:43 PM PDT

    With an apk, I want to check how much code (code coverage) was accessed during monkey test. What I want to achieve goes like this..I download any random apk on Fdroid/Playstore...install it on android device and the run monkey test using this command adb -e shell monkey --ignore-crashes -p com.test.myapp 5000. How can I view the amount (code coverage) of code on an application that was accessed with monkey test?

    submitted by /u/codexblaze
    [link] [comments]

    New Google Play Policies

    Posted: 29 May 2019 11:24 AM PDT

    There's new stuff for Google Play: https://android-developers.googleblog.com/2019/05/building-safer-google-play-for-kids.html

    I wonder if I make all of my apps only 18+ will it affect them in any way? Will they have the same visibility on Google Play? I think about this because if I make them suitable for children I'll have to control which ads are shown. I'm using AdMob but if I make my app showing only ads for children this will reduce my earnings.

    submitted by /u/yo_asakura
    [link] [comments]

    When does it make sense, if ever, to make livedata of a (Model) class?

    Posted: 29 May 2019 12:12 PM PDT

    From my understanding, the point of a ViewModel is to abstract the UI away from the underlying logic and data model. The idea is that your UI should be testable seperate from the data being passed to it.

    However on Android's, Guide to App Architecture page they specifically create a LiveData<User> object in the User ViewModel class. They then observe that object in the View.

    To me this seems absolutely wrong as by observing the livedata in the View you're now observing the Model which means that your view is now dependent on the model class not changing. If they rename a field name in the User class well now the observing body in the view class needs to change as well.

    So to me, it seems like this should be frowned upon and instead there should be multiple livedata objects to make up the contents your view is needing to observe. This is obviously more work though and often results in needing to create "2 way bindings" in scenarios where you're both taking input and loading from already created data.

    So I'm just looking for other's thoughts on this. It's confusing because they don't really have good thoughts on this over at stackoverflow because that site is more for robots than for humans and I'm not sure where else to turn.

    submitted by /u/misterbee180
    [link] [comments]

    I’m an iOS developer and I want to learn Android development to complete my multi-platform app. So what should I learn? Kotlin or Java? I mean what the future of Android development will be? Kotlin or Java?

    Posted: 29 May 2019 06:26 AM PDT

    Muzzik - Find and listen to any song, anytime, anywhere!

    Posted: 29 May 2019 02:26 PM PDT

    The App / Site are 100% free, and have zero ads.

    Website | Google Play | Screenshots | Source Code

    Hi r/androiddev

    Get millions of songs instantly, top charts, trending songs by all country...

    Material Design
    The user interface matches every single detail of the material design guidelines to ensure Muzzik is an eye candy for you.

    Easy to Use
    No complicated or overblown menus but a familiar and clean interface.

    Last.fm Integration
    Muzzik automatically downloads additional information about your artists such as their images or biographies. When you install the official Last.fm app, scrobbling will work right out of the box too.

    Dynamic Colors
    The UI colors change dynamically to match the main contents base color.

    Customizability
    There is an inbuilt theme engine with many different colors to choose from.

    Tag Editor
    The tag editor allows you to easily edit the tags of your music files such as title, artist, album name (...) for single songs or whole albums. You can even either let Muzzik automatically download missing album covers for you (powered by Last.fm) or choose one from your internal storage.

    And OF COURSE
    - Muzzik has all standard features such as:
    - Create and edit playlists
    - Homescreen widget
    - Lockscreen playback controls
    - "Go-To Actions" such as jump from a song or an album right to its artist

    submitted by /u/abutun
    [link] [comments]

    Android scroll position restoring done right

    Posted: 29 May 2019 01:41 AM PDT

    Sharing data between two Recycler views

    Posted: 29 May 2019 02:07 PM PDT

    Hello everyone, i just want to ask if anyone knows an eficient way to pass data from one Recycler view to another, i have two on the same activity one on the upper part of the screen and another one below and i need to make the item clicked on the upper one move to the lower one being removed from the upper data list

    submitted by /u/Jackatarippa
    [link] [comments]

    Got a Play Store policy update email - What defines whether your app targets children?

    Posted: 29 May 2019 10:13 AM PDT

    Got a Play Store policy update email - What defines whether your app targets children?

    Got a policy update email, they are limiting the ad networks you can use if your app targets children but I have no idea how to know if my app targets children? My app is rated for all ages but it is not part of the designed for family category.

    This is the new policy:

    https://play.google.com/about/monetization-ads/ad-network/

    Edit: just to be clear, my app does have ads.

    Edit: Looks like there is a new section to select the age groups your target. I got a second email saying I had to update stuff.

    submitted by /u/mntgoat
    [link] [comments]

    Cannot Resolve Symbol

    Posted: 29 May 2019 01:48 PM PDT

    For some reason I am getting an error when setting my id here. It says Cannot Resolve Symbol'@id/crime_date2':

    <TextView android:id="@id/crime\_title2" android:layout\_width="match\_parent" android:layout\_height="wrap\_content" android:text="Crime Title"/> 

    Can anyone tell me how I fix this? Is this supposed to be linked to somewhere else in the code? I know this is a bit trivial. I am still trying to learn how to set up these layouts. Thanks!

    submitted by /u/Lest4r
    [link] [comments]

    Any downsides to just syncing the current branch?

    Posted: 29 May 2019 01:11 PM PDT

    I will try and build AOSP during the coming days for a bunch of Sony devices and was wondering if it's okay to just sync the most current one (android-9.0.0_r37) or might there by any issues down the road? And if so, is there any way of purging all the older ones?

    I've followed https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions/build-aosp-android-p-9-0-0 but I can tell that it's getting a lot of bloat.

    The idea is to purge/update current branch with the latest each month and work from there with any commits of my own.

    submitted by /u/maidforhire
    [link] [comments]

    Suggestions needed on grid view

    Posted: 29 May 2019 05:59 AM PDT

    Well I'm not an expert in Java Android but I've build an app with 23K users right now. There is still an issue I can't resolve is the overall performance...

    I've a grid view which I fill with an array which contain all the necessary data for the grid view to show the right things.

    My problem is it takes a lot of time to create that array (many web extract from an API, then sqlite access on the mobile...) To finally end up with an array of at least 500 lines and maybe a dozen values per line...

    How can I segment this array so the grid view gets fresh data when the user scroll the page? And the extract process to create the array gets faster ?

    Any help would be much appreciated

    submitted by /u/ZeWorst
    [link] [comments]

    Huawei developer registration

    Posted: 29 May 2019 01:19 AM PDT

    I was trying to register as a Huawei developer and noticed the verification process require I scan pictures of my ID/driving license.. ok that's for verifying my identity, I get it. Then they also REQUIRE that I scan my 'bank card' , those ATM card linked to my bank (which also contains my debit card numbers). That's when I put a stop/halt to the process and so I am no longer being able to verify my identity for Huawei's developer application process. I mean, what the hell man, expecting me to provide scans of my ATM/Bank card? Would you allow this? This is quite a massive privacy breach/request on their part.

    submitted by /u/tonefart
    [link] [comments]

    Should interactors and useCase be singleton in MVVM?

    Posted: 29 May 2019 10:58 AM PDT

    Hello, I am refactoring a bit our MVVM Android project. I found that people are moving from few Repositories ( which are singletons are handle network requests, operators chaining) to more modular architecture: more useCases, interactors. I also want to use them in project, however I did not found correct approach to more complex solutions.

    Suppose our project has 3-4 network requests which gets fired from multiple viewModels and I need to observe these Observables somewhere. Previously I stored them in Repository and created all that chaining there. Now I would like to store them in useCases, is that correct? How should I chain multiple network requests inside of multiple useCases?

    Should I have a global use case which should be injected into every VM?

    I hope my message was clear! Thanks! Sadly I can't find any valid MVVM examples for complex real life projects from Google..

    submitted by /u/wellbranding
    [link] [comments]

    How to support 32-bit and 64-bit libraries in separate APKs

    Posted: 28 May 2019 11:40 PM PDT

    A question asked by one of those "code test/screening" platforms...

    Posted: 29 May 2019 03:02 AM PDT

    The Model as the Form: Single Source of Truth bindings for Editable Text Fields in Android

    Posted: 29 May 2019 08:16 AM PDT

    Which files do you upload to github?

    Posted: 29 May 2019 02:43 AM PDT

    Hello, which files shoud I upload to github so I can clone my project on another PC? Right now im only pushing all files from 'app' directory (firebase json file not included).

    Also which files should I put into .gitignore?

    submitted by /u/theEmoPenguin
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel