• Breaking News

    Sunday, April 26, 2020

    Android Dev - Just published my second Medium article, showing you how to create way better logs that show you where a log was made and has a hyperlink so you can jump to it's location, just like with Exceptions. Any Feedback is appreciated.

    Android Dev - Just published my second Medium article, showing you how to create way better logs that show you where a log was made and has a hyperlink so you can jump to it's location, just like with Exceptions. Any Feedback is appreciated.


    Just published my second Medium article, showing you how to create way better logs that show you where a log was made and has a hyperlink so you can jump to it's location, just like with Exceptions. Any Feedback is appreciated.

    Posted: 26 Apr 2020 02:46 AM PDT

    SoundSpice, An open-source music player for Android

    Posted: 25 Apr 2020 02:25 PM PDT

    Android 11 interface adjustment: add fast screen capture, multi-tasking to keep up with domestic ROM. After adjustment, the new multitasking management page will display a larger App card.

    Posted: 26 Apr 2020 12:42 AM PDT

    My first app with Kotlin: Coronavirus Stats. Any reviews? (Source code in comments)

    Posted: 25 Apr 2020 12:44 PM PDT

    Alternatives for (Turn Based) Multiplayer

    Posted: 26 Apr 2020 06:11 AM PDT

    Hey fellow android devs!

    Since google has shutdown its multiplayer APIs, I'm looking for a (free) alternative. Currently looking at https://playerio.com/ . Does anyone have some experience or other suggestions?

    Just some context: In my game players have a "preparation" phase where they make some strategic decisions and then a "fighting" phase where they cannot interact but just watch how the fight plays out. Some gameplay can be found here: https://www.youtube.com/watch?v=s05HF9LPITA

    So I guess it would be enough if i send the result of the "preparation" phase and then wait for the other player to respond.

    Any suggestions/feedback is very much appreciated.

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

    Bluetooth & Tasker

    Posted: 26 Apr 2020 07:58 AM PDT

    I was curious if it would be possible to configure Bluetooth through Tasker to ONLY communicate to MAC addresses I specify...or would this be something achieved by editing a .db or other file somewhere buried on a BT system folder?

    This is related to the Google/Apple tracker fiasco...I'd prefer to disable my phone from pinging other phones and communicating with them.

    The Android ecosystem is new to me, so I apologize in advance if my original question doesn't make sense. Thanks!

    Edit: I'm rooted on Pixel 4 XL, QQ2A.200405.005 and running Kirisakura_Q 4.2.0.

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

    Creating a music player app

    Posted: 26 Apr 2020 07:46 AM PDT

    How can I make a music player app where users can browse as well as download music. Are there API's which provide that or do I need to get licenses?

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

    i need to find a way to search on firebase cloud data , can someone help ?

    Posted: 26 Apr 2020 06:54 AM PDT

    so i have an android app where users can add posts with link on my app, anyway it is not really important what my app is

    so i have a lot of users and a lot people adding posts that i can not manage the data

    For example, i can see a post with link on the app that i want to delete but because i have so much data i can not find the link that i am looking for

    and i could not find a search button on firebase that can help

    so what do i do guys ?

    thanks

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

    Free/Paid Obfuscator

    Posted: 26 Apr 2020 06:23 AM PDT

    I need a obfuscator for my app, I dont want that ppl can mod my apk.

    Anyone knows a cheap and simple solution?

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

    I can't get my PC to recognize my phone

    Posted: 26 Apr 2020 05:26 AM PDT

    Hey guys!

    So as the topic says I can't get my PC to recognize my phone..

    I have a Xiaomi Redmi Note 4 (Snapdragon) with MIUI 11 Android 7.0

    The problem is that I connect my phone to the PC and nothing happens, doesn't even give me a connect sound and the phone just charges, not giving me any actions to choose from (mtp, ptp, etc). I have USB debugging turned On and still nothing, USB tethering is also grayed out for me. I would love to unlock my bootloader but can't due to this, it doesn't even show up in the device manager at all. I have also never connected my phone to the PC before.

    I have tried: - A billion different drivers, installing, reinstalling, and so. Sometimes I get a code error 10 (donno if it means anything at all) - Restarting my PC and phone a zillion times - I tried manually installing "wpdmtp.inf" (C:\Windows\inf) - Different USB Cables and Ports (USB 2.0 and 3.0) (although all of them work for my brother's Sony phone except for mine) - Disabled Driver Signature Enforcement (I got a warning sign when installing drivers but it seems it did nothing) - Tried multiple PCs (my PC (Win 10) and my dad's PC (Win 7)) - Installed MI suite, MiFlash and such but not even those recognize the phone, it just charged when I connect it to a USB. - I enter Fastboot mode and the phone just automatically restarts itself after like 7-10 seconds - Recovery mode is stable, doesn't restart but I don't have much options to choose (restart into phone, wipe data, connect to MIassistant)

    I am completely lost and trying to figure out WHY it doesn't recognize my phone and only charges. I would appreciate any help and would be grateful for it. Thanks in advanced!

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

    ZeplinPlus is an Android app can view Zeplin screens & Open Source!

    Posted: 25 Apr 2020 06:47 PM PDT

    Question about fragments and activities

    Posted: 26 Apr 2020 05:06 AM PDT

    Hi, I'm in the process of making an Android app for my final year coursework at uni and I've been having trouble using fragments.

    I wanted a navigation drawer and was unsure of how to make one work without using fragments so I've been forced to make every screen of my app a fragment and this has been making my life rather difficult...

    Every tutorial I look at online creates its examples in an Activity rather than a fragment and then when I try to translate the logic over to a fragment things end up not working. Currently I'm trying to get SQLite working within a fragment. I have managed to get it working within an Activity but cannot for the life of me work out how to get it working in a Fragment. I've found having to use fragments a real boundary to me making any progress with many aspects of my app and I don't really know how to get around it. Is there any kind of set of rules for translating code written in an activity to a fragment?

    Also if anyone has any resources specifically about working SQLite inside a fragment it'd be much appreciated because I can't find anything useful online. Thank you for reading.

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

    Creating a plugin to trigger builds on Bitrise.io

    Posted: 26 Apr 2020 04:55 AM PDT

    Question about scoped storage - music player app

    Posted: 26 Apr 2020 04:30 AM PDT

    Hello friends, hope you're doing well!

    I'm the lead developer of a simple music player app to play music from internal/external memory.

    This morning I received a message on GitHub issues stating that I have to remove the storage permission to make my app compliant with scoped storage and to avoid security issues on API 29 and above.

    I'm not a pro dev and I don't have much devices. I can access to Android 10 only since 1 month. Anyway, some months ago I received bug reports from Android 10 users and made all the necessary changes to make the app compatible (these users luckily tested the changes):

    1. Retrieve media's id and build content uri to play media files and extract other info like birtrate. This change applies to all Android versions supported.

    2. Replace DATA with the new BUCKET_DISPLAY_NAME column to be able to organize music by folder name in Android versions above Android 10.

    3. DATA column is queried only in versions below Android 10 for organizational purpose only, i.e. to be able to organize music by folder name. No reference of full paths is stored into preferences or databases.

    4. Before 1,2,3 changes the quick fix was to opt in legacy storage. I removed it once the users confirmed 1,2,3 changes were working on their devices.

    So, is my app compliant?

    Correct me if I'm wrong, but afaik you can avoid to ask permissions only if you rely on the app's private folder and you try to access files created by the app (I'm actually relying on scoped storage only on another app that saves images to storage).

    If I remove the read storage permission the MediaStore query fails and the app crashes on Android 10.

    I need some pro devs to shed some light. Thanks :)

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

    Preview of Harmony: A multi-process safe SharedPreference

    Posted: 25 Apr 2020 03:54 PM PDT

    https://github.com/pablobaxter/HarmonyPreferences

    I know there are other "multi-process SharedPreference" libraries out there like Tray (https://github.com/grandcentrix/tray) and Tencent's MMKV (https://github.com/Tencent/MMKV), but what bothered me about them was the use of either NDK or that it used a ContentProvider. I didn't want something to depend on a second process starting, especially if I needed the preference data early.

    Harmony uses no ContentProviders, is available as quickly as SharedPreferences (first read does memory caching), and has no native code (NDK). It implements the SharedPreference interface, and is completely functional. All you have to do to get it is call Harmony.getSharedPreferences(context, "pref_name") in Java or Context.getHarmonyPrefs("pref_name") in Kotlin.

    I'm still actively developing on it (mostly unit and performance tests), so use it at your own risk if you decide to run with it. I know some of us have suffered dealing with multi-process apps and sharing app data between it, so I'm hoping some find this potentially useful.

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

    How to achieve this type of setting menu? What it is called? It is part of this app: https://play.google.com/store/apps/details?id=io.tinbits.memorigi

    Posted: 26 Apr 2020 04:12 AM PDT

    Looking for Android dev mentor

    Posted: 26 Apr 2020 12:07 AM PDT

    I'm currently studying computer science knows c++. Doing competitive programming to become good at data structures and algorithms. Can understand python code as well. If anyone can help me or ping me with someone who is open for mentoring please let me know. Thanks.

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

    Problem with backup and restore permissions via ADB

    Posted: 26 Apr 2020 02:53 AM PDT

    Hello,

    I'm looking for a very quick fix as I'm trying to configure ~400 android 9 tablets!

    I used an MDM solution to do the initial provisioning but I need to configure further using ADB. The devices allow "adb restore" while enrolled (hexnode) but NOT once they are disenrolled, which they all are already now; instead they just don't prompt on screen to restore at all, and time out in ADB.

    Is there an ADB command to enable this permission again? If not I have to factory reset them all and re-enrol them which will take me a long time!

    Kev

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

    What are the benefits of Timber?

    Posted: 25 Apr 2020 08:29 AM PDT

    For logging in complex apps (including logging in production) I used Slf4j + Logback combo in the past, wrapped in my own Logger class (or any other name, really). This way I can use many pre-existing encoders, appenders and policies, or write my own (if I have special requirements).

    Nowadays, I see developers use Timber more and more. Undoubtedly, for simple logging requirements (like just limiting logcat to debug builds), Timber is cool. But, as far as I can see, if I'd need to implement any reasonably-complex logging strategy, I'd need to augment Timber with the same Logback (or something similar). So, in essense, Timber would become an additional dependency.

    What benefits do I get from Timber to justify adding it as a dependency?

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

    Have Android developers tried using A / B testing to increase user growth?

    Posted: 25 Apr 2020 11:09 PM PDT

    What can a malware app really do?

    Posted: 25 Apr 2020 10:22 PM PDT

    My country's security service issued a statement claiming that this app could steal your stuff from your phone including your banking details. How accurate is that?

    https://malware.wikia.org/wiki/Cerberus_(Banker)

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

    In App Billing library - latest

    Posted: 25 Apr 2020 01:46 PM PDT

    I have developed an app which contains some in app purchases. Google has released a new billing library and I cannot find any tutorials on that and neither does google have a java code in its github examples. I have written some code can anyone here help me with it. I have submitted the app in internal track but when opening the page it shows nothing and the logcat too shows no error.

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

    No comments:

    Post a Comment