• Breaking News

    [Android][timeline][#f39c12]

    Monday, December 16, 2019

    Weekly "who's hiring" thread! Android Dev

    Weekly "who's hiring" thread! Android Dev


    Weekly "who's hiring" thread!

    Posted: 16 Dec 2019 04:44 AM PST

    Looking for Android developers? Heard about a cool job posting? Let people know!

    Here is a suggested posting template:

    Company: <Best Company Ever>
    Job: [<Title>](https://example.com/job)
    Location: <City, State, Country>
    Allows remote: <Yes/No>
    Visa: <Yes/No>

    Feel free to include any other information about the job.

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

    Weekly Questions Thread - December 16, 2019

    Posted: 16 Dec 2019 02:56 AM PST

    This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, our Discord, or Stack Overflow before posting). Examples of questions:

    • How do I pass data between my Activities?
    • Does anyone have a link to the source for the AOSP messaging app?
    • Is it possible to programmatically change the color of the status bar without targeting API 21?

    Important: Downvotes are strongly discouraged in this thread. Sorting by new is strongly encouraged.

    Large code snippets don't read well on reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead.

    Have a question about the subreddit or otherwise for /r/androiddev mods? We welcome your mod mail!

    Also, please don't link to Play Store pages or ask for feedback on this thread. Save those for the App Feedback threads we host on Saturdays.

    Looking for all the Questions threads? Want an easy way to locate this week's thread? Click this link!

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

    Suspension, Appeal and Playstore Mistake

    Posted: 16 Dec 2019 10:10 AM PST

    First I'd like to start by stating that this is not a troll post.
    I recently had the bad surprise of having my app suspended and I'd like to share my experience.
    I'mnot hoping anyone from Google will read this ( I know they don't care, it was made very clear during the appeal exchange of automatic replies ) but if it can help one developer in here it's worth my time to write about it.

    1. The Suspension : My app got suspended with no warning what so ever, it had been published for about 2 months I had published at least 20-30 updates and the latest few were only cosmetic changes ( so nothing that could trigger this sudden suspension). My app was suspended for " providing information to hack third party software". I won't go into details but my app gives tips on how to improve at a famous video game, NO HACKING and NO CHEATING. So of course I wasn't only surprised but I completely disagree with the suspension.
    2. The Appeal : As stated I was surprised and couldn't believe the suspension so of course I submitted an appeal, explaining that I didn't understand what caused this suspension and explaining that my app was really a tip and tricks / coaching app, no hacking or cheating.
      The first answer I received was to confirm that my app had been classified as a hack or providing information to hack
      So I sent a long and detailed email explaining, with screenshots and examples of similar approved apps, why I thought it had to be a misunderstanding and stating that I would really like to be able to talk to someone and discuss the matter (even just to understand their reasoning for future apps).
      The Second answer was "I can't comment and don't have access to details regarding the suspension"...
      ( What's the point of an appeal if the only "person" you can reach can't comment or have access to details about the issue..... Seriously!!!)
      So I sent one more email, again pleading my case and asking ( if not begging ) for information on what exactly triggered this sudden suspension... I'mnot a hacker, I designed plenty of apps always trying my best to follow all the policies, making required changes when needed and I made that very clear. If indeed Google decided I crossed a line I thought I'd deserve to know which one so it would never happen again.
      Last Answer I received was " I cannot comment on future development, this suspension count as a strike to your account.If you think your app or changes you can make to it are compliant with Google policies feel free to re-submit it as a new app"
      Seriously!!
      I'm asking why my app got suspended so I can may be fix it and all I got is basically, I can't tell you why you got suspended cause I don't know but guess what, why don't you chance it again....
      Why don't you invest time, money, grow a user base again, have people trust you, by in-app purchases just so we can suspend you with no warning a second time....
      What kind of an appeal is that... I didn't get to plead my case, didn't any answer regarding details of the suspension so how can I possible make sure a new version would be compliant with Google Policy if they don't tell me what I did wrong... and the advice to just resubmit is borderline disrespectful... if the app gets approve it means this suspension was unjustified and if they are consistent with their review process I'm going to get suspended again and likely banned....
      What a brilliant advice..... I of course will not follow it, I've submitted a second appeal today ( 2 weeks after the first one ) hoping may be I can talk to someone else, but I'm guessing I'll either get no answer or the same automatic useless message.
      As a developer I'm a paying customer I thought that would at least give me the right to talk to have an explanation but I guess not.....

    3. The mistakes : If you made it this far you probably understand my frustration.... I have invested time into development, money into advertising and build a user base of over 15k just to have everything taken away, with no explanation and no way to discuss the issue.
      And what does a "suspension" really means , well it means you lose all access to your app, your users, you reviews .... everything with no warning at all. On top of that I had integrated Admob into my app as a monetization tools but since it was linked to my Playstore account, although users are still using my app I get no revenue from it.
      Users who had also trusted me ( not Google ME ) and bought in-app purchases lost everything since I can't update my app for them anymore or even tell them I can't update my app... I'm sure some of them thinks I cashed the in-app purchases and shutdown the operation which as a professional I would never do...

    4. What did I learn from this :
      - Don't think because your app is getting great reviews and awesome downloads that Google can't shut you down with no explanation or warning
      - NEVER link your Admob to the Playstore listing, Google makes it the "default" option but it's not necessary. Just implement your app as you would normally and on the Admob side configure it as being published elsewhere.
      Don't link it to your account as ads stop being served if there is anything wrong with your Dev account
      - Be careful about your reputation, Google makes it mandatory to publish your name and address as a developer but they can unilaterally decide to shutdown your access, making you personally look really bad to all the users who trusted you.
      - ALWAYS manage to have an outside way of reaching your users, either using account creation (collecting emails ) or just by having the app query your server for "news announcement". This way you can inform your users that the current app has been disabled and what to do next ( download a new version from your website or a new app from the Playstore )
      - Have a backup plan, publish the app in other stores, make sure you don't just advertise your Playstore listing but your website and other listings as well. Keep in mind that you have no control over your app despite your best efforts to comply and communicate with Google

    That's about it, I would love to be able to discuss with anyone from Google about the appeal process or the lack of process regarding the appeal but I know this will never happen so I hope it will at least help some of you.
    Make sure you don't invest all you have into the Playstore listing, make sure you have safeties in place so you can pivot if Google decide to shut you down.
    Again I'm not arguing the reasons of my suspension ( although I believe it was unjustified and unfair ) but I'm strongly arguing that the appeal is completely broken and really just disrespectful to developers who put their reputation on the line, take the time to develop apps, document their work and try to have explanations.

    On the bright side, I have managed to reach out to some of my users side social media to explain the situation. I've relaunched my app in other android store and on my website and redirected advertising somewhere else.

    I did lose a lot of my user base, most of my revenue and almost decided to shut everything down but support from my users actually pushed me to keep on going.

    Again if by any miracle anyone from Google wanted to discuss the matter, I'd be happy to chat but I know this will not happen

    Thanks for reading, hope this somewhat helped

    Ben

    PS: I'mnot a hacker I have been developing apps and software for over 2 decades, I work with R&D firms, Medical research companies, surgery software, start-ups... so being treated with such disrespect by Google Development Support was extremely hard to take. Lesson learned...

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

    Google Terminated My 5 Years Old AdMob Account

    Posted: 16 Dec 2019 08:39 AM PST

    ConstraintLayout 2.0.0 beta 4

    Posted: 16 Dec 2019 10:56 AM PST

    Custom view preview without compose coming to 4.0 canary

    Posted: 16 Dec 2019 12:21 AM PST

    Use cases for SMS

    Posted: 16 Dec 2019 11:17 AM PST

    Can anyone educate me on what Permissions/Use Case I can use for a parental control app that blocks apps and relays sms/call log data; this is in relation to the changes for SMS/Calls. I don't it's be the default SMS handler since it doesn't replace the messages app. The developer said it's not a sync app either, so they don't know what to use.

    I am not a developer, however my boss hired a developer who doesn't seem to know how to get the app approved because of the policy changes... and of course I'm the one in charge of getting the app running??

    Any help in this would be greatly appreciated, if I posted in the wrong forum, direct me to the correct one please... I'm a noob.

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

    KotlinConf 2019 Videos

    Posted: 16 Dec 2019 01:34 AM PST

    Uploading apps to Huawei's App Gallery

    Posted: 16 Dec 2019 03:46 PM PST

    Do you upload your apps on Huawei's App Gallery? What is your experience? I want to use them but I don't know if this can make a problem with my Google Play or AdMob account. For example can AdMob detect it as invalid traffic? Do you think this is against Google's rules? With the removal of Google Play and Google Services from new Huawei devices this is whole new market for us but what do you think?

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

    MVVM with Clean Architecture?

    Posted: 16 Dec 2019 09:39 AM PST

    Is there any one used MVVM with Clean Architecture in Java? Is it really hard to implement? I can't imagine how these works, Could you please share some resources to learn the topic especially in Java. And I don't know kotlin so resources with Java it would be really helpful

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

    Is there a way to not have to type "android:" all the time when writing XML? Similar to "using namespace" for C++?

    Posted: 16 Dec 2019 02:43 PM PST

    If so, is this not recommended conventionally?

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

    Coroutines in Android

    Posted: 16 Dec 2019 12:15 PM PST

    Is MVVM necessary?

    Posted: 16 Dec 2019 05:44 AM PST

    Ever since architecture component were released all I see is people hyping and talking about MVVM. But is it a necessity? I mean sure it might help in complex applications, but in simple small applications, I don't really think it's important to use mvvm.

    We used to android apps before architecture component without even thinking if it is MVVM or mvc or mvp. Also we can use for example Room database without making it mvvm.

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

    Has anybody here ever used conversion to ConstraintLayout, and it worked fine?

    Posted: 16 Dec 2019 01:09 AM PST

    It seems to me that in almost all cases, the conversion makes a messed up result (Missing constraints, replacing of sizes,...).

    Did it work well for anyone?

    Or do you always do it all manually when you decide to convert?

    To me it seems to have a lot more issues than when converting from Java to Kotlin, for example.

    submitted by /u/AD-LB
    [link] [comments]

    Why does my app not "forget" a class's variables after the activity that is using the class is destroyed?

    Posted: 16 Dec 2019 07:38 AM PST

    I have an app that has 2 activities.

    1st activity is just a menu that leads into activity 2 that has it's custom view classes.

    The custom view class has it's static and instance variables.

    When I back out from activity 2 into activity 1, then press a button that leads me into activity 2 again some of the values of the class is still remembered. Shouldn't all the values be forgotten when activity 2 gets destroyed because I backed out into activity 1?

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

    Your AdSense account has been terminated.

    Posted: 16 Dec 2019 03:40 AM PST

    Oh my,

    did anyone here received a similar notice and were you guys able to get things resolved positively ?

    The email I received said "INCENTIVIZED TRAFFIC:" but I don't do hacks like this. I always follow all rules and recommendations as good as I can and stay away from ANY blackhat type operation.

    I have apps with AdMob and some very very small blogs with AdSense. Of course the email did not contain anything else I could go by.

    Me == devastated :(

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

    When developing commercial Android libraries, Kotlin or Java ?

    Posted: 15 Dec 2019 10:10 PM PST

    Hello all,

    I know there have been many discussions/blogs about pros and cons of Kotlin or Java, and most of them focus on developing Android Application perspective.

    But how about when developing commercial Android libs ? Our 80% clients are still using Java to build the Android Apps with the libs we provided. We are currently providing Java libs but will have new ones with new functions. I'm not sure if it is risky to totally use Kotlin in our new lib for the clients ?
    On the other hand, I observed that Google's many AndroidX libs are still programmed in Java and they work well in Kotlin Android Apps. It seems to me that lib in Java could be a safe choice for clients no matter what language they use ?

    I personally wanna to use Kotlin, but it is the commercial use...
    So the compatibility of APIs is the priority for our clients and us.

    Thanks and any feedback will be appreciated :)

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

    Benchmark Notebooks for using Android Studio

    Posted: 16 Dec 2019 01:42 AM PST

    Does anybody know a good way to benchmark the performance of a Notebook in combination with Android Studio? I am currently trying to find a way but in my current tests my 2015 Macbook is way faster than the newest 2019 16 inch Macbook which shouldn't really be possible. But I guess it is really dependent on the Android Studio configuration, Gradle caches, etc.

    Is there a way to build a project with completely the same conditions without too much effort?

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

    Setting up Gradle with Kotlin DSL, a simple guide

    Posted: 16 Dec 2019 12:54 AM PST

    KotlinConf 2019 - Playlist

    Posted: 16 Dec 2019 03:51 AM PST

    How can I prevent my fullscreen app from switching to lower resolution on Galaxy S8?

    Posted: 15 Dec 2019 06:56 PM PST

    My Galaxy S8 has 3 screen resolutions 1480x720, 2220x1080 and 2960x1440.

    I always have the highest resolution selected in my settings.

    A while ago when I started to develop my game I remember that Android respected my setting and I actually was working with the selected resolution. But I eventually abstracted away from that and these numbers stopped mattering much. Until I checked now. And I'm reading 2220x1080. Even though I clearly have 2960x1440 selected. That's crazy. Switching to 720p does switch in-app resolution. But switching between 1080p and 1440p has no effect on my game, it stays 1080p.

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

    Update date in Play Store when using timed publishing

    Posted: 15 Dec 2019 05:31 PM PST

    Does the update date show the date when you roll it out in timed publishing or when you clicked Go Live?

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel