• Breaking News

    Sunday, December 27, 2020

    Android Dev - Finally released the initial version of my mini-game made with Custom Views.

    Android Dev - Finally released the initial version of my mini-game made with Custom Views.


    Finally released the initial version of my mini-game made with Custom Views.

    Posted: 27 Dec 2020 01:17 AM PST

    Finally released the initial version of my mini-game made with Custom Views.

    The entire game engine has been written from scratch, in Kotlin.

    And no images or vectors used. Every visual asset in the game has been manually drawn using Custom Views.

    Source Code - https://github.com/thelumiereguy/AstroAdventures-Android

    https://i.redd.it/hd0fwo745p761.gif

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

    How to avoid styles.xml becoming a mess?

    Posted: 27 Dec 2020 05:20 AM PST

    Hello,

    I worked a year on an application without a product designer, and now my company has hired one. He wants to review everything (font, font weight, text size, dimensions...) and I'm wondering what's the best way to get organized.

    I'm used to put a style on each of my components and then I make variants.

    <style name="TextViewCustomButton"> <item name="android:textColor">@color/colorButton</item> <item name="android:textStyle">bold</item> <item name="android:textSize">16sp</item> <item name="android:clickable">true</item> <item name="android:focusable">true</item> </style> <style name="TextViewCustomButton.Spinner"> <item name="android:drawablePadding">8dp</item> <item name="drawableEndCompat">@drawable/ic_arrow_down</item> <item name="android:layout_height">wrap_content</item> <item name="android:layout_width">wrap_content</item> <item name="android:textSize">15sp</item> </style> 

    Sometimes I put parents other times no, I don't even know if it's useful ._.

    <style name="ImageButtonCustom" parent="Widget.AppCompat.ImageButton"> <item name="android:background">@drawable/checkbox_round_selected</item> <item name="android:button">@android:color/transparent</item> <item name="android:padding">8dp</item> <item name="android:tint">@android:color/white</item> </style> 

    Is it a good idea to create one .xml per component and then merge it into each layout? Or is it better to do everything with the styles.xml file?

    Share your best practices!

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

    Structural and navigation anti-patterns in modularized Android applications

    Posted: 26 Dec 2020 03:26 PM PST

    Instagram Authentication in 2020

    Posted: 27 Dec 2020 07:25 AM PST

    Hello, I want to implement Instagram Authentication in my app but the Facebook docs say that we should not use the Basic Display API for authentication and use Facebook Login instead. But does Facebook Login support login with instagram? I couldn't find any information on this. The Instagram Basic Display API contains a unique user id so I could use it for authentication theoretically. Anybody has done this recently and can help me?

    Greetings, Loris

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

    Argument(s) are different! Wanted: Unit test

    Posted: 27 Dec 2020 06:14 AM PST

    Hi everyone, I have this this viewModel,

    https://gist.github.com/theazat/9686ce45af4aee5bac264b909f35e5f4

    and I'm writing it's unit test here is my unit test class;

    https://gist.github.com/theazat/baafb553468e618978b34b812dd19125

    but when I run the test I get this error; Argument(s) are different! Wanted:

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

    For those who promote their apps with ad services, which one has worked the best?

    Posted: 27 Dec 2020 06:14 AM PST

    I published an app in the Google play store about a month ago and have been promoting it with a mix of social media and ad services but it is growing slower than I had expected. I have only tried Google Ads and Reddit ads so far. I was just curious if there was anything else out there that people have found to work really well.

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

    i mistakenly deleted two year worth of data on firebase/analytics , can i get it back ?

    Posted: 27 Dec 2020 03:49 AM PST

    i deleted it by going to analytics - Admin - Data Streams - delete stream

    its data for my android app on firebase

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

    20 — 26 December Android Newsletter

    Posted: 27 Dec 2020 03:40 AM PST

    Stay up to date with Android development, in this week's edition:
    ✉️ Share Files with FileProvider
    📱 Migrate your app to Android 11
    ☔ Build an app with 95% code coverage
    🖖 Modularize your app correctly
    and much more!

    Read it here 👉 https://vladsonkin.com/android-newsletter-26/
    What's your favorite one?

    🔥Featuring @_ImSahilSharma @Zhuinden @guygriv @root_ansh @sherry_xy_yuan and many other great authors!

    💚 Subscribe and receive new editions directly to your email. Weekly, no spam, unsub anytime.
    Here is an example: https://mailchi.mp/c71cd3360e42/android-newsletter-26

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

    MoshiX 0.7.0 and auto-service-ksp 0.2.1 released with support for the latest KSP version and incremental processing

    Posted: 26 Dec 2020 07:54 PM PST

    �� PaperCop : The "Raja Chor Mantri Sipahi" game android-ized

    Posted: 27 Dec 2020 02:20 AM PST

    Last weekend, I created a game for my little cousin, and here am open-sourcing it. Feel free to put your feedback in the comments

    Thank You :)

    GitHub: https://github.com/theapache64/paper-cop

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

    Help me please why it shows this error ! LaoderManager

    Posted: 27 Dec 2020 02:10 AM PST

    Google Feed Bug / Discussion

    Posted: 27 Dec 2020 12:13 AM PST

    Best way to notify admin when client does something

    Posted: 26 Dec 2020 11:42 PM PST

    I am trying to make an app for an afterschool program. The app is for the children's parents. When the user first opens the app they will have to log in and if they are a parent then they will see an activity with information like if their child has arrived at the center and buttons to report if their child will be absent. If an employee logins in then they will see an admin panel.

    I was thinking of having a button for the parents to tap on when they are on the way to the center so the child can start cleaning up. When the parent taps on that button, it will send a push notification to the employees. Is this even possible or would there be a more efficient way to accomplish this.

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

    Navigating from a list to a map with coordinates in hand...

    Posted: 26 Dec 2020 09:10 PM PST

    I have a viewpager with 3 fragments, 1 of which is a list of stations, another of which is a map fragment with markers placed where all the stations are. I would like to click on an entry in the list and have it go to the map fragment at the coordinates of the station clicked. There's an OnMapReady callback function ready to take a LatLng in the map fragment. The list, when clicked, can access the LatLng of the station. How do I navigate to the map fragment while also calling the OnMapReady callback funxtion. Let me know if that didn't make sense! Lol

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

    Resources to Learn Android App Development

    Posted: 26 Dec 2020 11:21 PM PST

    Hello Friends , Iam a begginer in android App development .I started learning it since one month .But I didnt Found any good resources to learn it. Can someone suggest me some best resources to learn Android App development.

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

    What is the optimal way to divert traffic from an app to it's sequel?

    Posted: 26 Dec 2020 05:59 PM PST

    I've made two apps, App 1 and App 2. App 1 has the top spot in the search results. 90% of my downloads are from search results, so App 1 ends up getting way more traffic than App 2. The split is around 20/80. App 2 is a much more enjoyable user experience, and it's also far more profitable.

    Without updating App 1, what is the best ways to increase Apps 2 traffic? How can I help the much superior sequel rise above the horrible prequel App 1?

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

    Looking for comprehensive overview of UX design on android

    Posted: 26 Dec 2020 09:13 AM PST

    I am trying to learn as much as possible about UX on android prior to beginning my new app but as I search around I can only really find the following.

    • UI design focused blogs and tools
    • Android official docs, which, while great for guidelines and standards but does not seem to have what I need around approaching a holistic UX solution for an app
    • Blogs on UX design but they are mainly focused on specific controls/use cases or out of date since android evolves so fast year by year.

    Is there any site, course, video series anyone can recommend that could help me establish an approach and methodology for approaching a UX design on an android app that I could then supplement by using the official Android docs on a control by control basis?

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

    The best way to start with Kotlin having some experience in Java Android and OOP in general.

    Posted: 26 Dec 2020 12:08 PM PST

    Hi, as I have some free time I would like to make use of it properly. In my field of engineering (biomedical) we had projects based on python,java (window applications) or JS, so in general i know fundamentals of coding.

    Moreover, I did a couple of mobile apps in Java Android starting from a calculator and ending up with steps counter or location manager.

    Following this site: https://galex.co.il/2017/07/12/how_to_get_started_with_kotlin.html

    They recommend to start at the beginning with book called Kotlin for Android developers and later switch on to Kotlin in Action.

    What do you think as I would like to know A LOT about Kotlin, and learn it by heard. Honestly with Java i made some apps with stack overflow help, but often i did not understand all of the code completely. Are those two books a good choice for the beginning?

    Thanks

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

    Should I be storing some local data on the user's phone to save money with Firestore?

    Posted: 26 Dec 2020 11:06 AM PST

    Setting up my first kotlin app - a group chatting app. I'm looking at the free limits that Firebase allows and I'm trying to figure out how to optimize data/network traffic. I want to minimize reads, writes, and overall data transferred (and of course, data stored). Would a local database on the client side help with this? SQLite maybe?

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

    Formatting Image Data

    Posted: 26 Dec 2020 09:32 AM PST

    No comments:

    Post a Comment