• Breaking News

    [Android][timeline][#f39c12]

    Monday, September 2, 2019

    Weekly "who's hiring" thread! Android Dev

    Weekly "who's hiring" thread! Android Dev


    Weekly "who's hiring" thread!

    Posted: 02 Sep 2019 05:45 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]

    Weekly Questions Thread - September 02, 2019

    Posted: 02 Sep 2019 03:57 AM PDT

    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]

    A small (not small) rant about piracy and Google's unwillingness to stop it.

    Posted: 02 Sep 2019 04:13 AM PDT

    Just over a year ago, I made a small card game for Android. Nothing special, but I enjoyed the challenge of adding an online mode and learning about setting up a server and all the work involved in getting it to work. I completed development and after testing the online functionality worked as expected, I released it to the Play Store:

    https://play.google.com/store/apps/details?id=com.parallelrealities.ultrarummy

    The game started racking up a lot of installs as well as its fair share on uninstalls as well. Crash stacktraces were emailed to me from time to time, so I fixed these bugs and uploaded new versions of the game. All was well.

    However, about 4 months after the game was uploaded to the store, I started getting more crash emails and online games being played, but something wasn't right. The package name in the stacktrace email was different and the number of installs from the Play Store hadn't increased with respect to the number of games played. I ignored it for a moment, thinking that something odd was going on and it would go away by itself. After a few days however, I realised something was up and searched the Play Store for the package mentioned in the crash email.

    Much to my horror, another developer had downloaded my game, decompiled it as best they could (the code is obfuscated), replaced the graphics and a couple of other items, and re-uploaded it to the Play Store. I downloaded the game and gave it a try. It was the game I'd written, just with slightly different graphics, complete with the online functionality:

    https://play.google.com/store/apps/details?id=com.paragisoft.remi.id

    (Bizarrely, it looks like the developer actually replaced their less popular app with this one, to capitalise on their already existing userbase. You can see this by simply scrolling to the end of the screenshot images.)

    Obviously I wasn't going to stand for this. I filed a complaint to Google about this infringement of my copyright and waited for the matter to be resolved. Except it wasn't. A few days later I received a response from Google stating that they were not going to take any action, and to speak to the developers of the pirated app. I sent several more requests, and even emailed Google directly about the problem, but it all fell on deaf ears (because the bots that manage the requests don't have ears).

    To make matters worse, I discovered that a second developer had also copied the app, so now there are two of them:

    https://play.google.com/store/apps/details?id=com.redlime.remirummy

    In Google's defence, I never bothered emailing the developers, but what would be the point? They'll simply read my email and delete it without a second thought, because they know that nothing will happen to them. I guess I could pay a lawyer a lot of money to assist with taking the application down, but what's to stop it from simply reappearing a couple of weeks later? At time of writing, both apps have far more installs and ratings than my original.

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

    PSA: Square has moved some of their repos on GitHub to a cashapp Org

    Posted: 02 Sep 2019 09:16 AM PDT

    What happens when you subscribe to an RxJava stream? I just published an article that goes into details of how RxJava works

    Posted: 02 Sep 2019 08:35 AM PDT

    Jetpack Compose nearing initial release: "We're preparing artifacts to be available outside of the androidx repository."

    Posted: 01 Sep 2019 10:30 PM PDT

    A small (not small) rant about piracy on the Play Store and Google's indifference towards it.

    Posted: 02 Sep 2019 04:27 AM PDT

    Just over a year ago, I made a small card game for Android. Nothing special, but I enjoyed the challenge of adding an online mode and learning about setting up a server and all the work involved in getting it to work. I completed development and after testing the online functionality worked as expected, I released it to the Play Store:

    https://play.google.com/store/apps/details?id=com.parallelrealities.ultrarummy

    The game started racking up a lot of installs as well as its fair share on uninstalls as well. Crash stacktraces were emailed to me from time to time, so I fixed these bugs and uploaded new versions of the game. All was well.

    However, about 4 months after the game was uploaded to the store, I started getting more crash emails and online games being played, but something wasn't right. The package name in the stacktrace email was different and the number of installs from the Play Store hadn't increased with respect to the number of games played. I ignored it for a moment, thinking that something odd was going on and it would go away by itself. After a few days however, I realised something was up and searched the Play Store for the package mentioned in the crash email.

    Much to my horror, another developer had downloaded my game, decompiled it as best they could (the code is obfuscated), replaced the graphics and a couple of other items, and re-uploaded it to the Play Store. I downloaded the game and gave it a try. It was the game I'd written, just with slightly different graphics, complete with the online functionality:

    https://play.google.com/store/apps/details?id=com.paragisoft.remi.id

    (Bizarrely, it looks like the developer actually replaced their less popular app with this one, to capitalise on their already existing userbase. You can see this by simply scrolling to the end of the screenshot images.)

    Obviously I wasn't going to stand for this. I filed a complaint to Google about this infringement of my copyright and waited for the matter to be resolved. Except it wasn't. A few days later I received a response from Google stating that they were not going to take any action, and to speak to the developers of the pirated app. I sent several more requests, and even emailed Google directly about the problem, but it all fell on deaf ears (because the bots that manage the requests don't have ears).

    To make matters worse, I discovered that a second developer had also copied the app, so now there are two of them:

    https://play.google.com/store/apps/details?id=com.redlime.remirummy

    In Google's defence, I never bothered emailing the developers, but what would be the point? They'll simply read my email and delete it without a second thought, because they know that nothing will happen to them. I guess I could pay a lawyer a lot of money to assist with taking the application down, but what's to stop it from simply reappearing a couple of weeks later? At time of writing, both apps have far more installs and ratings than my original.

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

    To Parse or Not to Parse XML on Android in 2019

    Posted: 02 Sep 2019 02:10 PM PDT

    A code highlight library i created some time ago. To whoever might be interested

    Posted: 02 Sep 2019 11:50 AM PDT

    Codeview is an Android library that lets you preview code in webview very easy and simple with highlights and colors.

    https://github.com/avraampiperidis/Codeview

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

    Corbind v1.1.0 - Coroutine binding APIs for Android UI widgets

    Posted: 02 Sep 2019 06:58 AM PDT

    Hi everyone!

    I want to introduce a new version of the Corbind. The main new feature is the new module for ViewPager2 extensions, and several new extensions for `corbind-material` module. More details in changelog. Thank you.

    https://ldralighieri.github.io/Corbind/

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

    �� A way to secure app code in android studio

    Posted: 02 Sep 2019 06:15 AM PDT

    Any way to secure a code in android studio apart pro-guard. Dexguard is a bit expensive for our standards here. I have a problem with piracy of my app. On every update I make they mod app with removed ads, removed crashlytics, analytics libs.

    Any way to prevent them of using app if its moded previously or so on?

    Thanks

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

    Question about testing kotlin channels

    Posted: 02 Sep 2019 01:32 PM PDT

    It seems like Broadcast channel could easily be used to replace a lot of the functionality that Rx PublishSubject brings. However I am unable to test it. How should you unit test that the correct values are emitted from a broadcast channel? I have tried verify { broadcastChannel.send(expectedObject) } (using Mockk for testing). It always says that send() is never called. Anyone have any other ideas?

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

    Trying to put a bundle on Google Play: error

    Posted: 02 Sep 2019 01:05 PM PDT

    Everytime I try to upload an .aab bundle to Google Play, the upload fails. I have no idea what's going on here, and Google documentation is laughable (or tragic).

    Clues? Hints? Thanks everyone.

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

    Behavior of ViewGroup.removeViewAt

    Posted: 02 Sep 2019 01:54 PM PDT

    Let's say I have a ViewGroup (vg) with 3 views (v1, v2, v3) added to it as such:

    vg.addView(v1, 0) vg.addView(v2, 1) vg.addView(v3, 2) 

    Now if I do vg.removeViewAt(0) will the index of v2 and v3 change?

    I already checked the docs) but, that didn't help.

    If it helps, I am dealing with a ViewPager, the docs) didn't even have the function.

    Thanks in advance!

    Additional Info:

    + I am working with Kotlin & androidx library.

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

    Make app start faster after devices boot.

    Posted: 02 Sep 2019 01:19 PM PDT

    Well, this is my long time strugle, I am developer of L Speed (r/LSpeedOptimizer) android optimizer aplication which optimizes device, one of the receivers is boot_completed which triggers after the devices boot. A lot of aplications such as whatsapp or facebook or viber starts right after the boot (fes seconds after) while mine application do it 2-3mins after.

    What I can do? Is it related to app package name or somethibg other. Searched Google and stackoverflow, but without any luck. Does anyone have any idea about this? Mine app starts a service via the receiver, also followed a log, there are no ANRs or Exceptions or so on.

    Thanks in advance. Cheers

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

    How To Disable Firebase Crashlytics in Android Debug Builds

    Posted: 02 Sep 2019 04:18 AM PDT

    £100 to promote my app

    Posted: 02 Sep 2019 12:45 AM PDT

    Hi, I released my first app last week, it's the only one out there that does what it does, but it's for a niche market.

    Next month I will have around £100 available to promote it (currently asking around for people to try it and give feedback before I start pushing it more), I've heard I could maybe advertise globally on Facebook for around $100. I have also seen offers from Google AdMob where if I spend £125 they will give me £125 free.

    I've never done anything like this before and I don't know how it works, if I run an ad with FB or AdMob, will they target my niche audience or will it get advertised to people who won't find a need for my app? What would my budget get me with those 2 advertisers?

    Also, if you only had £100 to advertise an app, what avenue would you take?

    The app is Android only, not iOS

    Thanks

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

    How do you test android apps like chat app on multiple devices at a same time ?

    Posted: 02 Sep 2019 11:22 AM PDT

    I want to test a scenario when A send message to B i need to do end to end testing whether B received a message or not

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

    Zero impressions on Admob ads

    Posted: 02 Sep 2019 10:45 AM PDT

    Hi guys, I've a published game on play store that uses admob for serving ads. I made the game using unity. Everything was working fine but since yesterday no ads are being shown in the game. There are plenty of ad requests but I dont have any ad impressions. I tested the game on a friends phone and no ads are being shown. I searched online and this has happened to many people but nobody has a solution. Has anyone here experienced this? How to fix it?

    The code is correct because test ads are working fine.

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

    Play store issue

    Posted: 02 Sep 2019 10:34 AM PDT

    Hi I have an app on google play that i put on sale every month, previously it was downloaded like 5k per day on every monthly sale but yesterday i put my app on sale and i only got 65 installs. Is this because google's new app content rating whic i set to 13+?

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

    Obfuscapk: A black-box obfuscation tool for Android apps

    Posted: 02 Sep 2019 02:32 AM PDT

    Today we officially release Obfuscapk, a free (and humble) Android APK obfuscator.
    It is not a commercial product, we need your help... get the code:

    https://github.com/ClaudiuGeorgiu/Obfuscapk

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

    Does Play Store Open beta updates takes more than 3 days?

    Posted: 02 Sep 2019 09:31 AM PDT

    I know Google has change policy and review progress can take some time but I wanted to test latest changes with open beta and closed alpha. I have updated a few times on the way in last week but none of them has been published for neither for closed alpha group nor open beta. It has been more than a week for first version update and more than 3 days for latest update and still the app is in review state. This makes me drop all android develop, even Apple was faster to review back in days and right now takes a day or two. I am not going to make the app released yet, because there are things to do but I cannot even test it with closed alpha nor open beta group. How can we make this progress faster? How can I avoid this much waiting for further submissions?

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

    Review of harmful apps found on Google Play in August 2019: 204 apps with over 438,400,00 installs

    Posted: 02 Sep 2019 09:30 AM PDT

    Do you use Cloud-Based testing platform for testing android app before production?

    Posted: 02 Sep 2019 01:02 AM PDT

    I am trying to improve testing in my company and seeking for advice about it. What practices do you use for testing your application before going to production? Do you use Cloud-Based testing platform for envoking multiple emulators, or do you use real devices for testing? Which resolutions do you test and which api levels?

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

    Google, please be more clear in your "I've sent your app to hell" emails.

    Posted: 02 Sep 2019 02:15 AM PDT

    Today I've received this:

    Your app is uploading users Installed Packages information to https://www.myurl.com without a prominent disclosure. Make sure to also post a privacy policy in both the designated field in the Play Developer Console and from within the Play distributed app itself.

    Similar emails have been received in the past, the subject of offense varying wildly, yet none of these clearly specify who is the offending API I've called. I suspected that getPackageManager().getInstalledPackages() was the offending API (I have no fucking clue to be honest), yet none of those calls result on that info being sent https://www.myurl.com.

    Google, please include as much technical info as possible in your emails. We're all devs here, and you're not making it easy for us.

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

    Subtitle in listview kotlin

    Posted: 02 Sep 2019 08:02 AM PDT

    How do i add subtitle to listView?

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel