• Breaking News

    Friday, January 24, 2020

    Android Dev - Weekly "anything goes" thread!

    Android Dev - Weekly "anything goes" thread!


    Weekly "anything goes" thread!

    Posted: 24 Jan 2020 04:40 AM PST

    Here's your chance to talk about whatever!

    Although if you're thinking about getting feedback on an app, you should wait until tomorrow's App Feedback thread.

    Remember that while you can talk about any topic, being a jerk is still not allowed.

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

    Kotlin tips: Use ‘it’ only in the simplest scenarios, when its type is clear from the context. Otherwise, introduce an explicit lambda parameter or use member references.

    Posted: 24 Jan 2020 12:23 AM PST

    Many apps still can pass Google Play policy...

    Posted: 24 Jan 2020 05:22 AM PST

    How to handle a policy violation on Google Play

    Posted: 24 Jan 2020 02:40 AM PST

    What I learned from Kotlin Flow API

    Posted: 24 Jan 2020 04:54 AM PST

    Chucker v3.1.0 is out �� This release comes with a lot of great features such as Dark Theme, 100% Kotlin, AndroidX, Better support for big body payloads and Export to file. Much <3 to the community for the support with this release.

    Posted: 23 Jan 2020 11:51 AM PST

    Shower thought: Fake review services would probably have more success on Google Play if instead of asking you to pay for reviews, they threaten to post positive and obviously fake reviews on your app unless you pay them not to

    Posted: 24 Jan 2020 07:42 AM PST

    Using of ConstraintLayout to support different Android screen sizes with Material Design

    Posted: 24 Jan 2020 07:07 AM PST

    HttpConnection.connect method

    Posted: 24 Jan 2020 07:21 AM PST

    HttpURLConnection is an abstract class that extends the abstract class URLConnection as well.

    HttpURLConnection urlConnection = null;
    try {
    urlConnection = (HttpURLConnection) url.openConnection();
    urlConnection.setReadTimeout(10000 /* milliseconds */);
    urlConnection.setConnectTimeout(15000 /* milliseconds */);
    urlConnection.setRequestMethod("GET");
    urlConnection.connect();

    what I don't get is. how I'm allowed to call connect method which is abstract! I looked into the documentation and found that the HttpURLConnection doest implement this method!

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

    New to Android and programming

    Posted: 24 Jan 2020 07:20 AM PST

    As I came across a lot of Android apps. I wanted to develop one myself but i don't know how to code or anything. I don't know what steps to take, what path should i follow, what is the procedure to develop Android apps. So please help me out.

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

    Multi-feature sample with MVVM, Dagger2(no dagger-android), Nav Components, Single activity, FragmentFactory & Map multibindings

    Posted: 23 Jan 2020 02:04 PM PST

    https://github.com/mitchtabian/DaggerMultiFeature

    I made this sample as a learning tool for understanding how to build a multi-feature project with the topics mentioned in the title. Hopefully it helps some of you if you're trying to do the same.

    Each feature has it's own Subcomponent with it's own:

    1. Scope
    2. ViewModelFactory
    3. FragmentFactory
    4. NavHostFragment
      1. These are added programmatically in the activity

    Note: This is plan-old dagger2. No dagger-android.

    // TODO

    Work on a dynamic multi-feature sample.

    https://developer.android.com/guide/app-bundle/dynamic-delivery

    Resources I used:

    1. https://proandroiddev.com/inject-into-android-component-constructor-4f5ddd27d06
    2. https://medium.com/@zawadz88/androidx-navigation-with-dagger-2-fragmentfactory-789b01b43214
    submitted by /u/mitchtabian
    [link] [comments]

    "On Google Play we have a person on the team. OR PERSONS on the team. LIKE, REAL HUMANS." Also those air quotes near 16:40.

    Posted: 24 Jan 2020 04:47 AM PST

    Surface Duo Foldable SDK for Android Studio

    Posted: 23 Jan 2020 10:43 AM PST

    Do I need to use Boolean LiveData for every user input?

    Posted: 24 Jan 2020 12:24 AM PST

    For example, when the user presses the 'Delete Note Button' or 'Create Note Button' Do I need to create Boolean LiveData that gets triggered to 'True' and then let Activity/Fragment observe it and make UI changes, or just implement a click listener and directly make UI changes without using LiveData?

    If I use the first option, my ViewModel would be loaded with Boolean LiveData objects

    Thanks in advance.

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

    Application is working on rooted device but not working with SuperSU in Android

    Posted: 23 Jan 2020 11:26 PM PST

    One of my android app developer friend is working on one application that has some features can be only work in rooted devices only. But some of devices are using SuperSU and in this case application is not working properly.

    So, can you give me answer..

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

    Tips and tricks to boost mobile app ranking in Google Play Store

    Posted: 23 Jan 2020 10:37 PM PST

    How Does Google Play Store Rank the Apps?

    You must have heard about website positioning on the different search engines; similarly, the applications are positioned in the Google Play Store. The Google Play Store makes use of various algorithms and some determining factors to rank the application. These may include the total downloads by users, the application ratings and reviews, the application retention time on the Smartphones, how rapidly is it getting uninstalled after the download and whether or not it is associated with social media links.

    Tips and tricks to Boost Mobile App Ranking in Google Play Store-

    1. App store optimization-

    Application Store Optimization or ASO is significant in the success rate of your application. Actually, according to a survey, half of the downloaded Android Apps were found through application store searches. In this way, it gets vital to focus on the ASO. Without a doubt, ASO has been recognized as the essential marketing channel and here a similar procedure is followed as like somebody searching for a keyphrase. Hence, keyword holds the key. The App Store Optimization has the potential to attract more targeted audiences. It is cost effective also. It also helps in building the trust factor of the users and also increases conversion rate. When you are focusing on the audience by means of keyword, it is essential to choose the correct keyword. You have to concentrate on the importance, difficulty and traffic.

    2. Choosing the App Title or Name that Fits Best-

    You know the importance of search for optimization application; thus to improve the chances of application discoverability, using a perfect title for the application gets important. Keep in mind, the users will discover your application by typing initial keywords and thus it must be chosen appropriately. In addition, it should also clearly define what your application is about even before a user downloads it.

    You should use the main keyword in application title with the goal that finding the application gets simpler. In any case, don't go for similar sounding names of the popular applications that are as now top in the market. This will decrease the chances of discovering application as Google will direct the user to the well known application instead of yours.

    3. Ratings and Reviews-

    Some experts have came to know that most of the users choose the application as per the reviews and rankings of app. Hence for any application to get good ranking it should focus on having more positive reviews and should include a call to action button for users to leave their reviews. As for the rating, Google ranks high less popular applications with less downloads but high rating compared to applications with more downloads and having a dismal rating.

    4. Adding Description of the App-

    When you are adding a description of your application, make sure to be exact and short. You have to make your description significant and simultaneously make users aware of what your application does. It would be ideal if you take the note that Google takes the vital keywords from your description and not from the keyword bar in the Google Play Store. Another significant truth to remember is that Google allows you a maximum 4000 characters. Hence, ensure to use the available space. You have to take note of that your description isn't keyword stuffed. You can use it twice or thrice. In conclusion, remember that 167 character of description is actually the meta description for search engine. Make your description attractive and engaging audiences.

    5. App screenshots-

    60% of users won't swipe your first two screenshot images. A better version of your first two screenshots can boost your conversions by 25%! Make sure each screenshot is telling a single message about your app. Show your strongest messages in the first two screenshots. The best apps use all five screenshot slots to impress their users, and you should do the same. Adding short caption texts on your screenshots can help, but make sure they are on a clean background. And try to create a positive impression in the viewers' mind at all times.

    With Google App Store you can also show the application details through the videos and inform about the highlighting features of the application. Hence, the users can get a pre-idea of the application. Graphics also plays an essential role in improving the ranking and you must be cautious while designing it. The application icon is another thing that will immediately grabs the user's attention.

    6. Focusing on App Promotion-

    Application promotion is ideal approaches to get more visibility on the Google Play Store. There are various ways through which you can promote your application. You can include recordings and also send notifications. However, the best way for app promotion is social media platform, for example, Facebook, Google+, Twitter or Instagram and so forth.

    7. Target audience-

    Under this, creators should be clear on the scope covered by the application in order to connect with the right users. The Play Store rewards target oriented applications over generalized ones giving them a better positioning in search results.

    Conclusion-

    The mobile application industry is rapidly changing and becoming steeper as the competition continuously grows. Putting your application on the highest priority on the top of the list is an overwhelming task for the developers due to the large number of other competitor applications. Hence it is necessary to focus on techniques and also use these ideas to boost app ranking in google play store.

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

    How do you permanently raise the system ulimit?

    Posted: 23 Jan 2020 10:20 PM PST

    I've been using Andronix combined with Termux and a VNC viewer to run linux in a chroot (I think, unsure) setup. I've been able to do a surprising amount, but one of the main limitations I run up against is the limit of files that can be open. In a normal installation of linux there are multiple ways of changing the ulimit, but they don't work in this environment or in android in general.

    Running ulimit -n in termux tells me 32768, but once I start the linux system with ./start-andronix.sh and am in the shell ulimit -n returns 1024. This sounds normal, but things like servers or other processes running in the linux chroot can't raise the ulimit above that as they would normally be able to do.

    So my question is, how can I raise the ulimit for android as a whole, and raise the ulimit of a specific process, or change the default ulimit at least?

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

    Android Jetpack – How to Develop an Application Using Navigation Component?

    Posted: 23 Jan 2020 10:19 PM PST

    IdeaVim version 0.55 update now fixes the repeating keys not working issue in Android Studio 3.6 RC1

    Posted: 23 Jan 2020 12:19 PM PST

    Android Studio 3.6 Preview and RC1 were having issues with IdeaVim - repeating of keys was not working.

    But latest IdeaVim version 0.55 update installed on Android Studio 3.6 RC1 seems to fix this issue.

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

    What business model for photo app storing and retrieving photos from a server?

    Posted: 23 Jan 2020 09:56 PM PST

    I have a hard time to figure out what kind of app monetization strategy I want to apply for my photo app. The app let's user add specific photos from their phone and upload them to the server. Other users can then interact with these photos.

    Taking into account that this would be my very first app, I have no experience of what business model I should decide on. I firstly thought that a Freemium model would make most sense, as I am not a big fan of having ads in my app. However, if the app is somehow successful, but most users are using the free version I would take the risk of having a load of traffic on a server, for which I need to pay more, but for which the paid user base is not sufficient enough.

    Anybody knows what a good strategy would be? Right now I see no other way than having ads in the app and add an ad-removal feature to my initally planned paid version.

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

    Question: Best Practices for Auto Generated Library Modules

    Posted: 23 Jan 2020 05:03 PM PST

    I have a project which I am undertaking as we modularize our app.

    In a nut shell, we have a framework that resides in its own module, which uses annotation processing and generates a singleton (Kotlin object) with a set of accessors that allows dependent modules to get an instance of the object those methods and figure out whether some behavior should exist or not.

    You can visualize the current dependencies as:

    app --> ab_framework --> network --> core

    where "ab_framework" is the module in question, and app depends on ab_framework, which depends on network, and so on. The logic in the ab_framework module can be thought of something like isInGroupX().

    The issue now arises as we split up the app module into feature modules and further logical divisions, that when someone makes a change to the pieces of ab_framework that impact only feature_x_module, but not feature_b_module, we need to rebuild all the code for everything with dependencies that are downstream of the ab_framework.

    Our goal is to make it so that we could somehow calculate what is required downstream from ab_framework module in each of the specific feature modules and generate specific modules that would only contain the logic needed to satisfy these dependencies.

    Generating the module isn't terribly difficult. What is giving me pause is the best way to calculate these dependencies and how I would group and build the modules efficiently. Then, how I would best do some sort of code gen to link the Gradle files all together (am very open to any solutions/suggestions using Kotlin DSL as well).

    My first guess is to build something similar to how the Dynamic Feature Modules operate but I wasn't aware if there were already any best practices or better solutions out there.

    Anyway, hope this was pretty clear and thanks for taking the time to give this a read. I couldn't find anything on SO or the usual suspects, so I was thinking I'd open up a discussion here seeing how you'd tackle this sort of optimization.

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

    A beta of a game is released

    Posted: 24 Jan 2020 12:16 AM PST

    So I just released this app in playstore which is also opensource. It's basically a fork of the well known game 2048 with more features coming up.

    Check it out and give feedback, you can also contribute to it if anyone is interested.

    https://play.google.com/store/apps/details?id=app.g2048.android

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

    About to ask for my first payout but I have a problem

    Posted: 23 Jan 2020 09:39 AM PST

    Hey, so I have two Icon Packs that i've been selling on Playstore for the last couple of months, And I haven't made a single payout till now.

    I'm from Tunisia and I have a friend from Switzerland. As we can't make international payments and stuff he takes care of everything.

    The problem here is now I want to put his bank info for the payout but it says Bank must be in Tunisia! While I don't want that, I want to send my first payout to my friend not to me!

    Also, he was the first one to buy me the developer account (25$) and when I wanted to switch my region to his country, it says you already have a merchant account with his info, but that for payment. I can't add that as a payout option! Any help?

    Would he get the money if we ignored the "bank must be in Tunisia" notice and add his swiss bank details?

    Thanks in advance (also if i'm posting in the wrong sub i'd appreciate someone leading me to the correct sub where to ask this)

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

    No comments:

    Post a Comment