• Breaking News

    Tuesday, March 31, 2020

    Android Dev - Introducing dual-screen layouts for Android | Surface Duo Blog

    Android Dev - Introducing dual-screen layouts for Android | Surface Duo Blog


    Introducing dual-screen layouts for Android | Surface Duo Blog

    Posted: 30 Mar 2020 05:59 PM PDT

    An image is worth a thousand words. Working on Android apps in teams is way easier with Predlab for Android Studio.

    Posted: 31 Mar 2020 07:37 AM PDT

    An image is worth a thousand words. Working on Android apps in teams is way easier with Predlab for Android Studio.

    Hello all!

    This Plugin is for you if this sounds familiar to you:

    • "It has been a while since I have worked on this project, I have no idea what this piece of code does"
    • "This code base is a mess, what was the person who wrote it thinking?"
    • "Hey colleague's name, what does this method do?"
    • "I think I modified the wrong line/file, my changes do not appear when I run"
    • "Can someone send me the mockup again?"

    As an android developer, joining an existing project is just a stress-inducing thought.

    A project on which multiple people worked over the years, thousands of lines of code with outdated libs/APIs, and UI elements that might not even be visible any more in the app and no one dares to touch it in fear of breaking the whole thing.

    A better documentation

    Predlab tries to solve that by giving us the ability to annotate our code with links, images, links, any markdown-supported content, and third party apps.

    in-ide workspaces

    Real-time workspaces

    All of that within in-IDE workspaces where we can add team-members and access those annotations in real-time!

    Turns the IDE into a collaboration workspaces

    You can give it a try here: https://plugins.jetbrains.com/plugin/13568-predlab

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

    Is it worth it to follow the Android Kotlin course by Google on Udacity?

    Posted: 31 Mar 2020 04:28 AM PDT

    I'm a beginner here trying to learn different Jetpack packages such as Architecture and Navigation.

    I have taken the Android Kotlin Udacity by Google course and I have noticed in their examples that they have used android arch libraries and on the documentation page it has been mentioned androidx.

    I know what AndroidX is but is it okay to replace those examples but using the versions mentioned in the docs?

    Thanks in advance!

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

    How to test api calls from android app to localhost service?

    Posted: 31 Mar 2020 02:58 AM PDT

    I'm trying to understand how to test http calls from my app (which is running in an emulator) to my backend service, which is running in debug on my pc on https://localhost:8080.

    I get that talking to https://localhost:8080 directly from android won't work because it means "emulator's localhost", so I'm talking to my pc local ip, but I got CERTIFICATE_VERIFY_FAILED because of course https://192.168.1.123:8080 doesn't have a signed cert.

    What is the correct way to handle this situation?

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

    Why is the emoji on Gboard became inconsistent recently. Before, it was uniform Samsung Emoji across apps. Now it differs per app.

    Posted: 31 Mar 2020 06:05 AM PDT

    Is there anyway I could test an Android application (via Android Studio) without ADB?

    Posted: 31 Mar 2020 01:10 AM PDT

    Hi all,

    I'm currently studying Android developing(personally) using Android Studio. Due to my company's security policy, we must gain permission to execute adb.exe. I think my boss would not allow me to gain this permission, so I'm looking for ways to test out my app. Is this possible? Would there be any way for me to do this?

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

    Where do you guys find good svgs and image assets for your apps?

    Posted: 30 Mar 2020 09:51 PM PDT

    I want to make a simple app as my first, however I'm looking for some crisp images assets I can use. Is there a better alternative than using non copyrighted google images?

    Edit: Thanks! I'll check these out

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

    Is there a library for this style dialog? Looks really nice.

    Posted: 30 Mar 2020 01:20 PM PDT

    Unit testing help

    Posted: 30 Mar 2020 10:32 PM PDT

    I've recently been through u/VasiliyZukanov 's Android unit testing course, but I'm still at a bit of a loss here with how to attack this problem.

    I've been trying to get Unit tests into my project at work for a while now which has zero test coverage and severely lacks architecture. Fortunately I'm able to refactor where necessary, although I'm really not sure what to do about the these kind of scenarios of callbacks containing business logic, or even in some cases, nested callbacks which are extremely common in our codebase.

    For example how would I possibly approach testing the logic within onAvailablePlansLoaded() or onFail()?

    billingCenter.connect(object : billingCenter.BillingConnectionCallback { override fun onConnected() { billingCenter.loadAvailablePlans(object : BillingCenter.LoadAvailablePlansCallback { override fun onAvailablePlansLoaded() { when { billingCenter.availablePlans.isEmpty() -> showError() else -> checkDiscounts() } } override fun onFail() { showError() } } }) 

    I feel like I'm missing something fundamental here, please enlighten me!

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

    Read/write limits for Firebase's Realtime Database

    Posted: 31 Mar 2020 06:44 AM PDT

    What is the limit on how many read/writes you can make on the Realtime Database?

    I found the on the Cloud Database, but not the Realtime Database, is it limited by storage capacity instead? How much would that be?

    Thank you.

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

    Summer 2020 Internship

    Posted: 31 Mar 2020 05:42 AM PDT

    Hey,

    Are there any summer 2020 internship opportunities left for startups or larger companies that recruit undergraduates?

    Remote work is fine.

    Thanks.

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

    Announcement: Channelize.io is now HIPAA Compliant!

    Posted: 31 Mar 2020 05:41 AM PDT

    In a quick response to the outbreak and surge in demand for online health consultations, healthcare businesses are integrating Real-time Chat having File Sharing, Video and Voice calling functionalities to their applications

    https://blog.channelize.io/hipaa-compliant-in-app-chat/?utm_source=reddit

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

    Best cross platform language

    Posted: 30 Mar 2020 09:24 PM PDT

    So I'm trying to develop a app for both iOS and Android and trying to find the best cross platform language.

    The main app will be essentially grabbing data from another website which users will log into and it'll display for them.

    I'm basically a absolute beginner but I've gotten little bit into Java (got stuck at OOP and dropped it), learnt and forgot intro to Python, and barely know any Flutter( I should've learnt Dart before).

    submitted by /u/Rip-tire21
    [link] [comments]

    Gradle : Received status code 400 from server: Bad Request

    Posted: 31 Mar 2020 12:04 AM PDT

    Hello,

    In my gradle I have this block

    buildscript {

    repositories {
    maven {
    url "https://maven.google.com"
    }
    google()
    }
    dependencies {
    classpath 'com.android.tools.build:gradle:3.1.0'
    }
    }
    //https://maven.google.com/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.pom
    //https://maven.google.com/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.pom'
    repositories {
    maven {
    url "https://maven.google.com"
    }
    google()
    }

    when I do the sync, I get this error

    Could not GET 'https://maven.google.com/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.pom'. Received status code 400 from server: Bad Request

    Enable Gradle 'offline mode' and sync project

    But this file 'https://maven.google.com/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.pom is reachable via browser.

    Do you have any suggestion?

    Thanks

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

    [AskingForHelp] Application got Suspended 2 times...

    Posted: 31 Mar 2020 05:56 AM PDT

    Hi guys! First post here.

    My problem in short version: I made a simple news & information application about the Hungarian Covid-19 situation. The app gets the news from reliable sources like the Government itself, the public transportations(Railroads, Bus Services and others), and from the State Road Company. The app doesn't contains any ads, it's a plane simple RSS news application with notification options. But got suspended because the "theme" of the app:

    " We don't allow apps that lack reasonable sensitivity towards or capitalize on a natural disaster, atrocity, conflict, death, or other tragic event."

    Can anyone suggest anything? What can I do about it? I feel like I'm talking with bots from Google if I write them an email or look for them online.

    Thanks, and have a nice day!

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

    What am I doing wrong in trying to launch this foreground service??

    Posted: 30 Mar 2020 08:37 PM PDT

    Been trying to figure this out for 3 days now. There are no errors, it compiles and tutorials seem to indicate I'm doing the correct things but the foreground service never starts:

    Main Activity public void startBroadcast(View view){ Intent i = new Intent(getApplicationContext(), serviceExtendedClass.class);

     if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.O){ startForegroundService(i); } else{ startService(i); } } 

    Foreground Service

     @Override public void onCreate() { super.onCreate(); Log.i("Info", "Got to service!!"); //Notification build redacted for clarity startForeground(123, notification); } 

    Output: N/A

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

    Need help with retrofit2 library

    Posted: 30 Mar 2020 08:32 PM PDT

    How does the retrofit2 library work? The description in official website I didn't fully understand. So, I have JSON file. And URL - it is supposed to be a validation check. I think the accurate method for me is POST. I have no idea what to put after calling the POST.

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

    Question about copyright on a finished, finite app

    Posted: 30 Mar 2020 04:37 PM PDT

    I want to build an app and sell it B2b to several clients in the same industry. The core package would be the same, but it can be personalized for each client.

    My question is, hypothetically, would you be able to sell the same app to several clients with VERY MINOR personalization? (very front-end, interfacey things)

    Thanksksksk!

    submitted by /u/8leggedGryphon
    [link] [comments]

    My first project.

    Posted: 30 Mar 2020 12:48 PM PDT

    Hey guys,

    I don't have any experience in android development or in any kind of real project but I have learnt java. So I decided to learn android development by directly doing a project on it. I am building a dummy food delivery app Food Lovers. I know it won't be upto the standards but I thought I should give it a try. Please check out my code and give your opinions. Don't be harsh as this is my first real project.

    Thanks.

    Github : https://github.com/theankitbhardwaj/Food_Lovers

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

    No comments:

    Post a Comment