• Breaking News

    Friday, January 29, 2021

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

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


    Weekly Anything Goes Thread - January 29, 2021

    Posted: 29 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]

    Starting activity from background service on android 10

    Posted: 29 Jan 2021 04:44 AM PST

    Hello everybody!!! Recently, I was building app protector application that can protect selected applications. In order to do that I have to show my password screen over selected application. However from android 10 there are restrictions on starting activity from background and I can't start my activity from service. But there are also exceptions by android that doesn't match my case. I found application AppLocker on play store that works perfect and shows password screen when I try to open protected application so it seems possible. Anyone know how can I achieve that, thanks in advance!

    P.s: activity starts only on Samsung devices

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

    Where is the outrage related to how shafted us smaller developers are relating to no support with having 1 star reviews removed, but robinhood had 100k 1 star reviews removed?

    Posted: 29 Jan 2021 07:36 AM PST

    What do you expect from dev on each experience level?

    Posted: 29 Jan 2021 05:15 AM PST

    Hi All,

    Labeling people is a very difficult and thankless topic.
    Unfortunately often we have to do it.

    What do you expect from dev on each experience level?
    What should know as Junior, Regular and Senior?

    I am still gathering my thoughts, so I can't be specific yet.
    Junior still needs help, Regular can do tasks on his own, and Senior can learn others.
    However, these kinds of things are hard to measure.
    We have to think about some concrete patterns, solutions, or frameworks that the candidate knows.

    I am trying to build my kind of that list and I would love to hear your opinion about it.

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

    Android Studio 4.2 Beta 4 available

    Posted: 28 Jan 2021 03:04 PM PST

    Android App for searching for videos on Youtube by keywords using YouTube Data API and download videos from YouTube in different formats.

    Posted: 29 Jan 2021 05:35 AM PST

    Anyone know what app cause notification ads ?

    Posted: 29 Jan 2021 07:43 AM PST

    Does anyone have advice or resources on how to make a modern good looking UI. Everytime I try something it ends up looking like a 90s website.

    Posted: 29 Jan 2021 07:02 AM PST

    Google Whitelists 15 More Countries for Real-Money Gambling apps on Google Play

    Posted: 28 Jan 2021 10:13 PM PST

    Get intent / broadcast receiver of an app

    Posted: 29 Jan 2021 06:40 AM PST

    Hi,

    is there an option to get all intents / broadcast receiver of an app (through adb or something)?

    Thank you

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

    Should i use Admob ? Or i will earn nothing with it ?

    Posted: 28 Jan 2021 01:33 PM PST

    I'm from France and i have a pixel game with 50 daily users (they are all from France or Belgium), they play my game nearly every days if not every days. They play it like 15 minutes a day and i'm making new levels every week.

    I don't plan to insert a lot of ads, just one, i don't want to insert a lot because it will just make the game look awful.

    I would like to know, if i could make something like 50 dollars a month with ads, i don't need more because i'm doing that for pleasure mostly. I don't know if i have enough users tho.

    If 50 persons watch 1 ad on my game in a day, would i make at least 1 dollar a day ?

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

    Kapt's Hidden Test Costs

    Posted: 29 Jan 2021 04:57 AM PST

    getExternalFilesDir()

    Posted: 28 Jan 2021 12:22 PM PST

    I am creating an app that records videos and save them. Should I use getExternalFilesDir() for android 10 and above? If not, what are other alternatives?

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

    A Garbage Collection Story

    Posted: 29 Jan 2021 12:31 AM PST

    Associate Android Developer Certificate

    Posted: 28 Jan 2021 07:52 PM PST

    Hello folks! I am thinking about taking the AAD Certification. I have been developing Android Apps for a few months now and I am pretty strong with the basics. Any general advice about the exam and how to go about for it's preparation?

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

    Fancy a flutter? Google to allow real money gambling worldwide

    Posted: 28 Jan 2021 12:00 PM PST

    Navigation Drawer andorid studio

    Posted: 28 Jan 2021 07:57 PM PST

    will factory reset bring back deleted system apps using usb debugging (adb)

    Posted: 28 Jan 2021 12:44 PM PST

    if by mistake i deleted an important system app using adm commands using cmd (usb debugging) , will factory reset bring it back and all other apps?? Device-Realme 6i

    edit 1- fullstory--> actually what happened is i landed on a website . i found it cool and decided to try it since i was frustated with pre-installed uninstallable color os apps and some google apps. so as mentioned on website i used cmd (platform tools- ADB command shell something like this), and deleted some packages. Now i fear i might have deleted some important or useful packages. So will i get them all back if i just simply factory reset my phone?

    (ps-- no ROM flashing, no rooting allowed.)

    edit 2 - actually i have no idea about flashing the rom. neither i want to root the device. actually i bought the device just a few months back

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

    IntentService is deprecated and does not "work well" with Oreo, if so what is the purpose of Foreground Services?

    Posted: 28 Jan 2021 08:57 AM PST

    This is a very disingenuous paragraph:

    The Android framework also provides the IntentService subclass of Service that uses a worker thread to handle all of the start requests, one at a time. Using this class is not recommended for new apps as it will not work well starting with Android 8 Oreo, due to the introduction of Background execution limits. Moreover, it's deprecated starting with Android 11. You can use JobIntentService as a replacement for IntentService that is compatible with newer versions of Android.

    Deprecating the IntentService class will force developers to write error prone custom threaded foreground Services if they need immediate work done that won't die. So why remove it?

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

    Can't get menu to show up in fragment

    Posted: 28 Jan 2021 08:06 AM PST

    So I want a menu in a fragment. All the relevant code is here https://pastebin.com/jZ5EPSPy

    These are the steps I've taken:

    • Make sure I have a theme that supports ActionBar. I have "Theme.AppCompat.Light.DarkActionBar" as the theme for my whole app.
    • Have setHasOptionsMenu(true) in the OnCreate method of my fragment above the call to the super method.
    • Override the onCreateOptionsMenu() and inflate the menu above the call to the super method.

    The only thing that is different from my use and a lot of others is the switching between fragments. In my main activity I have this:

     override fun showUserMainScreen(individual: Individual) { val frag = UserMainScreenFragment(this, individual) supportFragmentManager.beginTransaction().replace(R.id.layout_root, frag).commit() } 

    which replaces the layout of the main activity with that of the fragment I want to work with.

    Within that fragment i.e. UserMainScreenFragment there's a tab layout with viewpager2. It has these functions to control it.

    override fun onResume() { super.onResume() val frags = setupFragments() if(viewPager?.adapter == null) { viewPager?.adapter = ViewPagerAdapter(activity, frags) } TabLayoutMediator(tabs, viewPager){ tab, position -> tab.text = getText(frags[position].getName()) viewPager?.setCurrentItem(tab.position, true) }.attach() } private fun setupFragments(): List<ViewPagerFragment> { return arrayListOf(ListFragment(), AppliedJobsFragment(individual)) } 

    Now inside the ListFragment class I've also done those 3 bullet points above...but again with no success. I can't see the toolbar 😒

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

    No comments:

    Post a Comment