• Breaking News

    [Android][timeline][#f39c12]

    Wednesday, February 6, 2019

    Google won’t reduce its 30% cut on Google Play app sales: CEO Android Dev

    Google won’t reduce its 30% cut on Google Play app sales: CEO Android Dev


    Google won’t reduce its 30% cut on Google Play app sales: CEO

    Posted: 06 Feb 2019 08:50 AM PST

    Android Studio 3.3.1 released

    Posted: 06 Feb 2019 02:01 PM PST

    Room �� Coroutines

    Posted: 06 Feb 2019 10:13 AM PST

    An error-prone checker which requires that classes be final, abstract or annotated with @ Open

    Posted: 06 Feb 2019 09:07 AM PST

    WorkManager beta05 is now available

    Posted: 06 Feb 2019 10:26 AM PST

    I heard you like releases, so here is another one. We used an API 24 only method on API 23 thanks to a bug in Lint :(

    This is a quick-fix for that. Give this one a go.

    https://developer.android.com/jetpack/androidx/releases/work#1.0.0-beta05

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

    Room with Coroutines

    Posted: 06 Feb 2019 10:18 AM PST

    What things should I write JUnit tests for?

    Posted: 06 Feb 2019 10:50 AM PST

    Hey,

    I've started learning writing JUnit tests and hence I have nobody to talk about it with, I need your advice.

    From what I've read, all we should test is business logic of the app. Having that said, I have following application which:

    • Contains ViewPager displaying 2 fragments, each contains a list displayed in RecyclerView, but:
      • First recyclerview displays list just from ArrayList, only handles clicks, which open specified activity, in this case should I only:
        • 1. Test which activity would be opened
        • 2. Test to get adapter position of item clicked (?)
      • 3. Second RecyclerView displays data from database, handles clicks, on item swapped deletes item from database, this everything should be tested.
    • According to point no 1, in activity which was opened, user may:
      • 4. Set date and time from pickers - this should be tested(?), or just output values from pickers?
      • 5. After date and time is set, user clicks a save button which saves data into database. This should be tested
      • 6. This time and data is used to schedule an alarm using AlarmManager class, should it be tested or it is OS related logic so that it is untestable?

    From what I've described in points 1-6 did I correctly decided for which functions should I write tests or not? What else from those points should/not I test?

    Thanks for any suggestions.

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

    Devs with G+ communities, where are you moving to?

    Posted: 06 Feb 2019 08:10 AM PST

    Have 3 user communities, one of them is fairly large, I like to it from my app. Where do you suggest I move it? Personally I like that on G+ I get a notification as soon as there is a post and it is fairly easy to manage spam as well.

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

    What is this layout just above the keyboard called?

    Posted: 06 Feb 2019 06:14 AM PST

    Are all indie developers constantly at risk of having any and all personal google and gmail accounts banned permanently even if they used a separate google account for business purposes?

    Posted: 05 Feb 2019 07:02 PM PST

    Let's say you have two google accounts, one for personal use and one for business use. Your business account gets banned, and they also ban all associated google accounts (including your personal account). Would you still be able to use your personal gmail account that you used to create your personal google account?

    I understand that google doesn't want developers finding ways to avoid a ban by creating multiple accounts, but couldn't they just revoke your personal/other accounts abilities to upload applications instead of permanently banning them? Is the expectation really that you must use your personal google account to create a developer account?

    Would you also need to create a new email address as well in the event of a ban?

    Do indie developers just live in a constant state of anxiety wondering if google will randomly wipe all their accounts without any ability to find out specifically what they did? I keep reading horror story after horror story of accounts getting banned and developers not even being able to find out why.

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

    Lean Android Resources - The Essentials

    Posted: 06 Feb 2019 03:20 PM PST

    What is a realistic yearly output (productivity) as an app dev?

    Posted: 06 Feb 2019 08:18 AM PST

    And if you don't measure your output in "apps developed". What do YOU measure your output in? And what is a reasonable yearly goal to set yourself based on that personal measurement?

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

    Any recommended video tutorials for starting with Retrofit 2

    Posted: 06 Feb 2019 05:50 AM PST

    I know it's a slow way to learn, but I definitely benefit from having someone dictate things to me in a video. I'd like to learn Retrofit 2 for doing API calls, but there doesn't seem to be a wildly popular set of tutorials for doing so. Can anyone here recommend one they made use of?

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

    How do you handle Fused Location Provider not getting a location?

    Posted: 06 Feb 2019 02:37 PM PST

    I have a use case where a single fragment needs to access a user's location. When coming to this fragment, I request location updates. Sometimes, the device's location has become stale and the location callback is not called. Calling getLastLocation on the fused location client also returns a null location. Some flavors of my app do not require this location functionality, so it isn't something I want running in the background outside of this screen. Some users are reporting that they are unable to get location at that screen but if they open up google maps, it will work. Is there a way to force a location update if the callback isn't being called? How does opening google maps make it work?

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

    Android Developer Website is not reachable?

    Posted: 06 Feb 2019 01:15 AM PST

    Export strings.xml to Google sheets, translate them (or share them with your translators) and import them back

    Posted: 06 Feb 2019 01:52 PM PST

    Hello everyone! I've just published gslocalization on GitHub. It's a python tool that parses all the strings.xml files from your resfolder and uploads them to Google Sheets. If you translate your strings in the worksheets and run the script again, it will import them back into your original string files.

    I'd like to get some feedback from you, if you have the time.

    https://github.com/rhcpfan/gslocalization

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

    Examples of a GDPR implementation in apps?

    Posted: 06 Feb 2019 07:35 AM PST

    I'm looking for apps in the play store that have GDPR implementation, but haven't been able to find any.

    Does anyone have a good example? It's been almost a year now and I was hoping there are more answers now.

    submitted by /u/-Lawliet
    [link] [comments]

    API Design Case Studies: Intersection Types

    Posted: 06 Feb 2019 02:26 AM PST

    Biometric fragments don't clean up in all cases

    Posted: 05 Feb 2019 11:06 PM PST

    MotionLayout without magic interpolation to explicit states?

    Posted: 06 Feb 2019 09:30 AM PST

    I've seen the new MotionLayout and had an attempt at one of my own, one thing I've noticed is that the default implementation causes the animation to automatically interpolate to the final state, even if you stop mid-swipe and let go with zero momentum.

    Since I was hoping to replace my coordinatorlayouts and appbarlayouts with this stuff, I was hoping for a way to disable this automatic interpolation.

    When setting progress programmatically it works, so I could always wrap views around a coordinatorlayout but I'd prefer not to.

    So does anyone knows how to disable this magical interpolation to final states? It'd be appreciated.

    submitted by /u/-ZeroStatic-
    [link] [comments]

    Cannot Install HAXM

    Posted: 06 Feb 2019 03:16 PM PST

    I have been trying to install HAXM for about 2 hours now and I can't figure it out.
    When I try to install an emulator it says I need to enable hardware acceleration so I go to SDK Tools, check HAXM installer and press apply. I confirm the change and allocate the recommended 2.0 GB of RAM. Then it installs and says:
    "This computer does not support Intel Virtualization Technology (VT-x) or it is being exclusively used by Hyper-V. HAXM cannot be installed.
    Please ensure Hyper-V is disabled in Windows Features, or refer to the Intel HAXM documentation for more information."
    So I went into BIOS and enabled SVM which is the virtualization feature for my motherboard and it didn't do anything. Then I go into Windows Features and Hyper-V was already disabled so I have no idea why this is not working. I tried enabling and disabling Hyper-V with no luck. I also tried downloading the HAXM installer from Intel's website but I got the same error message. None of the help online seems to be working.
    Any help would be appreciated!

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

    Is there an online XML editor for android that I can use that is similar to Android Studio's Design Editor?

    Posted: 06 Feb 2019 03:06 PM PST

    I wanna try designing XML layouts but don't wanna have to melt my computer with Android Studio when I do.

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

    Is building an android app in react-native advisable for a startup size company?

    Posted: 06 Feb 2019 02:52 PM PST

    Hey, androiddev Reddit, I and my co-found wrote a medium article depicting our experience developing in react-native for the last year.
    Would love to hear your feedback about it or to aid anyone who's contemplating where to make the move.
    (Oh, and it also has a bunch of cheesy western references)

    https://medium.com/snipe-gg/should-you-use-react-native-to-build-your-startups-mobile-app-c0baf9f4d9ad

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

    Is it possible to implement an automatic charity payment without a business?

    Posted: 06 Feb 2019 10:08 AM PST

    I'm taking Software Engineering right now in college and we're making an Android app for our semester project. The app we want to make would contain, among other features, an alarm clock that donates a customizable amount of the users money to charity every time the user hits snooze using something like pandapay or givewell.

    There's three things I think are potential issues:

    • Firstly, ideally we would have the users bank account or PayPal directly transfer money to the charity when they click snooze. We would not have our own bank account and act as a middleman. The payments would have to be automatic without the user typing in a password or fingerprint to confirm, his consent would have to be given before hand, or in the form of a prompt like "Remember, each snooze is $1. Continue?"

    • Secondly, because we don't have a business I'm worried we won't get permission from banks or PayPal to access their user's account and make a transfer on their behalf.

    • Thirdly, if everything above ends up not being an issue, I'd think we'd need to consult a lawyer to make a terms of use that would keep us safe, which no college senior is going to pay for.

    Given all this, would making this app or something similar be possible?

    submitted by /u/Spidey-Veteran
    [link] [comments]

    How do i add the set wallpaper activity which has the movable and scalable image and the set wallpaper button on top, when i use setBitmap() in wallpaperManager it does not display that activity and directly scales and sets the wallpaper.

    Posted: 06 Feb 2019 02:23 AM PST

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel