• Breaking News

    Tuesday, February 25, 2020

    Android Dev - OK, Gradle! plugin v0.5.0 released

    Android Dev - OK, Gradle! plugin v0.5.0 released


    OK, Gradle! plugin v0.5.0 released

    Posted: 25 Feb 2020 03:01 AM PST

    Some time ago I got really tired of Googling every time I wanted to add a new dependency to my project, so I decided to come up with a plugin for Android Studio that will do that for me.

    This version finally supports build.gradle.kts (Kotlin Script) files! :)

    See the plugin in action

    You can download it from the official Jetbrains Plugin Repository

    GitHub repo

    I deeply appreciate all kind of feedback! If you encounter any kind of bugs/issues, please, let me know!

    Disclaimer: this features is/was already kinda (only for regular build.gradle files, though) available in Android Studio, as mentioned by u/wkalicinski in other thread about this plugin. You can see how to do that here: https://imgur.com/6bxEhCe Though, I am still working on Ok, Gradle! in order to add more features, e.g. automatic library suggestions based on their popularity.

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

    Android Studio 3.6 Stable Released

    Posted: 24 Feb 2020 10:26 AM PST

    Getting access to Face Mapping Tech

    Posted: 25 Feb 2020 08:07 AM PST

    Im not sure if this is the right subreddit but was wondering if we could program apps to use apple's or Google's face recognition software for other apps like using it to identify a login for something etc.

    Is there a dev pack or something and if not what are the other alternatives?

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

    Joe Birch explains the upcoming changes to the permission system in Android 11: "Exploring the Android 11 Developer Preview: Permission Changes"

    Posted: 25 Feb 2020 03:05 AM PST

    Bypassing OkHttp Certificate Pinning

    Posted: 25 Feb 2020 06:04 AM PST

    Using android keystore from native code (c++)

    Posted: 24 Feb 2020 10:55 PM PST

    Hello,

    I am currently writing an library in C++. On Android I would like this library to use the Android keystore for storing and using cryptographic keys. How is it possible? Or is it a pain?

    Thanks

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

    What's new in Android Studio 3.6

    Posted: 24 Feb 2020 09:57 AM PST

    Good SDK mobile printer solution?

    Posted: 25 Feb 2020 07:36 AM PST

    We are looking for a mobile printer solution. What we used in the past have a sad attempt at SDK (was necessary to guess the encoding/decoding with bytes, to do ANYTHING!). I wish to avoid the same fate again.

    The printer is for people on the field.

    We need support for iOS/Android at minimum, print of receipts like in a grocery store (apart of this, we are flexible in what have or not).

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

    App for commenting videos and web pages which have comments disabled

    Posted: 25 Feb 2020 07:35 AM PST

    Hey guys , We have made an app which allow to discuss and comment every page on the internet . Just copy or share URL to the app and send a comment . We would be grateful, if you install app now and leave us a feedback: https://play.google.com/store/apps/details?id=com.doubledot.discussplanet

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

    Integrating TappX in Unity. (problem)

    Posted: 25 Feb 2020 07:18 AM PST

    I last time came out on a problem. The tappx sdk isn't working. If I start the game the interstital isn't showing. Neither the banners but the privacy is starting. Can somebody please help me with what to do?

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

    ViewBinding in Fragments: the clean & easy way

    Posted: 24 Feb 2020 11:39 PM PST

    Retrofit vs OkHttp vs Volley

    Posted: 25 Feb 2020 06:02 AM PST

    I'm a beginner and I've been looking for an Android networking library and I came across those at the top, so i'm wondering which one to choose in the current time?

    Thank you!

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

    How To Design Mobile Apps For One-Hand Usage

    Posted: 25 Feb 2020 06:00 AM PST

    Open Source RGB/White balance LED STRIP Blue tooth app?

    Posted: 24 Feb 2020 10:14 PM PST

    Hi all, I remember seeing a link to a github app a while ago with an open source software for a simple RGB/White balance blue tooth LED STRIP app. Can anyone point me in the right direction? Just need the basic functionality of a normal blue tooth led strip.

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

    Writing to Google Sheets - Authentication is confusing

    Posted: 25 Feb 2020 05:33 AM PST

    I've spent the last few days googling and trying to figure out how to *easily* do authentication to write to a google sheet from my app. I have the reading part working. I have read a lot of tutorials, and they all seem to do it a little differently, so I'm trying to figure out what is the most basic, simple (even if less secure) way to do this. It's just for a personal thing, so I'm not so worried about security, as it's more of a proof of concept at this point.

    Could someone give me a shove in the right direction, and maybe answer some questions as I work through this?

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

    How to set right Margin and left margin programtically?

    Posted: 25 Feb 2020 05:18 AM PST

    I have a frame layout inside a relative layout and i need to move frame layout on the press of a button a bit to the left and top. I have tried setLeft() and setTop() method which necessarily stretches my view but it's still okay for my purpose. But problem is i can't get the original unstretched frame layout back. Doing setRight() and setBottom() with same parameters does not seem to do the thing. Any suggestions will be welcome.

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

    Libraries that require Activity to work.

    Posted: 25 Feb 2020 01:16 AM PST

    How do you deal with libraries that require an actual activity in order to work? And how do you avoid leaks?

    Currently my solution is to use a 'fake' activity which uses a soft reference to a real activity, but that seems to cause way too much problems and actual crashes if the activity is nulled. Is there a better way of doing this?

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

    Any way to track users from campaign?

    Posted: 25 Feb 2020 04:44 AM PST

    Hello

    I want to start google ads campaign.

    Is there any way to track (example in gameanalytics) only users from this campaign?

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

    Admob "App removed" violation comes back if I unpublish the app from Play Store

    Posted: 25 Feb 2020 04:05 AM PST

    One of my app was suspended an year ago, I appealed and appealed and somehow the appeal went through and they reinstated my app back.

    Now the thing is, the app is live right now, so I don't see the violation message in Admob, but whenever I change my app status to "Unpublish", the app violation thing comes back. I've removed Admob SDK and everything else from the app and I've added only 2 buttons in MainActivity, one button carries user to the new app that I keep updated (which I added after my app was suspended), and another button Uninstalls the suspended app.

    What should I do to permanently remove the violation from Admob? Do I need to show some ads from suspended (now live) app?

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

    Android Studio 3.6 available in the Stable channel

    Posted: 24 Feb 2020 11:37 AM PST

    What things other than reviews & user ratings impact the overall rating?

    Posted: 24 Feb 2020 05:34 PM PST

    My app rating seems to be stuck lower than it should be. Any theories about what could impact this?

    My guess is Crash and ANR ratings can. Anything else?

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

    Using Observable Boolean to set visibility

    Posted: 24 Feb 2020 02:59 PM PST

    This is regarding something quite trivial that I have been fighting over in a code review. The scenario is such. There is a data binding layout some_layout.xml, backed by a ViewModel.[some_layout.xml ]

    <?xml version="1.0" encoding="utf-8"?> <layout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"> <data> <import type="android.view.View"/> <variable name="viewModel" type="some.long.package.name.SomeViewModel"/> </data> <!-- Other stuffs --> <TextView <!-- Other parameters-->> android:visibility="@{viewModel.someObservableBool? View.VISIBLE : View.GONE}" /> </layout> 

    The requirement, is such I want the TextView to be "View.GONE" (and not "View.INVISIBLE"), when the Boolean is false.The reviewer of my code is of the opinion I should use the Boolean value directly instead of the ternary operator for android:visibility. [android:visibility="@{viewModel.someObservableBool}"]Now my understanding is that because of the implicit conversion of the truth values to int will cause the view to be Visible/Invisible but not "Gone". As the attrs.xml definition states the following.

    <!-- Controls the initial visibility of the view. --> <attr name="visibility"> <!-- Visible on screen; the default value. --> <enum name="visible" value="0" /> <!-- Not displayed, but taken into account during layout (space is left for it). --> <enum name="invisible" value="1" /> <!-- Completely hidden, as if the view had not been added. --> <enum name="gone" value="2" /> </attr> 

    Is my understanding incorrect ? If not, would sincerely appreciate some suggestions as to how, I convince my reviewer of this fact.

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

    No comments:

    Post a Comment