Rate app to unlock feature allowed?

Developing Android Apps - Thu, 09/20/2018 - 01:51

Is it allowed to ask user to rate the app to unlock a feature? I do not ask them to give a specified rating. Also the they are really not forced to rate anything, the link just goes to Google Play and they could close it if they choose to do so.

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

PSA: Google Chrome 71 has a new UI.. Menus are now in the bottom..

Android - Thu, 09/20/2018 - 01:03

There is a new UI of Google Chrome Dev.. The menus are in the bottom, adress bar is still on top, the UI is now rounder/whiter. There are also new addition to menus such as Payments and Adress.

What do you think of new UI?

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

How many % of android devices still using x86 CPU?

Developing Android Apps - Thu, 09/20/2018 - 00:56

I'm planning to integrate crosswalk for my app to support older OS(4.3 and below), however it bumped my apk size from 5mb to 45mb. It has 2 library, ARM & x86, each 20mb. Should I drop support for x86? as most of my users are phone user not tablet.

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

Admob alternative?

Developing Android Apps - Thu, 09/20/2018 - 00:53

So, my account got terminated. Straight up terminated. "Invalid clicks" idk how that happened. I am not stupid who will click myself.

Sooo is there any alternative, which doesn't require 'google account' ?

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

AAC Paging library and RxJava

Developing Android Apps - Wed, 09/19/2018 - 22:20

Is anyone using the new Paging library with RxJava. I am looking into doing it but starting to have doubts as far as usefulness of this combination.

As a simple example, I use Room database and paginating the results in my RecyclerView. My repository wraps the DAO. ViewModel uses a use case in domain layer to access the repository.

The function that returns a list of results in my DAO returns DataSource.Factory<Int, NoteEntity>. The repository converts it to DataSource.Factory<Int, Note> (per principles of Clean Architecture). The ViewModel simply does:

val noteList: Observable<PagedList<Note>> = RxPagedListBuilder(getNotesUseCase.allNotes(), PAGE_SIZE) .buildObservable()

Now my fragment is forced to deal with RxJava (which I normally avoid):

override fun onStart() { super.onStart() disposables += viewModel.noteList .subscribeBy(onNext = { render(it) }, onError = Timber::e)


I like being able to use RxJava (with its variety of operators) to manipulate the returned data in my Data, Domain, and Presentation layers but not the UI layer (Activities and Fragments). I try to keep the UI as dumb as possible.

Is Paging library conducive to this? At the moment, based on what I see so far, LiveData rather than RxJava is a better candidate to use with the Paging library. What are your thoughts, experiences?

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

Looking for library or code example for handling media notifications for media in a WebView

Developing Android Apps - Wed, 09/19/2018 - 20:49

I need to play media (podcasts) from a website in-app with a WebView and, for proper UX, display a notification with media controls.

Anyone know of any WebView libraries (or code examples) that handle detecting the media start and interfacing with the media controls? I assume there must be some sort of standard interface since I can open this website in Chrome, play the podcast and a notification shows up that allows me to play/pause.

The screen includes too much customization (bottom navigation) for Chrome tabs to work for what is required (from what I can tell) and, unfortunately, it needs to be in-app so I can't send the user to an outside browser.

I figured I would check here before trying to dive into the source for open-source browsers which also have this functionality. My initial search hasn't yielded much outside of this SO post:

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

WorkManager alpha09 is here

Developing Android Apps - Wed, 09/19/2018 - 20:45

We have a WorkerFactory for DI enthusiasts.

Here is the release notes.

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

2 headlines taken from /r/apple today.

Android - Wed, 09/19/2018 - 18:50

iOS 12 Installed on 10% of Devices 48 Hours After Launch

There are more iPhone models supporting iOS 12 than iPhones that has stopped receiving software updates.

At first I thought, damn Apple fanboys. But then I thought, damn it would be awesome if /r/android could have these headlines. :(

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