• Breaking News

    [Android][timeline][#f39c12]

    Monday, November 26, 2018

    Weekly "who's hiring" thread! Android Dev

    Weekly "who's hiring" thread! Android Dev


    Weekly "who's hiring" thread!

    Posted: 26 Nov 2018 04:45 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 26, 2018

    Posted: 26 Nov 2018 02:57 AM PST

    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]

    #FUN found this on a subreddit, I think it belongs here

    Posted: 26 Nov 2018 09:34 AM PST

    Gradle 5.0 released

    Posted: 26 Nov 2018 05:14 AM PST

    Android Studio 3.3 RC 1 released

    Posted: 26 Nov 2018 12:15 PM PST

    Invitation to participate in study on framework decomposition (Android Notifications)

    Posted: 26 Nov 2018 12:43 PM PST

    I am a PhD student at McGill University (Montreal, Canada) and I am running a study on "concernification of frameworks", which in this study mainly deals with decomposing a framework's API into user-perceived features.

    This is intended to help users of frameworks understand better the features and their API that they provide.

    To validate our work on an algorithm that determines features and their corresponding parts of the API, we are using the Android Notifications API.

    We are looking for app developers who have used the notifications API in their app(s), and feel confident in using and are knowledgable about the API, to get feedback on those features and their corresponding parts of the API.

    To participate, go to the following URL and following the instructions: https://concernification.mattsch.com/android-notifications-dev

    Please note that participation is completely anonymous.

    Thanks!

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

    Android Studio 3.4 Canary 5 available

    Posted: 26 Nov 2018 02:03 PM PST

    These hugely popular android apps have been committing ad fraud behind user's backs (BuzzFeedNews post). Cheetah mobile targetted

    Posted: 26 Nov 2018 09:29 AM PST

    Android Studio 3.3 Release Candidate 1 available

    Posted: 26 Nov 2018 02:03 PM PST

    Need to find dev for small project - help?

    Posted: 26 Nov 2018 12:28 PM PST

    I need to create a mobile app for ios and android which basically identifies about 100 images by photo. I would need access to the back-end once done so I can update what happens when a particular item is photographed, or to potentially add new items. I have no idea where to start to look for a decent dev at reasonable cost. Any help appreciated.

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

    Advanced android app architecture book is 50% off today, is it good?

    Posted: 26 Nov 2018 06:52 AM PST

    Recent Google Play account terminations by associated account

    Posted: 26 Nov 2018 12:40 AM PST

    Recently I noticed a huge spike of account terminations with generic response from google, usual excuse: violations of policy by this or also account.

    I myself have lost 3 accounts within 2 months, accounts were completely unrelated, no similarities, different apps, different locations, everything different, they were on 3 different companies no connection whatsoever, the only tie is i was the owner in the background, but i never came even close to these accounts as they are run by my partners and they are the only ones who know that. I never done anything to compromise them and because they were banned randomly, no time patterns or anything similar the only thing for me to think is that they were randomly terminated by a bot.

    The accounts were in good standing, no previous violations or suspensions, applications were very good, and suddenly they are gone. I managed to get in contact with Google play representative, he said he doesn't have permission to tell me more other than what's written in mail. No response after that.

    Following this subreddit i noticed that i am not the only one. There are couple of threads from this week. So i wanted to ask

    What the f is going on? Why is Google randomly banning accounts? Does this has something to do with "do no evil" being removed from their policy, so they are going full retard mode? Anyone has any information?

    3 companies with 10+ employees ruined by a bot.

    And to prevent white knights, no, apps were 100% policy compliant, those companies are not some dodgy indian devs who make malicious spam apps, there were no other accounts, the apps were made for long term with actual purpose other than serving ads. Apps were on average 500,000+ downloads with average rating 4.1 or higher

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

    [Podcast] Performance and Instrumentation at Facebook

    Posted: 26 Nov 2018 03:29 AM PST

    Supreme Court seems open to Apple App Store antitrust suit

    Posted: 26 Nov 2018 02:41 PM PST

    Migrating packages to AndroidX

    Posted: 26 Nov 2018 02:40 PM PST

    I have been moving dependencies over to AndroidX versions this weekend.

    https://developer.android.com/jetpack/androidx/migrate

    The Jetpack developer page has a really helpful mapping from the old to the new, to help work out what things have changed to!

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

    Is there a way to generate automated Code Coverage reports with Android Studio?

    Posted: 26 Nov 2018 09:38 AM PST

    I just discovered that Android Studio has a built in system for running tests and producing a report about the code coverage of a project - is there anyway to generate a text file with this report information in an automated way, or would I have to resort to another plugin to do this?

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

    I made a library that basically lets you create your Activity with constructor arguments

    Posted: 26 Nov 2018 12:33 PM PST

    As long as you're using a View/Presenter type architecture.

    So you can start an activity with a presenter like this:

     MyPresenter(myObject).start(context, MyActivity::class.java) 

    You create the Presenter with arguments, and the library automatically binds it with the View from the Activity.

    State of the Presenter is maintained automatically, but your view is recreated on orientation change by calling onReady(). So make sure your instance variables always match the current state of your view. I'm not sure if this is a good thing or not, because I don't support orientation changes in any of my projects.

    A stub of a presenter would look like this. You can pass whatever objects you want your activity to use into the presenters constructor

    class MyPresenter(var myThing: SomeObject) : ShankPresenter<TestActivity, MyContract.View>(), MyContract.Presenter { private lateinit var view: TestContract.View override fun onReady() { view = getView()!! view.methodFromContract(myThing) } } 

    A stub of an Activity would look like this

    class MyActivity : ConstructableActivity<MyContract.View>() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) //Note the use of setView instead of setContentView //Treat it like the same thing, it is calling it beind the scenes setView(TestView(this)) } } 

    I've made a tentative release, but I'd like some thoughts on this before I put too much effort into it.

    https://github.com/lbenedetto/Shank

    Its called Shank because it serves a similar purpose to Dagger, but its not as good or versatile. But it works for me.

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

    Best way to create a back end for an application?

    Posted: 26 Nov 2018 11:34 AM PST

    Which technologies should I become familiar with to create an efficient and secure RESTful backend for an android application?

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

    "Dear user, Due to android security reasons you cannot record internal audio. For proper audio recording we recommend to use a quiet place." is that true? none of the screen cast recorders are able to get that audio? or what about when making a phone call isn't that internal? I want to record what..

    Posted: 26 Nov 2018 11:20 AM PST

    1. so is that true? - can not record audio coming from wired headphones?

    as I want to record what I am hearing via my headphones

    essentially so I could use Shazam or alike on it later - to ID the song 2. is there a way to record such audio?

    would be even a lot better if there was a Shazam that would use audio that is in the headphones - as say I am on a bus ... 3. maybe there is one? software that would ID the song that is playing via wired headphones

    thank you ?

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

    [ Admob ] - Save your ad unit id's other wise you can loose your account !!!

    Posted: 25 Nov 2018 10:18 PM PST

    [ Admob ] - Save your ad unit id's other wise you can loose your account !!!

    As the title ,

    TL;DR, people are stealing ad unit ids and generating fake clicks against who ever they target . in result google banning the account.

    i just noticed today i got more then average earnings and it looks so odd to me , usually i don't check my account because of less interest , but some of my old apps are still alive with out any policy violation for almost 5 years and i do update those old apps when ever Google changes policy , but today was something else !

    - Most of my traffic i get is from Middle East targeting very specific niche.

    - Never seen more then 2$ a day for a long time because of no active development.

    But today out of the blue:

    - i got 71 invalid clicks on an app which i thought was dead and i was no longer maintaining it and about to unpublish it.

    - triggering the earnings to almost 8$ which i have never seen :D for a long time.

    - and those 71 clicks came with no more then 700 impressions :O

    Where they came from :

    - China = 37 clicks with 112 impressions

    - Hong Kong = 16 clicks with 33 Impressions

    and some are from Pakistan and India which i guess admob system will sort out it self at the end of the month.

    https://i.redd.it/mk8iau6ktl021.png

    What i did:

    - for saving my hard earned account i removed every ad unit id from all of my apps so if some one using it in there app

    and auto-magically clicking on them are no longer able to click.

    - Then i found this, which really makes me feel relaxed :D https://support.google.com/adsense/contact/invalid_clicks_contact

    response after submitting :

    Thank you for your submission. Rest assured that we will review your comments and closely monitor your account activity. Keep in mind, however, that we may not follow up with you later unless we find a significant issue with your account activity.

    If you have more questions about invalid clicks, please review our help entry on Invalid Clicks and Concerns.

    How easy is to steal an ad id to destroy someone : [Don't you do this to any one , karma is a bitch]

    - Every one save there ad unit ids into string resources or directly write them in the layout xml or in the code.

    - and nothing can hide the strings when your apk is generated even progaurd can't do nothing to strings.

    - they don't even have to look in to the code or decompile dex files , any apktool type tools will give them all of the strings [yes your every id every api url etc]

    What i did for one of my client, i am going to do with all of my apps:

    - One of my client app got a review by a user telling him straight that wait for the ban :D yes he threaten directly in the reviews section, client freaked out and asked my to do something, i decompiled the app - with and without progaurd , i noticed that strings are untouched , i was lucky that the app was using the client API , i asked his back-end guy to give me an end point with authentication enabled that's it now the app is getting ad unit ids and every thing secret which is supposed to be hidden; from the server and without auth: no one will ever get those configs even if they got end point .

    - i still have to look the other way to hide the strings or ad ids locally in the app if my app is not using any API .

    what i learned from all of this

    - check your stats daily even if you are not fully engaged in the account , as i didn't checked the account for more then a month. if i didn't checked the stats tonight , i am 100% sure the next day i was going to get an account ban email, which i am still sitting with fingers crossed [i hope it will be all good].

    the purpose of sharing all of this is to alert the Developers so they can secure there bread , and not get hit by something like this out of no where. people are not only stealing apps they are targeting accounts too.

    - * grammar - spellings.

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

    PSA: Picasso 2.71828 has replaced "with(context:Context)" with "get()" method which would not require a context

    Posted: 25 Nov 2018 09:02 PM PST

    Hence

    Picasso.with(this.context).load(image).into(this)

    becomes

    Picasso.get().load(image).into(this)

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

    Tablet Android incompatible with apps Firechat

    Posted: 26 Nov 2018 10:45 AM PST

    Today, I receive 2 tablet RCA Viking 10.1 inch model RCT6303W87DKF B. Order from Walmart store. I planned for using uniquely application Firechat communication because I am deaf and nonverbal. Some location don't have wifi or have wifi but required password. For me is embarassing because I am nonverbal. And complicate to know wifi password behind nonverbal. Solution, firechat application for communication. But I can not register and can not using Firechat application. The RCA tablet model RCT6303W87DKF B, running in Android 6.2 and with Bluetooth 4. In the website of application Firechat, they said this application is compatible with Android 4.2 and more recent. But I think application Firechat compatible for any Smartphone device only. Can not using in any tablet or any Android computer. It is true?

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

    Xi Wei – Simplest Dagger Example – Medium

    Posted: 26 Nov 2018 03:13 AM PST

    Recyclerview view with admob

    Posted: 26 Nov 2018 06:32 AM PST

    So in this https://pastebin.com/D7dk1Npr code here. I inflate 2 views, one is an article pulled from a local database. and the other is an admob view. I use modal 5. so basically every 5 articles I get one AD. the feed I populate my database from gives me 30articles in total each time (it seems to be constant) so 5 ads in each fragment. starting with an ad ending with an article.

    the problem here is that they share this view, so each time an AD should be placed it takes the place of an article and skips that article in total. (now I would not mind if this skipping happened in the end of the list. for example the last 5 articles on the list to be skipped I would not care) but it skips recent ones which in turn is bad.

    now I tried several methods. one of which you can see in the code above. where I change both my getitemview and dbfeed possitionaning dbFeed dbfeed = LemesosAdapter.get( getItemCount()%position ); but whatever I do , I get thrownoutofbounds cause I change the list size. or I just skip a lot of articles.

    how can this be fixed? I runned out of ideas.

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

    Creating an app with outside access, looking for ideas [help]

    Posted: 26 Nov 2018 08:06 AM PST

    Hey everyone!

    I am currently looking into building an android app that will run on dedicated devices. It will be an electron-like app that will only run my webapp inside of it.

    What I am looking for is a way to have outside access to this device/app itself. I want to ssh and make changes if necessary. I know there are terminal emulators on Android already, I've most recently used Termux, more just to test it out than anything else, but it still gave me the idea.

    So I can install my app, it will go fullscreen, pinned mode, so the customers won't be able to leave the app or anything similar, and if I need to do something, I want to have the functionality of ssh probably.

    I cannot seem to find anything that will help me achieve this. Is there even a way to do something like this?

    I have read about Android Device Management API, the DPC apps and all that, but they pretty much require you to get involved with Google in one way or another.

    I am sorry if this does not find this sub. If there is anything else I need to elaborate on, let me know! Thank you in advance for any answer and idea!

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

    Should I give up being an android developer because of a banned google play account?

    Posted: 26 Nov 2018 08:01 AM PST

    Last year I was banned because of my first app that I violated ad policies on. From reading this subreddit it doesn't seem like I'll ever be able to have another account and won't even be able to sign onto an account even if I worked for a company. My dream has always been to make successful apps that people actually use, but if I can never have a google play account again, is there a point to it? What are my options?

    submitted by /u/s-moneyy
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel