• Breaking News

    Thursday, September 9, 2021

    Android Dev - Examples for Native and Hybrid Apps

    Android Dev - Examples for Native and Hybrid Apps


    Examples for Native and Hybrid Apps

    Posted: 09 Sep 2021 12:18 AM PDT

    We are currently evaluating a new app and ask ourself, if we should go native for one plattform or hybrid with flutter for two (ios and android). we know about the advantages of a native app in using all device hardware features but we assume that we don't need to rely on any specific feature like gps or such.

    But we are afraid that the performance and slickness of the apps user experience and handling will decrease a lot with a hybrid compared to a native app.

    The app will contain a collection of art pieces from a artist, who has passed away. It will therefore be kind of an interactive archive and as soon as the app is up and running, it will probably stay the same for a long time.

    We are currently on the lookout of good examples of native and hybrid apps we could compare and show our management who will decide ober the budget. Does anybody have an idea about two apps who would compare nicely?

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

    Android 12 Beta 5 brings some improvements to the clock calculator UI and widget functions

    Posted: 09 Sep 2021 01:38 AM PDT

    Canvas drawing in Jetpack compose

    Posted: 09 Sep 2021 04:27 AM PDT

    is there any way to use canvas with wrap content height in jetpack compose?

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

    Sign-in with Google in Compose | No Firebase | Jetpack Compose

    Posted: 09 Sep 2021 08:00 AM PDT

    Enable theme in jetpack compose preview

    Posted: 08 Sep 2021 10:50 PM PDT

    I am trying to slowly migrate my app to jetpack compose. For that I am trying to write a new activity in jetpack compose and everything is working, expect the theme in the preview.

    I'm using MdcTheme to integrate existing theme in compose and it working when I built and run on device, but it's not working in preview. This is my code,

    ``` class UpdateAppActivity : AppCompatActivity() {

    @Inject lateinit var viewModelFactory: ViewModelFactory override fun onCreate(savedInstanceState: Bundle?) { (application as BaseApplication).appComponent.inject(this) super.onCreate(savedInstanceState) // trigger config update if in-case backend decides to revert the deployed changes then we // should enable the user to login next time val viewModel = ViewModelProvider(this, viewModelFactory)[MainViewModel::class.java] viewModel.checkApiVersion(AppConfig.apiVersion, shouldNotify = false) setContent { MdcTheme { UpdateAppLayout() } } } @Composable fun UpdateAppLayout() { Column( horizontalAlignment = Alignment.CenterHorizontally, modifier = Modifier.padding(horizontal = 24.dp, vertical = 32.dp), ) { Image( painter = painterResource(id = R.drawable.cr_res_logo), contentDescription = "logo", modifier = Modifier.padding(top = 32.dp), ) Text( text = "Update Info", style = MaterialTheme.typography.h4, color = colorResource( id = R.color.material_on_surface_emphasis_medium ), modifier = Modifier.padding(top = 50.dp) ) Text( text = "Please update the app to order food and making reservation online", style = MaterialTheme.typography.h6, color = colorResource( id = R.color.material_on_surface_emphasis_medium ), textAlign = TextAlign.Center, fontWeight = FontWeight.Normal, modifier = Modifier.padding(top = 82.dp) ) Text( text = "Sorry for the inconvenience", style = MaterialTheme.typography.body1, color = colorResource(id = R.color.material_on_surface_emphasis_medium), modifier = Modifier.padding(top = 96.dp), ) Button( onClick = { }, modifier = Modifier .padding(top = 32.dp) .width(IntrinsicSize.Max), ) { Text(text = "Update") } } } @Preview @Composable fun ScreenPreview() { UpdateAppLayout() } 

    } ```

    Do I have to setup the theme in preview?. Here is the screenshot of it https://imgur.com/6wr1i1W

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

    Check our ImagePicker Library.. https://github.com/SimformSolutionsPvtLtd/SSImagePicker

    Posted: 09 Sep 2021 06:33 AM PDT

    Advice on security of Android 9.0 devices

    Posted: 09 Sep 2021 05:45 AM PDT

    Our company started issuing rugged Android tablets to field workers and while they seem like an incredibly robust device, they only come with Android 9.0 and the manufacturer has already confirmed that they're not releasing any further updates for them.

    Having said this, how safe do you think it is to begin rolling out more of these devices that will probably remain in service for 4-5 years?

    Note: they'll mostly be used in Kiosk mode under tight MDM policies.

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

    Compose and GLSurfaceView

    Posted: 09 Sep 2021 01:46 AM PDT

    I'm using these APIs and the surface gets black after a few interactions. Anyone knows why? I have to reset something somewhere I guess. The app I'm building use a curl book effect, I need the surface for this.

    Edit: I'm using this repo for the page curl effect (https://github.com/karankalsi/PlayLikeCurl)

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

    How to use nonTransitiveRClass module wide (and not project wide)?

    Posted: 09 Sep 2021 05:20 AM PDT

    This article says, that the nonTransitiveRClass is now applies for all modules in a project (inserted into the gradle.properties file).

    But I would like to turn it on only for some selected modules (and not for the apk module in my project).
    How can I achieve this?

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

    Generating Album Covers

    Posted: 09 Sep 2021 05:04 AM PDT

    I am creating a live music app of bands that allow taping. This is 100% legal, audio recordings are permitted and can be disseminated as long as there is no money exchanged.

    I would like to come up with an album cover for each concert. It doesn't have to be a fancy image, but if we could add the artist and text of the date and venue I think it would improve the quality of the app.

    Obviously I'm looking for a Repository that will do this instead of a completed app. Completed apps are all I have been able to find on Google, along with APIs that will pull commercial album covers.

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

    RBusarow/Tangle - Android components injection using Anvil instead of Hilt.

    Posted: 08 Sep 2021 11:00 AM PDT

    How do you prepare for the interview?

    Posted: 08 Sep 2021 09:51 PM PDT

    Imagine you have an interview tomorrow. What sources do you use in order to prepare for the interview? Or there's an other technique you use and what aspects you pay attention most?

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

    JetpackCompose.app | What is “donut-hole skipping” in Jetpack Compose?

    Posted: 08 Sep 2021 09:08 AM PDT

    Kotlin 2021 Premier Online Event

    Posted: 08 Sep 2021 11:33 AM PDT

    How long does the approval process take nowadays?

    Posted: 08 Sep 2021 10:08 AM PDT

    So on the 30th of August I uploaded a new app it is still in review. My account is not new as I already have an existing published app. Does the review time rake that long nowadays?

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

    Error upload AAB

    Posted: 08 Sep 2021 08:50 AM PDT

    Hello,

    when I upload an aab on Google Play Console, I get the following error: "An error occurred while loading the Android App Bundle. Please try again later or, if the error persists, contact Google Play Developer Support.".

    How can i solve?

    Thanks

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

    ��Non-standard way to use more space of screens in your Flutter app��

    Posted: 08 Sep 2021 06:56 AM PDT

    No comments:

    Post a Comment