• Breaking News

    Friday, June 5, 2020

    Android Dev - Weekly "anything goes" thread!

    Android Dev - Weekly "anything goes" thread!


    Weekly "anything goes" thread!

    Posted: 05 Jun 2020 05:41 AM PDT

    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]

    Community Megathread

    Posted: 04 Jun 2020 01:50 PM PDT

    Good morning/afternoon/evening everyone!

    Let's get right into it. Recent events have lead to a lot of debate and deliberation internally and externally. I'd like to reach out to everyone and open a dialogue between us and the community.

    We will not be allowing several posts discussing the subreddit and past events, this is not the proper method to reach us, and I don't want to stifle or drown out the great discussion that happens here with too many posts. Instead, I'd like to open this thread as a place to discuss. In response to past events I would like to state the following will be happening in short order.

    • We will be restructuring our leadership internally as some mods have differing activity levels and some wish to retire. We recognize that we are also severely understaffed which is hurting our ability to serve the community, so we will soon be recruiting additional volunteers from the community to help out. More on this will be announced soon.

    • Any action we take is as a team. At the end of the day we are volunteers doing this in our free time with the best interests of our community in mind. With everything that is going on in the world right now, now is not time for bickering, from anyone. Now is the time for coming together and solving problems. Remember that everyone is a human being. Harassment is zero tolerance.

    • In response to the above point, I would like to ask for everyone's feedback on our current rule set in the comment below. Please keep the discussion calm and collected, or it will be unproductive and removed. I am however encouraging everyone to provide their feedback and suggestions on how we can improve our community.

    Expect to see more from me personally as I take a bigger role in trying to help restructure our team and improve our community.

    Have a great day everyone!

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

    What steps can you take to protect your app from piracy?

    Posted: 05 Jun 2020 07:40 AM PDT

    Wanted to check if anything has changed or has been added. I've read SO threads and have googled around and browsed this sub. I know of compiling your code into a C/C++ library, and about Proguard and Dexguard obfuscaion, checking whether the device is an emulator, checking the package name and making the app crash if it doesn't match the original package name, adding server side code check( doesn't apply to my app).

    What other things can be done to stop script kiddies and automated tools from pirating your app?

    Edit: Don't understand the downvotes here. Has everyone learnt everything and this sub shouldn't exist? Please let me know if there's something you're offended about.

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

    Air Location 2.0 : Android library to get user's most precise live location and its updates via a callback!

    Posted: 04 Jun 2020 08:09 PM PDT

    Github Link

    Features:

    Highest precision: The location is precise up to 7 decimal places

    Either get user's location just one-time, or continue getting live udpates

    No need to manually: (the lib takes care of these) + add any permissions in manifest + add google play services location lib in gradle + ask runtime permissions + ask location settings optimization permissions

    Uses Google location services API internally - so you're in safe hands

    Simple plug and play design

    Extremely light weight library (~50KB)

    Written in Kotlin (with full Java support)

    Android 10+ compatible (gets user's location via foreground location access, i.e., an activity that belongs to your app must be visible to the user to continue receiving location updates)

    Import the lib, use the lib, and start receiving user's live location in under 5 mins!

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

    Did Rich Text Formatting sink my Play Store listing?

    Posted: 05 Jun 2020 04:47 AM PDT

    I've started to have a proper look at ASO over the last few weeks and I've been making changes to my store listings (title, description etc). I was making small progresses here and there and I'd started ranking on some lesser searched for keywords and phrases. All good. All going in the right direction.

    I then read a few articles on using rich text formatting in the descriptions and I though I'd give that a go and try and emphasise and bump up the importance of certain words and phrases. So a week ago I started to use header tags, bold tags, italics etc throughout the descriptions.

    Since then my listings have dropped off completely and I'm no longer ranking for these words or phrases - or anything else for that matter. According to AppAnnie's free ASO keyword tool I no longer rank for any word or phrase.

    So I'm guessing this is all thanks to the rich text formatting that my keywords and phrases (and app in a whole) no longer rank. Either that or Google takes longer to index pages with RTF.

    Does anyone else have similar experiences with RTF, or apps that completely dropped off the rankings for similar reasons?

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

    What are your go to ways to test your app as you are building it? Emulators, debugging mode, metro bundler, etc.

    Posted: 05 Jun 2020 07:31 AM PDT

    So I just finished building my first app with Expo, a framework for React Native that is beginner friendly. All I had to do was run "npm start", and expo runs a local server that can serve the app to my phone by scanning a QR code. Very painless, very cool. Still waiting on Google Play to review it for publishing, which is less painless and less cool.

    Anyway, expo's audio-visual library is a bit difficult to work with and I'm building audio-centric applications. I've also read that Expo adds overhead to your app bundle size. I'd like to build my next app as a bare react-native project, but I've had a hard time getting the app on to my phone that way. Running emulators on Android Studio is extremely slow on my laptop, prone to crashing, and it was difficult for me to navigate AS's settings. What are your go to ways of using the app as you are developing it? Got any pointers?

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

    Thoughts on how viable it is to make money with Android apps vs. games nowadays?

    Posted: 05 Jun 2020 08:26 AM PDT

    Do you have any opinion on which of the two branches is more likely to generate an income nowadays? I know it's still very hard to make any money on the market right now, that the store is overcrowded and that people aren't really reaching for there pockets instantaneously there but still, from your experience, would you say that either of those carries a higher intrinsic chance of success? Which one and why?

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

    Firebase Cloud Messaging alternatives

    Posted: 05 Jun 2020 01:04 AM PDT

    Are there any alternative to Firebase Cloud Messaging that are free?

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

    Error - Duplicate Resources

    Posted: 05 Jun 2020 06:45 AM PDT

    Hey Guys and Gals,

    I am very fresh into my android development career, and I have come across an error I cant figure out to fix. Android Studio keeps telling me that there are duplicate resources in my project. When I check under res(generated) I can see that there are two "values.xml" files.

    Why is that? I can temporary fix the issue by deleting the builds folder, but the error shows up again after a couple of builds....

    Thanks in advance!

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

    Is compiling your code/part of your code into a C/C++ library worth it?

    Posted: 05 Jun 2020 06:16 AM PDT

    I'm trying to learn more about obfuscation and I've come across this concept of compiling part of your Java code into a C/C++ library. Have you used it for your app, ever? From a learning point of view and for protecting your app to some degree, is it worth the effort? If you know of samples that are both in Java code and the compiled C/C++ library, please let me know about it. I have the samples that come along with NDK but I read somewhere that they aren't really reliable(or something along those lines).

    This is more about just learning it than obfuscating my app. Any help/advice/experiences appreciated.

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

    Thoughts about State Handling on Android - zsmb.co

    Posted: 04 Jun 2020 08:08 AM PDT

    Emulator 30.0.16 Canary

    Posted: 04 Jun 2020 04:04 PM PDT

    Possible to send data to pc while attached via USB?

    Posted: 05 Jun 2020 02:07 AM PDT

    Hi. Wondering if its possible to send data to computers via USB with app running? Would like to use this to install companion application on PC and also stream data to it.

    Currently I've got two separate steps for the user (user downloads the companion online then opens app to connect to pc companion via websockets).

    The story would look like:

    1: User installs app on device

    2: App asks user to plug into pc to allow download of companion

    3: App will transfer data to pc through USB if connected otherwise use websocket

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

    Maximizing OkHttp connection reuse: Debugging tools used to improve an application network stack

    Posted: 04 Jun 2020 09:04 AM PDT

    Kotlin Weekly Telegram channel

    Posted: 05 Jun 2020 12:56 AM PDT

    Kotlin Weekly Telegram channel

    For those who prefer to follow news via Telegram, I have created a channel dedicated to Kotlin Weekly, where I post the various articles as soon as they are available: https://t.me/kotlin_weekly.

    It is a way of thanking this fantastic team for their work.

    https://preview.redd.it/2xa1n7tls1351.jpg?width=1080&format=pjpg&auto=webp&s=7f2dbe593dd4a676d1f5bcfcdd47586f55656a2f

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

    Is there any way to get your apps into Chinese app stores without paying a bunch of money to do so?

    Posted: 04 Jun 2020 10:47 PM PDT

    If I just want to self publish my app and upload it just like I would to Google Play or the Amazon App Store. Is that even possible to do from the US?

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

    No comments:

    Post a Comment