• Breaking News

    [Android][timeline][#f39c12]

    Monday, September 3, 2018

    Weekly "who's hiring" thread! Android Dev

    Weekly "who's hiring" thread! Android Dev


    Weekly "who's hiring" thread!

    Posted: 03 Sep 2018 05:46 AM PDT

    Looking for Android developers? Heard about a cool job posting? Let people know!

    Here is a suggested posting template:

    Company: <Best Company Ever>
    Job: [<Title>](https://example.com/job)
    Location: <City, State, Country>
    Allows remote: <Yes/No>
    Visa: <Yes/No>

    Feel free to include any other information about the job.

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

    Weekly Questions Thread - September 03, 2018

    Posted: 03 Sep 2018 03:56 AM PDT

    This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, or Stack Overflow before posting). Examples of questions:

    • How do I pass data between my Activities?
    • Does anyone have a link to the source for the AOSP messaging app?
    • Is it possible to programmatically change the color of the status bar without targeting API 21?

    Important: Downvotes are strongly discouraged in this thread. Sorting by new is strongly encouraged.

    Large code snippets don't read well on reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead.

    Have a question about the subreddit or otherwise for /r/androiddev mods? We welcome your mod mail!

    Also, please don't link to Play Store pages or ask for feedback on this thread. Save those for the App Feedback threads we host on Saturdays.

    Looking for all the Questions threads? Want an easy way to locate this week's thread? Click this link!

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

    App Monetization Guide or How not to screw with your app!

    Posted: 03 Sep 2018 07:10 AM PDT

    Hi, all :) I'm sharing an article comprising best app monetization strategies for free mobile apps. It also features a rundown of things to be done before getting into app monetization. I sincerely hope that you'll find it useful!

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

    How much do you focus on UI part of Android development as opposed to architecture side and such?

    Posted: 03 Sep 2018 12:53 AM PDT

    Most of the articles in this sub are about architecture, patterns, DI, persistence layer, but UI? Not so much.

    So how often do you have implement custom complex views and complex animations as opposed to architecturing project structure?

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

    How much you earn on every banner ad? Admob vs Applovin vs Chartboost

    Posted: 03 Sep 2018 11:30 AM PDT

    So. Just as I finished my game and I want to put ads in it (banners mostly). I was about to put admob in it, when I heard that one friend earns 0.06 per banner.

    I am wondering, what would fit best, Admob, Applovin or Chartboost. And your experience with them.

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

    Android MVVM Architecture Components using The Movie Database API

    Posted: 03 Sep 2018 02:53 AM PDT

    Does anybody recommend moving over from Gradle to Bazel at this point?

    Posted: 03 Sep 2018 03:34 AM PDT

    RxJava Multicasting help using RxBinding

    Posted: 03 Sep 2018 03:50 PM PDT

    https://pastebin.com/QRdKQDuE

    This feels very verbose, any way I can shorten this?

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

    Humble Book Bundle: UI/UX by Wiley. $734 worth of Books like Get Understanding Color: An Introduction for Designers, Usable Usability: Simple Steps for Making Stuff Better, and Android Design Patterns: Interaction Design Solutions for Developers is 95% OFF!

    Posted: 03 Sep 2018 11:37 AM PDT

    Raw GNSS disabling duty cycling

    Posted: 03 Sep 2018 03:57 AM PDT

    Hi r/androiddev

    As some of you may be aware, Frank Van Diggelen announced at I/O 2018, that P would be adding an option to developer settings to Force Full GNSS Measurements, meaning that you would be able to disable the duty cycling for the GNSS receiver. Here is a transcript of his presentation from I/O.

    I am developing an application that relies on high accuracy location readings and I have a Pixel with the P beta installed.

    I am experiencing some strange behavior that when enable the Force Full GNSS Measurements option, I lose the ability to receive raw measurements. I wrote a very simple app to override:

    onStatusChanged(int status) 

    This method returns 1 and 0 when duty cycling is off and on respectively, see screenshots with & without duty cycling. As a result I can not implement the architecture to obtain high precision readings as the raw measurements are not available. Has anyone else had success with this yet?

    Cheers!

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

    How to setup a database for a calorie counter app?

    Posted: 03 Sep 2018 01:43 PM PDT

    Hey

    My friends are developing an app like MyFitnessPal. The alpha version will only have the calorie tracker and later they'll add on features.

    As they're a junior developers they do not know from where they can get the calorie database. Can you guys recommend some resources? (If it's open-source, then it would be really great)

    Thanks in advance.

    submitted by /u/3Dpanda
    [link] [comments]

    Activating Android Alarm Remotely?

    Posted: 03 Sep 2018 12:22 PM PDT

    Is there a way to activate an android alarm remotely, so that I can set up a timer on my Linux Desktop such that when it goes off it will ping my Android phone to start ringing?

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

    Not getting crash reports

    Posted: 03 Sep 2018 06:17 AM PDT

    For my app, I have setup Crashlytics for crash reporting. For some of the crashes, I'm not getting reports logged there. Also I'm monitoring these stuff on Google play vitals as well. For some crashes, I'm also not getting crash reports logged there.

    I'm clueless what to do to fix these crashes. Someone please suggest/assist me how should I tackle this kind of situations. Those crashes are crucial ones, that's why I'm more worried about user experience and app impressions.

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

    How to deal with invalid ad clicks?

    Posted: 02 Sep 2018 08:49 PM PDT

    Hey guys,

    What is the best way to deal with invalid ad clicks that you know of?

    My adsense account has been suspended for 14 days because either a bot or someone is maliciously clicking on my ads.
    My plan is to block ads from the country that the clicks are coming from, as well as creating new ad units - so only the latest version of my app will show it (this version has analytics integrated in so I should be able to get some more information of the malicious user).

    I'm worried that they will just use a VPN and start clicking the ads from another country. There has to be a better way to stop it.

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

    Android tasks are full of bugs or it has poor documentation?

    Posted: 03 Sep 2018 12:06 AM PDT

    android:documentLaunchMode="never"

    Official Docs Says:

    This activity is not launched into a new document even if the Intent contains FLAG_ACTIVITY_NEW_DOCUMENT

    But when I'm launching a new activity using an intent containing FLAG_ACTIVITY_NEW_DOCUMENT and android:documentLaunchMode="never", the activity is being launched in a new document, avoiding the behavior stated in the official documentation.

    I just wanted to ask that Is Docs are incorrect or this is because of bugs or I misunderstood this?

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

    Better practice for using evaluateJavascript

    Posted: 03 Sep 2018 07:32 AM PDT

    Hey guys!

    I'm working on a simple app where I want to wrap a web client. So far everything is going amazing, but I have one little issue. I end up using webView.evaluateJavascript(), and for overall better architecture design I made separate class for two types of evaluateJavascripts.

    One without callback:

    public static void send(WebView webView, String eventScript) { webView.evaluateJavascript(eventScript, null); Logger.withTag(TAG).log(" Event send to client " + eventScript); } 

    And one with callback:

    public static void sendAsync(WebView webView, String eventID) { webView.evaluateJavascript(eventID, new ValueCallback<String>() { @Override public void onReceiveValue(String result) { // Do what you want with the return value Log.d(result, " Received"); } }); } 

    So my problem here is that I need to pass the WebView as parameter. Is there a way to avoid that.

    First thing came to my mind is to make WebView global, but the IDE warns me for memory leaks.

    So yeah...kinda small problem but still I would like to make this better. Maybe I should try some design pattern?

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

    Adhell 3.1.1 issues compiling

    Posted: 03 Sep 2018 10:42 AM PDT

    I keep running into the same issue no matter what I do, when compiling my own I get the 'unable to locate application id' or some such. help??

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

    Is Google Play app store worth it without revenue in mind?

    Posted: 03 Sep 2018 10:39 AM PDT

    The entire question is in the title basically.

    It has that pesky $25 fee, and I never developed for android before, I want to try making a simple game for it, but I am not even thinking about shoving 30 different ads in every different corner or making it paid, obviously, so is it worth it as a platform, or should I just share it somewhere else?

    In fact I don't even know whether new apps/games even show up for you unless it's already well known release with 4+stars right off the bat, so I'd expect it to never be noticed unless I shove it into everyones face, which would be what I'd do anyway without paying $25 just to upload a free app that will never be seen by anyone unless they heard of it from me, which is unlikely.

    EDIT: I don't really know what to expect from it nor know anything about mobile world. I just can program, and getting something to run on my phone was pretty easy, so I think I can make something quite okay when I'll learn how to handle input and few other things properly, just have no clue about the state of the store.

    It seems now that the actual question should be "how hard is it to be noticed on app store without any marketing tricks and just basically existing"? I can't really comment on how good what I'd make be because I didn't yet, but let's say it was at least 3 star worthy for starters, would that get anywhere, with say, at least 100 downloads per month?

    Is it worth it?

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

    This is the 3rd course that I took from Max, he is an amazing teacher. You get updated information, clear explanation, easy to follow instruction, he explains what's happening under the hood, giving you a total understanding of what you're doing and why you're doing it.

    Posted: 03 Sep 2018 01:29 PM PDT

    Will the wallpaper apps be affected by Google play repetitive content policy?

    Posted: 02 Sep 2018 09:52 PM PDT

    Some Google Play dev accounts have published multiple wallpaper apps, where each is identical in design, UI, functionality and features, but differs in content (wallpapers). Each app has content of only one category. The app code is same just the package name and wallpapers are changed in all apps. Apps are like - Car Wallpapers, Flower Wallpapers, Puppy Wallpapers, Kitten wallpapers, Mountain Wallpapers, then do these apps violate the Google Play Repetitive content policy?

    Some of them are:

    https://play.google.com/store/apps/developer?id=Cute+Live+Wallpapers+And+Backgrounds

    https://play.google.com/store/apps/developer?id=Holiday+Wallpaper

    https://play.google.com/store/apps/developer?id=Los+Angeles+Dream

    Reference:

    https://play.google.com/about/spam-min-functionality/spam/repetitive-content/

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

    Use Broadcast Receiver to reload activity

    Posted: 03 Sep 2018 08:15 AM PDT

    I am developing an android application and I have one activity which shows all the tables in a restaurant. Within this activity, there is a method to change the table color (the table is just a button) based on whether a customer is at the table.

    On the customer's screen, when they select their table, my MYQSL database is updated and the user is now assigned to the table.

    Now, when I go to open the map screen (note: this is used by waiters on the app, it cant be accessed by customers), the table will be a different color (it checks the table status in the db, if the table is assigned it is a different color).

    However, the only way to get the updated map is by reloading the map activity. I want the map activity to update automatically using a BroadcastReceiver() but I am struggling to find a tutorial on how to implement this. When a customer clicks a table to assign themselves to it, I want the broadcast to be sent, automatically reloading the map activity... Is this possible? And if so, how do I implement it?

    The ChooseTable activity has an on click listener for each table which results in a method being called which sends the update to the database.

    The waiter map view looks has a method which checks the table status on the activity being loaded.

    Ideally I want it so that when the table has been clicked on ChooseTable, the waiter map view automatically reloads

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

    How I Grew App Revenue x35 with App Store Optimization (ASO) in less than 30 days [Case Study]

    Posted: 03 Sep 2018 08:13 AM PDT

    I'm in dire need of feedback.

    Posted: 03 Sep 2018 11:44 AM PDT

    Hello :)

    I'm developing quite a useful tool, and already soft-launched it in two countries. I'd like to improve the app as much as I can before worldwide release, and now I'm in dire need of feedback.

    The tool is a password generation and management utility which stores generated passwords and pincodes locally. I'd like to know what do you like and, even more importantly - what you don't like about this app. Any feedback is welcome.

    Below is the list of promo codes for Google Play store. Just redeem one and you'll get the app for free no matter the country restrictions. But please, provide at least minimal feedback regarding the app in this post.

    Thanks in advance :)

    ZWDEDQTX96788ZX0JMP1F3V
    X5CMKT80RZTDEUFQVE19HCA
    YJMUZZ48VQTND8160CEX56J
    7AA6SHM66X4VTHMUW6UF1W1
    Y7P1QG1W1VQ6ZA7NER6BQJS
    XFRZ3TSQ3G72V7BXBHJM4J2
    ZPC6B6Q75ZR7Q2L66V3TL32
    3MR56P40D0UFC0E5K4ZMDRY
    H4TQ9VUSB5DJQ8LMQTHDT1L
    KNKH0WE19LN7MRVDDZAYBRW
    ANKZN9AE762F75A9U2K9XH1
    XRNLE9TR59RE2545TE20BP8
    X5MTE71L55F4861JZH76YKX
    H5BUTNH2UH6G93EWZW07F5C
    6D00C5JXUPS24CJ7GL8YVZS
    J7W673MF5PYLYG886YMK1DH
    36WV9ML52RSDLQS2W7F59C5
    MNSR99AAUMBPHVSW7KDGHP1
    T1JEKX00QD7HR0HZK93M3KM
    96VUY7LE4MFSLVEPC68H228
    Q5BFEFK0PZEUW82CE2ZCPYX
    CWXDWTZNN1PPLBTRP1XAXPN
    AT1BTS8AKC0VA4B4YAP6SB7
    GFL3U27NW9H96R0SZ1QXFH2
    YV0VYJ8GZTQFXM4T3Y3PFZC
    GDQW139V19MJM3WC53VDJQ1
    K9YS4Z77EKYAHS59X18TBWN
    9F3RFALF4LXZJ9MW1ZTJM0R
    P03CG7EN4NBTK14PWQ3R0S6
    6NEZTLSGWTR5ECJF07SF3MB
    GMWW9V8SS7DYZK29CQJ6FT3
    F0CUZ0RQRYY7C3728VQZ611
    B2FD56RTP76PLUTJP4ZD358
    89E0AH6S0XQVZP9UPZD9M07
    NYARWC1DGFR434GL6TFFAK2
    TPST00SZSCAFWFWV3FJNVNV
    52LNXN1HLU84VHN5CVHUV23
    0HSK4D9NDLG7218XW92VPF7
    9HYQG19Q31MX4C2D662XGZK
    SQ7VNGPAMZBADGFX2KS5NL4
    BVNU44CCC0TDXPWM98YYV0N
    C8UZPCBQUTHR67G7DATF8DA
    5JWZ2HZTDJK8ME6PC6P48JQ
    NC1ERXDBK36ZF699TUFRZ3J
    T9XK4Y3R874H628LD63R7N0
    RWZRTZ7XFT1A5RABY8D9TN4
    TMR4C11TFJLT8VKTT6DERMR
    JP1RCBP7YYB5J5X01YE1T91
    3Q0SJ0BTAZHF0V3DD8YQRKT
    J1VTMJGPPNCQJFGL036N3Y3
    2U09HGV6R3C01HN24SJF3CK
    BTGDGD3YHZEV3PBUVF9ESAN
    TVARPHW7M0K4ZBT0CS7HT6P
    Y4ZKKJND07N7QH291BSXVG7
    QP3TXYSD14Q52YWXNX8VV9C
    EX42QG31FAZ8MSQ14ARH8XP
    6HKR79LZ6TTGKBQ9A0THTL9
    37CN1SYLMS5RBCGSK1HZCTH
    781ACABBR7AW7150BY083NV
    SBXBRFU5W4YJ9TTMBPKAEY1

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

    Free CICD for Open Source Android apps on Bitrise

    Posted: 03 Sep 2018 03:59 AM PDT

    Year in Review: Android Kernel Security - Jeff Vander Stoep & Sami Tolvanen, Google

    Posted: 03 Sep 2018 03:56 AM PDT

    Android Studio for large project

    Posted: 02 Sep 2018 10:28 PM PDT

    I never worked in a large company before. I have joined a large one in SEA recently. The project contains above 50 modules, and the apk is around 50MB. My problem is due to poor modularization of legacy, the module I worked on is at the bottom of the dependency graph, every time I make a small change, build time can take up to 10 minutes for incremental build on a Mac pro 2015. The :app: module doesn't contain much code. It just combines all the modules. :app:kaptKotlin is the root cause for build time because of code generation from dagger, data binding. Why :app:kaptKotlin takes too long? Plus, Android Studio is laggy when I type or scroll. This really annoys me. How do I improve this situation?

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel