• Breaking News

    [Android][timeline][#f39c12]

    Monday, April 23, 2018

    Weekly "who's hiring" thread! Android Dev

    Weekly "who's hiring" thread! Android Dev


    Weekly "who's hiring" thread!

    Posted: 23 Apr 2018 05:46 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 - April 23, 2018

    Posted: 23 Apr 2018 03:56 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]

    @minSdkVersion just tweeted "21"

    Posted: 23 Apr 2018 03:04 PM PDT

    Android Studio 3.1.2 bug-fix update now available

    Posted: 23 Apr 2018 10:20 AM PDT

    Android Studio 3.2 Canary 12 now available

    Posted: 23 Apr 2018 10:25 AM PDT

    FYI: AndroidStudio 3.1 might be leaking memory

    Posted: 23 Apr 2018 12:58 AM PDT

    Droidcon Berlin is looking for volunteers!

    Posted: 23 Apr 2018 10:49 AM PDT

    [Codelabs] LiveData + ViewModel + Room codelabs

    Posted: 23 Apr 2018 03:16 AM PDT

    What is your min sdk version ?

    Posted: 23 Apr 2018 07:50 AM PDT

    How manu people here that uses min sdk less than 21 , currently i am using min sdk 19 and thinking if anyone also uses sdk lower than 21

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

    Using many activities or using many fragments + 1 activity

    Posted: 23 Apr 2018 07:54 AM PDT

    Hi redditor, today I have an android interview and the interviewer asked me: "How many activities do you usually use in your app". My answer is: "It depends on the size of app. Small app is 5-7 and big app is 12-15". Then he was kinda surprised with my answer and he said: "Wow! Seems like you use so many activities in an app". Then he shown an app (not too small but not too big) which has only 1 activity and lots of the fragments in there. So my question is, as the title, which one is better? Many activities or using many fragments + 1 activity

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

    Paid app, tax declaration

    Posted: 23 Apr 2018 11:13 AM PDT

    Hi, I recently published my first app in the Play Store with in-app purchases. Some days ago I got my first purchase and I would know how tax declaration works (I'm an indipendent developer, with no VAT number, don't even know if is needed). I'm from Italy.

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

    Coroutines and RxJava — An Asynchronicity Comparison (Part 1)

    Posted: 23 Apr 2018 03:57 AM PDT

    Google Play Services 15.0.0 NPE in Firebase RemoteConfig

    Posted: 23 Apr 2018 07:49 AM PDT

    I decided to try out the new release in a beta release. For the most part I haven't noticed any particular issues except for a somewhat rare NPE crash that occurs when calling getInstance on Firebase RemoteConfig. Mostly just posting here for benefit of others so they know to not upgrade that particular component or wrap the call in a try-catch.

    https://issuetracker.google.com/issues/78433276

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

    Insider's Guide to Udacity Android Developer Nanodegree Part 7-Full Stack Android

    Posted: 23 Apr 2018 09:17 AM PDT

    Am I the only one who finds writing layouts by hand easier?

    Posted: 23 Apr 2018 03:09 PM PDT

    The GUI layout designer is pretty ok when using constraint layout, but even then, I've always had a way easier time just writing layouts manually, android or otherwise.

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

    How to prevent "screen burn" on LCD IPS displays

    Posted: 23 Apr 2018 02:30 PM PDT

    I'm working on an app that has a self service check-in feature. This feature uses screen pinning API (plus the device is PIN protected) to restrict users from accessing other parts of the app or the device. So basically there is a screen with a list of customer names, customer comes to the device, find herself and check-in.

    I'm keeping the screen on because if the device goes to sleep customers can't wake it up without a PIN and also I want the screen to show cues that this is the device for check-in. I'm a bit worried about screen burn though. I know screen burn is a bigger issue on AMOLED displays but that IPS displays can also have similar issues.

    I plan to put up a screen saver after couple of minutes of inactivity. Screen saver would be background of pure black with just some text changing places every now and then. This should even help with battery life on AMOLED. I'm not so sure about this strategy on the IPS display though, since showing black on LCD actually turns the pixels on. Should I show white instead? Should I alternate black and white?

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

    Complete Android Oreo Developer

    Posted: 23 Apr 2018 02:26 PM PDT

    Hi Guys This Udemy Course Free Today For limited time. I hope you like it.It is a great course[100 % OFF]The Complete Android Oreo Developer Course - Build 23 Apps! (Limited period) Fantastic course, It has great many example to teach basics of android app. https://deal5star.com/complete-android-oreo-developer-course-build-23-apps/

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

    Problem with Firebase

    Posted: 23 Apr 2018 01:55 PM PDT

    Hey, guys so i have an issue that I just can't fix. I cloned my project from my GitHub that is based on firebase database.When I tried building it in android studio I get this error. File google-services.json is missing. The Google Services Plugin cannot function without it. Searched Location: C:\Users\XXX\Desktop\PregoAdminApp\app\src\debug\google-services.json C:\Users\XXX\Desktop\PregoAdminApp\app\google-services.json

    So i went to my Firebase account and downloaded the google services file needed and I placed it in the app folder, yet it still doesn't work and I get this. AAPT2 error: check logs for details

    when i expand the problem this is the message: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:processDebugResources'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70) at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51) at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62) at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54) at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:60) at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:97) at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:87) at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54) at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43) at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328) at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199) at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98) at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:626) at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:581) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) at java.lang.Thread.run(Thread.java:745) Caused by: org.gradle.tooling.BuildException: Failed to process resources, see aapt output above for details. at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask.invokeAaptForSplit(LinkApplicationAndroidResourcesTask.java:512) at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask.doFullTaskAction(LinkApplicationAndroidResourcesTask.java:249) at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73) at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:46) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:121) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328) at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199) at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:110) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92) ... 32 more Suppressed: java.lang.RuntimeException: Some file processing failed, see logs for details at com.android.builder.internal.aapt.QueuedResourceProcessor.waitForAll(QueuedResourceProcessor.java:121) at com.android.builder.internal.aapt.QueuedResourceProcessor.end(QueuedResourceProcessor.java:141) at com.android.builder.internal.aapt.v2.QueueableAapt2.close(QueueableAapt2.java:104) at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask.doFullTaskAction(LinkApplicationAndroidResourcesTask.java:293) ... 48 more Caused by: com.android.ide.common.process.ProcessException: Failed to execute aapt at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:809) at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:797) at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask.invokeAaptForSplit(LinkApplicationAndroidResourcesTask.java:491) ... 49 more Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:482) at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79) at com.android.builder.internal.aapt.AbstractAapt.link(AbstractAapt.java:34) at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:807) ... 51 more Caused by: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:462) at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79) at com.android.builder.internal.aapt.v2.QueueableAapt2.lambda$makeValidatedPackage$1(QueueableAapt2.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ... 1 more Caused by: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details at com.android.builder.png.AaptProcess$NotifierProcessOutput.handleOutput(AaptProcess.java:443) at com.android.builder.png.AaptProcess$NotifierProcessOutput.err(AaptProcess.java:395) at com.android.builder.png.AaptProcess$ProcessOutputFacade.err(AaptProcess.java:312) at com.android.utils.GrabProcessOutput$1.run(GrabProcessOutput.java:104)

    I tried several things yet none of them seems to work anyone has any ideas how to fix this? I would appreciate this as it's my assignment that I worked for all year.

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

    Android Gradle Plugin 3.1.x commit history

    Posted: 23 Apr 2018 05:58 AM PDT

    As of Android Gradle Plugin 3.1.0 the value auto for resConfigs, which would automatically prune your resources to remove extraneous languages your app doesn't actually support, has been deprecated, due to "issues with multi-module projects" (see the "note" here).

    I've been looking for details as to what these "issues" are, but have come up empty so far. To that end, I thought the git commit that turned auto into a noop would have some useful information, but I can't find the git commit history for anything past 3.0.0 at the official source site.

    Am I just overlooking the right branch or tag (I admit that I find the source site very confusing to navigate)? Or have they not published the latest source yet? If not, how long does it usually take?

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

    Secure Android Distributions, Like CopperheadOS?

    Posted: 23 Apr 2018 01:14 PM PDT

    So I see in the latest issue of 2600 an article about CopperheadOS, a secure OS based on ASOP.

    Are there any other good distributions of android that are secure?

    submitted by /u/Ask-Netsec
    [link] [comments]

    Market data

    Posted: 23 Apr 2018 10:19 AM PDT

    I want to begin developing for the Android market but I want to get some market data like age range of the market,user category distribution etc... Where would I go for that

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

    Kotlin Coroutines on Android: Things I Wish I Knew at the Beginning

    Posted: 22 Apr 2018 05:55 PM PDT

    Do you believe that there is still ideas can make millions?

    Posted: 23 Apr 2018 06:17 AM PDT

    I want to ask that because i don't have any idea of any app that can be so famous like Facebook or what's app so what do you think?

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

    Android by example : MVVM +Data Binding -&gt; Introduction (Part 1)

    Posted: 22 Apr 2018 05:44 PM PDT

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel