• Breaking News

    Monday, April 12, 2021

    Android Dev - Weekly Who's Hiring Thread - April 12, 2021

    Android Dev - Weekly Who's Hiring Thread - April 12, 2021


    Weekly Who's Hiring Thread - April 12, 2021

    Posted: 12 Apr 2021 06:00 AM PDT

    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]

    How attackers can delete your Google developer account!

    Posted: 12 Apr 2021 02:02 AM PDT

    How attackers can delete your Google developer account!

    Hi

    ( Sorry for my bad English )

    I want to tell you about a strange situation that I faced as a developer. Somewhere in early March, I saw a message in Google Admob that some app (Blue Clean) was making ad requests, but it was not added to the app-ads.txt file. This app did not belong to me, so I did not pay attention to it. Then I received a letter from Admob that it was necessary to take action. In the admob account, I saw that the warning was associated with the removal of the app, which I wrote about above.

    https://preview.redd.it/8vlqtrdkbps61.png?width=1303&format=png&auto=webp&s=39e6e4409567d0dfded30ee4329e958b99573b1b

    I contacted Admob and wrote that the app does not belong to me. They said that this happens and removed the warning.

    https://preview.redd.it/8c8fi83lmps61.png?width=1521&format=png&auto=webp&s=7ce535e68c4827d2534fdc785e8de00316b7900d

    On the same evening, I received an email from the Google Play Team that my developer account had been deleted.

    https://preview.redd.it/bgpg80qzbps61.png?width=1517&format=png&auto=webp&s=3d6f751d2c9119143f2be5c9545d01630d8826c0

    Reason: Prior violations by this or associated accounts as outlined in previous emails sent to the registered email address(es) of the Google Play Developer account(s).

    !At the same time, there was no letter that there were any violations in my app. I have come to the conclusion that they are referring to a violation in an app that does not belong to this account.

    I filed an appeal, where I described in detail all of the above, assured that I have no second account.

    I waited for several days and received a response that "we confirmed the association with another account".

    https://preview.redd.it/7ha4g35lcps61.png?width=1506&format=png&auto=webp&s=17c36211ed3628e35c8800aa13f8c65779498641

    I wrote again that there can be no association, since I do not own any other account.

    https://preview.redd.it/q5eqk55ucps61.png?width=1451&format=png&auto=webp&s=cbd85e39335902e261c451ba416ee915f495d9e6

    But again I received an answer that the account would not be restored.

    https://preview.redd.it/gw7altbxcps61.png?width=1440&format=png&auto=webp&s=da19f262c0278a80a403d967665cd257fca71d92

    I tweeted GooglePlayDev, and got the answer:

    https://preview.redd.it/h446qavaeps61.png?width=729&format=png&auto=webp&s=c55a60e659ea4de5c0afdcd9659f166a9a2a9a3c

    I wrote that they did not answer me on this ticket, to which I received an answer:

    https://preview.redd.it/wo0yh0pkeps61.png?width=652&format=png&auto=webp&s=34fbf8a4d2e7e56980f6536906eb3b5d985e238f

    I waited a week in the hope that I could start some kind of dialogue with the support team. A week later, I tweeted again. Guess what answer I got?))

    https://preview.redd.it/ipg2ly90fps61.png?width=850&format=png&auto=webp&s=0a3ca2342883dcbdcd3d946dcba12fde47978b63

    Just the same formulaic answer))

    Since then, I have filed 2 more appeals: April 1st and today. There was no answer to them.

    But this is not all!

    When the app was removed, Admob and Facebook stopped showing ads. But Facebook, for some reason, decided to turn on ads for a couple of days.

    https://preview.redd.it/smh7qy8wfps61.png?width=1220&format=png&auto=webp&s=3bd0cc6c983bdba3da2416b1937d33a18e05242d

    And then on April 6, a letter comes from Admob that the account has been deleted! And they keep more than $ 47,000!

    https://preview.redd.it/d3qeitiihps61.png?width=1333&format=png&auto=webp&s=361f00c073453adb3753ec504b5eeab3053ba9b0

    Found violations:

    Aiding in bad faith:

    It is forbidden to display ads next to content that:

    - Helps users to mislead other people.

    - Advertises hacking and / or offers instructions and equipment for unauthorized access to software, servers and sites or making changes to their work.

    I am at this moment

    I mention the situation with FB and Admob, because I want everyone to understand that when working with Google, you can be banned at any time!

    As for the situation with the Google dev. account. I'm sure this happened because someone purposefully took ad unit IDs from my app and added them to their app. Then he deliberately violated the rules so that our accounts were linked and deleted!

    He even made a similar package name.

    com.clean.master.battery.sup.saver.cpu.cooled

    com.dodo.clean.master.battery.saver.cpu.cooled

    I decided to check where he found my ad units IDs. I went to apkpure and downloaded the APK of my app. Having opened it through Android Studio, I easily found these units IDs.

    https://preview.redd.it/351u3ud6dps61.png?width=1808&format=png&auto=webp&s=4fa1191f258c3b760cb17bc7dc4712f3d4bd578a

    App name: Do cleaner

    https://play.google.com/store/apps/details?id=com.dodo.clean.master.battery.saver.cpu.cooled

    App for cleaning cache and RAM. I understand that this app is very controversial, but it is the vertical with which I started.

    This is the only app I had. I started to work with him, advertise and I succeeded, the app had over 50 million installs. I guessed that this application was not long-lived, so I worked on other projects for the market.

    In this situation, I am most outraged by the attitude of Google Play Team towards developers. If something is wrong with the app, ok, tell me what the problem is and delete it. Everything is fair.

    But find some imaginary association with some developer and delete the account for that. However, do not accept any arguments from the developer. This is a complete neglect by the developers.

    When I was looking for a solution to this problem, I found many of the same situations that happened several years ago and still happen today! There is even a petition https://www.change.org/p/google-stop-lifetime-ban-for-developers-publishers

    Due to the inactivity of Google Play Team, apparently the attackers began to use this situation for their own purposes.

    I think we need to make this as public as possible, because until you are faced with such a case, you think you are safe. You make some plans for further projects. But at one point you can be deprived of everything. It should not be.

    Thank you.

    Regards.

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

    138 Uninstalls from Australia in one day

    Posted: 11 Apr 2021 03:04 PM PDT

    I'm curious if anyone has ever seen anything like this. 138 people from Australia apparently uninstalled my app in one day.

    It's a small app with about 1k installs total. So that's probably every single Australian user all uninstalled the app on the same day.

    Image: https://i.imgur.com/uB1F3ws.png

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

    Google Play Console terminated account association and Firebase project?

    Posted: 12 Apr 2021 12:28 AM PDT

    Does anyone know if I add a person to the Firebase project (and if he also has a Google Play Console account and for example it's terminated), will this be considered an association?

    I'm worried about my account.

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

    My app got a whole 10 downloads on the play store. Now what?

    Posted: 11 Apr 2021 02:06 PM PDT

    So, I think I have a decent app on the play store. The people who got it seem to really like it. It's very niche, but I feel there is a market for it. How to do go about reaching that market?

    submitted by /u/440Jack
    [link] [comments]

    Blog post on the design process of my app

    Posted: 12 Apr 2021 03:06 AM PDT

    Could anyone view the sources of third-party libraries such as RxJava2 in AndroidStudio?

    Posted: 12 Apr 2021 06:27 AM PDT

    Could anyone view the sources of third-party libraries such as RxJava2 in AndroidStudio?

    When I try to view the source code of any third-party library such as RxJava2, the next error gets shown, when clicking Choose Sources it shows several variants but none of them won't work. Download Sources also does not work. Does anybody have the same errors?

    https://preview.redd.it/lohj9fxcuqs61.png?width=1397&format=png&auto=webp&s=96e8e30b8d54554e8cc6e6a21c9e7e506f0f534c

    https://preview.redd.it/lynuvqfmuqs61.png?width=922&format=png&auto=webp&s=56bfb68f1a57fc7950b53c9b959953ba19d2ebf7

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

    How hard it will be to pull out this design as a beginner in android?

    Posted: 12 Apr 2021 02:29 AM PDT

    Hi! This semester we are supposed to make an android app and I decided that I want to make a wiki for one of my favorite games Death Stranding.

    My question is how hard it will be to make this design that I want to make? I have experience in html/css/js so this would be easy in HTML but I want to know how hard it's going to be to make in android studio with Java as our main language.

    Here's the design: https://www.figma.com/file/LIyGrBR2OCJqtcfxAK9pdw/Death-Stranding-Android-App?node-id=2%3A197

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

    What's even the use of ViewPager when we can do everything with ScrollView Or We Can't?

    Posted: 12 Apr 2021 05:44 AM PDT

    Is there any way to make sure that the apps which are given storage permission can't access the data in storage or can't send it to the developer or another person (Android 11)?

    Posted: 12 Apr 2021 05:27 AM PDT

    App should be only restricted to its own folder and not other folders.

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

    Question about mapping dynamic topology of the application

    Posted: 12 Apr 2021 05:15 AM PDT

    Hello everyone,

    My company has to provide topology or architecture of our android application to visa in order to get NFC enabled in the app. Could you please suggest me to map the topology (tools would be appreciated). Thanks in advance.

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

    One of my app has been miraculously disappeared from the playstore, play console shows that its still active !!

    Posted: 11 Apr 2021 07:50 AM PDT

    What is the possibile reason of disappearing from last 24 hours ?

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

    Where to backup user-generated data

    Posted: 12 Apr 2021 04:53 AM PDT

    I'm in the process of developing an app where I want to add a feature in which user-generated data can be backedup remotely. I need advice on which service to use. I know that google drive was deprecated and I've heard of Firebase, what do developers in the industry use?

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

    Improve your Gradle build times by only applying needed plugins

    Posted: 11 Apr 2021 09:42 AM PDT

    M1 optimization for android studio

    Posted: 11 Apr 2021 02:46 PM PDT

    Ive been meaning to purchase a mac for the longest time and finally did (M1 air base model). I just wanted to know does anyone have any expirence developing with android studio on an M1 mac. I also wanted to know if there is any thermal throddling because I understand that the app is not optimized for M1. Thanks in advance

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

    Convert numbers to their words representation in Persian

    Posted: 11 Apr 2021 06:23 PM PDT

    Anyone here uses Android Studio with BTRFS on linux? Is there any significant performance gained ?

    Posted: 11 Apr 2021 11:26 PM PDT

    IAP refund paid for by Google?

    Posted: 11 Apr 2021 12:44 PM PDT

    Is Android Room Instrument Testing Framework not able to capture FOREIGN KEY constraint violation?

    Posted: 11 Apr 2021 05:15 AM PDT

    I was wondering, do you notice that Android Room Instrument Testing Framework, is not able to capture FOREIGN KEY constraint violation?

    As, I perform the following straightforward FOREIGN KEY constraint violation. But, the instrument test run under Emulator just pass without error.

    DROP TABLE IF EXISTS `plain_note`; DROP TABLE IF EXISTS `attachment`; CREATE TABLE `plain_note` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL); CREATE TABLE `attachment` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, FOREIGN KEY(`plain_note_id`) REFERENCES `plain_note`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE ); INSERT INTO "main"."attachment" ("id", "plain_note_id") VALUES ('1', '2'); 

    Here's the code to run Android Room Instrument Testing Framework.

    @RunWith(AndroidJUnit4.class) public class Migration_26_27Test { private static final String TEST_DB = "migration-test"; @Rule public MigrationTestHelper helper; public Migration_26_27Test() { helper = new MigrationTestHelper(InstrumentationRegistry.getInstrumentation(), MyRoomDatabase.class.getCanonicalName(), new FrameworkSQLiteOpenHelperFactory()); } @Test public void test() throws IOException { SupportSQLiteDatabase db = helper.createDatabase(TEST_DB, 26); db.execSQL("DROP TABLE IF EXISTS `plain_note`;"); db.execSQL("DROP TABLE IF EXISTS `attachment`;"); db.execSQL("CREATE TABLE `plain_note` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL);"); db.execSQL("CREATE TABLE `attachment` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `plain_note_id` INTEGER NOT NULL, FOREIGN KEY(`plain_note_id`) REFERENCES `plain_note`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE );"); db.execSQL("INSERT INTO \"main\".\"attachment\" (\"id\", \"plain_note_id\") VALUES ('1', '2');"); } } 

    For any Android Room Instrument Testing Framework users here, do you also encounter the same issue? Not sure is due to my setup?

    I post a technical detailed here - https://stackoverflow.com/questions/67044777/why-android-instrument-framework-unable-to-detect-foreign-key-constraint-failed

    If you know why is it so, can you kindly let me know? Thank you very much!

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

    ported my note taking app for desktop with compose

    Posted: 11 Apr 2021 06:49 AM PDT

    Admob earnings are zero to none

    Posted: 10 Apr 2021 08:32 PM PDT

    My app in play store have over 150k downloads and 15k+ DAU. Around 5k new downloads everyday. My earnings are about $0.05 - $0.50 / day. Ad request are over 50k+ daily but only only 300-600 ads are served. My app only has interstitial ads & ad refresh time is over 45 seconds. A/C also has no issue with large number of invalid clicks. Since 14th Dec 2020 ad serving still limited & earnings are 0.

    I'm totally depressed & frusted. I feel like I'm cheated. I spend 20k INR = $270 USD for google ad promotion & I'm not even at breakeven.

    I tried using FAN but its a big failure, user needs to have fb installed & logged in to show ads. Currently using admob & fan mediation but earnings are pretty much zero.

    Anyone who's thinking of taking android app development as a career, pls reconsider it. Even if your app is successful on play store you'll still won't make any money as an Indie developer. Ad networks will simply not pay you.

    Spoiler Alert: Your admob a/c will get banned once you reach $100 threshold & google will pocket that profit. Happened with 1000s of people, I think same will apply to my account as well.

    Its a good way to make money by scamming people. $100 might not sound much but if you multiply 1000s of people per day then its a lot of money for google.

    So before you jump into this career think, no customer support & google policy also mentions they can do WTF they want.

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

    Create a symlink to a cloud on Android?

    Posted: 11 Apr 2021 04:55 AM PDT

    Is it possible on Android to create a symlink to a cloud like OneDrive such that an app will use files (in this case savegame files) from that cloud?
    How can I do this? And is there an app that does this without rooting?

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

    viewbinding in 4 minutes

    Posted: 11 Apr 2021 12:08 PM PDT

    Can someone help me with this?

    Posted: 11 Apr 2021 12:04 PM PDT

    Someone left this 1-star review, he's talking about display brightness levels:

    Oneplus 7T in manual mode goes up to 550 lux and in automatic mode to 750 lux. Your application only goes to 550 lux whether it is manual or auto. Same thing with my Samsung Note 8. So it's not the same and the true Automatic mode, as the one integrated in the Android system.

    Does anyone have a OnePlus phone? If yes is it true its max brightness value is not the same as the default Android value of 255? (I thought that was just xiaomi). Also is it true this phone can reach a higher brightness when auto-brightness is on than with manual control?

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

    can the ads in an app considered as implicit intent?

    Posted: 11 Apr 2021 01:16 AM PDT

    so in free games or apps we always get those ads in the bottom or top of the screen and when we click it they take us to like either a play store or the web browser. so I was thinking is this kind of an implicit intent since we are invoking another app to do some action?

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

    getExternalStoragePublicDirectory(String!): File!’ is deprecated. Deprecated

    Posted: 11 Apr 2021 08:15 AM PDT

    Hi guys, I am creating an application that when pressing a button the camera is activated, and then save the photo in the image gallery, for this I use the following method:

    val storageDir = Environment.getExternalStoragePublicDirectory (Environment.DIRECTORY_PICTURES)

    but I realize that getExternalStoragePublicDirectory is deprecated, looking for a solution, I have used getExternalFilesDir as follows:

    val storageDir: File? = getExternalFilesDir (Environment.DIRECTORY_PICTURES)

    but it does not save the image in the gallery. Question: what method should I use to replace getExternalStoragePublicDirectory

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

    No comments:

    Post a Comment