• Breaking News

    [Android][timeline][#f39c12]

    Thursday, May 3, 2018

    Announcing new SDK versioning in Google Play services and Firebase Android Dev

    Announcing new SDK versioning in Google Play services and Firebase Android Dev


    Announcing new SDK versioning in Google Play services and Firebase

    Posted: 03 May 2018 11:07 AM PDT

    Google Places SDK for Android - is it seriously going to cost 1.7ct per request?

    Posted: 03 May 2018 03:19 PM PDT

    If you use anything other than the default MapView of Google Maps, you probably noticed the price increase "greater flexibility, transparency, and control" of the Google Maps APIs, via an email with the subject "[Action Required] Important changes to your Google Maps APIs account". Directions went from $0.50/1000 to $5/1000, and almost everything follows that trend increasing price by x10 with just a month of notice.

    One part is still unclear though, that's the Places SDK for Android. From https://cloud.google.com/maps-platform/user-guide/product-changes/

    Google is currently preparing new versions of the Places SDK for Android, and the Places SDK for iOS. The following section describes the changes and explains how they will affect you.

    • A new Places SDK for Android will be made available as a standalone library, and will no longer be available through Google Play services; This version will not be backward-compatible with the current SDK
    • A new Places SDK for iOS will be made available

    It's worth noting that several Places SDK features will be updated to reflect overall Places API changes, affecting both mobile platforms:

    • Place Details (Android, iOS) request will have a new fields parameter.
    • Autocomplete billing will be session-based.

    In the coming months we will share more details including a timeline and appropriate lead time to migrate to the new SDK versions. These new versions will replace the current SDK versions. The current SDKs will be deprecated and will follow appropriate deprecation timelines.

    Ripping out / replacing features takes time, and the main question is, in this new API, will the pricing follow the old style, 150k requests per day (4.5M/month) for free, or the new one, at $17/1k, which is 40x of our AdMob RPM? In the latter case, goodbye Place autocomplete and Place details, it's handy, but not "take all my revenue" handy, we're not one of the Ubers with too much cash to burn and enough margin per ride to pay $0.017 per API call.

    If we're getting a huge price increase, it would be nice if we can get enough notice to push out a new properly planned new release in time and not have to resort to revoking an API key to stop the charges. For now, I trust that "will follow appropriate deprecation timelines" doesn't mean "fuck you, pay me" in 30 days as with all other Maps APIs, but you never know...

    Any other ideas for working around this insanity? Forcing an interstitial before you can fill in an address seems rather silly, but that seems like the only way to pay for it. Alternative APIs I found so far are

    • Nominatim: OSM based, even has decent amount of larger places like supermarkets, McDonald's, but not every single company in the country a la Maps.
    • Photon: same but with autocompletion / typo resistance, Nominatim is super strict by default.

    [edit] Added that the 150k requests free is per day. Fun fact, the free quota is worth $76500 in the new situation. Have mercy on those who were close to the old limit.

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

    If you want to sell apps you have to create a merchant account. If you want a merchant account you need a business with a physical location, and a website. I have neither a business nor a website. Is there a way around this? Or must I create a business and a website?

    Posted: 03 May 2018 12:18 AM PDT

    There have been threads on this in the past, but apparently things have updated so I'd like to double check everything.

    You cannot use a PO box for the physical location of the business. So that would mean that I have to use my personal home address. That sounds terrible, but looking at random paid apps in the app store from indie devs it looks like that's what they've done. I'm guessing I also have to create my own website, possibly with squarespace or something similar?

    And none of this is required if I create a free app that runs ads, correct? Considering the effort to just upload one app for like 99c, as well as putting your personal address out there, I'm guessing more and more indie devs are just using free apps that run ads instead?

    Does Apple have similar policies when it comes to this?

    Any advice/feedback would be appreciated.

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

    Performance Improvements for Search on The Yelp Android App - Part 1

    Posted: 03 May 2018 02:50 PM PDT

    [Advice] Correct Espresso usage?

    Posted: 03 May 2018 01:14 PM PDT

    Greetings!

    I would like to get opinions on what kind of Espresso tests we should be writing.

    • What should we aim to achieve through Espresso tests?
    • Should we be verifying things like the toolbar title, or only behavior?
    • What should we avoid testing?
    • Should we do end-to-end testing, or only UI testing?
    • (Any other comments appreciated)

    Some background

    At work, we have ~7 teams (each made up of between 2-4 devs) working together on the same, rather large app (which is at least split up into modules per team).

    And of course, there are people with differing opinions on how to do stuff, especially testing.

    Some teams opt to only test from their view models down. Other teams test literally all Java code (following TDD), including activities and fragments. However, they have done this testing with normal JUnit tests (as how view models etc. are tested) using Robolectric.

    These teams want to write JUnit tests for activities & fragments to test the UI, and Espresso tests to do end-to-end testing.

    We are now introducing Espresso to the app (no Espresso tests have been written yet), and I'm wondering what these tests should be trying to achieve.

    Thanks for any comments!

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

    What do the android drawable icons actually look like?

    Posted: 03 May 2018 08:57 AM PDT

    I want to use android.R.drawable.ic_* icons, but I can't find anywhere online what they look like! Best I found is the .xmls in the android sdk folder.

    Sorry if this is a really silly question.

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

    Even smarter async with coroutine actors – Erik Hellman

    Posted: 03 May 2018 04:39 AM PDT

    99 - Taxi and private drivers

    Posted: 03 May 2018 03:49 PM PDT

    Android Bottom Navigation with center button arc or hump

    Posted: 03 May 2018 12:15 AM PDT

    Looking to modify the Bottom Navigation Bar with a main center action button which changes the shape of the navigation bar itself either an arc like so enter

    Bottom arc sample

    or a hump in the bottom nav enveloping the center button around it.

    Im fine if I have to extend the `BottomNavigationView` but I don't know where to start.

    https://stackoverflow.com/questions/50148907/android-bottom-navigation-with-center-button-arc-or-hump

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

    On the road to Koin 1.0.0

    Posted: 03 May 2018 09:31 AM PDT

    Just published for the first time! Some questions.

    Posted: 03 May 2018 11:12 AM PDT

    The good news is that I've finally finished a project and published it earlier today.

    It's been a few hours now and I just had some questions about it's current visibility, what's normal and what's next.

    Firstly, while I do have a direct link to the game, I'm unable to find it in any searches - even for the package name.

    It's probably worth noting that the package name and title of the game have actually ended up being different in the final build. I've read this won't help me any. If this is strongly affecting searches, am going to have to republish a 'new' project with the correct package name?

    Aside from that, I'm told this is pretty normal for the first 24 hours and if so - fair enough. However, if that is the case, is it too soon to start sharing that link and getting it out there?

    Thanks!

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

    Now, Google Play In-app purchases can be partially refunded

    Posted: 03 May 2018 01:12 AM PDT

    Just checked out Android Development for Dummies 2nd edition, copyright 2015 from my county's free library.

    Posted: 03 May 2018 02:06 PM PDT

    The all-in-one. It at least is new enough to have a section for Android Studio, has anyone went through this book? Is it worth it for someone who has no android dev experience but some programming experience? Or should I not waste my time and just purchase Nerd Ranch? I'm doing this as a hobby for now.

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

    How to store data in a music player?

    Posted: 03 May 2018 06:04 AM PDT

    I'm developing a music player which currently consists of two activities :

    Main Activity with playback controls, it launches when the app starts. Media Player is currently located here, I'll create a Service later.

    Browser Activity with several fragments where I can choose songs, genres and so on from lists.

    I use Cursor to load songs when application launches and store them in a public array of objects in Main Activity. I directly access this list from Browser Activity and use Intent to pass the position of clicked item to Main Activity.

    Is this an effective way of storing data? Please give me some insight.

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

    Why are my in-app subscriptions not charged?

    Posted: 03 May 2018 01:26 PM PDT

    One of the apps I have on Google Play has an anual subscription of about $1.99. But 40% of the orders I see under "Order Management" on the Google Play console show the value as 0.00. Sometimes is zero euros, zero pounds, zero US dollars or Australian dollars.

    Does anyone know of any possible cause?

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

    TAS ready-to-use boilerplate for an Android Application

    Posted: 03 May 2018 03:27 AM PDT

    Are there any open source apps like animania or terrarium?

    Posted: 03 May 2018 11:53 AM PDT

    Any way to dismiss notification and cancel vibration with an .addAction on the notification builder?

    Posted: 03 May 2018 07:57 AM PDT

    Hello!

    I am currently developing my first android app and have finally managed to get a notification, with a vibrator and a screen wake working.

    What I would like to implement on top of this is a way for the user to dismiss the notification with an .addAction on the notification, or something similar. The dismissal of the notification should cancel the vibration and "remove"/"dismiss" the notification on the screen.

    Since an addAction on a notification requires a pendingIntent, this means I will have to cancel the vibration in another class which is called by the pendingIntent. This is where I run into issues, since I don't know how to cancel the vibration from another class.

    Let me know if you need any code snippets or have a better idea of what I should do in this situation.

    Thanks!

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

    I'm struggling with deploying a tensorflow model on my Android app

    Posted: 03 May 2018 05:32 AM PDT

    Hey tensorflows I'm idriss a second year software engineer student from Morocco.

    And I have an android project it's principle goal is the zoom for impaired people. So for that I found an open source code on github https://github.com/machrisaa/tensorzoom

    And I wanted to add to it some filters to help impaired people, especially students who struggles with the blackboard. And I want to add so many other things.

    But because I'm new to tensorflow and machine learning in general, I don't know how to deploy this exact model on my app.

    Note 1: I know how to deploy many models and I know the basics, but I'm struggling with this one. Note 2: there's an app on play store that has deployed it called tensorzoom, but I don't know how :/

    So if you can help me to get this tensorzoom working I would be grateful.

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

    Root Explorer

    Posted: 03 May 2018 03:10 PM PDT

    I'm new to programming and I want to develop a mobile application

    Posted: 03 May 2018 09:30 AM PDT

    Hello, I'm completely new to programming and I want to develop a professional mobile application, as of title. I tried googling but way too many results and choices appear and I can't understand which ones best fit my necessities, that's why I made this question here. What I need to make is an application for a peer-to-peer service (e.g. similiar to Airbnb). I'm thinking about starting with the Android version, instead of the iOS one, because I have an Android phone and (just a guess of mine) maybe it's easier. In the end I will need a version of the mobile application for both anyway. Can you please suggest me the best free online documentation out there to learn how to do so and the best softwares to do it, other than any resource that could be useful to me? Thanks.

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

    Looking for an online to tool to design fonts and colours for Android mobile

    Posted: 03 May 2018 09:15 AM PDT

    Does anyone know of an online tool where I can create Font, text and colours and it will give me the xml code, or anything along those lines so that I can implement it into my app?

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

    Cannot sign up for AdMob because my AdSense account was terminated. I don't have an AdSense account...

    Posted: 02 May 2018 09:38 PM PDT

    I'm a relatively new android developer. I was trying to learn the basics on Firebase AdMob but just as I was about to create an account I get a message saying:

    [NAME] you cannot use AdMob at this time

    Your AdSense account has been terminated.

    I don't know how this is possible. I do not have an adsense account and I do not have a website. The google account that I am using is relatively new too. I went ahead and checked all the emails since its inception and, as expected, there is nothing about adsense.

    Any one know what to do here?

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

    "Decompiling" an APK

    Posted: 02 May 2018 07:03 PM PDT

    Asking this as a non-developer. We recently worked with a developer who totally screwed us over, and all we've got left are the 'debug' and 'release' APK's he was sending out before he went dark.

    Question is, can I (or someone on my team) 'decompile' this APK in such a way that it can be the basis for future development? Or is it going to be a total mess?

    If not, do they still have development value? Starting with an APK, how much additional prep is required to resume development?

    Any help would be HUGE. Thank you!

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel