Linux

Native ad network mediation

Developing Android Apps - Tue, 06/19/2018 - 16:34

I'm trying to monetize an app as much as possible without inhibiting used experience too much.

We've settled on native ads over banner ads because we've been told that the rates for native ads are much higher than banner ads (if there are other ways to monetize apps that .

Has anyone found a really good mix of native networks to use? Which ad servers have the most integrations?

Also, if you have any other recommendations on how to monetize in way that doesn't hurt user experience too much, I'd love to hear about it.

Thanks!

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

YouTube Music

Linux - Tue, 06/19/2018 - 16:24

If you're looking to get Google's new suite of YouTube Premium, or just YouTube Music free or paid, I have got you covered. We're going to do a simple trick that most people use for Netflix: Chrome. Chrome is a great tool for people who want to use web pages as apps. Just download chrome, and go to the YouTube Music web page and go to more tools, create shortcut and optionally (and more practically) press the open as Windows button. Even if you're not a Google Chrome user, it doesn't open a chrome window, and works really well with the exception of downloading music, which is Windows/Mac exclusive for now.

Anyways, I hope that you found this at least interesting.

-Your 15 year old Linux noob, Dove.

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

Using Phone to set an alarm that triggers chromecast

Tasker: Total Automation for Android - Tue, 06/19/2018 - 16:06

Currently I have set my phone to play the next song on spotify after the alarm is dismissed. That was the best way I could think of doing it. Anyhow, Is there a way to blast this over my chromecast on my tv? I can't seem to get that portion to work. I've tried the autoinput approach that /u/joaomgcd put together. It seems to make an effort, but only pulls up the home app. I'm running lineageos 15.1 on the Pixel Xl if that matters.

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

Verizon promises to stop selling customer location data... for now

The Register - Tue, 06/19/2018 - 15:50
But T-Mobile and Sprint? Not so much

Verizon has promised to stop selling user location data to third parties in response to a privacy campaign by US Senator Ron Wyden (D-OR).…

Space Themed Starter

Developing Android Apps - Tue, 06/19/2018 - 15:46

Not sure if I can post this, and I apologize if I can't, but I started this as a plan to create a Space Themed RSS reader utilizing the NASA RSS feeds. My deployment and commitments got a little in the way. I put it on github in the hopes that someone will make something awesome

SpaceFeedr

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

Apple takes $9m kick down under after bricking iPhones

The Register - Tue, 06/19/2018 - 15:33
Victory for the right to repair crowd, but a flea bite for Apple

Apple is facing a $9m (AUS) slap-on-the-wrist for kicking out a firmware update that disabled some repaired iOS devices in Australia.…

Can I put a link to my previous app inside my new app?

Developing Android Apps - Tue, 06/19/2018 - 14:58

I just submit my new app. I put a button that links to my previous other apps, but I got rejected. Google said that this button is a deceptive ad.

So, I am wondering. Am I allowed to do this? Is there a way to do it properly? Because I saw many apps have some kind of more app button.

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

Splash screen, routing and Navigation Arch question

Developing Android Apps - Tue, 06/19/2018 - 14:49

I'm working on an app (MVVM with Arch components) where I'm testing the new Navigation Arch library. Pretty much I got the hang on it. In the end I have something like this: SplashFragment: the start destination. Check if the user it's already logged and pull the user information from the DB. from here I have to navigation conditions:

  1. RegistrationFragment (it;s more a login, since there's no registration) -> Main Section Fragment (which it's inside a Bottom Navigation View with thow more sections on it). And
  2. Main Section.

I was confident with this navigation graph until I stumble upon this post from Ian Lake, where in the comments sections He mentions that you shouldn't have a Fragment only to show a Splash image; you have to use the application theme to do it. I get the idea of it, that on navigation you need a solid start destination.. but the catch in my case it's that before I go to the main section, I need to pull the user information from the DB and then pass it to the Fragment, so I pass that responsibility to my "SplashFragment" which pull the information from the DB and pass the user model to the activity view model, so all the fragments can pull that information from it...

So in the end my doubt it's, do I follow and pass the responsibility for routing/pulling the user information to my main fragment. Or do I keep my current schema where I have a single fragment that it's in care of the routing?

In the end, I implemented the correct way to show the splash screen (using a theme), but my splash fragment it's still there, showing the same splash image while it pulls the information from the DB.

I just need a different perspective on it...

Thanks!

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

Visa pins payment problems on 'very rare' fault in data centre switch

The Register - Tue, 06/19/2018 - 14:29
European boss says 10% of attempted transactions failed

Visa has said that a “very rare” partial failure that stopped a backup switch in one of its two data centres from activating was the root cause of the incident earlier this month that saw millions of transactions declined.…

Libraries for managing a subset of contacts

Developing Android Apps - Tue, 06/19/2018 - 14:23

I want to allow a user to pick & save a list of contacts, but for each contact only save the phone numbers & email addresses the user wants, and not all of those for each contact. I would like the user to be able to edit these groups after initial selections, of course. The app will be used to send a short message (SMS &/or email) to all selected recipients.

Example: The user has contacts named Alice, Bob, Carol (and others). Alice & Bob both have both personal cell and work phone numbers, as well as personal and work email addresses. Carol has a home phone (landline) and a cell phone, and no email address.
The message should be sent to Alice's personal cell phone & personal email address, Bob's work cell phone & personal email address, and Carol's cell phone.

Are there any existing libraries that could help with building such a system? I've found Codinguser's Android Contacts Picker but that only supports phone numbers. I suspect this use case has come up before, but it seems surprisingly difficult to find a good way to accomplish it. I'd rather use an idiomatic method than hack something together & rewrite it later.

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

Question: What's your most useful one-liner?

Linux - Tue, 06/19/2018 - 14:16

I currently work for a hosting company who's primary distro is CentOS. In the office, we often share our favourite one-liners which save time when exploring what might be causing issues, summarising logs, automation etc.

For example, here is a quick one-liner I use to analyse Postfix maillogs.

cd /usr/local/ && curl -O http://jimsun.linxnet.com/downloads/pflogsumm-1.1.3.tar.gz && yum install perl-Date-Calc -y && tar -xzf pflogsumm-1.1.3.tar.gz && mv pflogsumm-1.1.3 pflogsumm && chmod u+x pflogsumm/pflogsumm.pl && perl /usr/local/pflogsumm/pflogsumm.pl /var/log/maillog* > /var/log/maillog_summary.txt && history -d $(history | tail -1 | awk '{print $1}') && less /var/log/maillog_summary.txt

What about yourself? What's your most useful one-liner?

Thanks in advance, I look forward to seeing yours!

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

Is Linux is still for geeks ?

Linux - Tue, 06/19/2018 - 14:12

Being a linux user off and on , mainly on the Raspberry Pi. I have two questions to pose to other user of linux. If they want more user to use and enjoy linux, shouldn't it be as easy to install as windows or mac? Also seeing most people who now install linux will be installing on machines that are likely to have ssd's inside them, shouldn't the linux distrow's automatically compensate for this without having to be a geek with terminal to set up 'Trim' , It should be there at the beginning of the install , like a little tick box if your computer is using an ssd or a normal hard drive. I like linux and have often donated to distro's i thought were good, BUT come on, get with the times linux, NOT everyone is a geek!

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

Pages