So long Google's "Don't be Evil" Motto

Linux - Sat, 05/26/2018 - 14:22
Categories: Linux

I made a simple app using MVP. Can you tell how bad/ok/good my implementation of MVP is?

Developing Android Apps - Sat, 05/26/2018 - 14:14

Hello, as title said, I made a simple app using MVP. Can you tell how bad/ok/good my implementation of MVP is? I feel like it's bad. Not as bad as my other app with spaghetti code, but when I started project I hoped that it would be okay. So can you tell what wrong with my MVP if it's not difficult for you?

App downloads Google Spreadsheets documnt as csv file and saves data in database. It gets currently playig track info via Broadcast Receiver and showing rating for album. Also it uses API to load album art.

Here is GitHub link:

Sorry for my English if it's really bad.

submitted by /u/PersonalJesusUA
[link] [comments]
Categories: Android, Linux

I want to start developing Android apps but...

Developing Android Apps - Sat, 05/26/2018 - 13:57

I like the idea of developing mobile apps, and I have the ability to develop for both iOS or Android. I've been leaning toward Android but I'm scared about what I've heard people talk about on this subreddit. Things like how code on one phone might not work on the other, cloning, etc. Are these silly scares to have or not?

submitted by /u/MrMagicTuna
[link] [comments]
Categories: Android, Linux

Missed Call State Triggering When There Is No Missed Call

Tasker: Total Automation for Android - Sat, 05/26/2018 - 13:55

I have a fairly simple profile set up with the "Missed Call" state as one of the conditions. As stated in the title, the Missed Call state is triggering even when there is no missed call.

Anyone run into this one?

Phone - LG V20 - AT&T (H910A)

Software - 7.0 stock, rooted

Tasker V5.1.8b.bf2

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

Need for a small SATA SSD to supplement a larger M.2 NVMe drive?

Linux - Sat, 05/26/2018 - 13:51

Looking to buy a laptop that comes with a 120 2.5" SATA SSD and an empty slot for an M.2 SSD for which I would like to order in a 1TB NVMe drive. With this setup is there any advantage (such as booting into certain distros) of including the SATA SSD (free) at all? All there any disadvantages? I will mostly by running Ubuntu but may experiment with other distributions such as Qubes OS as well.

Should I request the free SATA SSD or exclude it from my order?

submitted by /u/LiangChan7
[link] [comments]
Categories: Linux

Add material cards to Android keyboard?

Developing Android Apps - Sat, 05/26/2018 - 13:47

I'm developing a keyboard app and I would like to add material cards to the android keyboard like the example below. How can I accomplish this feature in Android Studio?

Example Link

submitted by /u/heyyou2020
[link] [comments]
Categories: Android, Linux

RxJava asynchronous alternative for doOnNext

Developing Android Apps - Sat, 05/26/2018 - 13:36

I'm getting locations and want to instantly show them on the UI, while saving them into the DB in the background. And can't find solution for this flow. As I thought at first - I can:

Emitter.start() .doOnNext { value -> saveToDb(value) } } .subscribe { updateUi(it) }

But obviously this wouldn't work. Spawning new thread in doOnNext block wouldn't help either. Can you suggest your solution, maybe completely different, please.

submitted by /u/niihelium
[link] [comments]
Categories: Android, Linux

What was your the longest "uptime" at work and why?

After a dozen hours of patching and cleaning the hosts l'm wondering if other IT admins deal with long and emergency tasks. [Edit] I meant your human single "uptime" while being at work doing your job :D

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

Do the trials of capitalism ever weigh you guys down?

The fact that IT workers and programmers have been relegated to modern day factory workers on steroids. Where you must maintain, manage, and contribute to the means of production 40+ hrs a week in return for a comfy paycheck.

40+ hrs a week, nearly 1/3 of your life, all contributing to the endless appetite for power and profit by those who own the means of production, and to the endless appetite of consumption for shit we don't need by people such as ourselves.

Not to mention, all that time we put in to maintain and upkeep our skills to keep up with the ever-changing world and the progression of technology.

All of this shit, just to be able to survive and provide for our families.

All of this shit, just so we can make other people lots of money and so people quench their thirst for shit they don't need. Shit that temporarily relieves us of our meaningless existence and quell our cries for more out of life.

This system is fucking broken

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

Kotlin and macOS and Filevault

Developing Android Apps - Sat, 05/26/2018 - 13:13

Hello... Is there a way to open standalone Kotlin files without having to go to System Preferences to allow opening In Filevault?

submitted by /u/hctiks
[link] [comments]
Categories: Android, Linux

[Help] Comparing icons / images

Tasker: Total Automation for Android - Sat, 05/26/2018 - 13:13

I have a notification that always contains one of 7 icons in it. Due to the way the parent app works, the only way I can get the information I need is from this icon. I can use AutoNotification to get this icon and save it to a location on storage, but then I can't really do anything with it.

Is there a way to compare 2 files so that I can determine which icon it is? The icon is hard baked by the parent app, so it should exactly match one of my copies every time.

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

If Google were to have another go at a messaging app, what features do you think would make it a success?

Android - Sat, 05/26/2018 - 11:55

Also, what would make people switch over from the likes of WhatsApp?

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