• Breaking News

    Friday, January 17, 2020

    Android Dev - Weekly "anything goes" thread!

    Android Dev - Weekly "anything goes" thread!


    Weekly "anything goes" thread!

    Posted: 17 Jan 2020 04:40 AM PST

    Here's your chance to talk about whatever!

    Although if you're thinking about getting feedback on an app, you should wait until tomorrow's App Feedback thread.

    Remember that while you can talk about any topic, being a jerk is still not allowed.

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

    My job life as an Android developer

    Posted: 16 Jan 2020 04:22 PM PST

    A month ago I got a new job as an android developer, before you congratulate me I've something important to tell. I'm not a CS major, I read Java and gradually got myself acquainted with the skill to develop android app.

    At job interview, the interviewer got impressed by my determination and the team decided to hire me.

    So here I'm all surrounded by CS majors, these people are great, helpful and supportive. Also I feel very comfortable working so far.

    But every now and then whenever I listen them talking about other languages and some more technical stuff and start judging myself and think do I even belong here, I'm stupid, I'll be thrown away and keep on demotivating myself.

    Currently I do keep myself updated with what's happening in the developer community and everything else but I'm afraid, I might end up burning my motivation down.

    Please help me how I can be a better developer, improve my skill and boost my confidence.

    Thanks in Advance. :)

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

    Using MaterialDateRangePicker

    Posted: 17 Jan 2020 08:03 AM PST

    Noticed a new addition to mdc-android , the MaterialDateRangePicker. I Wrote a short article that could be useful for android developers https://hackernoon.com/how-to-use-new-material-date-picker-for-android-s7k32w0

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

    My thoughts about Google Play and policy support team

    Posted: 17 Jan 2020 05:13 AM PST

    Hello everyone, I want to tell about my problem with Google Play. Around a year ago I published an app (com.msw.pornblocker), a blocker for adult content websites. I issued an update on 12.01.2020 (changed an icon and uploaded a new APK version), and after that my app was suspended with a statement: "Violation of Sexually Explicit Content policy". I filed an appeal and received a reply, that my app still violates Google Play Policy.
    Reply also contained the screenshot from my app's description in Google Play. This screenshot shows how black list function works, I purposely used filters to hide full URLs. My answer was: "...as you can see I've used filters and there is no way to find out the correct urls of the websites", I've written that I can remove the screenshot or replace it, but I don't have access to my app. After that, I've got the answer: "As much as I'd like to help, I'm not able to provide any more information or a better answer to your question. In our previous email, I made sure to include all the information available to me."

    And then I realised that most probably I'm talking to a bot, it felt like a nightmare. I would never believe that such decisions can be taken by a some automatic algorithm, and appeals are processed by a bot, but it has happened. When I think about it, I immediately remember the episode from the Lexx series released on 1997 with automatic judge and lawyer.

    My app was approved with exactly the same screenshots a year ago, and now it was removed without any warnings. I could resolve the issue with just 2 clicks, but nobody cares.

    Let's understand, why was the app suspended? Apparently, during this year Google revised their apps check algorithm and perceived that my screenshot violates their policy. Why haven't I received any warnings before I got suspended?

    Obviously, this algorithm is unable to check all published apps, and kicks off when new version is released or any updates are made, in order to save the resources. For the same purpose appeals are replied with auto-generated messages.

    It means that current system works as such: you publish an application, an algorithm checks and approves it, for a while you do not release any updates, during this time algorithm gets revised, you publish updates and get suspended by a revised algorithm without any warnings, you file an appeal and get an auto-generated message with an information what exactly has to be corrected, you write an answer where you clarify that you cannot make changes as an app is suspended, and then again receive an auto-generated reply that they can't help you.

    I believe Google understands what they are doing, they understand that sometimes they deprive people of means for living, however suspensions still keep happening automatically, though in my opinion such decision can have a big impact on developer's life and shall be taken by a human.

    Ok, even if it's like this, then at least appeals shall be processed by a human, and in shortest terms? Unfortunately, not. My app was suspended 5 days ago, and I didn't receive any clear reply up to now.

    I think my mistake was to use Google Pay for subscriptions, after suspension my subscription plans were removed, and now every day users whose payment shall occur get their subscriptions cancelled. If I used the stripe as payment processor, I just would not have to pay 30% from the earnings and old subscriptions would retain.

    This is how a single automatic action can make you lose 1/3 of your income. What can do a company which encounter this? To ask their lawyer to write an appropriate letter and send it to Google, take some other legal actions to restore an app.
    What I can do? Absolutely nothing, I can only talk to bots, wait for reply and day by day watch how I'm losing my clients.
    Maybe you think that before developing or publishing the app you can ask a policy team, something like: "I want to develop an app with a function… won't it violate your policy?" or "If I post this screenshot in the description, won't I get suspended?"
    Of course, you can ask, but you will receive an answer like this: "As much as I'd like to help, unfortunately, I'm not able to comment on your planned implementation. Pre-compliance check is not allowed." Then you issue updates and get suspended, and nobody cares of your future. Maybe it depends on the number of users and profits that you bring to the company, if it's so then it's a nightmare. I don't think that other companies are better, I just think that it's good to be more humane to those who help your company earn money.

    My story on medium

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

    Now in Android

    Posted: 17 Jan 2020 04:03 AM PST

    Fluent text styling and concatenation in Android

    Posted: 17 Jan 2020 06:32 AM PST

    Replace Google Play Games Multiplayer by the end of March 2020!

    Posted: 17 Jan 2020 06:33 AM PST

    As you may already know, Google is shutting down realtime multiplayer and tun-based multiplayer game services in the end f March 2020. I created a video which may help you migrate to Firebase. I'm using Realtime Database to create simple login, room creation and joining, and sending messages between devices. Enjoy!

    https://www.youtube.com/watch?v=nj-trslVFPc

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

    Does Android Development suck?

    Posted: 17 Jan 2020 01:32 AM PST

    What sucks about android Development, if there's any, and how? I'm a beginner and I'm wondering if it's worth it spending time on learning and mastering android development?

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

    Anyone switched from React Native back to Native? Why?

    Posted: 17 Jan 2020 07:38 AM PST

    I'm debating on whether to go back to native development from React Native. Every time RN comes up with a new version I have to do a debugging session and figure out why nothing works again, and the error codes are as vague as they can be.

    Anyone else in this boat? If so, what made you switch back to native? Any caveats?

    submitted by /u/hackers-disunited
    [link] [comments]

    Debit card Play Console

    Posted: 17 Jan 2020 07:10 AM PST

    Hey guys, I was wondering if I can use a MasterCard Debit card (N26) to pay for a Google Play developer console account. In the step before the payment it only mentioned a creditcard which I don't own.

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

    It's now 2020, so in Android development, what thing you don't like, or think it needs to be improved?

    Posted: 17 Jan 2020 06:45 AM PST

    Kotlin - Oracle

    Posted: 17 Jan 2020 06:04 AM PST

    As someone who already study some programming languages I was looking for an updated Android development course and I started with kotlin bootcamp (Udacity) and it is taught to install Oracle jdk. After some problems (solved) I saw some people saying it is not free or it won't be free, etc. My first purpose is to make an Android app (a relatively simple idea I had) and sell it in playstore. Shouldn't I keep using Oracle products?

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

    Creating a timeout button animation

    Posted: 17 Jan 2020 05:14 AM PST

    One of the features in waze uses a sort of timeout button where if the button is not pressed for a certain duration, it times out, and proceeds with that action. Look at the 'Go now' button in this video https://gfycat.com/quarrelsomesaneguernseycow

    I am looking to create something similar for an android material components button. So far my thoughts are to create a vector path of the white outline near the perimeter of the button and animate the trimStartPath property of the vector.

    Looking for some other ideas since I have not ventured into these type of animations before

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

    android direct boot access files with broken display

    Posted: 17 Jan 2020 04:44 AM PST

    i dropped my phpne into water and shortly after it it was frozen. after a hard reboot (holding the power button) the lock screen appeared but the display is not working and therefore I cannot unlock into Credential Encrypted (CE) storage (what I need to access my photos of the day, which are really important).

    is there a way to access storage without unlocking? is there a way to unlock by using a usb mouse via usb otg adapter or something like this?

    now,it seems the phone is still powered on but the display is black and I don't see anything and the buttons are not working as well.

    it is a pixel 3 (so it should has been waterproof by the way) and I think it does not support HDMI video output?

    any ideas how to get my files? if o could get it past the direct boot screen, Google photos should do it's backup which would be enough?

    copy of https://stackoverflow.com/questions/59780133/android-direct-boot-access-files-with-broken-display

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

    Is there a Focus Mode API?

    Posted: 17 Jan 2020 04:00 AM PST

    I really like the new wellbeing - focus mode that disables certain apps. Now I was wondering if there is any way to enable/disable it programatically?

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

    ARCore for Android developers - pARt 1: The basics

    Posted: 16 Jan 2020 09:10 AM PST

    Huawei is paying 26K to migrate apps to their store or so they said in a forum. have anyone apply to this or hear about it?

    Posted: 16 Jan 2020 06:07 PM PST

    API Search with Pagination for Android Development in 2020

    Posted: 17 Jan 2020 02:21 AM PST

    I am suffering typing lag , Even though 64GB RAM

    Posted: 16 Jan 2020 01:11 PM PST

    when i write code in multi module project or large project,

    typing code and autocomplete has too much lag.

    i am tired hearing increasing ram or upgrade computer.

    my mac's spec is i7 3.2Ghz 6 core, 64GB RAM, and plenty of free space disk space.

    whenever i check CPU or Ram Usage also there is plenty of free space.

    the plugin only i use is ideavim. that's all.

    i set vm options like below.

    -Xms8192m-Xmx16384m-XX:MaxPermSize=512m

    anyone knows answer for it?

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

    Should I change font family for buttons / toolbar as well?

    Posted: 16 Jan 2020 07:43 PM PST

    Hey guys,

    I'm asking this design wise, it's fairly easy to change the font family of the whole app, I changed mine to "alegreya" and it looks very nice. The thing is that along the way it changed the font of the buttons and the toolbar too.

    I would just like to ask, from a design perspective, is it common and professional to have the buttons and toolbar with the same font family as the other text views of the app? Or should I have the buttons and toolbar in another font, maybe the default one?

    Thanks a lot in advance

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

    How advanced of an app would I need to make to get my first job? Plus another question

    Posted: 16 Jan 2020 02:52 PM PST

    I've been developing on my free time for about 9 months now, last 3 I've started to get more serious and the last couple weeks especially so. I'm still finishing up school, but I plan on applying for jobs very soon. I was wondering how advanced of an app would I have to make to help me get my first job in Android development?

    I've been working on an app which is somewhat basic, but for my.beiginner self seems pretty advanced. It currently implements a room database and can perform quite a few functions. I think everything so far is pretty proper, but I do have to make many modifications to the view on the view because of other variables in the view which runs on the ui thread and its coded in the view. My other question is what is the best practice for setting up a view and its functions?

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

    My own self-doubts about doing android dev work...

    Posted: 17 Jan 2020 03:41 AM PST

    Maybe it is just me, but I just feel squeamish about following best practices in Android, LITERALLY as they are practiced.

    I am in love with Kotlin for being the beautiful, elegant language that it is, but still there are some codes that look boilerplate-y and ugly that I try to steer away from using.

    Maybe it is my peculiar quirk, but I always, always try to make my code be as simple, minimalist, and human readable as possible. I am not fond of plastering whole paragraphs of // comments either. I prefer making code that I can read and instantly understand even after I had put aside the app for months.

    Would this alienate me from getting jobs? Because I see a lot of the code written by other developers look ugly and violate a lot of the principles I have read on Clean Code, if you guys are familiar with that book.

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

    Remove risky access to your data

    Posted: 16 Jan 2020 06:52 PM PST

    I received this email from Google

    "Some apps or services you allowed to access your Google Account have not been verified by Google. Since they have extensive access to your personal information, you should remove their access unless you trust them."

    So I went to look at the "Security Checkup", which was telling me that :

    "This app or service has extensive access to your personal information and its developer's information hasn't been verified by Google. You should remove its access unless you're sure you trust it. Learn about the risks"

    Which is interesting because it is my own app from the Play store.

    The question I would have is this :

    How can I get "verified by Google" ?

    I could not find any informatio on this online. Is this something a mere mortal can do or is this only for larger companies ?

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

    Any of you folks working on AppGallery by Huawei? I'm considering signing up for their Developer Console

    Posted: 16 Jan 2020 10:01 PM PST

    Will I have to change anything with how i go about creating my Android Applications or is it exactly the same, thanks in advance

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

    I am having some confusion about how to pass variables between activities using intent and shared preferences.

    Posted: 16 Jan 2020 09:40 PM PST

    I have tried pretty much everything but I keep getting errors. I want to display the variables on the mainactivity but you can go to the second activity to enter data to manipulate the variables then go back to main activity storing the variables in shared prefs.

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

    No comments:

    Post a Comment