• Breaking News

    [Android][timeline][#f39c12]

    Sunday, August 18, 2019

    Android-showcase sample app (Kotlin, coroutines, Clean Architecture, tests, feature modules, MVVM, static analysis...) Android Dev

    Android-showcase sample app (Kotlin, coroutines, Clean Architecture, tests, feature modules, MVVM, static analysis...) Android Dev


    Android-showcase sample app (Kotlin, coroutines, Clean Architecture, tests, feature modules, MVVM, static analysis...)

    Posted: 18 Aug 2019 07:23 AM PDT

    After a few months of hard work, I am very excited to share my android-showcase project.

    The goal of the project is to demonstrate best practice on Android platform, provide a set of guidelines, and present modern Android application architecture that is modular, scalable, maintainable and testable…

    Check the repo readme and spread the word💪

    https://github.com/igorwojda/Android-Showcase

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

    Ah, the constructive critiques

    Posted: 18 Aug 2019 11:07 AM PDT

    Generating your changelog using Git inside build.gradle

    Posted: 18 Aug 2019 05:20 AM PDT

    Hey guys 👋 I'm a frequent lurker here but have rarely contributed so I figured, since I've been at this for 8+ years, I'd start sharing some of the more interesting knowledge I've gained with the community & hopefully someone will find it useful.

    https://link.medium.com/nVVQY3WJfZ

    This is a post I've just published about how to build your app's changelog using your git commit history, it's not ideal for every scenario but it's proved very useful on a recent client project so maybe others will find some use in it too.

    Would love to hear any thoughts or feedback on what people think of this approach. 🤓

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

    What types of apps can one make to practice not only android related stuff but also implementing some cool algorithms?

    Posted: 18 Aug 2019 02:38 AM PDT

    Right now I've practiced some android related stuff like intents, recyclerviews, notifications, styling, xml layouts, lifecycle. I want to create an app that really challenges me. In my course in about 2 months there will be a week long project that I do where I want to really impress myself with what I can do. By then I'd have covered more advanced things like persistence, android networking, location based services, basics of threading, REST apis. Not only do I want to try to learn more advanced android topics that will help expand my basic knowledge of developing in android but I'd like to challenge myself algorithmically. I'm familiar with sorting algos and can do some medium style hackerrank problems given enough time, and I enjoy it so was wondering what type of apps will create this opportunity to work on problem solving as well.

    One thing though is that I'm not really a user of apps nor have I developed many practical things. A weakness of mine would be my creativity.

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

    Designed for Families - Opt in or opt out?

    Posted: 18 Aug 2019 10:39 AM PDT

    I'm making some apps that are suitable for all ages and I'm having a hard time weighing up the pros and cons of trying to opt in to this programme, or if I even could. My apps do not connect to the internet, so data collection concerns are a non-issue. In future I may want to monetise, but not for now.

    As an example, think of Doodle Jump without any adverts. I would say this is suitable for all ages, but it's not targetted specifically at children. So would that be a candidate for the programme?

    If anyone has any insight on this or experiences to share from publishing their own apps, that would be great. So far I have opted out of the programme.

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

    Any good Conductor Tutorials?

    Posted: 18 Aug 2019 02:40 AM PDT

    I wanna use Conductor in my app but I couldn't find any tutorial. Do you know any? If you do please share with me.

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

    Wait what ?

    Posted: 18 Aug 2019 03:39 PM PDT

    Is it normal for my app to be stuck in "Pending Publication" for 5 days now?

    Posted: 18 Aug 2019 09:20 AM PDT

    As the title says, my first app has been stuck in the pending publication state for 5 days now, since Wednesday. Is this normal or is there something wrong with my app that I don't know about?

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

    That is that white app?

    Posted: 18 Aug 2019 11:14 AM PDT

    How to Change App Status with a Notification (Android)

    Posted: 17 Aug 2019 11:53 PM PDT

    Do you want to have a notification that interacts with the user? Go ahead and have a look at this post and the sample project.

    https://android.jlelse.eu/how-to-change-app-status-with-a-notification-android-2baec59314e3

    https://github.com/EfeBudak/notificationsample

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

    Statistical information storage

    Posted: 18 Aug 2019 02:24 AM PDT

    I'm creating my first Android application. I would like to have statistic about application usage. For example I would like to know how often people are checking checkbox A. What is the best way to realize that? Where I should store statistical data?

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

    Another "target audience" form question

    Posted: 18 Aug 2019 04:22 AM PDT

    I have an app that is a utility tool not particular designed to appeal to children but that can be used by them (probably starting from 9 years old). App is using Admob but I have excluded all adult and problematic categories. I'm confused to which age rating I should use in the "target audience" form. I think I should use 18, but I am unsure. Any advice here ? This is really confusing.

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

    Advice on showing FAQ screen in app using WebView as opposed to simple layout - is use of WebView seen as high profile by Google bots (given some suggestions by devs that showing YouTube videos in app can raise risk profile ?)

    Posted: 18 Aug 2019 09:44 AM PDT

    Summary: Is it better to avoid switching to WebView, because they are heavyweight, or because they may suggest to Google bots that app is doing something new now (possibly watching YouTube videos within WebView) - esp if the app is working alright without WebView ie using just other layout items.


    Normally this wouldn't be a question, but since devs have to weigh how Google bots perceive an app's risk factor, I wonder what thoughts are on wisdom of showing a help or FAQ screen using WebView (showing local HTML file residing in APK assets folder).

    App already shows using TextView etc. in a LinearLayout.

    Moving to WebView has advantage of simplicity - same FAQ can be maintained easier as HTML (same kept on website too).

    There have been posts which suggest showing YouTube videos within app could raise risk profile for an app. I wonder how a WebView inclusion in app may be seen as a step towards that.

    Or even if FAQ eventually winds up having a YouTube link in it, which would wind up being shown in the WebView. If you dont use a WebView, that link would be shown YouTube app, or a web browser.

    EDIT: it seems Google will ban an app for running YouTube videos in the background (for example to play the audio while app is not on screen). That itself should not make using WebViews problematic, but the comments there do suggest just showing YouTube videos could give problems - it's unclear if Google bots will be able to nuance the situation:


    On the technical side, does using WebView (given it is a heavier UI element from what I understand) lead to more crashes ?

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

    How do I find out what has changed since my tutorial was written?

    Posted: 18 Aug 2019 09:23 AM PDT

    I'm following the Google codelabs guide and it was fine for unit 1, but going through unit 2 some of the apps just don't work and as far as I can tell it's because this was written for API 27 and we're on 29 now. It seems that the major differences are the support libraries?

    For example, in this bit (part 2.1) it wants me to make a toolbar with <android.support.v7.widget.Toolbar and so on. If I type <Toolbar the only suggestion is <androidx.appcompat.widget.Toolbar so I went with that. I can go through the lesson doing things like that, but it never really works. In this case, I get tabs in the toolbar that I can tap to switch between, but it doesn't let me switch between tabs by swiping on the screen.

    This is my first go at coding, I spent a month going through the University of Helsinkis java/oop courses and then switched to the Google codelabs. Like I said, it was all going well but now that support libraries are coming up it's all going wrong :(. I don't really know how to even find out what to do (and I'm not asking for help with toolbars or anything that specific).

    tl;dr my question (to my knowledge) is that with changing API's the support libraries change. My tutorial is outdated and so I want to find out how to do the things it tells me to using the new classes. Whats the best thing to do? Is there some massive doc listing all the changes? Or is that too obtuse..

    Please help :(

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

    3 days still no solution. Help me I'm depressed :)

    Posted: 18 Aug 2019 12:49 PM PDT

    I made a tutorial on how to get started with RxBus + Kotlin in 5 minutes

    Posted: 18 Aug 2019 05:53 AM PDT

    How do I show the 'emoji' icon in the keyboard?

    Posted: 18 Aug 2019 05:38 AM PDT

    I thought that this would be a fairly easy thing to do but I can't find the solution. When the user click on an EditText and the keyboard shows up, I want the keyboard to have an emoji icon (it's located left from the spacebar on my real phone), which when clicked shows the emoji keyboard. Is this possible, and if not what determines whether it's shown, because on the Pixel 2 that I use as an emulator, it's not being shown. I found some SO posts which say that putting android:inputType="textShortMessage" should work, but it doesn't for me. I actually even use EmojiEditText from EmojiCompat, but I don't think that matters...

    Also, is there a way to show this keyboard by pressing a button (e.g. how messaging apps do it, with an icon inside the EditText)? I saw a few libraries about this so I assume it's not possible to do without them? (at least easily).

    Thanks in advance and sorry for a noob question.

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

    Assistance in adding an image in a quiz app and making the questions and options random.

    Posted: 18 Aug 2019 05:29 AM PDT

    Well as the title says. I am trying to make an app woth 300+ questions. I am mew to Android studio but I have experience in programming.

    What I am doing right now is using SQLiteDb to create the question list and select the right answer.

    1) I want to implement an option which would allow the user to select the number of questions they want to select.

    2) Some of my questions have images and I have no idea how I would add images to the question in SQLite.

    3) I want all questions to come at random so if the quiz was restarted the options change place and the questions change order. It is 300± question database so if user selects 10 questions, I want the app to select those 10 questions at random.

    If you could point me in the right direction I would appreciate it.

    Thanks for the help :)

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

    Is there any way to add food-ordering feature of Zomato, Swiggy or Uber Eats in my Android app?

    Posted: 18 Aug 2019 10:43 AM PDT

    Please help.

    Posted: 18 Aug 2019 04:43 AM PDT

    My app abruptly exits (not even the dialogue box showing app is crashed) when I press buttons. Keep in mind that the first activity runs without any error but when I click on any button the app just stops and exits. The above mentioned happens when I tried to run the app on my device

    The application runs on emulator without any error.

    The gradle build has no errors.

    No error in event log

    No error in Run.

    Edit: now that I'm carefully checking Run log, There are some of the followings included in it:

    I/choreographer: Skipped 51 frames! The application may be doing too much work on its main thread.

    The above skipping frames message is repeated 2 or three times

    Edit2: I found the fricking problem. It's because I'm using constraintlayout on the other activities and when I use relativelayout on those activities, voila! App runs

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

    Adding a click listener to your RecyclerView with Kotlin made easy.

    Posted: 18 Aug 2019 02:44 AM PDT

    Tips for a newbie android dev?

    Posted: 17 Aug 2019 08:53 PM PDT

    Hey everyone! It's my first post here. I started programming last year and i joined as an Android dev intern at a startup around 8 months ago. Back then, my boss guided me and taught me the right practices. I usually worked on maintenance of the products he developed.

    And now he's made me mobile lead of an app. I worked on 30% of the app and have used MVP pattern, Dagger 2, Realm etc.

    I just had a few doubts and i thought I'd ask the community about it.

    1. How do deal with a screen which has exoplayer and some content and below that, a recyclerview. In phones with higher density, it looks good. But on smaller devices, the recyclerview is not visible. I've read that using a scrollview / nested scrollview disables the recycling feature. How do i go around with that? Or rather how do i have a responsive UI?

    2. How to animate views smoothly? I tried valuanimator to increase/decrease height onclick,but its shuttering a bit.

    3. I was thinking about learning architecture components, LiveData and RxJava. Where do i start with it?

    Thank you very much!

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel