• Breaking News

    [Android][timeline][#f39c12]

    Sunday, September 29, 2019

    Android Custom View 102 (Part II) Android Dev

    Android Custom View 102 (Part II) Android Dev


    Android Custom View 102 (Part II)

    Posted: 29 Sep 2019 11:42 AM PDT

    How to set shadow colour to a Cardview like this? Will i have to build a custom view? If so where do I start?

    Posted: 28 Sep 2019 10:06 PM PDT

    �� A simple expandable layout that shows a two-level layout with an indicator.

    Posted: 29 Sep 2019 07:47 AM PDT

    A Nice Looking Soccer App

    Posted: 29 Sep 2019 05:32 AM PDT

    Hello developers and fellow users,

    I have an app that's currently in beta, The idea is to make it an aggregator for most sport channels from around the world.

    Currently it only supports Ethiopian Premier league as that's where am from. The underlining library the app is built on can be found on github: https://github.com/brookmg/Soccer-Ethiopia-API

    The playstore link is: https://play.google.com/store/apps/details?id=app.kuwas.android

    Any feedback is appreciated. Thank you

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

    How to get system accent color?

    Posted: 29 Sep 2019 10:16 AM PDT

    I saw here https://www.google.com/amp/s/www.androidauthority.com/change-system-accent-color-android-10-1025163/amp/ that on Android 10 you can change the system accent color. Is there a way to get this color?

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

    KasperskyLab/Kaspresso: Great UI test framework

    Posted: 29 Sep 2019 03:19 AM PDT

    Kotlin-Fixture

    Posted: 29 Sep 2019 02:06 PM PDT

    Hi everyone,

    In the past few weeks I have been working on an AutoFixture port for Kotlin (and Android): Kotlin-Fixture. At the moment, the project is in a preliminary experimental stage aiming to see how far is possible to go with Kotlin's Reified + Reflect in order to implement AutoFixture's behavior. I'm learning about it in the process and there's a lot of space for improvements. (:

    There is still quite some work to be done - such as refactoring, porting other features, etc. - but I would be happy to hear any feedback about what already implemented and your thoughts about the general concept.

    Description: Kotlin.Fixture is an open-source library based on the popular .NET library: AutoFixture. Kotlin.Fixture makes it easier for developers to do Test-Driven Development by automating non-relevant Test Fixture Setup, allowing the Test Developer to focus on the essentials of each test case.

    Link: https://github.com/marcellogalhardo/kotlin-fixture

    Thank you in advance!

    Cross-post, Kotlin: https://www.reddit.com/r/Kotlin/comments/db1b07/library_kotlinfixture/

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

    Can I exclude an Activity from the back stack when opening it with an implicit Intent?

    Posted: 29 Sep 2019 04:51 AM PDT

    The new version of the Android dialer app does something that I don't like: it adds itself to my app's back stack when I open it with an implicit Intent. Here's what the new version does:

    https://streamable.com/ggxs4

    And here's how the old version acts (the preferred behavior):

    https://streamable.com/h80aq

    Notice how in the new version, pressing the Home button and returning to my app puts me back in the Dialer app. Is there some way to prevent this from happening? I notice that the animation of opening the dialer app is different, but I'm not sure what that implies. Here's how I'm calling the Activity:

     Intent intent = new Intent(Intent.ACTION_DIAL); intent.setData(Uri.parse("tel:" + phoneNumber)); startActivity(intent); 
    submitted by /u/GavinGT
    [link] [comments]

    Do action when receive specific notification?

    Posted: 29 Sep 2019 04:01 PM PDT

    I essentially just want to have a 2FA required by my college done automatically because its extremely annoying to pull out my phone every time I want to log in.

    How would I go about doing this?

    Edit: I just realized I need to unlock phone either way but thats still fine

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

    Thinking of getting back into Android Dev, what technologies are common?

    Posted: 29 Sep 2019 03:59 PM PDT

    Left Android development for a bit to do some full stack for about a year and a half. I'd like to get back into things, so I'm looking to see what's changed and what I need to learn/freshen up on.

    Here's a list of the stuff I used to use. * Retrofit 2 * RxJava * Kotlin * RecyclerView * ConstraintLayout (it was still in alpha) * Coroutines (they had just come out, so I didn't use them much)

    Here's some things I've heard about, but I'm not sure if they're used much. * Room/LiveData * Kotlin/Native * Multiplatform projects

    Is any of this tech relevant today? What kind of stuff does your project use?

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

    What do you use to test your Android projects? What's your coverage like?

    Posted: 29 Sep 2019 03:27 PM PDT

    I'm aware of JUnit and Espresso. There's also Truth and Robolectric.

    What do you lean on most? Anything outside this list?

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

    launching a new instance of an app?

    Posted: 29 Sep 2019 01:04 PM PDT

    I have an app for enterprise devices (max Android 8) which opens the calculator app (by class name) and on tested on Android 6 and 4.4, the calculator instance opens "inside" the app. That is, the calculator instance is managed by the app, e.g the calculator is open inside the app and the app is closed, the calculator closes with it. Also, this in-app calculator instance is separate to the main calculator instance which may be open effectively allowing me two instances of the calculator to be open.

    I just tested on Android 8 and it switches to the open calculator instance instead of creating an "in-app" version. Is there a new flag I need to add or is this the only way possible now?

    Intent in = new Intent(); 

    in.addCategory(Intent.CATEGORY_APP_CALCULATOR); in.setAction(Intent.ACTION_MAIN); in.setComponent(new ComponentName("com.android.calculator2", "com.android.calculator2.Calculator"));

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

    How do you determine pricing for developing countries?

    Posted: 29 Sep 2019 12:33 PM PDT

    My initial strategy was to come up with a price for the US market in USD, then do a straight currency conversion for all the other countries.

    I recently got an email from a user in India, suggesting that the ₹165 (~$2.34 USD) I am asking is very expensive in their country, and suggested I lower the price to ₹50 (~$0.70 USD).

    I know that things like income and cost of living isn't the same across the world, I'm just wondering if it's normal for developers to adjust for this and give some countries a break from the standard straight currency conversion.

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

    How to have this object persist?

    Posted: 29 Sep 2019 11:47 AM PDT

    List<ParentObject> parentObjects; Class ParentObject(){ Public ParentObject(){ Private groupName; Private childObjects; Public ParentObject(String groupName, List<ChildObject> childObjects){ This.groupName = groupName This.childObjects = childObjects Class ChildObject(){ Piblic ChildObject(){ Private childName; Public ChildObject(String childName){ This.childName = childName 

    I have an expandable list view that is populated with the "parentObjects" object. The user can dynamically add and remove items from the list however I have just starting to dive into persistent data and realize I have to serialize my object.

    What would be the most correct method for storing the list of objects? Will gson work or is there another method work better or be a more correct way of storing the objects?

    I have searched the forums and havent found any data more recent that 2013 so I'm looking for a good current solution. Thanks for reading.

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

    Using modified Android with the AndroidStudio Emulator

    Posted: 29 Sep 2019 03:58 AM PDT

    Hey guys,

    I am currently on an Android development project. Currently I am using the emulator coming with the Android SDK to test my stuff. Unfortunately since i am working on a remote server, this emulator is laggy as hell. Therefore i would like to download the system image created on the server and use it on a local emulator. But I cannot get it to work.

    I am currently developing API 28. What i have tried so far:
    - I download Android 9 (API 28 x86 no playstore) in AndroidStudio and create an emulator with it.
    - I built the Android on the server (API 28) with `lunch sdk_phone_x86-userdebug`, which is the same target as used with the stock Android image.

    - I replace the stock system.img with my custom system.img

    Now if i start the emulator locally, all i get is a blackscreen. I already tried to use different rendering options, but nothing worked so far. I hope somebody has a hint for me.

    Cheers!

    Edit: I am not talking about developing an application, but about modifying the Android OS itself.

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

    Got lots of 5 star ratings recently but new Google Play rating goes down!

    Posted: 29 Sep 2019 11:21 AM PDT

    Got lots of 5 star ratings recently but new Google Play rating goes down!

    I have released an app 4 months ago and my rating was between 4.4-4.6 (even 4.7 sometimes). But after August, when Google changed its rating system my app rating went from 4.5 to 4.1 now (lifetime rating is about the same by the way).

    But...I have got over 10+ 5 star rating with my app recently (got them in 2 days actually) and i see that my new rating went from 4.2 to 4.1 after that and i can't see the ratings for the last two days on Play Console (27 and 28 September). Anyone experiencing the same issue? Do anyone know about the new rating system on Play Store? What should i do?

    Google Play rating history

    UPDATE: Got 4 another 5 star rating and lifetime rating is increased to 4.29 but new rating didn't change at all! That's the problem i wanted to point out.

    New ratings after 4 new five star ratings

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

    AdMob - App for children, good or bad for ad revenue?

    Posted: 29 Sep 2019 09:32 AM PDT

    Hi,

    I have a few apps published on Google Play using AdMob for displaying ads to my audience.

    As of a few month ago, Google started their "Google Play for kids" program where you have to opt-in if your app is safe for children. I opt:ed out, as I did not have the time at the moment to make sure my apps qualified.

    After that opt-out, I've seen my apps popularity decrease somewhat. Is that expected when opting out?

    If opting in to Apps for children, AdMob will (if I understand this correctly) add some constrictions to what kind of ads that gets displayed. I already opt-out from personal ads due to GDPR-reasons. How would the ad revenue be affected if I opted in to the Google play for kids-program?

    Thanks!

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

    Target Age in "App Content" - included children and my revenue dropped 70%

    Posted: 28 Sep 2019 08:47 PM PDT

    So in the google play developer console I made the huge mistake of including children in the Target Age ( 9-12, 13-15, 16-17, +18) because I have a simple puzzle app and i guess everyone can play. Next day, my app is out of every country ranking, revenue dropped massively, I changed it to just 18+ but things continue the same.

    Is anyone else going through this experience? Its so crazy and I have no idea how to fix things now.

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

    Best way to start a basic app that uploads into a database??

    Posted: 29 Sep 2019 05:16 AM PDT

    Let me first state that I have tried searching this, but many of the answers were above my current knowledge level and that left me more confused.

    I need to create a basic app that has users answer pre-defined answers, then organizes those inputs into a database. I have Access experience but am unsure if this is still a legit database platform in this age. Can I link user inputs into fields into Access? I would like it to be cloud based and I'm not sure this is correct.

    Please treat me like a small child, as I have a business background and my tech experience ends at creating a Wix website. I think youtube is a great resource, but again there is so much out there.

    Can one of you please point me in the right direction on where to start?

    TL;DR I need to create a simple app that populates answers to questions into a database.

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

    Is there anyone who would be willing to give me 30 minutes of their time to help me import an android project

    Posted: 29 Sep 2019 03:16 AM PDT

    I've been trying for days to import a project into android studio. And I keep getting gradle build errors and I can't find the solutions anywhere.

    I made a post showing the error but sadly I got downvoted. That's why I'm creating this post.

    I was thinking if someone with a fair bit of experience could help me out. Possibly through teamviewer, so I can just witness how someone who knows their way around would fix it.

    Send me a message if ever. Thanks!

    [edit] I probably should have mentioned, the project implements firebase, the errors may or may not revolve around that...

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel