• Breaking News

    [Android][timeline][#f39c12]

    Sunday, April 26, 2020

    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. 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.

    Posted: 26 Apr 2020 02:46 AM PDT

    Confused about API's and android

    Posted: 26 Apr 2020 02:13 PM PDT

    Hi,

    I am currently doing a project for school and have a couple questions. So first off, it is an android app using MVC. I have made a rds instance in aws and have made my tables and everything. Here is my problem. I am very uncertain of how to actually link my app and this instance together.

    People were saying it was super unsafe to connect the instance directly to your app so I have been researching API's and was thinking that the architecture would be something like View/Frontend in android studio which would connect to a gateway api which would call lambda functions in aws which would have my backend logic/controller which would then query my mysql rds(model). So basically no backend logic on the client's end.

    I was also trying to use amplify and there are good tutorials about adding a Rest api like directly to android studio.(hopefully that makes sense) https://docs.amplify.aws/sdk/api/rest/q/platform/android#set-up-your-backend

    that is what I am referring to.

    So I am very confused about how everything connects together exactly. If I have a rest api, would I still need the gateway api? Also, if I use the rest api, do I have my backend logic in android studio or would I want to have it in the lambda functions? Do I need both api's? Just unsure how these things all fit together.

    Please don't flame I am new to this and trying to learn. Any suggestions to setting this environment up is much appreciated. and maybe what I need more than anything is a quick explanation of how all of these pieces fit together. I have been looking at amazon's documentation but just haven't quite found something for what I am trying to do. and I am strictly using AWS for this.

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

    Is Android Studio very difficult to learn or am I doing something wrong?

    Posted: 26 Apr 2020 04:20 PM PDT

    I'm still a beginner in java. But I am able to create useful java programs and I really enjoy it. I recently wanted to port these programs to android and I'm finding it really hard.Something as simple as displaying a list seems very complicated.Does it get easier? Are there any tips I need to know or good tutorials/courses I should follow?

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

    Why is onStartCommand usually accompanied with a Foreground Service as apposed to onCreate?

    Posted: 26 Apr 2020 12:49 PM PDT

    I'l try to keep this simple.

    Within the onStartCommand, I created notification a notification (with a channel), startForeground, and return "START_NOT_STICKY".

    I start and stop the service fairly frequently, and I don't want the notification to keep showing every time, I tried moving the notification to the onCreate, as well as the startForeground, and it worked.

    My question is, why do I need, or what do I need with the onStartCommand? the Return?

    Thank you.

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

    Another issue tracker purge

    Posted: 26 Apr 2020 10:27 AM PDT

    In the past days there's been a massive purge of reported bugs on the Google/Android issue tracker, marking tens of thousands as "Status: Won't Fix (Obsolete)", just like a few years back. See: https://issuetracker.google.com/issues?q=status:obsolete

    My first post was censored, i don't understand why, as this could be useful information for reporters hoping for bugs to get fixed. Now they should re-submit, but it's probably not worth the effort since it will go ignored, and purged in a few years anyway. Sad.

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

    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

    PLEASE HELP: Android Studio is extremely slow!

    Posted: 26 Apr 2020 04:20 PM PDT

    I have Windows 10 and I'm using Android Studio 3.6.3. The problem is that the grade build and virtual device are EXTREMELY SLOW. When even when I run my app (with just the basic code, without any buttons or text), first the Gradle takes about ten minutes to be built. And then after another twenty minutes or so the virtual device finally loads but then either the system crashes or it just doesn't display my app. And sometimes when I just try to run the ap my whole screen freezes with blank loading tabs, making my whole computer dysfunctional at the time. And even when I try to close or exit out, my whole computer freezes as well. It's an absolute pain to work with!

    What I've tried: disabling and enabling numerous plug-ins, updating everything, using PowerSave mode, clearing up storage (and I have a lot of it, there is no way that could be the problem), cold booting, deleting, and restarting the virtual device, and disabling the anti-virus software for Android Studio. I've even tried to reset all the settings and reinstall the software NUMEROUS times. And I've seen no progress.

    By comparison, software such as Adobe and Visual Studio Code works perfectly fine without any issues.

    I was wondering if there is anything else I could do or if there is a better alternative to AndroidStudio for app development. Any comments, tips, feedback would be greatly appreciated!

    submitted by /u/masha-kasha
    [link] [comments]

    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]

    No notifications

    Posted: 26 Apr 2020 12:08 PM PDT

    For a couple of days I'm not getting any notifications about new reviews in my Play Console, even when those are enabled. Do you have same issue?

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

    Can you change font size in the AS layout editor?

    Posted: 26 Apr 2020 08:51 AM PDT

    I'm fighting minor bugs due to different system-wide font size preferences. Trying to debug in Android Studio, but I cannot figure out how to increase font app-wide. Looked in layout editor and tried to find a property i could temporarily add to my entire app theme. Any suggestions?

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

    App crashing on Samsung Galaxy devices with Android version 9+

    Posted: 26 Apr 2020 02:45 PM PDT

    Has anyone resolved this type of crash on only Samsung Galaxy's running version 9 or higher?

    java.lang.InstantiationException:

    at java.lang.Class.newInstance (Native Method)
    at android.app.AppComponentFactory.instantiateReceiver (AppComponentFactory.java:84)
    at android.support.v4.app.CoreComponentFactory.instantiateReceiver (CoreComponentFactory.java:56)
    at android.app.ActivityThread.handleReceiver (ActivityThread.java:3567)

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

    Spike in uninstalls on app updates ?

    Posted: 26 Apr 2020 10:57 AM PDT

    Each time I make an app update, I see a spike of uninstalls at that date. I assume this is a bunch of users that see a notification in Google Play, realize they did not use the app for a while and do not need anymore and uninstall it ? Is anyone else seeing this ?

    submitted by /u/bubbleguuum
    [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]

    Does anyone have any experience with MTA licensing or licensing from a big company? Need to use their train logos in my app.

    Posted: 26 Apr 2020 09:16 AM PDT

    I'm not sure if this type of post violated the rules so if it does I apologize. I'm hesitant to email them because I don't have anything copyright or the legal world. Is it safe to do so? The site also makes it very clear that it will take profits away for using their intellectual property. Does this mean I should look for a way around using their logos? I appreciate any input.

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

    I am confused when to use instrumentation test and when to use unit test ��

    Posted: 26 Apr 2020 08:23 AM PDT

    With AndroidX Test Framework now we can run espresso test as unit test using Robolectric backend . But am confused when to use instrumentation test and when to use unit test.

    Let's say we've two screens, MovieListActivity and MovieDetailActivity. when I click on an item in the MovieListActivity, details of that movie will be shown in the MovieDetailActivity.

    Now with this scenario,

    What could be the possible unit tests and what could be the possible instrumentation tests ?

    For eg, I can write instrumentation test to

    • Check if the movies are listed
    • Clicking on the movie goes to detail screen
    • Detail screen displays the details correctly.

    but now, these tests can be run as unit tests too,(since we're using Android X Test Framework) plus it's faster, as we're not running the test in a device/emulator. so, what makes a test eligible for the instrumentation test?

    What if I want to run a test as both unit test and instrumentation test ?

    As we're using Android X Test Framework the same unit test file can be run as an Instrumentation test by copying the file to androidTest folder. This makes duplicate file and makes the test case maintenance hard. (For eg. If i make an edit in the unit test folder, the same modification should be done in androidTest file.)

    • Is there anyway I can mark a test to run as both instrumentation test and unit test ?
    • If it's a bad practice, what's the best practice and what are other best practices should be considered when using Android X Test Framework?

    Any help will be highly appreciated. :)

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

    Toughest Android concepts to learn as a beginner?

    Posted: 26 Apr 2020 11:44 AM PDT

    When just starting to learn Android development, what were some of the most challenging concepts for you to learn and understand? Also, what about the concept made it unintuitive for you?

    submitted by /u/thebteam10
    [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

    Need help with android Room and Pagination *URGENT*

    Posted: 26 Apr 2020 12:05 PM PDT

    So i have a list(recycler view) of items which is loaded from a local db using room and pagination. Also i have used livedata for pagination. Now whenever i click an item, I want to highlight the text in it and save it to the database. But since this causes a change in the table, room triggers the livedata callback and the list is refreshed.

    So the problem is whenever i click "highlight text", the list is refreshed and recycler view animation is fired leading to a bad ux. I want to avoid the room callback whenever i update the isHighlighted flag in the db. Also i want to keep using the pagination which uses live data observer, so i cannot remove the observer after the list is loaded.

    submitted by /u/smithshelke
    [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]

    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]

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

    Posted: 25 Apr 2020 06:47 PM 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]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel