• Breaking News

    [Android][timeline][#f39c12]

    Friday, July 31, 2020

    Weekly "anything goes" thread! Android Dev

    Weekly "anything goes" thread! Android Dev


    Weekly "anything goes" thread!

    Posted: 31 Jul 2020 05:40 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]

    A basic game(?) completely drawn on canvas using Custom Views

    Posted: 30 Jul 2020 08:16 PM PDT

    My app gets a lot of 1 star reviews from non-English users because they don't understand what it is. Any suggestions on how to avoid this?

    Posted: 31 Jul 2020 04:35 AM PDT

    I've been maintaining a moderately successful app over the past few years that most users love. 99% of my English users rate it at 5 stars and say they love it.

    But then I have a lot of non-English (mostly Brazilian) users that download the app not fully understanding what it is. So they end up leaving a 1 star review with comments like "worthless" or "garbage." Over time this has gradually lowered my overall rating.

    I don't want to limit what countries I make the app available to as I have a lot of non-English users that do understand the app and love it. Plus non-America sales are about 33% of my income.

    I'm also hesitant to add a disclaimer in Spanish to my store page because of the impact it may on on SEO.

    Can anybody suggest how I might avoid this problem? Thanks for any ideas!

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

    Now in Android: 22 - Android 11 Beta 2, AndroidX, articles, videos, training, and more!

    Posted: 31 Jul 2020 12:19 PM PDT

    How to send Keyboard strokes from phone to PC (like a second keyboard or mouse control)?

    Posted: 31 Jul 2020 02:21 PM PDT

    I ust had an idea for an app but considering the fact that i use phonegap/cordova i would describe myself a noob. I once started with the Android SDK but then the Hybrid-App train popped up and i jumped on it.

    What i want: I want to send keystrokes from my Android phone to my PC. The phone is connected via USB.

    What i know so far; While doing my research i found these informations, please bare with me my noobish describing and wording!

    1. There are apps that act as "second" mouse or keyboard and allow you to control your PC by simulating a keyboard or mousepad on your smartphone.
    2. Most of the under 1) mentioned apps use a small server tool that you need to install on your PC so that AFAIK these open a certain port on your PC that allow the app on your smartphone to use this port to comunicate with your PC.
    3. Some smartphones have a special Kernel that as far as i understood do not need a server tool to be installed on the PC.

    Here are my questions:

    1. Is there any way now in 2020 where this "comunication" can be handled without the need of installing a server tool?
    2. If i try to make this via Bluetooth, is there a way to make the PC think that the smartphone is a keyboard? I know how to nativly call the camera, micrphone etc. and i am sure that in the Android SDK documentation i can find out how to use Bluetooth, but is this "simulation of a keyboard" even possible?

    Thanks in advance to all of you and your time and support!

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

    How to use Composite builds as a replacement of buildSrc in Gradle

    Posted: 31 Jul 2020 03:48 AM PDT

    Nearby Sharing Feature Now Available on Windows via Chrome

    Posted: 31 Jul 2020 07:08 AM PDT

    Nearby Share, Android's answer to Apple's AirDrop sharing feature, has now reportedly been rolled out to Windows users via Google Chrome. It allows users to share files between compatible devices wirelessly and instantly. Last month, the Nearby Share feature was rolled out on the Google Play Services Public Beta Program. Soon after, Chromebook users also got access to the feature as it was reportedly rolled out to Chrome OS. Now, it appears that Windows user can use Nearby Share on the Chrome Dev or Canary channels.

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

    Native Memory Profiling with Android Studio 4.1

    Posted: 31 Jul 2020 01:22 PM PDT

    Facebook and admob ads

    Posted: 31 Jul 2020 09:28 AM PDT

    I have an app with admob ads can you imagine that my cpm is 0.06$ I switch to the Facebook ads and the cpm was around .5 it's very good compare to admob ads but the fill rate in Facebook was 56% which awful now I'm I'm using both of them with admob mediation but admob usually show their ads and it has been one month I'm waiting for admob to optimize the cpm for the both network but nothing happens I manually enter the cpm for Facebook I tried to put very highly cpm for Facebook to made their ads show first but still admob get most of the ads the question is I thing about something simple since the Facebook ads pay the high cpm and low fill rate in the code in Facebook method if the there is no Facebook ads show admob ads any one try this trick or any one know is this will efficiency work ? Sorry for poor English it's not my first language

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

    Neumorphism Library for Android.

    Posted: 30 Jul 2020 11:21 PM PDT

    Neumorphism Library for Android.

    Neumorphism Android

    A clone of the CRED app as a demo

    There are already a few libraries to achieve Neumorphism on Android. But I've added a Custom ConstraintLayout. So you can directly use this ViewGroup or as a normal CardView. The ConstraintLayout can give you the effect on each of its children, so you don't have to manually wrap each child with the card view.

    This is my first ever library. So, please try it out and am open to suggestions.

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

    MVVM LiveData: What's the best way to go about this?

    Posted: 31 Jul 2020 12:24 PM PDT

    I am working on an app for an academic project, and I don't understand something here. According to some information I read and watched on the interwebs, when you use an MVVM structure, the view should be aware of the viewmodel and the viewmodel should be aware of the model (roughly). Forgive my terminology if that's not quite correct.

    I am working on an app that takes location data from the user, location data grabbed from a remote source, calculates some information (distances, heading, etc) and then displays it to the user in the main activity.

    From my understanding, I should have some LiveData and the View should observe that and display it on changes. However, one video said that the model should have LiveData that the ViewModel can observe, then the ViewModel should have LiveData that the View can observe. Is that right? It seems kind of crazy to have multiple LiveData sets.

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

    Hey guys, what is your opinion on optimizing on the go?

    Posted: 31 Jul 2020 08:14 AM PDT

    I'm very new to android dev scene, and one thing that I find that keeps bugging me while coding is wondering there's a better way to do xyz task and if I don't use that now I'll be in a mess in the future. So wanted to ask the more experienced people here, what do you guys do? Do you guys seek out the latest and best practices as you code or is it really like if it works then it works regardless of the fact you found the hows in a 1786 stack overflow comment and you relax?

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

    An update on Exposure Notifications

    Posted: 31 Jul 2020 11:35 AM PDT

    When did cloud functions become a part of the blaze plan??

    Posted: 31 Jul 2020 11:26 AM PDT

    I saw that cloud functions are not free anymore and we need to enable billing to use it.
    Is there a way I can use it for free?? when did it become a paid service??

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

    Android Studio question: Can I modify the system files of a physical device?

    Posted: 31 Jul 2020 10:48 AM PDT

    Hello, I am a super noob to android studio.

    I would like to change the boot animation of my android device and using the android studio I have been able to find and extract the original boot animation. I am wondering if there is some way that I can edit the files permanently. I am trying to avoid rooting my phone if possible. Any advice would be greatly appreciated!

    I decided to post this here because I figured a lot of you would have more experience with the android studio than me.

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

    Failed an android exam for a job. Would like to ask what I could've done better.

    Posted: 30 Jul 2020 09:34 PM PDT

    Here is the github link for the project:
    https://github.com/gmatcat/EnglishCentralExam

    This was the positions' responsibilities for Android Developer

    • Design and develop Android mobile applications using an agile and test-driven development process
    • Unit test code and build instrumented tests
    • Implement custom native user interfaces using latest Android programming techniques
    • Document and maintain design specifications, source code, and archives for new applications and ideas
    • Perform individual project components within the entire development lifecycle including implementation, testing, deployment and maintenance
    • Work from UI/UX requirements, APIs, mockups to build functional, high-performance Android phone and tablet apps

    The exam details:

    (CRUD person) Given a pre-defined fictional product, account schema, develop a shopping cart

    proof of concept application that should show the following key elements:

    ● Show product listing

    ● User can select a product

    ● User can add product to shopping cart

    ● Shopping cart shows the currently added products

    ● User can check out, simulates fake payment and a success page.

    and use these libraries ( I used all of them )
    Butterknife, RXJava, Dagger, Retrofit, GreenDAO

    The notes I sent them:
    Inserted mock product/user data on LoginActivity onCreate and on main thread since pre-defined data is required.
    Created mock retrofit implementation on Presenters and commented it since data source is from GreenDao.
    GreenDao DB architecture may not be the best since it's my first time using it.
    Tested with real device Vivo1811.
    No handling of DB upgrade, shopping cart delete, choose payment method, create account, edit account details.
    No unit/instrumented tests
    15 products in total, separated in three categories.

    No language was specified so I used native Java. They told me "The final rating of your exam is on the average, not bad but also not that impressive. The open position that we have will undergo a few days of training since we currently have a big project that has to be done as early as possible. We also made some changes with the requirements for this position like senior level with more than 5 years of work experience in android development." I have only 2+.

    I'm not able to put on the most effort since I was also working. I also did not put much into design as I would assume they have a UI/UX designer.

    They gave me 7 days to work on it but I sent it only after 5 days because I think it was already "good enough" and wouldn't like someone getting ahead of me for the position. In hindsight that was probably a mistake as I would have more time making unit tests. They also did not pull my project which means they just checked the code and the screenshots I sent them.

    I felt as though I have become too comfortable since I already have a job at a small company and have plateaued in the last year or so. How would someone with 5 years of experience in Android development do this project with 7 days? I will truly appreciate any feedback that can be done to improve my code. Thank you very much.

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

    What STB emulator is there for STB apps?

    Posted: 31 Jul 2020 04:46 AM PDT

    We develop an STB app, we run it on actual STB boxes for testing, the boxes are slow and the development experience is so bad.

    Many options on the STB are only accessible through a remote control. We use windows 10. We tried many Android emulators and bluestacks and whatnot, all of them boot the app but they boot it in phone layout, we're looking for

    • Free STB emulator that can be used for development and run on windows 10
    • The STB should open the app in STB layout, as if we're using an actual STB BOX
    • The STB should map some keyboard keys as if they were TV remote control keys, such that everything we can do on an STB, can be done on the emulator
    submitted by /u/lynob
    [link] [comments]

    Managing files associated with SQL entries

    Posted: 31 Jul 2020 01:00 AM PDT

    I have a room table with list of paths to photos located in internal storage. When I delete an entry I obviously want to delete the actual file. Should the repository be responsible for that? If not, how should I structure this? Should I have another injected singleton that would manage the deletion on its own? Thanks for all the responses!

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

    Androibites | Overcoming limitations of positional Destructuring!

    Posted: 30 Jul 2020 09:36 PM PDT

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel