Android

Do you as a developer review other apps on Google Play Store?

Developing Android Apps - Mon, 06/18/2018 - 05:19

I am just a beginner in Android Development, have yet to get google play console, but I have never reviewed-rated an app before. Didn't think it was important or anything, but now I see how important it is.

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

Mock webserver discussion

Developing Android Apps - Mon, 06/18/2018 - 04:52

Hello guys I am currently writing tests for API responses, AFAIK it is recommended to use mocked web server for responses rather than using the actual api, my question is which web server are you using for testing API calls? The first result from google is https://github.com/square/okhttp/tree/master/mockwebserver which seems overcomplicated in my opinion, I just thought about something as simple as return a json from file when user hits this endpoint with this Http method...

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

Phone screen keeps timing out to soon. Help?

Developing Android Apps - Mon, 06/18/2018 - 04:07

My Bros phone screen keeps timing out to soon even though we have it set to 2mins. Ideas?

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

XPS 15 9570 for Android development

Developing Android Apps - Mon, 06/18/2018 - 03:51

I'm considering getting an XPS 15 9570 (i7-8750H, 32 GB RAM, 1 TB SSD, 4K) but am a bit worried after reading reports about thermal problems and throttling. Is there anyone using this notebook for Android development who could give some insights on how it performs with Android Studio and 2-3 emulators running? Are you getting fast builds? What about throttling or other issues?

Alternatively, I would wait for the Lenovo P52, however I really do like the form factor of the XPS...

Thanks.

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

Physical address on display?

Developing Android Apps - Mon, 06/18/2018 - 03:36

I just added a donation button on my app and use google AIP. Has any on you actually put your home addresses on the account settings in google play console? Can we hide it? Would it matter if I put a wrong address there? I don't want to put my address really. It just a privacy matter

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

Google assistant now supports apple music!

Android - Mon, 06/18/2018 - 02:17

I'm pretty damn sure that before today google assistant only had support for Google play mysic, and Spotify. But now I can tell it to play songs from apple music (totally badass now!) And black player ex....thank you Google! Great update!

Was this always the case or....??

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

[help] does any one has karaoke project on GitHub?

Developing Android Apps - Sun, 06/17/2018 - 23:55

I need some help on muy project?

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

Lost data please help

Developing Android Apps - Sun, 06/17/2018 - 22:55

So in short I accidentally deleted my DCIM folder of my internal memory and really want to recover the folder. I've heard of rooting the phone but not sure how or why or if it's safe. Phone is a Huawei GR5 mini

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

Tasker Media Volume -- Resets Itself?

Tasker: Total Automation for Android - Sun, 06/17/2018 - 22:22

This is a wild ride, I'm not quite sure what's going on.

I made a simple profile to mute the media volume on my phone if I'm in a certain location. Because I'm paranoid and worry about the media volume somehow being raised after I enter the location, I made it a two-profile deal:

The profiles are a location and if %VOLM > 0 (i.e. so if I raise it will be fixed) the task is Media Volume 0

Bingo, right? Weirdly, though, the media volume seems to play defense: it immediately jumps back to what it was set to before the Tasker mute set it to 0. (Literally, watching the volume bar is like watching my phone have a seizure: it jumps from 0 to what it was before, and does this again and again as long as this profile is active.)

Strangely, just running the Media Volume 0 task works like a charm: tasker doesn't play defense if I run that in the app (with the little play symbol). I disabled all of my other profiles and am on LineageOS 15.1 (6/11/18 nightly) on a OnePlus 3T. This happens even after restart with no apps open.

Does anyone have any thoughts about this?

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

How is it fair that Google Play takes 30% of revenue from IAPs?

Developing Android Apps - Sun, 06/17/2018 - 22:18

I made a free app with no ads that had a "Donate to Me" button in it, so that users could send me tips if they thought I deserved it. I got an email from Google Play saying that this was a violation of their policy and I had to use their payment services because they want to take a huge chunk out of my profits.

Besides being a platform to host our apps, what exactly are they doing that deserves 30% of profit from developers?

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

Let's talk about some Chinese phone brands being exclusive only to East Asia

Android - Sun, 06/17/2018 - 20:42

Like why? Companies like vivo, Meizu, Oppo, and others are making these really awesome phones for a really good price, and are innovating a lot (Fingerprint sensors under the display, bezel-less without any notches, etc.) and feel like they would pick up really well here. But they don't sell them here. Why not? Can I still get my hands on one even if I live in the United States?

America needs to step up its game.

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

Canceling an active RxJava2 subscription

Developing Android Apps - Sun, 06/17/2018 - 19:26

So I am trying to build a dialog fragment screen (Android) which has an EditText where users can input their desired username. Using the RxBindings library's RxTextView.textChanges() I am observing the EditText and doing the following:

  1. Resetting existing hints and disabling the "Confirm" button.
  2. Filtering out invalid strings using a regex pattern.
  3. Making a request to the server to check if the valid string is available.
  4. Showing the appropriate response and, if applicable, enabling the "Confirm" button.

My repository's checkUsername() method returns a Single<Boolean> to denote whether the username was available or not.

The issue I'm facing is that there's a possible race condition in when the network username check response comes back and how the UI gets updated. Let's say the user searches for an available username -- nick -- but then quickly hits backspace. The already fired network call now comes back and inaccurately shows that 'nic' is available even though it may not be.

I read up on existing operators and seems switchMap comes closest to what I want but I'm not sure if switchMap would work in this case either because, yes, I want to unsubscribe from the previous subscription but I also want to unsubscribe from the latest subscription if the user changes the text before the latest subscription result comes back.

I then thought about adding all checkUsername() disposables to a CompositeDisposable and clear it every time the user types something but it seems the .clear() method waits for the subscription to finish before clearing it.

Any ideas how I can remedy this? You can find the relevant code here.

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

Importing Cloud Functions Typescript File in Android Studio Project (for Git functionality)

Developing Android Apps - Sun, 06/17/2018 - 19:03

Quick background:

I'm relatively new to software development (I know R decently well as someone who dabbled in data science, but OOP and building end user products is new). I decided to get into Android development so I'm learning Java in the Android Studio environment and building a simple reaction time measuring app. I wanted to also be able to upload and compare user results with other users so I got into Cloud Firestore and Cloud Functions to store data and calculate things like percentiles, averages, and standard deviations on server side. This got me into Javascript (specifically Typescript because it's recommended by Google). I code it in Visual Studio.

My problem:

I code on my desktop mostly, but I like to be able to code on my Surface whenever I visit the parents or if I want to code in a different environment. This makes it imperative that I can get my Typescript code for Cloud Functions onto my Github, not just for version control purposes. I've been using the Android Studio integrated VCS to more easily push and pull to and from Github. It doesn't do it for my Typescript files because those files aren't counted as part of the project in Android Studio (presumably because Android Studio doesn't support Javascript). This is really inconvenient for me.

My question:

So what do people usually do for version control when there are various types of languages they're using that may not be supported by a single environment? Is it conventional that people use Android Studio for the Java, Visual Studio for JS, and then a separate thing like Kraken or Sourcetree for VCS (ie git)?

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

Pages