• Breaking News

    Monday, September 6, 2021

    Android Dev - Weekly Who's Hiring Thread - September 06, 2021

    Android Dev - Weekly Who's Hiring Thread - September 06, 2021


    Weekly Who's Hiring Thread - September 06, 2021

    Posted: 06 Sep 2021 06:00 AM PDT

    Looking for Android developers? Heard about a cool job posting? Let people know!

    Here is a suggested posting template:

    Company: <Best Company Ever>
    Job: [<Title>](https://example.com/job)
    Location: <City, State, Country>
    Allows remote: <Yes/No>
    Visa: <Yes/No>

    Feel free to include any other information about the job.

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

    Design Tools like Figma or UI with Coding?

    Posted: 06 Sep 2021 02:52 AM PDT

    So I have above intermediate level of experience developing android apps but i'm lacking creative UI designing and just wanna know what you guys use for beautiful UI of mobile? UI design tools and import the design or create UI with code from scratch using libraries?

    Asking as a starter freelance.

    Thanks

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

    Can someone, please suggest me some basic and advanced pdf book references for android development in java?

    Posted: 05 Sep 2021 11:09 PM PDT

    I have been watching only youtube videos for learning different concepts. But I think that I lack in some basic functionalities of android development like database handling etc. So, which books should I refer to for basic and advanced android development cause I want to make a career out of it.

    submitted by /u/69HvH69
    [link] [comments]

    Feedback on my game needed!

    Posted: 06 Sep 2021 04:48 AM PDT

    I released my game Tap Ninja and would love some criticism and feedback on it

    It's an incremental/idle game with tons of upgrades and is playable entirely offline

    https://play.google.com/store/apps/details?id=com.BrokenGlass.TapNinja

    Also you can join the games Discord or Subreddit

    Thank you

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

    User data - Personal and Sensitive Information Disclosure

    Posted: 06 Sep 2021 12:47 AM PDT

    I am reading July policy update, and one part which caught my eye is User data.

    Basically it says, that if I collect personal or sensitive information, I must let user know, quoting:

    You must provide an in-app disclosure of your data access, collection, use, and sharing. The in-app disclosure:

    • Must be within the app itself, not only in the app description or on a website;
    • Must be displayed in the normal usage of the app and not require the user to navigate into a menu or settings;
    • Must describe the data being accessed or collected;
    • Must explain how the data will be used and/or shared;
    • Cannot only be placed in a privacy policy or terms of service; and
    • Cannot be included with other disclosures unrelated to personal and sensitive user data collection.

    What exactly are those personal/sensitive informations? I checked common violations and I am not doing anything mentioned there, but I wanna be sure I have not missed anything.

    I am not collecting anything beside anonymous informations collected automatically by:

    • Firebase Crashlytics
    • Firebase Analytics

    Does this mean I am safe?

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

    How many of you guys look or develop apps for wear os platform ?

    Posted: 05 Sep 2021 02:20 PM PDT

    Do you think wear os 3 is a good start ?

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

    When using compose what do you prefer to setup navigation? Compose navigation or traditional navigation component ?

    Posted: 05 Sep 2021 03:03 PM PDT

    I've been studying compose for some time and when creating new apps i keep questioning myself if i should use the compose navigation or navigation component with fragments to hold my composables. Do you guys have the same doubt?

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

    Is it possible to force an app to always run in the background?

    Posted: 06 Sep 2021 03:59 AM PDT

    Is there a way to make an app run in the background at all costs and all the time through ADB? Please help!

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

    How does a launcher decide if it is required to start an activity or resuming the previous task?

    Posted: 05 Sep 2021 10:30 AM PDT

    Hi everyone:

    I was testing this task hijacking PoC and I saw some interesting behavior:

    https://github.com/az0mb13/Task_Hijacking_Strandhogg

    So, there are two apps (a victim and an attacker application), the victim app launches its main activity using SingleTask as its launch mode.

    The attack consists in the fact that using the same task affinity as the victim, if the attacker's app is launched before the victim one, the attacker's activity will effectively be injected in the backstack (using some trickery so it doesn't show in the recents screen). And it does happen, if the attacker app is opened first, it hides and then when the user opens the victim app, it appears to be there, but after tapping the back button, the user gets the attacker app.

    However, if the victim's activity is launched in standard mode. I think the expected behavior should be something similar. But what ends up happening is that the launcher does not start the launcher intent of the victim app, but just resumes the attacker's activity. I think this is because, since the task already exists, then it just opens up. But if that were the case, then the same would happen when the victim app has singleTask, but in that case the launcher starts the victim app on top of the stack.

    Why does this happen?

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

    For the people with a production app with 100+ downloads, what is your compileSdkVersion?

    Posted: 06 Sep 2021 04:09 AM PDT

    How to have a simple queue/list/pipeline design to execute nested list of background tasks/works in Kotlin/coroutines?

    Posted: 05 Sep 2021 01:00 PM PDT

    I want to achieve something like I get an original file OF and then I want to do multiple set of operations on this file (in this example just 2 sets of operations) and those sets of operations will have their own sub/child operations internally.

    At the end I want to get final modified file MF (which was done in first set of operation something like the first stage) and then inference data/output on the modified file.

    Completely off main thread.

    e.g.

    • Operation A: It changes the content of the file then compresses it and returns the modified file OFMF. Operation A is comprised of sub-operation [A1, A2] (A1 does modification, A2 does compression) (It could have other operation A3, A4.. as well). A's child operations will always run sequentially as one steps modified the file for next step.
    • Operation B: Takes MF as input and does bunch of checks on it. However these check operations do not change the file and just return stats/info/inference like how many "," is there and how many words are there of certain length etc. These tasks can happen either sequentially or parallel. So basically operation B is bunch of sub/child operations [B1, B2, B3..Bn] → they can run both parallel or sequentially (based on a flag - so I guess I will need to both implementation).

    B1..Bn can be mandatory or optional child operations. Any mandatory child operation failure fails/kills entire B operation and returns in error. However optional check failure doesn't fail the entirety of B - just updates the result/inference data about MF for that certain check.

    Right in the beginning I will know what sub/child operations will be part of A and B respectively. I will be adding those operations via a simple interface which has:

    interface Detector: detect() (returns result/inference), stop() (stops detection), onComplete() (after detection completes, or is stopped)

    I will be sending those specific Detector implementation to the operation list/queue based on config values right in the beginning.

    I started with Kotlin dev quite late. I am still not able to think clearly how to achieve this in Kotlin using Coroutines Should I use Flow? Or Channel? Or just try to have a mutable list of such tasks and run coroutines inside a coroutine? I am also not able to think how to pass around result (e.g. from A to B) and then finally at first caller which stared [A + B] - the entire operation chain. Should I use callbacks? Or Deferred<T>?

    I am thinking of having a priority queue and run these tasks in an executor service which in turn has two executors service. So Basically all I am able to do is thinking the way I used to do background task handling with Java, Thread etc.

    tl;dr:

    How do I come up with a simple design with Kotlin/Coroutines where I achieve multiple sets of nested background operations (nesting level being only two) [parent op 1 {child op1 + child op2 + child op 3... } + parent op 2 {child op1…} + parent op 3 {child op1…}] where parent ops execute one after another and wait for result from previous step, but internally they can execute their children either sequentially or parallel and at the end if every parent executed fine there would be a final result with info/inference from every child op. Some child ops are mandatory so if they fail that parent op will fail as well, while some are not.

    OF (original file) → [A + B] → e.g. {MF (modified file), commas = 4, dictionary words = 10, words_size_10 = 0}

    [A + B] → in turn will be such as

    A is : OF{A1 + A2..}MF

    and

    B is: MF{B1 + B2..} → {MF (modified file), commas = 4, dictionary words = 10, words_size_10 = 0}

    How should I start thinking? What should I consider first to get to this design? More importantly how I can start with a very simple structure and then build on top of that?

    submitted by /u/Any-Conference-Day
    [link] [comments]

    Should i use Java or Kotlin to develop an app for industries like eSports???

    Posted: 05 Sep 2021 09:13 PM PDT

    Industries like eSports are just starting to grow.If we code in java everything is well defined from the smallest thing but in kotlin i dont have to write the unnecessary code and it would be concise.So if you think long term and efficiency should i use Java or Kotlin to develop an app.

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

    No comments:

    Post a Comment