• Breaking News

    Thursday, June 25, 2020

    Android Dev - Announcement: Three upcoming AMAs with the Android team!

    Android Dev - Announcement: Three upcoming AMAs with the Android team!


    Announcement: Three upcoming AMAs with the Android team!

    Posted: 24 Jun 2020 11:36 AM PDT

    Hey folks! The Android team at Google will be hosting three upcoming AMAs. We've updated the sidebar with details (and will keep updating it with more info as it comes along).

    The team there will submit posts for collecting questions ~1 week before answering them, first post will be sometime next week. We'll sticky these posts when they're up!

    Date Time Who What Link
    9th July TBD Android Team Android Platform TBD
    30th July TBD Android Team Android Studio TBD
    27th August TBD Android Team Android Jetpack & Jetpack Compose TBD
    submitted by /u/pandanomic
    [link] [comments]

    Merge Adapter : Merge your lists seamlessly in Android

    Posted: 25 Jun 2020 05:34 AM PDT

    Review bombing my app?

    Posted: 25 Jun 2020 07:08 AM PDT

    So some person decided to personally go against my app... I don't know them... they wrote the initial review to my app as something like this: "bad app, lacks features, better competitors out there.". I replied, asking what's missing, since I have a small community that's behind the app and does enjoy it...

    And a few days later, today, they emailed me a threat saying "Maybe dont get shitty with the wrong customer? Expect hundreds and hundreds over the next few weeks", followed by (so far) 4 1-Star reviews saying how the developer is rude, shitty, how the app is crap, and how everyone should steer clear and need to "use X instead" (explicitly writing which app!).

    I have flagged all of these reviews (2 of them are even from the same device...) and contacted Google play console support chat - in the meantime they already rejected one of my flags... still waiting on the other 3 but I suppose they will probably continue bombing it in the meantime, which I really don't get. Google's rep said he will investigate and return to me in a while by email which he still hasn't.

    Anyone know of any magic phone number\email I can use to actually rid of this? I can also forward the email to google to prove this is with bad intent... and not based on the merits of the app...

    Any help would be appreciated.

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

    How do I test my app with premium features? Will it impact on my future sales? Should I do my semi-private beta with or without adverts?

    Posted: 25 Jun 2020 04:58 AM PDT

    So I've spent the last 6 months (excluding the long hiatuses in-between) working on my study timer app: Pomato.

    It's basically a study app which follows the pomodoro technique . I've tested it heavily myself, and I'm more or less happy with how it functions. Now I want to test it with other peoples phones. I've got a beta testing track on the Play Console (though I can't seem to make it work without adding peoples emails. I just want the invites to work with links).

    Only thing is, a lot of features on my app I want to reserve for the premium version which will be out alongside the ads supported free version. How do I go about testing in this situation? Do I test with all the premium stuff unlocked and then lock it all down before release and then add the adverts?

    Or do I do all this now?

    How have you guys managed situations like this and how did it work out?

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

    How to design better UI?

    Posted: 25 Jun 2020 06:44 AM PDT

    How to design better UI?

    I'm not very good at designing UI, and here are my two examples of UI I designed for my new android evolution game. They differ strongly in style and both look quite hideous tbh lol. So, what are your tips for designing better UI for android games? I work alone and I'm a begginer in making android apps, so I hope I will become better with time lol

    https://preview.redd.it/99hfapv982751.png?width=1616&format=png&auto=webp&s=55ba8d8f545049815cc3427877b1078cde773d23

    https://preview.redd.it/0afnbpxa82751.png?width=1613&format=png&auto=webp&s=7a4f49f2239c7b00b14171cdbe2f345cdccdaf4a

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

    How to reliably calculate the screen size / screen zoom level when you can set different screen resolutions?

    Posted: 25 Jun 2020 01:10 AM PDT

    Is there a way to reliably calculate the screen size / screen zoom level, which can be changed in Settings App -> Display?

    I found here that you can use DisplayMetrics.DENSITY_DEVICE_STABLE and densityDpi to calculate the "zoom level". This generally works for most devices, but not on certain Samsung devices where you can change the resolution.

    On a Samsung Galaxy S10 and the resolution set to FHD+:

    • DENSITY_DEVICE_STABLE reports 420
    • standard display zoom: densityDpi reports 420
    • next zoom level: densityDpi reports 450

    420 / 420 = 1

    450 / 420 = 1.0714285

    Works as expeced, yay!

    Now we change the resolution:

    Samsung Galaxy S10 and the resolution set to WQHD+:

    • DENSITY_DEVICE_STABLE reports 420
    • standard display zoom: densityDpi reports 560

    560 / 420 = 1.3333334

    We can't reliably calculate the zoom level since densityDpi reports different values for the same zoom level on different resolutions, but DENSITY_DEVICE_STABLE stays the same, regardless of what resolution is set.

    Is there any other way you can do this?

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

    Is there a way to change your app font sizes when the system font size changes?

    Posted: 25 Jun 2020 07:12 AM PDT

    As the title says I am having an issue right now when the user changes the system font size my app is rendered wrong and the issue has to be in most cases that font sizes that are already big and legible increment its size, is there a way to avoid this or give it a subset of sizes to use when increasing the font size?

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

    The Bifurcation of Android

    Posted: 24 Jun 2020 09:33 AM PDT

    All ways of developing and android app

    Posted: 25 Jun 2020 08:20 AM PDT

    Can somebody list all ways of making an android app.

    I personally use Java.

    I know flutter, react and kotlin, are there others ? Also what are the advantages of one another ? Javan and Kotlin being the official way and the most flexible.

    Thanks

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

    Microsoft introduced another new feature - personal version of Teams for Android and iPhone

    Posted: 25 Jun 2020 08:17 AM PDT

    Nowadays, video conferencing apps are gaining new importance in the breakdown of COVID 19, causing many people to work from home. Microsoft Teams has been upping its game by bringing in recent updates.

    Microsoft added a few new features like customizing backgrounds, scheduling meetings in advance for users, and live caption for users in the US. This week, it has rolled out other features for the Android and iOS mobile users to enhance the user experience for personal usage as well.

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

    Has anyone else had issue getting your app to sync with Google Fit to collect e.g. Sleep? Sleep in particular seems to be very inconsistent if the user has imported from FitBit and other external devices.

    Posted: 25 Jun 2020 08:16 AM PDT

    If iOS 14 was Android 11, it would be coming to the Samsung Galaxy S6

    Posted: 25 Jun 2020 12:44 AM PDT

    Making The Most of a Rewrite

    Posted: 24 Jun 2020 04:04 PM PDT

    Looking for any library to create good looking blur layout/view like ios blur. I have tried BlurKit but can't make it looks good

    Posted: 25 Jun 2020 06:06 AM PDT

    Advice on feature separation of concerns.

    Posted: 25 Jun 2020 05:55 AM PDT

    Hello,

    I have a project coming up where I need to build admin related features on top of standard user based features.

    I thought about using dynamic delivery here.
    https://developer.android.com/guide/app-bundle/dynamic-delivery#customize_delivery

    It would make for a nice clean separation of concerns. If you login as admin then we add the admin module using the above service.

    But I am interested to know what happens if we want to just make a small change to a screen thats already available. Im not sure how I can utilize dynamic delivery for this?

    For example a user sees the cost of a product, but if they are admin level a button appears next to it for the admin to change the cost.

    If I ignore the idea of using dynamic delivery I would just go with some boolean type thing
    "if admin enable/disable visibility of button component"

    Any thoughts on this appreciated.

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

    What is the standard way for getting an access token directly from a Google API using Google Sign-In for Android client app?

    Posted: 25 Jun 2020 05:08 AM PDT

    I am working on an android app that connects to Google Books API directly. Part of its working is to fetch user's private book data as well. (such as bookshelves)

    I used Google Sign-in for Android for authentication. However, i needed an access token for the request's authorization as well.

    THE PROBLEM:-

    Google Sign-in does a great job handling the authentication part but i was stuck in implementing the authorization part for getting an access token since it provided no methods for it.

    It only provides us a server auth code through its requestServerAuthCode(String web_client_id)
    method but it expects us to exchange the retrieved code with OUR OWN backend server to get an access token (which is not fit for my use case since i don't have any backend).

    POSSIBLE SOLUTIONS:-

    #1: One way for achieving this is by using the GoogleAuthUtils.getToken(Context, Account, String scope)
    method. Although this method's doc states to use this method for getting an access token directly, but it is mentioned in this other doc

    about some security issues with this approach. I can't figure out if this method is fit for my use case or not?

    #2: Another way for getting an access token is by exchanging the auth code manually:-

    OkHttpClient client = new OkHttpClient(); RequestBody requestBody = new FormEncodingBuilder() .add("grant_type", "authorization_code") .add("client_id", "{client_id}") .add("client_secret", "{clientSecret}") .add("redirect_uri","") .add("code", "4/4-GMMhmHCXhWEzkobqIHGG_EnNYYsAkukHspeYUk9E8") //this code is received from requestServerAuthCode(...) method .build(); final Request request = new Request.Builder() .url("https://www.googleapis.com/oauth2/v4/token") .post(requestBody) .build(); client.newCall(request).enqueue(new Callback() { u/Override public void onFailure(final Request request, final IOException e) { Log.e(LOG_TAG, e.toString()); } u/Override public void onResponse(Response response) throws IOException { try { JSONObject jsonObject = new JSONObject(response.body().string()); final String message = jsonObject.toString(5); Log.i(LOG_TAG, message); } catch (JSONException e) { e.printStackTrace(); } } }); 

    With a sucessful response, you will have the following info in logcat:

    I/onResponse: { "expires_in": 3600, "token_type": "Bearer", "refresh_token": "1\/xz1eb0XU3....nxoALEVQ", "id_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6IjQxMWY1Ym......yWVsUA", "access_token": "ya29.bQKKYah-........_tkt980_qAGIo9yeWEG4" } 

    I am currently using this approach. However the problem with this approach is the client credentials (client_id and client_secret) are being exposed.

    QUESTION:-

    Which of the above solutions should i apply for my problem?

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

    Prefer Builders over DSLs - Colin White

    Posted: 24 Jun 2020 12:14 PM PDT

    Our Popular Google Play app suspended because of mainstream Ad Mediation SDK

    Posted: 24 Jun 2020 11:22 AM PDT

    Hello,

    We have created a Medium post and tweeted to GooglePlayDev about it, we would really appreciate your retweets & shares about this matter - I hope an actual human from Google would see it besides auto messages:

    https://twitter.com/kodditcom/status/1276091748675194885

    https://medium.com/@koddit/our-popular-google-play-app-suspended-because-of-mainstream-ad-mediation-sdk-1ec05607ba73

    The details:

    We are two developers trying to create cool mobile apps and build a business by doing it.

    For two years we have been developing and promoting some apps that we have managed to call it "popular" since those apps are ranked #1 in their category.

    Last week one of our most popular app got suspended in an instant, without any warning. Within a second; our years of development work, advertisement investment/budget was gone, it was very disheartening.

    The suspension message stated that our app had implemented a SDK that is considered malicious by Google. The SDK was called "Mintegral SDK". We did not know any SDK we implemented that is called "Mintegral SDK". Turns out it was a SDK that comes with Appodeal SDK that we use for Ad Mediation. We had no idea that a mainstream ad mediation platform contains malicious SDK, otherwise we would have never implemented it. Appodeal seems to be highly advertised and used by the app developer community that we have never imagined such malicious activity may come from it.

    Isn't instant suspension too harsh for a popular app, that was developed with good intentions and only implemented a popular ad mediation service that was used by many? How can we have known that it goes against Google's policy? If we had known, if there was any indication/warning about it we would have immediately removed it or never implemented it in the first place.

    Isn't it unfair to the developers that years of work and advertisement budget going down in the drain because of this?

    I hope I can reach out any Google representative about this matter, we only had good intentions in our heart and worked hard on our apps to rank it #1. We have never knew a popular SDK would cause an instant suspension otherwise we would have never implemented it.

    This is a truly saddening experience, I hope Google hear us out.

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

    How to track the status of the file?

    Posted: 25 Jun 2020 01:09 AM PDT

    I'm creating an android application wherein every time user login a csv file is created and when user logout that file is pushed to the ftp server whenever the app is connected to the internet.

    Currently, I'm checking each file in the sdcard against the file present in the server to check whether that particular file is pushed or not. But this is increasing latency. Because it's processing every file one by one to see whether file is present or not in server.

    Is there any efficient way to do this? Is there a way I would know that these files are not pushed and right away upload those only instead of checking each and every file?

    Please help...Thanks in advance

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

    Game driver preferences. Huawei, Android 10

    Posted: 24 Jun 2020 11:54 PM PDT

    Hey, I can't see this feature in my developer settings, do you know why and which feature gives same effect?

    Device : Huawei Mate 20 Pro, Android 10

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

    Veracode: Open-source libraries cause security flaws in 70% of apps

    Posted: 24 Jun 2020 11:13 PM PDT

    Jetpack App Startup: keep your startup logic organized

    Posted: 24 Jun 2020 01:14 PM PDT

    Now in Android #20

    Posted: 24 Jun 2020 01:06 PM PDT

    On-device machine learning solutions with ML Kit, a new Android/iOS SDK

    Posted: 24 Jun 2020 03:58 PM PDT

    How do Android developers usually prototype their apps?

    Posted: 24 Jun 2020 06:14 PM PDT

    There are many ways to start this. And I understand some developers work at large companies that have resources. But you tend to see most developers use a MBaaS like Firebase at first and then when their apps grow they will build a full backend while some will build a backend/API first and then build their frontend. What do you guys prefer? I am curious to hear from other developers.

    let me know what you all think! And thanks for those who respond! :)

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

    No comments:

    Post a Comment