• Breaking News

    Friday, January 22, 2021

    Android Dev - Weekly Anything Goes Thread - January 22, 2021

    Android Dev - Weekly Anything Goes Thread - January 22, 2021


    Weekly Anything Goes Thread - January 22, 2021

    Posted: 22 Jan 2021 06:00 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]

    Did someone get Google Developers Certification, and is there a point in getting one?

    Posted: 22 Jan 2021 06:53 AM PST

    Basically the title. My company is paying me to take this exam and get this certificate. Are there any benefits in getting it other than putting it on your CV and LinkedIn accounts haha.

    I saw the course it's not very advanced, it covers the basics but it does it in a really broad spectrum. Everything is covered from UI to Testing, and it's not that bad to polish my Android knowledge.

    Are there any other perks to getting it?

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

    An Android application that makes it possible to automatically scan and digitize documents from photos.

    Posted: 21 Jan 2021 04:32 PM PST

    Hello there. I've recently finished a side project for scanning documents from images using the OpenCV library and the latest Android tools & libs. If anyone is interested, here is a link to the GitHub.

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

    Do you use DataBinding in your projects ?

    Posted: 22 Jan 2021 05:22 AM PST

    Hello guys,
    I was wondering if you do use databinding in your layouts for new projects or if you keep doing it in the view like before ?

    For the context, I just took over a project where it is already in place, but daaaaaaamn I don't like it... like, not at all.
    It just seem too much "auto-magically" (kind of links between Storyboard and ViewControllers on iOS) for me, and when you're looking for data formatting, I think you shouldn't be looking at the methods/data called in your XML files...

    Anyway, what's your opinion about it ? Any good ressources to help me get through it ?

    PS: I am talking about professional projects, that need to go to production, not side projects that you won't maintain.

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

    Is it possible for an app to create overlays in the home screen?

    Posted: 22 Jan 2021 06:48 AM PST

    I'm making a magic prediction app that aid to disguise the input part as a passcode lock. I could make an entire locksceeen from scratch but I figured, since the app is going to soft close itself anyway, it would make more sense for the real home screen to be visible through the app. I guess what I'm really asking is; can an apps background be translucent?

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

    Using API 1 Spinner Date Picker in 2021

    Posted: 22 Jan 2021 02:58 AM PST

    Android App Workflow

    Posted: 22 Jan 2021 08:20 AM PST

    Building app-bundle

    Posted: 22 Jan 2021 08:25 AM PST

    Synchronized App Transition

    Posted: 22 Jan 2021 01:30 AM PST

    Hello! I am developing a launcher app (not based on Launcher 3) and I came across this link. I want to implement synchronized transition too in my app but the source code is using permissions and method calls that aren't available, like android.Manifest.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS and makeRemoteAnimation(). Is it possible to use use this feature without basing my app on Launcher3? I honestly cannot find any more information regarding this feature.

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

    How do you verify the installation is driven by Google paid ads in the new Google Play console?

    Posted: 22 Jan 2021 07:28 AM PST

    I find the installation statistics from new Google Play console are

    • Few days delay. We have no idea what timezone information is being used in the graph
    • Not showing the traffic source from paid ads

    We want to drive our app installation using Google paid ads campaign - Advertise Your Mobile App with App Campaigns - Google Ads

    But, after running the ads for few days, we realize the information shown in new Google Play console is very lacking. We are not able to justify, whether we should continue to invest in the Google Ads. Although Google Ads does show number of conversion, but we don't think we can 100% trust such source. We need another source like Google Play console to verify the numbers.

    However, the new Google Play console not able to serve such simple purpose :-(

    Have anyone know a way to achieve such?

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

    Seeking info regarding the legalities of creating a quiz app

    Posted: 22 Jan 2021 06:52 AM PST

    I have cobbled together a quiz engine, and would like to make some apps with it.

    Im just wondering if i made one about retro video games, would i risk trouble for mentioning the titles of games, characters, publishing houses etc?

    hoping someone on here has direct experience in this field, As googling seems to indicate its fine, but there must be some strings attached?

    Any insight appreciated :)

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

    What is the usable screen size and aspect ration of new phones?

    Posted: 22 Jan 2021 05:36 AM PST

    I am creating mockups and then porting them into invison to make a prototype. I originally made them 16:9 but then that was too small. I then tried 18:9. 19:9 is apparently the entire screen so I made it 18 to account for the status and navigation bar but that was too big. I think there maybe something wrong with invision but I wanted to confirm I made the mockups in the correct dimensions first

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

    Software copyright and patent infringement query

    Posted: 22 Jan 2021 04:25 AM PST

    If I make an app from scratch which has idea related to someone's app but I modified it without copying their code.So would I face copyright or patent infringement on my app?

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

    I'm teaching beginners how to create an Expense tracker app from scratch ��️

    Posted: 22 Jan 2021 04:46 AM PST

    Clarification about Room and having multiple Entities

    Posted: 21 Jan 2021 04:24 PM PST

    Been rolling this around in my brain for a while, but I'm wanting to sake data from two separate fragments into one database. These two sets of data never interact. Conceptually, imagine building two Todo apps in the same project. Todo1 and Todo2 both have their own entity and are recorded on their own table, but share the same database.

    Something like this

    @Entity(tableName = "todo_one") data class Todo1( @PrimaryKey(autoGenerate = true) val id: Int, val title: String, val content: String, ) @Entity(tableName = "todo_two") data class Todo2( @PrimaryKey(autoGenerate = true) val id: Int, val title: String, val content: String, ) @Database(entities = [Todo1::class, Todo2::class], version = 1, exportSchema = false) abstract class RollDatabase: RoomDatabase() { abstract fun todoOneDao(): TodoOneDao abstract fun todoTwoDao(): TodoTwoDao ... } 

    Am I thinking about this correctly?

    In my mind, having two tables allows me to store data from two different places (like having two Todo lists in one project) and access them by defining the Entity name. The official docs help a bit but I haven't found anywhere that answers this question about Room, specifically.

    Thanks in advance for any input.

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

    We at CRED have launched our first open-source library: Synth - the UI Kit that powers our neumorphic design. Feedback and contributions are much appreciated!

    Posted: 21 Jan 2021 09:38 AM PST

    How do you log to console?

    Posted: 21 Jan 2021 04:58 PM PST

    Logcat moves too fast with error messages of the emulator. I just want a simple way to write print statements for testing purposes.

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

    Order and Un Order List in Android Textview Kotlin

    Posted: 21 Jan 2021 10:48 PM PST

    Help with a design problem

    Posted: 21 Jan 2021 08:50 PM PST

    Hi everyone,

    I'm hoping to get some advice on an app I'm building for my portfolio. I come from Linux network development so I'm not very used to object oriented design and Kotlin.

    The app I'm trying to make will have "letters" delivered to the user, where the content can either be text or audio. I'm trying to follow the jetpack guidelines:

    https://developer.android.com/jetpack/guide

    But I'm a bit lost on how to design a good, flexible solution to allow for the app to easily create Letter objects whether they have audio or text content.

    I was planning on having the Letter class have a property of type Content, and have TextContent and AudioContent classes that will implement what's needed for each type of content. Implementing text content seems super straightforward, but audio not so much...

    Right now I'm planning on having just one Repository class that will return Letter objects and be agnostic on whether the Letters have text or audio content.

    Is this a poor approach?

    After looking at the MediaPlayer overview I'm a bit overwhelmed on how to best solve this problem, especially with being pretty inexperienced with OOP.

    Sorry if this is too vague or rambling, but I'm hoping to get some pointers from people on how to best approach this. Any insight would be appreciated!!

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

    Jetpack Compose Preview not showing

    Posted: 21 Jan 2021 04:57 PM PST

    I seem to be having trouble with Preview in compose, the layout panel doesn't appear when I annotate a compose method with @preview. I assume I'm missing a dependency, but I've copied and pasted the code from here https://developer.android.com/jetpack/compose/setup. Any suggestions? (tried the usual clear cache, reopen project etc) :)

    .... buildFeatures { compose true } composeOptions { kotlinCompilerExtensionVersion '1.0.0-alpha10' kotlinCompilerVersion '1.4.21' } } dependencies { implementation 'androidx.compose.ui:ui:1.0.0-alpha10' // Tooling support (Previews, etc.) implementation 'androidx.compose.ui:ui-tooling:1.0.0-alpha10' // Foundation implementation 'androidx.compose.foundation:foundation:1.0.0-alpha10' // Material Design implementation 'androidx.compose.material:material:1.0.0-alpha10' // Material design icons implementation 'androidx.compose.material:material-icons-core:1.0.0-alpha10' implementation 'androidx.compose.material:material-icons-extended:1.0.0-alpha10' // Integration with observables implementation 'androidx.compose.runtime:runtime-livedata:1.0.0-alpha10' implementation 'androidx.compose.runtime:runtime-rxjava2:1.0.0-alpha10' // UI Tests androidTestImplementation 'androidx.compose.ui:ui-test-junit4:1.0.0-alpha10' implementation 'com.google.android.material:material:1.2.1' } 

    Here is my attempt at using preview (in AS it says Function "DefaultPreview" is never used)

    import androidx.compose.ui.tooling.preview.Preview ..... @Preview @Composable fun DefaultPreview() { Text(text = "Hello!") } 
    submitted by /u/T0MBraider17
    [link] [comments]

    5 Cool Tips for Android Emulator

    Posted: 21 Jan 2021 11:55 AM PST

    Where are database files files stored on offline apps other than in /data/data?

    Posted: 21 Jan 2021 05:54 PM PST

    I have a few offline apps that I want to extract database files from. I have checked /data/data/{package_name} but the apps directory doesn't have it's database files there. I've also checked the Internal Storage/Android/data and /data/app but it doesn't seem to be in those locations either. Where else could these files be, or is there any way (by use of application or command) I could see where an app is storing it's db.

    I have a rooted phone so I can access all the parts of the my data etc. and use root apps as well.

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

    Good and cheap wearable device with gyroscope and accelerometer

    Posted: 21 Jan 2021 01:04 PM PST

    I am developing a Wear OS application that collects gyroscope and accelerometer data, and I am needing a test device.

    does anyone knows a good model?

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

    No comments:

    Post a Comment