Weekly "who's hiring" thread! Android Dev |
- Weekly "who's hiring" thread!
- Weekly Questions Thread - August 12, 2019
- Introducing Coil: Kotlin-first image loading on Android
- Wrote an article on creating views that are rounded, bordered, and have rippled backgrounds.
- Now in Android: Episode #2
- Primaries Matter (a discussion of constructors)
- '60 Days Of Flutter: Building a Messenger from Scratch' - Part 1 : Creating the App
- The Perils of Constructors
- MySQL booking system
- Can a foreground-service have a notification that's hidden from the status bar?
- MVVM guides?
- How do I disable non-personalized apps from displaying in AdMob?
- Does anyone knows how to modify thermal config files of snapdragon Android phones?
- Is anyone interested to collaborate with me on my latest open-source project Mockinizer?
- In-App Updates for Android Made Easier
- Android Things Setup Utility not Working
- Is there a similar project to this in Java?
- The developer-friendly guide to 'apps-ads.txt' (Admob's recent e-mail to app developers)
- Of those of you that had your Facebook Audience Network ad units disabled due to poor quality, have any of you found a solution?
- Outdated Android libraries to avoid in 2019
- Have you seen any of your apps display your "New Google Play rating" in the store (NOT the dev console)
- Admob and Adsense account don't work properly.
- How to recover code from an obfuscated code from an APK file
- How to insert multiple image in PDF from Android gallery? I used iText library for this can anyone know how to do it.
- How to read and understand the android bug report?
- Which ad network is best for game developer to earn good money.
Posted: 12 Aug 2019 05:45 AM PDT Looking for Android developers? Heard about a cool job posting? Let people know! Here is a suggested posting template:
Feel free to include any other information about the job. [link] [comments] | |||||||||
Weekly Questions Thread - August 12, 2019 Posted: 12 Aug 2019 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, our Discord, or Stack Overflow before posting). Examples of questions:
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! [link] [comments] | |||||||||
Introducing Coil: Kotlin-first image loading on Android Posted: 11 Aug 2019 09:23 PM PDT
| |||||||||
Wrote an article on creating views that are rounded, bordered, and have rippled backgrounds. Posted: 12 Aug 2019 04:02 PM PDT
| |||||||||
Posted: 12 Aug 2019 03:07 PM PDT
| |||||||||
Primaries Matter (a discussion of constructors) Posted: 12 Aug 2019 11:16 AM PDT
| |||||||||
'60 Days Of Flutter: Building a Messenger from Scratch' - Part 1 : Creating the App Posted: 12 Aug 2019 11:50 AM PDT
| |||||||||
Posted: 12 Aug 2019 01:04 PM PDT | |||||||||
Posted: 12 Aug 2019 03:42 PM PDT Whats the best way/most up to date way to read, update and change values from a mysql database in android. Thanks [link] [comments] | |||||||||
Can a foreground-service have a notification that's hidden from the status bar? Posted: 12 Aug 2019 03:32 PM PDT I've found this call recording app that claims to work using root even on Android P and above: https://play.google.com/store/apps/details?id=org.skvalex.cr Not really tested it yet, but I've noticed it has a setting that seem to let its notification stay, yet without a status bar icon: https://i.imgur.com/yQVf5rp.png It worked even on ANdroid Q (beta 6) on Pixel 2. Is it ok according to the rules on the Play Store? What did the app do in order to work this way? [link] [comments] | |||||||||
Posted: 12 Aug 2019 02:39 PM PDT I started working on Android a long time ago but I've been stuck using the same old shitty code style (Activity/Fragment with all view logic in it, orientation change disabled, no reactive code). While I did start using retrofit/butterknife etc a long time ago on this sub's recommendation, I feel like I dont know a lot of the things mentioned here. I'd like to change that starting with learning about MVVM and some good basic Java practices. So a tutorial that shows MVVM, Live Data (I already know Room) etc. along with good Java practices. Any help would be greatly appreciated. [link] [comments] | |||||||||
How do I disable non-personalized apps from displaying in AdMob? Posted: 12 Aug 2019 12:57 PM PDT I've been looking all over AdMob but there doesn't seem to be a option to completely disable personalized ads via their website. [link] [comments] | |||||||||
Does anyone knows how to modify thermal config files of snapdragon Android phones? Posted: 12 Aug 2019 11:51 AM PDT I've a phone with sd660 and i want to modify the thermal parameters, can anyone help me. [link] [comments] | |||||||||
Is anyone interested to collaborate with me on my latest open-source project Mockinizer? Posted: 12 Aug 2019 11:47 AM PDT
| |||||||||
In-App Updates for Android Made Easier Posted: 12 Aug 2019 05:04 AM PDT
| |||||||||
Android Things Setup Utility not Working Posted: 12 Aug 2019 11:01 AM PDT I have a android of tings development kit with the PICO NX7d microcontroller and such, but everytime I use the setup utility tool to try to boot up my device it always says that the setup utility tool could not find a device, even though I have the usbc port on the PICO connected to my computer. Can anyone help? [link] [comments] | |||||||||
Is there a similar project to this in Java? Posted: 12 Aug 2019 10:13 AM PDT Hey I am trying to develop an app that requires something similar to https://github.com/antialiasis/favorite-picker/blob/master/picker.js but in Java. Does anyone now of any recreations of this I could use or any guidance as to how I could recreate this myself? Thank you [link] [comments] | |||||||||
The developer-friendly guide to 'apps-ads.txt' (Admob's recent e-mail to app developers) Posted: 11 Aug 2019 06:41 PM PDT Admob's e-mail to app developers Developers with apps on Google Play have recently received an e-mail from Admob asking them to add an "apps-ads.txt" file to their website. For example, if they have listed their website on Google Developer Console - Store listing as: https://www.subdomain.mydomain.com/abcd/efgh Then Admob asks them to place a "apps-ads.txt" file on their website, so it is accessible as: https://www.subdomain.mydomain.com/apps-ads.txt If your website is: Then the "apps-ads.txt" file should be publicly visible at: https://www.mydomain.com/apps-ads.txt
How to create 'apps-ads.txt' Admob Developer Console shows you exactly what to put in the 'apps-ads.txt' file:
Click on "How to set up apps-ads.txt" - this shows a dialog box:
Create a file "apps-ads.txt" locally on your computer, and copy the text into the file:
Then upload the "apps-ads.txt" file to your website (usually in the public_html folder or something like that) - then test to make sure the file contents are visible in your browser when you visit: https://www.subdomain.mydomain.com/apps-ads.txt or https://www.mydomain.com/apps-ads.txt
Advertisers other than Google Admob For all the apps that are associated with this website (i.e. apps whose Google Developer Console - Store listing page points to any webpage on this website domain), add all the advertiser/ad-provider info to this "apps-ads.txt" file on that website. There will only be one file, but this one file can have more than one entry. So if you are only using Google Admob, you would only have one line there:
However, if you are also using MoPub on any of your apps (associated with this website), then you should include lines for those advertisers as well - here are instructions for MoPub:
You would find your MoPub "pub id" using the instructions here:
Basically you should scour all your apps (that point to this website domain), and for each advertiser who may show ads in your app, add the line to the one "apps-ads.txt" file on that website. If your advertiser doesn't have that information (like MoPub and Admob provide above), then just skip adding a line for that advertiser - if they later provide that information, you can add it to the file.
Do I need to have a domain ? It is not necessary to have a top-level domain like "mydomain.com". You can have a secondary or sub-domain like "www.subdomain.mydomain.com" assigned to you. So if you listed a webpage on Google Developer Console: https://www.subdomain.mydomain.com/abcd/efgh Then you WILL need to have that sub-domain assigned to you (for your sole use) - since you will need to put a file there (and there can only be one such file on that sub-domain).
Any free webhosting solutions for hosting apps-ads.txt file ? It was quite easy to get free sub-domains on some free webhosting platforms some time ago. That may still be available for free these days (since it doesn't cost the company anything to handle the sub-domains - those are handled locally by those companies and don't need to go through a top-level domain registrar). NOTE: if anyone knows any websites that offer free sub-domains, let me know in comments - and I will add that information here.
Using free Wordpress blogging account to host "apps-ads.txt" file ? Can someone clarify if a free wordpress account can be used to host "apps-ads.txt" file ? That is, does a free wordpress account give you a xxxx.wordpress.com domain ? After that, does the free account give file manager access to the user, so they can place a "apps-ads.txt" file at the root of the xxxx.wordpress.com website ?
Other websites This company is offering a free service for hosting "apps-ads.txt" files: More info here:
What is "apps-ads.txt" ? Those already familiar with advertising on websites may be familiar with "ads.txt" - "apps-ads.txt" is the same thing, except for advertising on apps. NOTE: the "ads" in these file names does not refer to 'advertising', but to "Authorized Digital Sellers":
Reference:
When an advertiser is shown information about the apps they can advertise on (by ad-middlemen), the advertiser is told by the ad-middlemen that "oh this particular app is owned by Nike". The advertiser then may think they are willing to pay more if the app actually is a Nike related app. This is called "counterfeit inventory" or fraudulent inventory - and seems to have been a prevalent problem in the advertising industry: This allows middlemen to entice advertisers to advertise in places they normally would not be interested in. Fraudulent ad-middlemen can thus extract more money from advertisers than normal.
How advertisers can use 'apps-ads.txt' ? Advertisers and companies like Google created "apps-ads.txt" (similar to "ads.txt" for website advertising). It seems "apps-ads.txt" took some time in gaining traction, and only recently has made progress on Google Play, but still seems to be behind on Apple's App Store, and other app stores. When an advertiser is told by a middleman that "we have this app which can show your ads", the advertiser can check which website is associated with that app (because Google Play listing has website info for each app). The advertiser can then check the website's reputation (presumably advertisers have these lists), and can calculate how much it is willing to pay to advertise on that app (that is associated with Nike). HOWEVER, before the advertiser does that, they will first go to this well known nike.com website, and retreive the "apps-ads.txt" file (there will be only one file there for all of nike.com). The advertiser will check "apps-ads.txt" for all the resellers of ad space on that app - so for example there may be lines there like:
The advertiser will then double check this with the information the ad-middleman had provided them about the app (that this app with package name com.abcd.efgh and this publisher id is related to nike.com). The advertiser will check the "apps-ads.txt" file from nike.com (since there is only one nike.com and since websites are generally protected, the advertiser will tend to trust the contents of this "apps-ads.txt" as having come from nike the company). If the advertiser finds that "com.abcd.efgh" with the same publisher id IS listed somewhere in that "apps-ads.txt" file, the advertiser will know that the app the ad-middleman was touting to them, is a known app, and IS associated with Nike. The advertiser will then feel secure knowing they can bid much higher to advertise on this particular app.
How does the apps-ads.txt file help app developers ? While the above makes sense for advertisers (gives them a way to confirm what the ad-middleman is saying is correct about the app's association with Nike). What is less clear is how this benefits app developers - since all this is extra work for them (ensure a website is working, and the apps-ads.txt file is kept updated with all the advertisers they are using). It could be argued that if advertisers can confirm what ad-middlemen tell them, then the advertiser can more confidently pay top dollar for advertising on an app that is associated with Nike. What is less clear is how this helps an app created by Mr. Tom Dick Harry (most of the developers here). This may actually be true - the benefits of the "apps-ads.txt" maybe more for an app actually associated with Nike, than for apps created by small developers. However, for all we know, advertisers may already have a reputation number calculated even for apps by Mr. Tom Dick Harry - if so, even small developers may benefit from having "apps-ads.txt" file available for advertisers. If you don't have an "apps-ads.txt" file that can be discovered by advertisers, then those advertisers may lump your app with the thousands of other apps out there. Even if your company ABCD becomes reputable, advertisers will not be able to confirm it without an "apps-ads.txt" visible on the ABCD.COM website (that they know belongs to ABCD the company).
Does 'apps-ads.txt' protect developers from cloned apps ? NOTE: please let me know if the following section has mistakes. From my understanding, a cloned version of your app that is displaying objectionable content, and still using your Admob ID, will pollute your app's reputation. Now it is possible Google is able to detect if the app was downloaded from a third-party app store, or if the signature doesn't match the Google Play version of the app (with the same packagename). if so, in that case Google could telegraph to advertisers that the app is not kosher. However, if that is not being done, I don't see how "apps-ads.txt" could protect app developers from cloned versions of their apps, and from the damage that cloned versions can cause to your app's reputation. That is, a cloned version of your app could use the same package name as you, and if they use the same Admob ID as you, then the advertiser would think it is your app (even though the cloned app may have objectionable content). The advertiser will think this app is your app, and will show ads on it. However if some customer complains that "how come McDonald's is advertising on a racist app ?", then the advertiser may downgrade your app and your website domain in it's reputation lists (and either not want to advertise anymore or not be willing to pay as much for advertising on your app). If the cloned app uses the clone developer's Admob account (so they get the ad revenue), THEN that should have a different Admob publisher id. If the cloned app is using the same package name, then the advertiser will look up your website from Google Play listings, and retrieve the "apps-ads.txt" file from there. However it will NOT find an entry for the clone developer's Admob publisher id. Thus for the case of cloned apps using Admob IDs that are different from yours - in those cases the advertisers will know that this app is not yours. So it could reduce the ad revenue such a clone developer could generate. You could argue this would eventually reduce the incentive for clone developers to clone apps from Google Play store, and publish them on Chinese app stores (using different Admob IDs). However, if a clone developer changes the package name, and lists the cloned app on Google Play, then they will have the luxury of specifying a different website than yours, and could place an "apps-ads.txt" file on their website, and could generate revenue, BUT using their own identity and reputation. If they list the cloned app with different package name on a Chinese app store, then an advertiser may not find the website associated with that package name (esp. if advertisers are not scanning the Chinese app stores for website info), and that would lower the reputation of those apps in advertiser view.
Conclusion So it may help (and not hurt) the app developer to actually have a visible "apps-ads.txt" file on their website (the website that is listed for their apps). If you have more than one website (using one website for one app, and another website for another app), then you should have an "apps-ads.txt" file on each of those websites.
References: The best explanation of app-ads.txt: A simplistic explanation:
[link] [comments] | |||||||||
Posted: 12 Aug 2019 08:53 AM PDT Several months ago I had my ad units disabled due to poor quality and I was hoping to go back to using FAN mainly due to poor native fill rate on other ad networks but I have no idea what I can do to prevent having my ad units disabled again or even getting banned from FAN. Anyone here have any luck with that? [link] [comments] | |||||||||
Outdated Android libraries to avoid in 2019 Posted: 11 Aug 2019 10:52 PM PDT | |||||||||
Posted: 12 Aug 2019 06:14 AM PDT Have you seen any of your apps display your "New Google Play rating" in the store (NOT the dev console) I contacted Google Play support and quickly received a reply:
The phrasing of the reply leads me to believe this will be a phased rollout. I'm curious to see if anyone has been a part of a theoretical phased rollout.
Instructions:
Note: Vote Count in this post will be updated real time with new data. Make Your Own Poll Here redditpoll.com. See live vote count here [link] [comments] | |||||||||
Admob and Adsense account don't work properly. Posted: 12 Aug 2019 04:59 AM PDT First problem: When I created my Admob account, an Adsense account was automatically created. But my Adsense account displays: Were working on setting you up. This usually takes less than a day, but in some cases it can take a bit longer. We'll notify you when everything's ready. Then start earning money by placing ads. I have read on the internet that this text appears when you submitted a website and wait for Adsense to get it approved. This doesn't make any sense in my situation because my Adsense account was created automatically when I created my Admob, so I don't have a website. I didn't even send a website to Adsense to begin with. This text has been displayed for a few months now. I've tried to contact Google but never got an answer. Second problem: On the homepage of my Admob account, a text is displaying that says: - Thank you for your information. It may take up to 24 hours to verify your information. After verification, we'll enable your ad serving. This text also has been there for a few months now. So my information is still not verified. And I don't know why. Is it because my Adsense account isn't verified yet? Well, I haven't send in a website so how can my Adsense account be approved to begin with? Is a website needed for Admob to work? If you don't need a website, then how can your Adsense account be verified? Or is a verified Adsense account not needed? But then how do I get my Admob information verified? - Honestly this all just doesn't make any sense to me and I hope that someone could help me. Because Google won't. [link] [comments] | |||||||||
How to recover code from an obfuscated code from an APK file Posted: 12 Aug 2019 10:43 AM PDT I have a game published on the Google Playstore and I would like to recover the code from the APK file, the only code backups that I had were on my Laptop that was stolen. The problem is that I obfuscated code is there a way to deobfuscated and recover the code? [link] [comments] | |||||||||
Posted: 12 Aug 2019 04:34 AM PDT | |||||||||
How to read and understand the android bug report? Posted: 12 Aug 2019 04:17 AM PDT My phone Lenovo K8 Note is switching off suddenly and randomly when not connected to the charger. So I took a bug report and find it confusing. How do I find a crash event in the report? and What is this decimal number in the square bracket. [ 41.449258] (0)[260:wdtk-0][WDK]: kick Ex WDT,RT[41449250405] [ 42.339221] -(0)[282:kworker/0:2]connection_work: 7 callbacks suppressed [ 43.539217] -(0)[282:kworker/0:2]connection_work: 7 callbacks suppressed [ 44.164734] (0)[295:fuelgauged]MTK_FG: wake up function 1 [ 44.164950] (0)[295:fuelgauged]MTK_FG: FG_DAEMON_CMD_GET_INIT_FLAG, flag 1 [ 44.165034] (0)[295:fuelgauged]MTK_FG: [fg_res] FG_DAEMON_CMD_GET_CHARGE_TRACKING_TIME, charge_tracking_time 60 [link] [comments] | |||||||||
Which ad network is best for game developer to earn good money. Posted: 12 Aug 2019 12:06 AM PDT Finally, i have developed my first game using unity. Now i want to show ads on game. But, I confused which ad network is best.. I have noticed that Many other game developer is not using Google admob.. Which ad network should i use.. Admob, Twitter ads , or Facebook ads or Unity ads. Also Which has easiest and fastest payout.. I have already using admob in my other applications.. [link] [comments] |
You are subscribed to email updates from Developing Android Apps. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment