• Breaking News

    [Android][timeline][#f39c12]

    Wednesday, October 24, 2018

    For those of you with Admob experience, do large banners pay more? Payout difference between banner/interstitial​/video? Android Dev

    For those of you with Admob experience, do large banners pay more? Payout difference between banner/interstitial​/video? Android Dev


    For those of you with Admob experience, do large banners pay more? Payout difference between banner/interstitial​/video?

    Posted: 24 Oct 2018 11:00 AM PDT

    We (Yelp) open-sourced a Kotlin Workshop

    Posted: 24 Oct 2018 10:32 AM PDT

    As we made the change from Java to Kotlin, we wanted to ensure all our Android engineers had an opportunity to be familiar with the language. Gesh decided to create and host this 1 day workshop at Yelp and thought it might be useful for others.

    Kotlin Course on Github

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

    WARNING: DO NOT USE GOOGLE ADMOB. EVER.

    Posted: 24 Oct 2018 02:35 PM PDT

    I'm an app developer with 12 apps on the play store. My main source of income has been amob for the last 4 years, I'm averaging $1900/month in ad revenue, which pays my bills and supports my family. Today, I got an email out of the blue saying my account was suspended because I've been "clicking my own ads" ... Which is funny because I've been on vacation in the wilderness for 2 weeks and couldn't click on my own ads if I wanted to. Not only that, but I've been with admob for more than 4 years and have had no policy violations until this point and I'm not stupid enough to do something that would jeopardize my sole source of income. As a result of my suspension, they are taking away my revenue for the past 30 days erasing my ad serving numbers.

    What's really neat is that when your account is suspended, you can't contact them at all, and the email even says not to contact them.

    Now I have to figure out how I am not going to go into foreclosure on my house next month. Fun times. Fuck Google, and their flawed "algorithms" that detect policy violations.

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

    Android Studio 3.4 Canary 2 available

    Posted: 24 Oct 2018 02:44 PM PDT

    Aptoide wins court battle against Google in landmark case

    Posted: 23 Oct 2018 11:17 PM PDT

    Code review.They did not like it :/

    Posted: 24 Oct 2018 11:51 AM PDT

    Hello guys,

    I got a task from one company.After I sent it they replied me back saying I have not used the shared code base correctly and the architecture was not strong enough.

    Link: https://github.com/herou/AndroidTask

    I would appreciate any feedback.

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

    Why software architecture really matters

    Posted: 24 Oct 2018 09:18 AM PDT

    Google stops caring about whether or not you decide to share data with them and does it anyway.

    Posted: 24 Oct 2018 01:39 PM PDT

    Fole, a simple library to collapse and expand a TextView.

    Posted: 24 Oct 2018 06:55 AM PDT

    How can I programmatically "react" to notifications from an app?

    Posted: 24 Oct 2018 09:58 AM PDT

    Hi,

    I use an app on my phone which sends push notifications when things happen. I would love to be able to kick off various computer scripts/programs based on these notifications e.g. send some texts via twilio.

    What is the best way to set things up so I can kick things off from received push notifications. Emulate the app on my computer? Considered push bullet which sends notifications to your computer but is there not anything else? I have not had much luck googling this.

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

    Deploy A Backend App As An Android Engineer — Iterate Faster With Ktor

    Posted: 24 Oct 2018 08:47 AM PDT

    Background location update doesn't work at all in most Chinese manufacturers. Is there any workaround?

    Posted: 24 Oct 2018 12:20 AM PDT

    I was experimenting with updating user location in background. Android Oreo limits the number of times your app receive location update in background but devices of Oppo, Vivo, Realme, OnePlus (these are only ones I've tested so far) doesn't allow background location updates at all. There is an option in settings to allow background operation in these devices but it is at different location in all these devices. Besides most users are not even aware of this setting. Is there any way we can either bypass it or send user directly to that setting screen based on the device?

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

    Navigation (not the library) and state holding is tormenting me

    Posted: 24 Oct 2018 01:49 PM PDT

    In our current app at work we're using single activity with fragments. We're using simple-stack for navigation and AAC ViewModels to keep state.

    The app is designed with lots of screens that work like flows.

    Imagine the action of sending money to a contact. We have a fragment that represents the flow SendMoneyFragment with its respective ViewModel. This fragment contains a progress bar and a container for its subscreens (nested fragments). This flow is composed by 3 steps (subscreens): InputAmount, ChooseContact, Success. For each step, we have a fragment. In the ViewModel we keep a state exposed through LiveData that says in which step we are on and then the flow fragment switches its subscreen.

    These subscreens don't have a ViewModel, they keep all their state in the parent scoped ViewModel, because it's there where the use case objects are actually called, it's there where we need all the grouped info.

    This is working fine for the use case I presented. We keep the state in the place we need it during the time we need it. If we leave the flow fragment, the state is lost, which is intented.

    Now suppose we need another flow to request money. This flow is pretty much similar to the other one but lets add one more step in between. So it actually goes: InputAmount, ChooseContact, WriteNote, Success. We create a RequestMoneyFragment to represent this new flow. I would like to reuse the 3 equal screens but, problem! They are tied to the other ViewModel! If each subscreen had a ViewModel, the screens would be self-contained, but then I would have no way of sharing the information that each one keeps with a higher scope.

    Passing the data as params to the fragment is also not an option. First, we shouldn't pass much data and second, a screen shouldn't be holding data for the following screen. Notice in the example I gave, ChooseContact would have to receive a note when one of the flows doesn't even have a note.

    I can't seem to find another solution instead of copying each subscreen. This is awful of course.

    Thanks!

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

    Google Play Services Application/GameServices question.

    Posted: 24 Oct 2018 01:11 PM PDT

    Hello everyone, how u doin? I have a simple question about the google application services. So imagine I'm developing a game, I will create an Application and add a new game on the Game Services tab. What if I build a second game? Should I create a new Application? It asks for a .apk build so I think 1 Application per GameService sounds right.

    Could anyone confirm? Thanks a bunch!

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

    ML Kit vs Tesseract OCR: Comparing text recognition SDKs on Android

    Posted: 24 Oct 2018 08:56 AM PDT

    Presently You Will Share Songs From SoundCloud to Instagram Stories

    Posted: 24 Oct 2018 04:01 PM PDT

    What do you think of Apollo on Android ?

    Posted: 24 Oct 2018 06:33 AM PDT

    Apollo is a GraphQl client library. Do you have experience using it ? Is it well maintained ? Do you have other recommendation to query a graphql db? Thanks.

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

    Android Dev Practice: Do you use Single<T>/Completable<T> or Observable<T> for your Retrofit Interfaces

    Posted: 24 Oct 2018 04:31 AM PDT

    I find it common practice to make Retrofit interfaces Singles, but still see some people using Observable<T>. What do you do? What are your thoughts? Thank you!

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

    I upgraded ram from 8gb to 16gb

    Posted: 24 Oct 2018 02:29 PM PDT

    After using android studio on 8gb of ram for a good year I decided to upgrade to 16gb to see how much of an improvement there is.

    The difference was amazing. The project itself loads much faster when starting up. Before was about 30+ seconds, now it's under 10. The preview for the layouts use to take 10-20 seconds to load and now it's under 5. Emulator speed is significantly faster as well

    definitely worth the extra $60 I spent.

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

    Keeping your licenses in check.

    Posted: 24 Oct 2018 01:40 AM PDT

    Good resources to learn in the Android Dev context

    Posted: 24 Oct 2018 02:03 PM PDT

    Hey guys. I'm a third year Comp Sci student. For one of my classes last semester, we had to make an Android app. We learned some software engineering designs and practices such as MVP, MVC, etc.. although i feel like i still wasn't able to really apply these things in our project or understand them correctly. My group used MVC the singleton pattern to develop and our app but everywhere i've read says the singleton pattern should never be used. And honestly, i don't think we even used the MVC pattern correctly. I really do like Android Development though and would like to pursue a career in it once i graduate. What are the most core technologies and practices/designs that can help me be a better Android programmer? If anyone has any good resources i can look at that provide an easy explanation in the context of Android development i would appreciate it. I want to eventually use these practices to make an app that i can release on github/Play Store to showcase my abilities.

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

    Do icons appear next to text in the first layer of an option menu?

    Posted: 24 Oct 2018 01:43 PM PDT

    Across a couple of apps I cannot get an icon to show in my option menu, however they appear in a deeper layer despite using the same code. I have posted on stack overflow about it with screenshots to illustrate what I mean, I would appreciate if anyone could lend a hand.

    Thanks!

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

    How can I display a JODATIME Duration in a standard time format?

    Posted: 24 Oct 2018 09:55 AM PDT

    Hi. I want to get the duration between two times using JODATIME. However the return type is in MILLISECONDS. Can anyone help me display this value as "HH:MM:SS"?

    Cheers.

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

    SingleLiveEvent alternatives???

    Posted: 24 Oct 2018 01:05 PM PDT

    I came across this SingleLiveEvent class in the google samples

    https://github.com/googlesamples/android-play-billing/blob/master/ClassyTaxi/android/ClassyTaxi/app/src/main/java/com/example/subscriptions/ui/SingleLiveEvent.kt

    Are there better ways or alternative ways of accomplishing the same thing, or is this one of the better solutions out there?

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

    in-app messaging platform for communication between users

    Posted: 24 Oct 2018 12:57 PM PDT

    Hi all,

    I am in need of a platform that I can integrate with (from a mobile and a web app) to enable users of the app to chat among themselves. For example, if anyone has used Kijiji/letgo web and mobile apps, I can have a chat with the product seller. I am hoping to avoid building that from scratch for my app. I tried looking for one but searching for "in-app messaging" always brings up search results that are talking about sending messages or notifications to my users as the app developer but never a way for users to communicate with each other.

    Any insights and suggestions will be appreciated.

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel