• Breaking News

    [Android][timeline][#f39c12]

    Monday, November 4, 2019

    Weekly "who's hiring" thread! Android Dev

    Weekly "who's hiring" thread! Android Dev


    Weekly "who's hiring" thread!

    Posted: 04 Nov 2019 04:44 AM PST

    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]

    Weekly Questions Thread - November 04, 2019

    Posted: 04 Nov 2019 02:56 AM PST

    This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, our Discord, or Stack Overflow before posting). Examples of questions:

    • How do I pass data between my Activities?
    • Does anyone have a link to the source for the AOSP messaging app?
    • Is it possible to programmatically change the color of the status bar without targeting API 21?

    Important: Downvotes are strongly discouraged in this thread. Sorting by new is strongly encouraged.

    Large code snippets don't read well on reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead.

    Have a question about the subreddit or otherwise for /r/androiddev mods? We welcome your mod mail!

    Also, please don't link to Play Store pages or ask for feedback on this thread. Save those for the App Feedback threads we host on Saturdays.

    Looking for all the Questions threads? Want an easy way to locate this week's thread? Click this link!

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

    Android Studio 3.5.2 available

    Posted: 04 Nov 2019 10:20 AM PST

    How to accomplish a "clip mask" like this?

    Posted: 04 Nov 2019 12:19 AM PST

    Huawei's app store AppGallery: worth the effort and risk? Sketchy requirements for registration.

    Posted: 04 Nov 2019 06:02 AM PST

    Does anyone here has a developer account on AppGallery?

    Just now i wanted to create account on AppGallery, but after seeing the requirements i feel like something is not right.

    In order to fill out request for the approval, you need to give them some very personal and exploitable information, like picture of your ID/passport/driving license, and a picture of credit card. Somehow I feel like this is a big no no, I don't want to willingly give my information to sketchy Chinese government.

    So, does anyone have an account there? Is it worth it? Do you get a meaningful number of downloads daily? How would you compare AppGallery to Amazon AppStore?

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

    App suspendend and therefore account terminated

    Posted: 04 Nov 2019 08:09 AM PST

    Hi there,

    I have(had) an quiz app about pregnancy symptoms published.

    The apps explicitely declares in its description this is an app for entertainment and is not a medical application (exactly as I'm writing it). It is just an app with questions and answers. It does not claim any particular functionality and it does not have any medical functionality. It is a Q&A app, for God sake.

    Today my app was suspended with the following reason: - Issue: Violation of Misleading Claims policy

    ' We don't allow apps that feature medical or health-related functionalities that are misleading or potentially harmful. '

    I appealed but I'm very concerned . Within a month , I had three suspensions (one app had almost 3 years in Google Play , other had a year and the last one 6 months) . I appealed the apps and won one case. I changed the description. One month later it was again suspended even the description was updated properly and the app describe precisely its functionality and also explained it is for entertainment purposes.

    Google does not help at all, no recommendations, and started ignoring any appeal that I sent.

    I know there is not much I can do, but at least I hope this help/warn other users.

    It seems that word 'pregnancy' is a forbiden word on Google Play. Probably some developers would tell me I was looking for trouble, but the first app was bought to another developer in early 2017 , and it was completely legal and that time. I didn't have any issue for two and half years. So I worked in the niche and Google didn't even send a complain. And now in a fraction of time, all the apps were banned.

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

    The organizer of Droidcon London is closing shop ��

    Posted: 04 Nov 2019 09:58 AM PST

    According to Google, Storage permission can be granted... but only in some cases that they approve

    Posted: 03 Nov 2019 04:42 PM PST

    According to Google, Storage permission can be granted... but only in some cases that they approve

    Sadly over the past Android versions we got plenty of restrictions . However, one of the permissions that was most troubling for me is the storage permission, which was planned to be replaced by the terrible SAF API.

    Recently I've watched a video of Google, that says that they plan to let developers still have this permission, but only if they are whitelisted via a special form, and that it is granted for file-manager apps and backup/restore apps: https://youtu.be/UnJ3amzJM94?t=1257

    https://preview.redd.it/uvcmev9ifkw31.png?width=1478&format=png&auto=webp&s=a6c41d54f51ff16429d0bf5935f3877c0dd2905d

    https://preview.redd.it/tqat6h2wekw31.png?width=1464&format=png&auto=webp&s=c5fb7bd4b6028a24f9dc6870e2344b8de9c1fa8e

    Only media files can be accessed without problem. All other files, and all libraries that need access to non-media files via file-path (including Android framework, such as getting APK info and opening DB files) - will still be problematic, and I don't see Google addressing those.

    They mentioned that only a tiny fraction of the apps targeting Android 10 actually used the special flag to grant full storage access but also say that of course not all apps target Android 10 yet. However, they don't say how the form will work, and if there will be more cases that they will consider. I don't see where they allow to talk about it, and where the form is. Maybe too soon for the form, but they say that they do listen to developers.

    My app, for example, is not a file manager and not a backup app, but it needs this permission because it finds all APK files and shows them, including app-name and app-icon, and those functions do not exist on the framework without file-path. Not only that, but finding APK files can be quite slow, just like any other file.

    This is a never ending issue that shouldn't have been existed at all.

    File API is a very known standard on Java. File path is a known thing for all users. It exists on all modern OSs.

    If they cared so much about the special way that SAF grants access, they could just let it be for this purpose alone: SAF could be used as a way to grant the access, but File-API would work only in the boundaries of this access. This way everyone wins. I tried to request it in various ways on the issue-tracker, and tried to stress how bad SAF is compared to what we already have.

    Currently it's a huge mess, with SAF still not being able to reach performance, compatibility and functionality levels of File API.

    EDIT: Android Police also got an article about it here.

    submitted by /u/AD-LB
    [link] [comments]

    Modularizing your Android app, breaking the monolith (Part 1)

    Posted: 04 Nov 2019 12:31 AM PST

    Is there a slick way to call an arbitrary function on all the objects in an arraylist?

    Posted: 04 Nov 2019 03:59 PM PST

    I'm an old objective c programmer learning Android and Kotlin,

    Is there a slick way to call an arbitrary function on all the objects in an arraylist?

    Basically I have an interface used for delegation and instead of a single delegate I store them all in an array list. That array list can change size all the time depending on what the user is doing. Rather that writing a bunch of for (listener in collection) statements I am wanting to write a small function that can call them abstractly.

    From what I have discovered so far there is not a way to ask an object if it responds to a function, so I haver to supply default implementations for the interface. I suppose that is okay. So right now my implementation is very long, as there are a lot of different types of events that can occur and a method for each one, roughly 20 functions in the interface.

    So my solution thus far is to have default implementations, then I create an object called Notifier that also implements the interface, overrides all the default functions. So far it is 112 lines long. All it does is forward each function to everything in the delegate collection. So now I can call

    Notifier.method() and it will in turn call all the methods in the collection. That is nice and concise but the object within thee class is huge.

    in Objective C I could do something like :

    -(void)callFunction:(SEL)method { for (NSObject* object in collection) { if([object respondsToSelector:method]){ [object performSelectorInBackground:method withObject:nil]; } } } 

    the in the code call it like so:

    [self callFunction:@selector(methodName:)]; 

    This big benefit of this is not only size, but also that I am not through with the interface itself and for each new callback I have to add another umpteen lines to the Notifier object, and if I happen to forget it breaks.

    Looking for kotlin equivalent

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

    [Proandroiddev] Comparing Android Development to React

    Posted: 04 Nov 2019 03:47 PM PST

    What's the best way get started with developing a cardiac simulation app?

    Posted: 04 Nov 2019 03:29 PM PST

    Hey guys,

    I want to create an app that simulates specific cardiac conditions using mathematical models and such. Initially this has a small number of parameters but that will grow fast. Does anyone know what's the best language and/or library I could use to get started. The simulation will include millions of cells and complex math has to be carried out on each cell. It's going to start as a 2D sim but will become 3D at some point. I did it once using parallel programming with renderscript and bitmaps but the results weren't good. Should I use opengl instead or should I go for like ionic or unity?

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

    Can show only same channel relative videos using Youtube Player API??

    Posted: 04 Nov 2019 03:24 PM PST

    I am using the Youtube Player API and wanted to see if I can only show relative videos only coming from my youtube channel.

    I understand you can do this with the Youtube Player iframe API Implementation, but can I do with the the Youtube Player API alone??

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

    2 weeks in review, no comment from google

    Posted: 04 Nov 2019 07:35 AM PST

    We've had our app public in the play store for more than a year now, and released several updates. We had some reviews take up to a couple of days, but this is unprecedented.

    Our last app update has been in review for two weeks now, and google support didn't give us any explanation or committed to a date in which it would be available.

    Has this happened to others? Is there something we can do?

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

    Jetbrains Exposed for Android ?

    Posted: 04 Nov 2019 01:49 AM PST

    Has anyone tried

    https://github.com/JetBrains/Exposed

    To share some insights, comparisons to other solutions like Room, Realm, etc...

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

    How do you create an organization ID?

    Posted: 04 Nov 2019 02:31 PM PST

    I am trying to publish and disribute a private application via the play store. I am following one of the articles in the help center Publish Private apps from the Play Console, and I have gone through registering for a play console account. But I am unsure about setting up an organization ID, and have not found any references on how to create one. How do you create an organization ID?

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

    Using sqldeligh, where should I put my .sql files so they show up using the "Android" project view ?

    Posted: 04 Nov 2019 01:30 AM PST

    Is it possible to setup sqldelight and organize my .sq files so they show up in the "Android" project view of Android Studio ?

    It would be very convenient.

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

    React Native vs (Swift + Kotlin) for freelancing

    Posted: 04 Nov 2019 12:49 PM PST

    I've already released a cross platform app of my own with Kivy (A cross platform framework with python). And doing that I have learned a lot about ios and android development from that. I wanted to start freelancing app development and basically nobody wants to touch a kivy freelancer with a 10 foot pole (understandably). But looking at the market it seems every one wants either native developers or reactive native developers with xamarin a far distant third. The problem with native development apps is that they want to pay the pay price for a cross platform app while supporting 2 native apps. So from a bang for your buck I'm wondering if it makes more sense to just learn react native and support one code base rather than learn how to build apps in both swift and Kotlin. I'm just wondering what are your opinions on what to learn for a freelancer.

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

    How to send maximum possible FCM notifications to Chinese ROMs?

    Posted: 04 Nov 2019 02:42 AM PST

    Hi,

    I am sending notifications to my users through OneSignal which uses FCM under the hood. I have noticed that people using Chinese ROMs from companies like Xiaomi, Vivo, Oppo, Gionee etc. don't receive notifications at all or receive notifications at random events. The reason being is that only few apps are whitelisted like Whatsapp. The AutoStart feature is disabled for all other apps.

    But I want to increase the number of notifications that people using these devices receive. Is there any possible way? One idea is to open Security app and AutoStart feature to let user whitelist the app. Another option is to have a persistent notification which will let the FCM survive in the background.

    I need some inputs. What is the best approach?

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

    Why would I use @Composable

    Posted: 04 Nov 2019 10:56 AM PST

    I saw the latest Android Dev Summit and a whole talk was dedicated to Composables. Why would I use them when XML and Kotlin are already working great together. I saw the examples with TextViews but what about the more complicated views like RecyclerViews, how would @Composable help there?

    Is there a big benefit on using Composables? Maybe share an example.

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

    Publishing the same app twice - questions

    Posted: 04 Nov 2019 09:23 AM PST

    Any idea if there are any problems if I'm gonna publish the same app two times in the store?

    A little bit of context:

    - one the of the apps is gonna be available in country X while the other one will be available in country Y
    - it's kind of a legal requirement to have two different apps
    - some features will be available only in one country
    - the package name will be different
    - the app icon / app name will be the same or very similar

    Found a similar app fast: ING (the bank), that has a different app for every country but in their case the publisher is different and the name of the app is slightly different

    So does anyone have any experience with this? Am i safe publishing pretty much the same app twice?

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

    How to redirect localhost traffic?

    Posted: 04 Nov 2019 02:36 AM PST

    I am using a custom canvas app in the Salesforce App, basically an WebView or Iframe that targets https://localhost.

    As I have no easy way to change this target URL, I would like to find a way to redirect all traffic to localhost to a different IP and/or port.

    I tried an adb reverse but my device won't let me do it for port 443.

    Any suggestion?

    I am using non-rooted physical devices for my tests.

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

    Any Android Developers willing to work rev share?

    Posted: 04 Nov 2019 10:04 AM PST

    I want to start launching apps for the sole purpose to earn with my marketing skills have completed UI, UX.

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

    How do i know if my developer has used the right admob ad ID in my app?

    Posted: 04 Nov 2019 06:15 AM PST

    I am about to launch my app and i am getting paranoid about this. Help, gods of androiddev

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

    Do you still continue support your existing Ice Cream Sandwich users (API 14, API 15), or you already abandon them?

    Posted: 04 Nov 2019 02:14 AM PST

    I would like to support my existing Ice Cream Sandwich users (around 400) as much as I could.

    However, today, when I upgrade my my firebase library. I notice that the required minSdkVersion changed to 16 (Jelly Bean)

    I was wondering, does anyone of here, still stick to minSdkVersion 14? Or, you have abandoned those users ever since?

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

    Is there a Sketch Library for Material Design?

    Posted: 04 Nov 2019 04:33 AM PST

    I have looked all over Google's developer sites, and I can't seem to find a Sketch Library to use for design mockups. Does anyone know if one exists?

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel