Android Dev - Weekly "who's hiring" thread! |
- Weekly "who's hiring" thread!
- Weekly Questions Thread - January 27, 2020
- Dynamic screens using server-driven UI in Android
- Working with byte streams in Kotlin
- Need help with Webview displaying pdf
- UI, is this too far from Material Design guidelines?
- How can I add more vector icons to the built in list in Android Studio?
- Simple location tracker?
- Delete current app on Play Store and upload with new Certificate?
- How can I display a large online pdf file?
- Auto read OTP android with SMS User Consent API
- Android WebView not working with CipherInputStream
- How-To In-App Subscriptions for an app?
- Android Biometric Authentication with Face Auth
- How to make drawers in Jetpack Compose
- Rewareded Ads not working
- Offline-first Android app with local database and online sync
- How come some annoying recruiters bypass Do Not Disturb and even the zeroed media volume and still harass me with ringing calls? Is this a privilege they pay for?
- How do push notifications interact with doze mode? Can you get regular pushes in doze mode? What about high priority pushes?
- Call Mainactivity's method
- Upcoming storage change confusion.
- Dagger2: Module depends on another Module
- Need ideas for UI design or app flow for the below scenario.
- AdMob: View All Countries' Match Rates
Posted: 27 Jan 2020 04:44 AM PST 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 - January 27, 2020 Posted: 27 Jan 2020 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:
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] | ||
Dynamic screens using server-driven UI in Android Posted: 26 Jan 2020 04:22 PM PST
| ||
Working with byte streams in Kotlin Posted: 27 Jan 2020 06:55 AM PST | ||
Need help with Webview displaying pdf Posted: 27 Jan 2020 07:44 AM PST Hey I am having a small problem with trying to display online pdf's using webview and google drive. Most of the times it works fine, but around once in every 3 times I try to go into the pdf file what happens is that the google drive will display no no preview available, and I will get this error in the console: I/chromium: [INFO:CONSOLE(92)] "Uncaught CustomError: Did not receive drive#about kind when fetching import map:undefined", source: https://www.gstatic.com/_/apps-viewer/_/js/k=apps-viewer.standalone.iw.nPmJUigVjYY.O/d=1/ct=zgms/rs=AC2dHMJ5W67xChDpdTOaSavkSV5aN0BM8g/m=main (92) I/chromium: [INFO:CONSOLE(92)] "Uncaught [object Object]", source: https://www.gstatic.com/_/apps-viewer/_/js/k=apps-viewer.standalone.iw.nPmJUigVjYY.O/d=1/ct=zgms/rs=AC2dHMJ5W67xChDpdTOaSavkSV5aN0BM8g/m=main (92) I tried looking up everywhere about this error, it seems other people have had it, but I couldn't find a fix. I would really appreciate any kind of help. [link] [comments] | ||
UI, is this too far from Material Design guidelines? Posted: 27 Jan 2020 07:35 AM PST I love playing around with UI to make it functional and beatuiful. I know that we should be following Material Design guidelines and that a certain amount of theming is totally legitimate, however, I'm worried my choice of font and general layout are slightly too far from a 'normal' Material Design experience. Screen 1: https://i.imgur.com/0V0L9Kg.jpg Video 1: https://i.imgur.com/w2j5VQ0.mp4 Any advice/critique is welcomed. [link] [comments] | ||
How can I add more vector icons to the built in list in Android Studio? Posted: 27 Jan 2020 07:30 AM PST Android Studio has a nice collection of vector icons to use as drawables without third party libs, but their variety is way too small. How can I supercharge this collection with other vector icons of the same format? There are a bunch around, under different licenses. Thanks [link] [comments] | ||
Posted: 27 Jan 2020 07:09 AM PST I need to write a very simple background app (service?) for Android. It basicly needs to every 60 seconds call www.mydomain.com/location.php?lon=x&lat=y&deviceid=deviceid where
That's it. How do i get around doing this as easily as possible? I have written python, java, c#, php and most other things but never apps. I figure this must have been solved many times before, but i can't seem to find anything that fits with my requirements. [link] [comments] | ||
Delete current app on Play Store and upload with new Certificate? Posted: 27 Jan 2020 06:51 AM PST So I made a huge mistake creating my Cert for verifying my App! I didnt want to put my whole name in there to show on Google Play. I wanted to have my username display but I forgot to write sth in the Company field. Can I simply delete my app from the Play Store and reupload it with a new Cert but same package name? [link] [comments] | ||
How can I display a large online pdf file? Posted: 27 Jan 2020 02:34 AM PST I am trying to save a lot of pdf files on a firebase database, and display them at will using webview. My problem is that some of them are large(100 pages or so), and when using google drive to display the file it says it is too large. Downloading the file is also no good since it could take a long time to download, and id rather it displays it page by page like google docs does. Any idea how I can do so? [link] [comments] | ||
Auto read OTP android with SMS User Consent API Posted: 26 Jan 2020 09:45 AM PST
| ||
Android WebView not working with CipherInputStream Posted: 27 Jan 2020 05:19 AM PST I am building an Application which will be showing downloaded Encrypted web-pages (web pages contains might contain webm files also). To achieve this goal I override shouldInpterceptRequest method which returns WebResourceResponse. The constructor of WebResourceResponse needs multiple argument one of which is InputStream. Every thing is working fine When I am using Decrypted files and getting FileInputStream and passing the same to WebResourceResponse But When I am passing CipherInputStream (While using encrypted file) its not working. // Custom Class so that CipherInputStream will not Closed // Custom Class so that fileInputStream will not Closed Its shows syntax error in js, html etc file. I thought it might be an error because of synchronisation (When using cipherInputStream that time before getting the whole js file WebView started calling other files) So I put some delay and its working. But then I faced one more issue (My web-Page have one scroll feature which when user scroll it fetch different quality of video) When user scroll shouldInpterceptRequest was called and I am passing the right video but its not displaying. When I tried to debug that I saw that WebView not calling available() and read() method over that stream. Thank You. [link] [comments] | ||
How-To In-App Subscriptions for an app? Posted: 27 Jan 2020 04:26 AM PST Hi! I have a free app with basic functionality, but I would like to add many more. In order to do so, I've planned to implement in-app purchase (subscription) so people wanting premium features and to support my development can do so as it'd take plenty time and research from my part. But I don't know where to start, I've already looked StackOverflow and other sites. My questions:
[link] [comments] | ||
Android Biometric Authentication with Face Auth Posted: 27 Jan 2020 03:50 AM PST Hi all, I recently noticed some banking apps adding in their change logs that the app can now be unlocked using your face through the biometric prompt API. This is a feature I am interested in testing and getting working in some past apps I have worked on, however, I cannot seem to find a list of phones that are supported. I currently use a OnePlus 6T which does support system face unlock but doesn't use your face for the biometric prompt. I believe it's something to do with google deeming their technology not secure enough or whatever. Does anyone know of a phone or a list of phones that support this new API feature as I will be looking to purchase one to test. I imagine it would be the latest pixel phones but I don't want to buy one to find out it doesn't work on it! Thanks in advance [link] [comments] | ||
How to make drawers in Jetpack Compose Posted: 27 Jan 2020 03:26 AM PST
| ||
Posted: 26 Jan 2020 11:03 PM PST today I wanted to publish my 2nd app, it included rewarded video ads for the first time, and so I changed the ad unit id from the test id to my real id, but now the ads won't load, does it take a while or is it because of the app isn't in the play store? I used the new API and followed this guide to include my ad in my app: https://developers.google.com/admob/android/rewarded-ads [link] [comments] | ||
Offline-first Android app with local database and online sync Posted: 26 Jan 2020 02:24 PM PST I'm developing an android app that needs to function well offline, but I also want to be able to backup and sync the database with the cloud for paid users. Almost all data in the app will be user-created. If I didn't care about backup and sync, then Room database would be all I needed. But I'm not sure how to arrange backup and sync across devices for Room/SQLite. I've been learning about Firestore as an alternative, but I have two concerns:
Has anyone used Firestore for an offline-first app? Is there a way to use both Room for free users who only want data on their device and Firestore for paid users who want backup and sync? What would be an appropriate alternative? I'm pretty much a newbie at android dev. I have one app released, but it's all offline (Room database), so this is my first time looking at online solutions. TIA. [link] [comments] | ||
Posted: 27 Jan 2020 05:20 AM PST | ||
Posted: 26 Jan 2020 07:03 PM PST | ||
Posted: 27 Jan 2020 03:19 AM PST Greetings, I'm trying to call a method for my mainactivity, to no avail. On the root of my project, I have 2 files, Bth.cs and MainActivity.cs For context, my knowledge in Xamarin is... Lackluster. I'm self taught, as the project was basically thrown on my lap. I learned C#, but Xamarin is brand new to me, I only got a few days of tutorials on my back. The project was created a few years ago and there is absolutely NO documentation and there are barely any comments (most of them don't help in any ways). Now onto the problem: In Mainactivity, I have a timer that runs in the background to check for user activity. If nothing happen within 5 minutes, shut down the app (necessary, as we are looking to facture the time spent, so we need relatively accurate readings) Bth is the code partaining to the barcode readers we use. I've managed to pinpoint The part of the code that run whenever I scan a barcode. I would like to be able to call the Method in MainActivity that reset the variables used by the timer. But I cannot find a way to reach MainActivity. If that helps, know that Bth task that runs the connection to the barcode reader is an async method. Bth itself isn't an activity. Here are the relevant signatures: Thank you for your help. [link] [comments] | ||
Upcoming storage change confusion. Posted: 26 Jan 2020 08:10 PM PST I simply don't understand what changes with Android 10 regarding storage. I have an app, based on Unity which saves the savegame like this: String filename = Application.persistentDataPath + "/" + filename; Stream fileStream = File.Open(filename, FileMode.Create, FileAccess.Write); BinaryFormatter formatter = new BinaryFormatter(); formatter.Serialize(fileStream, obj); fileStream.Close(); Will I have problem or not? If I have a problem: What should be the new approach? [link] [comments] | ||
Dagger2: Module depends on another Module Posted: 26 Jan 2020 11:31 PM PST
| ||
Need ideas for UI design or app flow for the below scenario. Posted: 26 Jan 2020 06:45 PM PST There is one admin which is in charge of handling 1+ users. The admin has to ask user specific questions to a user. There is nothing predetermined. The question can be something like "Did you have a healthy dinner today?" And the user would answer "Yes, I ate salad for dinner.". So, I need to make an app which can do this. I initially had built a chat system using SQL server hosted on AWS RDS but it was extremely laggy and didn't do the job perfectly. One option that I have in mind is maybe the admin decides what question to ask to which user and enters it in some textbox on admin's version of the app. The entered question is sent to some database on the server along with the intended user. Now, on the user's view of the app there is a textview which is is set based on the question entered by the admin for the user. It would maybe query a database and check whether the admin has asked a question. If not then display some default message. If the admin has asked a question then set text to that question and then allow the user to enter their answer. Thank you for your suggestions and time [link] [comments] | ||
AdMob: View All Countries' Match Rates Posted: 26 Jan 2020 10:57 AM PST When viewing a report in AdMob that shows match rate by country, it allows me to sort those countries between Impressions, Impression RPM and Estimated Earnings. According to what you choose, it displays the exact match rate for 5 top countries and compiles the rest into an average which is classified as "Other". Is it possible to view a report that displays all countries' exact match rates individually, like the first 5 are displayed in the example below? [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