• Breaking News

    [Android][timeline][#f39c12]

    Thursday, September 2, 2021

    Appwrite introduces Realtime API to its Open Source Firebase Alternative Android Dev

    Appwrite introduces Realtime API to its Open Source Firebase Alternative Android Dev


    Appwrite introduces Realtime API to its Open Source Firebase Alternative

    Posted: 02 Sep 2021 09:29 AM PDT

    Appwrite introduces Realtime API to its Open Source Firebase Alternative

    Appwrite Dashboard

    I'm an Appwrite maintainer and we're happy to share that Appwrite 0.10 has just been released and adds support for one of our most requested features.

    Appwrite now comes with platform wide Realtime API that allows you to listen to any server side event. This includes events like user registration, file uploads, document updates, serverless function executions and much more!

    Here's a sneak peak of 0.10

    • A brand new Realtime Server
    • Real time support in our Web, Flutter and Android SDKs
    • New user update endpoints for admins to manage users
    • Authentication with Magic URLs
    • Even Faster Cloud Function executions
    • We've terminated some bugs
    • Not to mention, we're one step closer to becoming a complete Firebase Alternative

    If you haven't heard already, Appwrite is an open-source end-to-end BaaS that helps you build your Web, Flutter and Android apps much faster with a focus on simplicity, developer experience, privacy and security that you can self-host with a single Docker command.

    We'd love to get your feedback as we move on to v1.0 of Appwrite in the coming weeks. Community feedback has been one of the major driving forces for where the project is today.

    You can checkout our Github repo at: https://github.com/appwrite/appwrite

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

    How would you achieve these kind of layouts without nested RecyclerViews?

    Posted: 01 Sep 2021 09:24 PM PDT

    How closely to tie ViewModel state to the view?

    Posted: 02 Sep 2021 08:06 AM PDT

    This might be a question larger than just Android development, but I'll ask it here first and see how it goes. How much logic do you think is appropriate to put in your ViewModels? All the business logic is still inside the model/repository/api layer, so I'm not suggesting that should be in the VM. But when it comes time to translate the data/state from the model to the views, how far should the VM go? Should it provide everything tailored *exactly* to what the view will end up needing (down to colors and font sizes, if they are dynamic, as well as actual strings) or should it leave the view to figure out such details?

    An example, if you're not following me. One option:

    data class DeviceRow { val isError: Boolean } 

    data class DeviceRow { @ColorRes val textColor: Int, val typeface: Int // Typeface.BOLD, etc } 

    So in example 1, it would be up to the view to figure out the text color and typeface for a device is error versus not. In example 2, the VM provides all that information and the view has no logic - it just sets what it receives.

    Aside from that simple example, it can get more complicated. I've seen a boolean field on the VM state that the view uses to hide one view, change the text of another, and modify the padding on a third.

    I personally prefer example 2, as it moves logic even further outside the views. It makes the view state even more unit-testable (still no substitute for UI tests, but it does give more confidence). I've read some articles and comments that indicate some don't like this approach, because it ties the VM to the view implementation too much. This seems like the entire point of the VM, though, especially if the VM is not re-used for another view. Why not tie the data it provides exactly to what will be seen on screen?

    Anyway, I'm curious what others think. Let me know if what I typed was not clear.

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

    Do you use buildSrc, Version Catalogs, or just the "conventional" method to manage dependencies?

    Posted: 02 Sep 2021 06:43 AM PDT

    Conventional just includes all the default methods provided by the IDE

    View Poll

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

    Pulling my hair out with WebView problem.

    Posted: 02 Sep 2021 12:10 PM PDT

    Hey Im not here to ask "HEY FIX MY CODE FOR ME" and post my whole project and dead fish something like that Im just hoping someone has some deeper understanding/ideas on what could be going wrong and point me in the right direction because i've tried just about every variation of my question in my google searching and no luck.

    So essentially I have an app that's just a shell for WebView for loading a web app I built for my company. I managed to achieve it no problem on some old tablets we had lying around running Android 5 but the target devices are these smart watches running 7. My problem is when I try running the app on the target devices I get all kinds of nonsensical javascript syntax errors that are definitely NOT syntax errors and page halts execution. What i mean by this is the console will whine cry over some shit like " static _interval = null;" says it doesnt like the assignment operator being used for shocker of all shockers assignment. And the console reflects lists of several of these all over on page load. I thought it was possible there was something wrong where Android 7 WebViews dont support ES6 but that cant be the case as the problem is totally absent on the tablets running Android 5. Another oddity is if you open the page just on the target device's mozilla browser there's no problem. I have tried just about all the settings on the webview to enable dom storage and enable javascript etc but yeah still this crap. Anyone ever encounter anything like this got any ideas? I must be fundamentally wrong somewhere about something. Thanks

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

    New android dev setting up a Google Play Console account – What do I use for "proof of organization"?

    Posted: 02 Sep 2021 03:05 PM PDT

    New android dev setting up a Google Play Console account – What do I use for "proof of organization"?

    Since I don't have an organization, should I just upload my driver's license again?

    from https://play.google.com/console

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

    Delaying camera footage - best approach?

    Posted: 02 Sep 2021 06:51 AM PDT

    I am building a service for gyms which would provide its clients various information about their progress. One of the features I am trying to implement is showing the camera feed with an adjustable delay.

    For example, a person does a set of flips on a trampoline, goes back to the recording phone and sees themselves doing the flips on the screen. Meanwhile the phone is continuously recording, so that while this person is watching the footage of themselves, the next person can have their footage recorded. Currently assuming the required delay is a static number of seconds.

    I have seen implementations of such a delayed recording in some apps, but I cannot find any helpful information on how to implement this. Android is a fairly new platform for me, so I am kinda struggling with this specific task. Can someone please point me in a correct direction regarding this task?

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

    Camera SDK Recommendations

    Posted: 02 Sep 2021 12:39 PM PDT

    Hi All,

    I am looking to develop an app using camera features such as filters, recording video with background audio, and then editing the recorded videos later. I was wondering if there are any good libraries/SDKs, free or paid, that would have all or part of this functionality (mainly for the camera features)?

    Thanks

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

    Is Bidding in Facebook Audience Network mandatory?

    Posted: 02 Sep 2021 04:40 AM PDT

    Is Bidding in Facebook Audience Network mandatory?

    Hi,

    My apologies if this post is not related to Android development.

    I've more than 10 apps published on Google Play, I'm monetizing from them using ONLY Facebook Audience Network (I don't use mediation or any other ad network).

    Months ago, I've noticed a message appear at the top of my Facebook Audience Network dashboard :

    https://preview.redd.it/1qjdgce7t2l71.png?width=1224&format=png&auto=webp&s=fb728578cb4e7a8fa9a365b25810c5f3ffa4b9eb

    I was confusing, I don't know what should I do, since I don't use any other ad network the bidding or mediation is not making any sense in my case.

    I decide to contact the Facebook Audience Network support team, and they said this :

    Via Facebook Messenger Live Chat :

    Please note that we still encourage you to use bidding with a mediation partner. However, if there is no other Network you are using or intend to use, you can still monetize by selecting the 'No mediation platform (Audience Network only)' option, but you will not be able to use CPM targets

    All their placements will remain on the current setting of 'Accept Any Price'

    Via email :

    Hi,

    I hope this email finds you well.

    Thank you for contacting Facebook Support.

    Please note, using Audience Network ONLY without a Mediation Partner is only available for selected Publishers, therefore you are required to integrate with Mediation Partners.

    If no bidding integration has been done, it would affect your fill rates. You would need to use a mediation partner in order to convert to bidding.

    What do you think?

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

    What is the "minimum viable" set of tools to get from point A (develop the app) to point B (publish the app in Google Play)?

    Posted: 02 Sep 2021 08:00 AM PDT

    Hi guys,

    I'm not a programmer myself, so don't be surprised with this question. Any product (digital/physical) can't be created without the minimum set of tools. When we strive for convenience we enlarge the range and quality of the tools we use.

    I guess the development environment (I take it as the software/SaaS to code the app using a specific programming language, or a range of languages) is the cornerstone, right? Like Android SDK.

    I also suppose the solution to test the code/app is crucial - to check for possible mistakes prior to uploading app to the app store.

    Finally, I think tracking changes/updates in code and handling future upgrades of the app version, etc. is important, which (if I'm not mistaken) is done via GitHub. And GitHub in its turn may be connected to Google Play Console to finally publish the app.

    Is the above-said correct? Which essential tools did I forget to mention?

    Thank you for your comments!

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

    Should I use a Framework for my new app

    Posted: 01 Sep 2021 10:19 PM PDT

    I'm about to start working on my own app and was wondering, should I try to learn a framework to help out in the long run?

    I understand the benefits can be huge but I dont know any of the frameworks right now so it would take a lot of time. I was going to try something similar to RIBs (Uber's framework, similar to Lyft's framework that I use at my current job, Scoop) which can help with Project structure and boiler plate code (making it a bit faster) but also I see there are a lot, like Flutter, React Native and Xamarin. The only language I'm fluent in is Kotlin at the moment so that also adds extra learning if I were to pick up a framework.

    I dont know if taking the time to learn any of them would be worth it for the first iteration of my first app. Any advice here would be very helpful!

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

    Is Android development slower than iOS?

    Posted: 01 Sep 2021 07:25 PM PDT

    I work with JavaScript, but I was offered an opportunity to join an Android team to learn a bit about native development. The thing is, on the project, I have a feeling that iOS is outpacing Android little by little and that adds up really hard down the road.

    So I'm curious, what is your experience when you had to develop apps along with iOS teams.

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel