• Breaking News

    [Android][timeline][#f39c12]

    Monday, May 13, 2019

    Weekly "who's hiring" thread! Android Dev

    Weekly "who's hiring" thread! Android Dev


    Weekly "who's hiring" thread!

    Posted: 13 May 2019 05:45 AM PDT

    Looking for Android developers? Heard about a cool job posting? Let people know!

    Here is a suggested posting template:

    Company: <Best Company Ever>
    Job: [<Title>](https://example.com/job)
    Location: <City, State, Country>
    Allows remote: <Yes/No>
    Visa: <Yes/No>

    Feel free to include any other information about the job.

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

    Weekly Questions Thread - May 13, 2019

    Posted: 13 May 2019 03:57 AM PDT

    This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, or Stack Overflow before posting). Examples of questions:

    • How do I pass data between my Activities?
    • Does anyone have a link to the source for the AOSP messaging app?
    • Is it possible to programmatically change the color of the status bar without targeting API 21?

    Important: Downvotes are strongly discouraged in this thread. Sorting by new is strongly encouraged.

    Large code snippets don't read well on reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead.

    Have a question about the subreddit or otherwise for /r/androiddev mods? We welcome your mod mail!

    Also, please don't link to Play Store pages or ask for feedback on this thread. Save those for the App Feedback threads we host on Saturdays.

    Looking for all the Questions threads? Want an easy way to locate this week's thread? Click this link!

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

    Supreme Court rules in favor of users in Apple vs. Pepper (where users alleged Apple's 30% commission was an exercise of monopoly power) - this could have implications on the Google Play Store 30% commission (Google and Apple's commissions generally mirror each other)

    Posted: 13 May 2019 12:38 PM PDT

    Summary: The ruling does not concern itself with whether 30% commission is unfair/monopolistic or not - it only denied Apple's claim (that the case was for developers to pursue, and not users).

    The ruling now enables users to proceed against Apple in an class-action suit alleging Apple's 30% cut of app sales is high, and based on monopoly leverage. This has implications for the 30% commission on Google Play Store as well, since Google/Apple both mirror each other's 30% commission number. A reduction in Apple commission, could lead to reduction in Google commission eventually as well.


    The Supreme Court, ruling 5-4, allows iPhone users to pursue their antitrust lawsuit against Apple in a case involving its signature electronic marketplace, the App Store.

    Justice Brett Kavanaugh wrote the majority opinion, which was joined by the court's liberal justices.

    The iPhone users argued that Apple's 30% commission on sales through the App Store was passed along to consumers, an unfair use of monopoly power. Apple argued that only app developers, and not users, should be able to bring such a lawsuit.

    The result was widely expected after arguments in November in the case, Apple v. Pepper, during which the justices seemed skeptical of Apple's arguments.

    The case split President Donald Trump's two nominees to the high court. In a dissent joined by his fellow conservatives, John Roberts, Clarence Thomas and Samuel Alito, Justice Neil Gorsuch wrote that the majority created an "artificial rule."

    The legal battle over the company's online marketplace has dragged on for nearly a decade.

    The result of the iPhone users' litigation could affect the way that Apple, as well as other companies that operate electronic marketplaces like Facebook, Amazon and Alphabet's Google, structure their businesses. For Apple, hundreds of millions of dollars in penalties could hang on the outcome.

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

    Anyone else prefer Java over Kotlin?

    Posted: 13 May 2019 04:32 AM PDT

    I know I'm gonna get burned at the stake for saying this. Maybe I'll like Kotlin eventually.

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

    Reaktive — a multiplatform library for reactive Kotlin

    Posted: 13 May 2019 08:08 AM PDT

    Writing Android UI Code in Jetpack Compose (1 of 2)

    Posted: 13 May 2019 04:24 AM PDT

    What code style theme is used in CodeLabs and can it be applied to Android Studio?

    Posted: 13 May 2019 10:04 AM PDT

    Android Q–The breaking changes

    Posted: 12 May 2019 11:39 PM PDT

    Metrics for OkHttp’s Kotlin Upgrade

    Posted: 12 May 2019 08:08 PM PDT

    6 Junior Android Developer mistakes to avoid in 2019

    Posted: 13 May 2019 01:10 AM PDT

    Genymotion best settings for virtual device?

    Posted: 13 May 2019 01:37 PM PDT

    Hi,

    I wanna setup a virtual device with GenyMotion, I want to run an Android 9.0 device smoothly and super fast on my Macbook Pro 2015 (Retina, 8GB RAM, 2.7 GHz Intel Core i5).

    What is the best settings should I give for:

    - Resolution

    - Density

    - CPU

    - RAM

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

    Do you do your layouts by hand, with the layout editor as a preview only, or use the editor and not XML?

    Posted: 13 May 2019 04:53 PM PDT

    YouTube - Android Q: Gestural Navigation

    Posted: 13 May 2019 04:10 PM PDT

    The Main Pillar Of Kotlin Lazy Evaluation Vs Haskell Laziness

    Posted: 13 May 2019 03:51 PM PDT

    DialogHelper: lightweight Android library that simplifies management of DialogFragments

    Posted: 13 May 2019 04:04 AM PDT

    RecylerView item variants dilema (visibility vs viewtypes)

    Posted: 13 May 2019 08:58 AM PDT

    Hi, I have this issue of chat messages list, where each message has to have variant of full / simple. Full means message has avatar and username and text, simple is just text; like Slack)

    You can handle this by having a viewtype for full, and another for simple.

    Or

    You can set visblibility to visible / gone in viewholder.bind()

    What is better for performance?

    Is it less viewtype = more recycling?

    Or is goning the header in bind going cause unnecessary layout()? Does it matter if message contains textview with wrap_content height which is going cause layout anyways?

    (this is a simplified example to show the variant problem)

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

    Freelancing

    Posted: 13 May 2019 10:56 AM PDT

    Hi, I m working as a android developer since 3 years, also I would like to try something new, freelancing but I have 0 knowledge how to start what should I do, and how to get started or where to start. I tried to join communities and local meet ups using meetup but without success.

    I have read about upwork but for what I understood that there will be always some one who out bids you. Are there any better options? It is worth it?

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

    Implementation of InCallService?

    Posted: 13 May 2019 02:32 PM PDT

    Hi guys, I just wanna asked if anybody here tried to make a custom dialer including the incallui by implementing the incallservice? I tried to look for some resources but it looks like there's not a lot of people using it. If anyone knows any resources or source code it will help me a lot thanks.

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

    [Question] Expose drawing methods from a custom View

    Posted: 13 May 2019 02:23 PM PDT

    I understand that I can draw rectangles, bitmaps etc. inside the onDraw() method of a custom View. However, is it possible to expose such functionality so that I can draw an object from outside of the custom view?

    For example:

    public class CustomSurface extends SurfaceView { public void drawImage(Bitmap bitmap, int x, int y) { // requests canvas and draws the bitmap on it } } 

    And then inside another class that has a reference to the custom view customView.drawImage(bitmap, 10, 15)

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

    A dumb question in probably the wrong subreddit.

    Posted: 13 May 2019 02:13 PM PDT

    Hello Android dev!

    Sorry about this but I'm not sure where else to ask. We are using an MDM app to manage a bunch of android based scanner guns in a warehouse. We are having an issue with the google voice assist popping up and taking away the keyboard. The software dev says if we can find the identifier of the voice assist we can turn it off via a blacklist. I know NOTHING about Android. I'm a Windows server and AWS guy.

    I know the identifier should look something like com.andriod.internal.voiceassit but I can not find the documentation. Anyone have any idea?

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

    Collapsing toolbar with RecyclerView- Android

    Posted: 13 May 2019 02:06 PM PDT

    having trouble grasping https://codelabs.developers.google.com/codelabs/android-room-with-a-view-kotlin/#3

    Posted: 13 May 2019 10:17 AM PDT

    I am fairly new to software development specifically for android, however not new to software development and databases (my day job being designing software for the controllers on cars, and regular use of postgresql databases). I am designing an app for my D&D group to store character stats, and do calculations on them. The calculations of those stats input into text fields should be the straightforward bit, however to store those stats a basic database seemed the best choice. I followed the instructions in the above linked to tutorial, got to that point and feel somewhat stuck, i understand the database design part of it, however what i don't understand is where those various bits of code go into? , of course adapted for what i am going to use it for, which i will do. So could someone point me in the right direction of how to proceed please.

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

    What's the verdict on using "ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"? How does Google decide whether to remove your app from the store?

    Posted: 13 May 2019 06:29 AM PDT

    I am writing an audio streaming app right now that I want to be able to run with screen off to preserve battery power. It does low-latency streaming from the internet, so it has to be running all the time. Since Android Doze ignores any wake lock you might have, the only way to keep it running is to whitelist it with the above intent, but Google is intentionally coy about what apps exactly are allowed to do so.

    Anybody know what apps have been removed that used this mechanism?

    On a sidenote, I wish Android had a special "AudioTrack wakelock" that keeps the app running as long as you output audio. The current Doze mechanism only considers screen and haptic interaction.

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

    android stuido problem

    Posted: 13 May 2019 12:58 PM PDT

    android stuido problem

    Problem #1 : I have installed android studio and when i made a new project i got these error in codes. whats the problem? also get "uri is not registered (settings languages & frameworks schemas and dtds)" for the http://schemas....

    Problem #2 : I installed genymotion for testing my apps and also enabled the SVM mode in bios, but when its running (the genymotion emulator) I can't run the app (that green icon is still gray while the emulator is running)

    https://i.redd.it/2u83pk6691y21.png

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

    Open sourcing the DigiLux App

    Posted: 13 May 2019 08:25 AM PDT

    Android 64bit question

    Posted: 13 May 2019 08:00 AM PDT

    Google stated, that:

    • Starting August 1, 2019, your apps published on Google Play will need to support 64-bit architectures. (source)
    • This requirement means that apps with 32-bit native code will need to have an additional 64-bit version as well. (source)
    • If you do not have any arm64-v8a or x86_64 libraries, you'll need to update your build process to start building and packaging those artifacts in your APK.

    All 5-6 different Android devices I have and I tested support arm64-v8a and none of them support x86_64 (Build.SUPPORTED_ABIS). On the other hand, my app includes a library which only supports arm64-v8a and has no library included for x86_64.

    Questions:

    1. How many possible devices will I lose if I don't get the x86_64 library in the future?
    2. Which devices are only supporting x86_64 without supporting arm64-v8a?
    submitted by /u/brain_trapp
    [link] [comments]

    Starting out

    Posted: 13 May 2019 11:39 AM PDT

    Hi, I'm starting to learn how to create apps. Got everything installed and setup ok, just looking for a hardware profile for Huawei phones for the AVD.

    Can anyone point me to a repo that's got these profiles around that I can pull from?

    Everything I have found so far is either a few years old or doesn't have Huawei phone.

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel