• Breaking News

    [Android][timeline][#f39c12]

    Monday, October 22, 2018

    Weekly "who's hiring" thread! Android Dev

    Weekly "who's hiring" thread! Android Dev


    Weekly "who's hiring" thread!

    Posted: 22 Oct 2018 05:45 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]

    We want YOU to be a moderator of /r/androiddev!

    Posted: 22 Oct 2018 01:54 PM PDT

    It's been a long time coming, but we definitely need more moderators. The main duties of an /r/androiddev moderator are enforcing our rules, removing spam, and keeping the peace.

    Here's how the recruitment process will go:

    Step one: Fill out the application.

    Step two: Supposing we like the cut of your jib, you will hop on a call with one of the current mods for a quick chat (think ~10-15 minutes).

    Step three: You'll become a moderator on a trial basis. Do well during the trial period and you're on permanently.

    Do you have what it takes? Then apply today!

    Applications will be open until I wake up Sunday morning, October 28th. My wake up time is randomly determined by the whim of my baby, so don't push this to the last minute!

    Got any questions? Message the moderators.

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

    Google Policy - do specialists like lawyers exist that can help solving violations

    Posted: 22 Oct 2018 10:59 AM PDT

    I'm fighting with google for weeks now and they are always telling me that my app uploads data without prominent disclosure. Only hint I get is that it uploads WhatsApp data, but this is not true. My app does not upload anything. There is only one way that data leaves the users phone, if the user sends me the log file via mail. Even in this case I made sure that I don't log private data and I'm 100% sure that I don't upload data about WhatsApp. For me this looks like Google's analyze of my app is wrong.

    I made a few updates in the meantime and google is still not happy.

    Asking google what is wrong is senseless, their answer is always worthless. How can they expect that I solve an issue if they don't help by at least telling me what's the problem?

    So now I want to solve the problem with help and google is not helping. Do people exist that help with such issues like a lawyer could help with GDPR problems e.g.? Like someone I could give my app to and who would tell me what could be the problem for google? Because I'm really clueless what googles problem could be...

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

    Strike due to a VERY vague "Violation of Device and Network Abuse policy"

    Posted: 22 Oct 2018 07:30 AM PDT

    Today i received an email saying that "After review, your app has been rejected and wasn't published due to a policy violation."

    It instates that "Your app shouldn't access or use the service or API in a manner that violates its terms of service. For example, your app shouldn't download, monetize, or access YouTube videos in a way that violates the YouTube Terms of Service."

    I have read trough the Device and Network Abuse as indicated in the email which I am pretty sure my app doesn't violates. https://play.google.com/about/privacy-security-deception/device-network-abuse/

    It's simply a browser and doesn't even interfere with any API from Google or any other's service

    Link to my app : https://play.google.com/store/apps/details?id=br.marcelo.monumentbrowser

    I have spent very long hours in this app and I am very worried as I have much more ideas to develop that I would like to make, the email didn't even stated what exactly I have done wrong.

    EDIT1: Removing any reference from google and youtube shortcuts didn't work out - second submission rejection

    EDIT2: Removing "Downloader" from the app name in the Store Listing seemed to have worked and my app has been reinstated to its latest version

    DETAILS: I got this rejection right after i concluded some A/B testing with the store description, i also have increased the Admob floor prior to the app being reinstated but i am unsure if it was the ads which i believe wasn't violating any ToS or the store description which included Downloader in the app's name

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

    Don't know why I got Google's Violation of Deceptive Ads policy

    Posted: 22 Oct 2018 12:12 PM PDT

    Anyone's app got rejected on Google Play with "Violation of Deceptive Ads policy" response when only running Unity ads? They didn't add any proof for that though. How to fix this? Would it help if I increased PEGI level? It's funny I got rejected just after I published the app, so I assume there's no way they could test the app so fast and find any weird looking ads in it. The only problem I see, was I published practically the same app but with some upgrades and different package name but I forgot to unpublish the first app before that. IMHO that's no Violation of Deceptive Ads policy though or is it?

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

    How to persist data between installs - Or how keychain is missed

    Posted: 22 Oct 2018 04:54 AM PDT

    Hi,

    I am looking for a way of persisting some data between installs. On iOS I simply needed to store the data to the Keychain. On Android it doesn't seem that simple.

    Already tried

    I have tried enabling allowBackup and fullBackupContent and use SharedPreferences. The data still wasn't there after re-installing.

    Possible solutions

    As alternatives, I see:

    • Storing the data in a file in the external storage
    • Storing the data to Firebase and associate it with Secure.ANDROID_ID

    Are there other better solutions? Thanks for your time!

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

    Unit tests in Android projects

    Posted: 22 Oct 2018 10:45 AM PDT

    Open Source Bulk SMS Sender Android App - Coding Infinite

    Posted: 22 Oct 2018 02:17 PM PDT

    Authentication with AWS Amplify and Android: Integrating TOTP

    Posted: 22 Oct 2018 02:07 PM PDT

    App design for a web scraper app like Terrarium.

    Posted: 22 Oct 2018 01:08 PM PDT

    Hey guys,

    For those of you who have used Terrarium and similar apps on the Fire TV, I was thinking about the system design of them.

    Here is the scenario I am thinking about.

    Once the User selects a Movie > a new activity is launched and a list of possible movie sources are provided.

    So, does the app begin scraping after the user selects a particular movie? Or is there already a server that has all the movie link sources saved already with a scraper that's running remotely?

    What would be the most efficient approach, considering time and money?

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

    Crowdsourced translation tool that doesn’t cost a fortune?

    Posted: 22 Oct 2018 08:20 AM PDT

    Hi!

    I have a group of people who are eager to help me with translating my app to their languages. I'm thinking of an optimal way to manage this.

    Most of those people are from reddit, so I guess just giving out raw XMLs would still be acceptable, but I think my early adopters deserve better.

    So, the question: Which web-based tool is good for this case? Ideally free.
    Which one did you use, what did you like/dislike about it?

    Requirements:

    • Ability to specify priority: this bunch of strings is essential, that one is nice to have etc.
    • Ability to add prominently visible comments for translators, e.g. saying which tone a specific string needs to bear, or what wording to avoid.

    I don't really need screenshots, thesaurus etc.

    The one I'm hearing about a lot is Crowdin. It's a powerhouse, maybe even more than I need. Maybe there's a similar tool that might have fewer features but is free?

    The other one I found is lokalise.co — it offers a free tier for up to 500 strings. But I've never heard of it before.

    Unfortunately there's no sandbox project to play with in either of those — one has to request a demo with a manager.

    P.S. I'm OK with paying for Crowdin (I've just checked the pricing, it's $12/mo, not $60/mo as I originally thought) I'm just wondering if there are free alternatives I'm not aware of, which are still fine for my basic needs.

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

    Need tips on how to handle a particular conditional navigation case using the Navigation Component

    Posted: 22 Oct 2018 09:27 AM PDT

    EDIT: Solved, see here for answer.

    First of all, sorry for the long post. I'm trying to explain my case as detailed as possible so any of you that decides to help me have as much information as you need.

    My app allows the user to have virtual copies of ID cards for different organizations. Each organization provides an API that allows my app to pass credentials (specific to each organization) and if they are valid the app will download his virtual ID card and protect it with a PIN.

    This Id Card addition process is required when you open the app the first time and has no Id cards (kind of like a Login process), meaning if you cancel it you close the app. If instead you have at least one card then you just go to a list of all your cards (right now with just one card) and you can press a Plus button to add more cards using the same process.

    So my nav_graph is organized this way:

    (starting)IdCardList ==> IdCardDetail
    |
    |x
    ===> OrganizationList ==> OrganizationCredentials ==> PinCreation

    The x is a conditional navigation checked upon entering IdCardList. When the user has no ID Cards I call findNavController().navigate(R.id.x) from IdCardList and if he has at least one card he just stays on IdCardList but can always press a "plus" button that will also call findNavController().navigate(R.id.x).

    My first approach was when calling findNavController().navigate(R.id.x) check if the user has at least one card, if not I'll pass a navOptions saying to pop up to IdCardList inclusive, meaning "remove IdCardList from the stack and go to OrganizationList". That'll make pressing back on OrganizationList when it's the first login exit the app as expected.

    When the user finishes the login process at PinCreation I can't just pop up to IdCardList as it's not on the stack. I have to actually pop up to OrganizationList and then navigate to IdCardList (basically I call navigate(R.id.IdCardList) passing nav options saying to pop up to OrganizationList inclusive).

    The issue is that when adding a second card I won't remove IdCardList from the back stack before going to OrganizationList because in this case the user CAN press back to go back to his cards. In this case when the user finishes his second ID card vinculation at PinCreation, if I pop up to OrganizationList and navigate to IdCardList explicitly then IdCardList will be on the stack twice (I tested). Instead I need to pop up inclusive to IdCardList and then navigate to it again (or I can just pop up to OrganizationList inclusive).

    This "conditional returning" seems wrong to me as in both cases I want the same thing (go to IdCardList) but PinCreation needs to know how I reached it to accomplish that.

    Is there some other approach I'm failing to see here? All the variations I could think of have the same issue, PinCreating needs to know how it was reached to do this conditional popping up.

    Thanks for your help and sorry for the lengthy post.

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

    [META] Can we move google play policy violations to a sticky thread rather than them taking up space in the feed?

    Posted: 22 Oct 2018 07:42 AM PDT

    Every week it's the same thing and to be honest most of the time none of us can do much to help. At least move them out like the weekly help thread.

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

    Where is the XML file for shared preferences stored in Android Studio?

    Posted: 22 Oct 2018 04:07 PM PDT

    I hit New -> Activity -> Settings Activity which created a default settings activity for my application. I then later deleted this activity and the associated xml files that were generated along with it, but it still stored a Shared Preferences xml file somewhere, and I can't find it.

    I know that the XML file that it creates is still somewhere because when I call getDefaultSharedPreferences(this) I can see the original preferences that were created.

    I want to find this file so I can delete it. Thank you.

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

    Is it compulsory to add privacy policy link inside app? If yes how are you guys doing it? Any sample app? I got violation in 2-3 apps (In desc)

    Posted: 22 Oct 2018 12:18 PM PDT

    Google Play requires developers to provide a valid privacy policy when the app requests or handles sensitive user or device information. We've identified that your app collects and transmits the Android advertising identifier, which is subject to a privacy policy requirement. If your app collects the Android advertising ID, you must provide a valid privacy policy in both the designated field in the Play Console, and from within the app.

    How to fix this?

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

    Facebook Rebound Library for Recyclerview (Unofficial)

    Posted: 22 Oct 2018 01:50 AM PDT

    Best websites to get free phone frame/mock-ups?

    Posted: 21 Oct 2018 09:25 PM PDT

    Hey, I'm looking for sites that provide phone frame mock-ups that I can apply my screenshots on. Is there any sites that you guys recommend I should check out?

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

    Weekly Questions Thread - October 22, 2018

    Posted: 22 Oct 2018 03:57 AM PDT

    This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, 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]

    ARCore and ARKit Feature Sets Compared to Hamsters and DaVinci: How they see the world | Vieyra Software

    Posted: 22 Oct 2018 01:56 AM PDT

    Best place to find Android Developers looking for work

    Posted: 21 Oct 2018 10:05 PM PDT

    Hi

    I'm not sure if this is the best place but I'm looking or a Junior developer to help write an Android App developer with me.

    Where ... or is this the best group to seek expressions of interest in this type of project?

    I am also located in Australia, but not sure what region this group is.

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

    Lint and RedundantCast

    Posted: 22 Oct 2018 03:50 AM PDT

    I would like to list all "RedundantCast" warnings in the gradle build process.

    I added this in the lint.xml:

    <?xml version="1.0" encoding="UTF-8"?>
    <lint>
    <issue id="RedundantCast" severity="fatal" />
    </lint>

    But I get the following warning:
    ... Error: Unknown issue id "RedundantCast", found in /Users/.../lint.xml [LintError]

    When I have a RedundantCast in the code AndroidStudio colours the cast grey. This can also be disabled in the following way:
    @SuppressWarnings("RedundantCast")

    I do not understand how is it possible, that the lint check can be suppressed in the code but not used as a lint check during the build process.

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

    Need suggestions regarding image loading app

    Posted: 22 Oct 2018 03:20 AM PDT

    I've imgur installed on my Android device which crashes a lot. Currently in making a similar app for my client and I'm facing and I'm facing problem. Any suggestions, please help.

    Log cat shows memory error.

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

    Admob Privacy Violation Help

    Posted: 22 Oct 2018 02:34 AM PDT

    Like many others, I got hit by the privacy policy and my apps got taken down. As a result, Admob also disabled some of my ads.

    I've submitted an appeal last week however, I havn't recieved any response even though my app got reinstated on the playstore only hours after it got taken down.

    Has anyone successfully got their ads enabled from Admob and if so, how long did it take? Thinking of sending another appeal.

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel