• Breaking News

    [Android][timeline][#f39c12]

    Tuesday, August 28, 2018

    Introducing MvRx: Android on Autopilot – Airbnb Engineering & Data Science – Medium Android Dev

    Introducing MvRx: Android on Autopilot – Airbnb Engineering & Data Science – Medium Android Dev


    Introducing MvRx: Android on Autopilot – Airbnb Engineering & Data Science – Medium

    Posted: 28 Aug 2018 10:47 AM PDT

    AirBnb's MvRx: Android on Autopilot

    Posted: 28 Aug 2018 11:08 AM PDT

    Need suggestion! I am trying to use gradient drawable in toolbar and would like to know if it is good from designer point of view?

    Posted: 28 Aug 2018 05:30 AM PDT

    Any good resources to learn testing in Android?

    Posted: 28 Aug 2018 07:15 AM PDT

    Hello there,

    it's out there any good resources like courses/books or tutorials on how to learn unit testing / instrumented tests on Android?. I started to do it by my own, but I don't know if I'm doing it right .

    I tried to mock a retrofit's webservice. And the test was successful, but I'm not sure if I am applying bad practices or something.

    Thanks

    package com.pekebyte.somosoco.data.network; import com.pekebyte.somosoco.data.models.OcoPosts; import com.pekebyte.somosoco.ui.helpers.Constants; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import java.io.IOException; import retrofit2.Call; import retrofit2.Response; @RunWith(JUnit4.class) public class WebserviceTest { Webservice ws; @Before public void init() { ws = new MockRestAdapter().build(); } @Test public void testGetPosts() throws IOException { //Actual Test Call<OcoPosts> quote = ws.getPosts(Constants.BLOGGER_KEY, null); Response<OcoPosts> response = quote.execute(); Assert.assertNotNull(response.body()); Assert.assertEquals(response.body().getPosts().get(0).getId(),"FAKEID"); } } 
    submitted by /u/pekebyte
    [link] [comments]

    [Library] Created a library to monitor and modify network requests

    Posted: 28 Aug 2018 09:45 AM PDT

    Hi all,

    I just published an Android library to monitor and modify network requests. Currently, it is only compatible with retrofit2 and okhttp3. Internally, the library is written in Kotlin using Room and Lifecycle components.

    While developing network heavy applications, it's often required to stub your own response and this library makes it much easier to quickly test changes to the network request or response.

    https://github.com/naman14/Spider

    ​ Feedback and suggestions to improve the library are welcome!. Currently I am looking to add support for modifying headers and request boy (this is already done in the android lib, need to support it on web side)

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

    How many times a day do I have to be forced to see this error popup? How the hell do I prevent this?

    Posted: 28 Aug 2018 03:16 PM PDT

    How much java knowledge is required for learning android

    Posted: 28 Aug 2018 10:23 AM PDT

    I want to get started with android development,so how much java should I know

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

    Marketing an App

    Posted: 28 Aug 2018 03:53 PM PDT

    Hello, I recently developed an android social media app that I worked pretty hard on for a few months. It has a friend, follow, voting and messaging system using firebase. I am wondering how I should market this.

    I intend on selling the source code to a client, I have never sold software before so I am not sure on where to start or what price.

    My idea so far is to make a website for it, display demo videos etc. I will then have 2 payment tiers.

    Basic - Full source code with default xml designs

    Premium - Full source code and I will change the xml design to your specification, new icons, fonts, colours, logos etc.

    Any ideas or reccomendations? Thanks.

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

    Porting my iOS App, question about React vs. Native Android (iOS Dev)

    Posted: 28 Aug 2018 02:31 PM PDT

    Hey guys, I am an iOS Dev with no experience in Android or React. Anyway, I will be porting my iOS App to Android but I'm not sure what the right way to go is.

    Do you guys have any preferences between Native Apps vs. React? What are your pros/cons.

    I'll be doing a lot of Googling as well, but ideally, I'd like input from people who have experience in this area.

    Thanks!

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

    How to Create this pan and zoom animation in imageView..??

    Posted: 28 Aug 2018 10:40 AM PDT

    What is the best way to re-learn Android dev after 2 year hiatus?

    Posted: 28 Aug 2018 12:06 PM PDT

    I worked for a small startup for 2 years in "Lead Android Dev" capacity, managed 3 Android devs to build a v1 of the company's product as an app.

    Switched to full stack web dev for the last 2 years... and unfortunately, I've forgotten most of the Android dev :/ I have an interview coming up in 5-6 days. What can I do to prepare myself for the Android aspect of the interview? They're going to interview me as an Intermediate Android Dev because I already have 2-3 published apps in the Play Store.

    submitted by /u/Peng-Win
    [link] [comments]

    Convert to Kotlin disabled in Android studio 3.3 Canary 7 - Please note before you update.

    Posted: 28 Aug 2018 02:44 AM PDT

    I'm not sure if it's just me or if Java - Kotlin conversion has been disabled in the latest Android studio canary release (3.3 canary 7)

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

    Show date range in calendar

    Posted: 28 Aug 2018 04:58 AM PDT

    I have to to show a date range in a calendar as in horizontal for selecting departure and arrival date for an application , could you guys please recommend some good examples / libraries for this ??

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

    Java Programming for beginners Reference Sheet.

    Posted: 28 Aug 2018 09:09 AM PDT

    My process to get lost keystore passwords

    Posted: 28 Aug 2018 04:35 PM PDT

    tldr; You can utilize keytool -list -v -keystore C:\Users\Me\Desktop\stuff\keystores\android.jks from shell to access a Enter your password: prompt, where there appears to be limitless guesses. This is important as many of the previous ways to find your password are obsolete. I tried all of them beside a bruteforce java application.

    Story

    Me being a fool, I did not realize how important it was to backup the password for the keystore. I saw that Android Studios allowed Remember password config, put the password in, and generated my first signed APK.

    Come two weeks later, I was on my mac, and realized that I was not able to rollout the newest updates to my app, as I did not have the keystore on this computer. Back to my PC I went, where I then realized I did not backup the password itself, way back when.

    After several guesses, I was able to get the right password and move the password over the the mac.

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

    Here’s why you probably shouldn’t be using the Gson Library in 2018

    Posted: 28 Aug 2018 02:21 PM PDT

    I always wanted to learn how to connect my app to a database and do all the stuff that I usually do in websites with an app and this course is making it happen. Rob is the Best! He explains every moment he shows in a very detailed way.

    Posted: 28 Aug 2018 02:19 PM PDT

    Android emulator bug is driving me craaazy.

    Posted: 28 Aug 2018 10:32 AM PDT

    Morning all, I have installed Android Studio 3.1.4 to do some experimentation with writing Android apps on my Windows 10 Home laptop. However, the emulator isn't working. No matter what I do, it fails to start with the following (helpful) error message:

    Emulator: Process finished with exit code -1073741511 (0xC0000139) 

    Ugh. I have tried reinstalling, double checking that I have the appropriate system image and generally making sure that everything is in place. But no dice.

    Any ideas?

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

    To the Google Android Devs: do you check your crash statistics?

    Posted: 28 Aug 2018 01:57 PM PDT

    Dear Google Android developers,

    You have access to the Play Store and to Fabric/Firebase Crashlytics.

    Do you take a look at the crash logs occuring in the android framework or android libraries that are available on your platforms?

    I know GDPR might prevent this, but Europe is not the only continent.

    I feel like we don't always need to post bug reports explictly when we already report them on tools which you (Google) directly control.

    So, how well do you colaborate with the Play Store and Firebase teams?

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

    Orange County, CA active meetups?

    Posted: 28 Aug 2018 01:23 PM PDT

    I am looking to connect with some developers in Orange County and Laguna Beach after I move there in a few weeks. I have one application done and in the play store, so far.

    I am also actively going through the meetups.com postings and thought I would see what things might not be listed there. Any contact information would be greatly appreciated!

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

    Is there anyway to forward tcp ports while using adb over the network?

    Posted: 28 Aug 2018 01:03 PM PDT

    I'd prefer to use adb via network because my desktop is quite far from where I actually work and I test on my main phone, so I'd like to have that nearby (and not have to buy a longer cable, I'm cheap and my cat will just eat it).

    Anyway, if I try to forward tcp ports when I'm connected via the network, I get adb complaining that there are multiple devices. Is this a limitation of adb over the network?

    Edit: I was using React Native, the solution to this error is to declare your PC's ip address and port in the app's Developer settins menu.

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

    What would cause JobScheduler to not run at all?

    Posted: 28 Aug 2018 05:19 AM PDT

    Sorry for the vague title but I'm a bit stumped here... Our app uses JobIntentService's to periodically fetch background data in various scenarios throughout our app (e.g "just successfully logged in?" let's fetch non-critical user data in the background). We've built out an async & reactive architecture based on displaying cached data and reacting/updating the UI with new data available, and this has worked really well in our testing and internal betas for almost a year.

    Now that we're launched and live, we've heard a handful of complaints from users about the lack of data and general behavior weirdness, and based on the scenarios described it sounds like (for a very small percentage of users) these background jobs aren't running at all. It's as if the data is not there and was never there, even in a stale/cached state.

    Are there any device settings or nuances in the system that could cause this? I know services/JobScheduler jobs in general aren't really guaranteed since they could be killed off by the system in response to memory pressure and other conditions, but I'm struggling to reproduce a scenario where they won't run at all. My first thought might have been battery saver mode, but that was a dead end.

    Anyone with deeper knowledge on JobScheduler, background services, and the like, who has some ideas on where to look? Any help is greatly appreciated :)

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel