• Breaking News

    [Android][timeline][#f39c12]

    Saturday, December 30, 2017

    App Feedback Thread - December 30, 2017 Android Dev

    App Feedback Thread - December 30, 2017 Android Dev


    App Feedback Thread - December 30, 2017

    Posted: 30 Dec 2017 04:30 AM PST

    This thread is for getting feedback on your own apps.

    Developers:

    • must provide feedback for others
    • must include Play Store, GitHub, or BitBucket link
    • must make top level comment
    • must make effort to respond to questions and feedback from commenters
    • may be open or closed source

    Commenters:

    • must give constructive feedback in replies to top level comments
    • must not include links to other apps

    To cut down on spam, accounts who are too young or do not have enough karma to post will be removed. Please make an effort to contribute to the community before asking for feedback.

    As always, the mod team is only a small group of people, and we rely on the readers to help us maintain this subreddit. Please report any rule breakers. Thank you.

    - Da Mods

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

    How to draw a custom view? - Medium

    Posted: 30 Dec 2017 11:24 AM PST

    I'm writing Kotlin but I can't stop thinking in Java

    Posted: 30 Dec 2017 12:05 AM PST

    I pretty much still do everything exactly as I did in Java, only the syntax is a little different.

    I would love to know what "recipes" you guys have come up with for specific actions or functions.

    • Like I can do just fab.setOnClickListener { something() } which is awesome.
    • I always hated switch cases. Like, who would not want to break after every case? How the hell was this made the default decades ago? Kotlin's when is amazing.
    • I'm replacing more and more "public static"/companion object stuff which doesn't really have a place in Kotlin world as it did in Java. It's making my code a bit more functional but also a little unfamiliar, given I am stepping out of Java land after so long.

    But I haven't even scratched the surface of kotlin and I'm finding it hard to figure out how to even get started using the more advanced stuff like higher order functions, delegation, DSL etc. in a way that's relevant and applicable to android.

    Ideas? How has kotlin improved your android specific code? Share your code snippets.

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

    Unit testing protected lifecycle methods with Kotlin

    Posted: 30 Dec 2017 03:10 PM PST

    RecyclerViewAdapter without ViewHolder

    Posted: 30 Dec 2017 04:10 AM PST

    Mapping models between layers in a clean architecture

    Posted: 30 Dec 2017 01:48 PM PST

    So there is a lot of great material in the blog post (https://overflow.buffer.com/2017/12/21/even-map-though-data-model-mapping-android-apps/) and i am trying to implement this in a rather small, only 7 features, side project. But even attempting to create models for different layers and mapper classes to map between the different models is becoming a daunting task. This could easily take a month to refactor all this.

    At my work, it has much more features so the refactor would take a long time and since new features constantly need to be built out there would not be enough time that we could dedicate to a refactor like this. What suggestions do you have for someone in a similar position?

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

    Android piracy, should we care?

    Posted: 29 Dec 2017 10:43 PM PST

    Hello, I'm helping a small team on a few Android projects. We have decided to try non intrusive ads combined with a possibility to remove them for the price of a cup of coffee more or less. The apps are fully functional with ads, you do not unlock any extra content.

    Question: Should we care about Android piracy in this case? I have to admit I don't know much about this at all. I understand that there is a big scene for pirated Android games with app features unlocked, but let's say one of these apps we're developing should become somewhat popular - should we prepare for the app being pirated with the ads removed? Do people actually take the time to remove non intrusive ads and distribute these versions online?

    submitted by /u/victoria-st
    [link] [comments]

    I cannot for the life of me understand send data through bluetooth in my app.

    Posted: 29 Dec 2017 06:51 PM PST

    I have had a project idea for almost six months. I originally abandoned the idea because I could not figure out the very first step: bluetooth. I just picked the project back up a week ago, and still have not gotten it set up. I have read the android dev page on bluetooth and have read through the bluetooth chat sample. I have also watched a four part video tutorial on bluetooth connectivity, but I just can't get this to work.

    I have a raspberry pi 3 and a google pixel. Putting aside my project, I just want to get my raspberry pi to display a prechosen message from my pixel. When I press a button on my app on my pixel. I want it to display on the raspberry pi. My devices are connected using this tutorial. This is what the terminal displays.

    My problem does not lie in connecting the devices, but sending data between them. I have copied the "MyBluetoothService" class where is says "Sending outgoing data is as simple as calling the thread's write() method from the main activity and passing in the bytes to be sent", but I do not understand how to call that method.

    I apologize for my inability, but I am getting discouraged and might lose interest again. Can anyone help?

    Edit: When trying what /u/ImNotPunnyEnough suggested, I get the following errors:

    12-30 18:47:51.882 29867-29867/com.example.espo1.bluetoothtest W/BluetoothAdapter: getBluetoothService() called with no BluetoothManagerCallback

    12-30 18:47:51.918 29867-29867/com.example.espo1.bluetoothtest W/System.err: java.io.IOException: read failed, socket might closed or timeout, read ret: -1 12

    These happen on socket.connect();.

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

    Understanding Rx Marble Diagrams

    Posted: 29 Dec 2017 07:52 PM PST

    Image Transition

    Posted: 29 Dec 2017 06:56 PM PST

    Hi Everyone, Not sure if this is the right place for this question.. but I've been trying to find an answer to what this method would be..

    With Snapchat and Instagram, in their storie features they seem to be able to seemlessly transition from one picture to another with no change of picture in between. I have thought of just layering the pictures and just changing the opacity

    But I am wondering if there is a specific technology or technique behind this sort of effect. Is it some sort of caching? Any ideas?

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

    Kotlin first language? Worth?

    Posted: 30 Dec 2017 07:10 AM PST

    Have quite a lot of free time currently and thought learning kotlin might be worth the investment. It will be my first language. If you guys could provide some link and tips etc that would be appreciated or if you think it is ill advised to learn first.

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

    Is it just me or do developer suck at designing?

    Posted: 29 Dec 2017 06:40 PM PST

    So,I am designing a splash screen for my app and want to make my whole app's UI look better.But no matter what I do,it still looks shitty.Do any designers have suggestions on how to design a decent looking UI?Maybe some tool recommendations?

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel