New AndroidX library to replace SharedPreferences Android Dev |
- New AndroidX library to replace SharedPreferences
- A Native Developerâs Perspective on React Native vs. Flutter
- [ADS] California Consumer Privacy Act
- (Working in progress) Android Sample App using modular, clean, scalable, testable Architecture written in Kotlin following the best practices with Jetpack.
- LCD - A lifecycle aware Rxjava2 CompositeDisposable
- Location Tracking and History with only Storage Permissions
- I finished Udacity android basics nanodegree and Developing Android Apps nanodegree. Most of the things I learned got deprecated, replaced, improved. Need advice from this community
- How can a fragment can an instance of a ViewModel from it's containing activity when the viewmodel uses a custom factory
- I recently set up CircleCI and always receive this error when building. On Github and my machine (Win 10) the file looks fine. Any help would be appreciated
- How do I ping specific chips on the motherboard over adb?
- How to properly convert a List<Flow<T>> to Flow<List<T>>?
- This news story about Amazon reviews may be of interest to Google Play and it's search/review system
- For simple apps that interface with an API, what are your thoughts on using nativescript?
- Deep Link for an app I didn't developed?
- Ramifications of unlocking/locking bootloader?
- How to handle application background theme
- I have read Big Nerd Ranch's book and I am ready to develop my first application... But I have no ideas.
- Android APK Expansion
- Coneverting IOS app to Android using kotlin, whats the equivalent of AVKit?
- Security Question: Locally storing hashed password?
- Download android image every time
New AndroidX library to replace SharedPreferences Posted: 24 Nov 2019 04:17 AM PST | ||
A Native Developerâs Perspective on React Native vs. Flutter Posted: 24 Nov 2019 08:06 AM PST
| ||
[ADS] California Consumer Privacy Act Posted: 24 Nov 2019 07:44 AM PST I already respect GDPR, what is California Consumer Privacy Act about? What action do i need to take? This is the warning i get in AdMob: I am afraid to click "take action" before knowing anything about this. [link] [comments] | ||
Posted: 24 Nov 2019 03:07 AM PST
| ||
LCD - A lifecycle aware Rxjava2 CompositeDisposable Posted: 24 Nov 2019 09:08 AM PST | ||
Location Tracking and History with only Storage Permissions Posted: 23 Nov 2019 08:15 PM PST The recent camera security flaw identified by CheckMarx (https://www.checkmarx.com/blog/how-attackers-could-hijack-your-android-camera) is unsettling, but it'd be difficult to make this feasible to use widely. First off, it requires the offensive app to open a camera app (hard to hide), wait for the picture to be taken, then return back to whatever it was doing before hand, all while the phone is interactive (basically phone screen "ON" for most cases). IF this was used widely, someone would have seen it long beforehand. The way CheckMarx described how an app could get some of the data (location for example) is even more unsettling, because that can be done by only using storage permissions. Almost all pictures taken with any camera app tags the image with location metadata (if this was enabled). For proof, just open Google's Photos app, tap on the last image you took, and scroll up. If you enabled location tagging, you'll see a mini map of where you took this picture. This has its uses, as it allows for organizing photos based on a special place you visited, by city, or by trip. However, any app that has Storage Permissions not only has access to all your photos, but access to this same location metadata. So that simple weather app that just happened to ask for Storage Permissions now has access to a good chunk of your location history, spanning the time of the earliest photo you took with location data (in my case 2014, which was 4 phones ago) up to the last photo you took. If you happen to be someone who takes lots of photos daily, you can essentially be giving an app a live feed of your current location. TL;DR - CheckMarx published a sort of unsettling camera vulnerability but missed the mark in identifying an even more unsettling issue on Android. Edit: This image is a PoC app that I built which took all the photos from my device, and scanned them for Lat/Lon, then put it to a map. This was also posted on /r/android. [link] [comments] | ||
Posted: 24 Nov 2019 12:30 AM PST I'm a last year CS student that combine android development in my free time. I saw in this subreddit a lot of developers that really don't recommend some things I learned in the courses I mentioned. For example. Loaders, some of you said that there's no a real reason do use Loaders. If I want to start my first real project then I will need to look at some other sources (updated sources) to learn from. Most of the classes I used in the courses are now deprecated.Don't get me wrong, two years ago the Udacity courses were really helpful I guess, and they have a lot of other good course. From posts here, I understand now that I can say for sure that I'm not an android developer, on any scale. Anything you learn now will be deprecated in at most two years. It's so annoying , I'm 29 years old and talk like a little kid here , maybe that's how it is and it's my right not to like it. Anyway, is there a real place to learn how to develop android apps ? Maybe I only need to think of a project, and look at the Android Developer website for details , for every new thing I learn I will create a mini-app just for testing what I learned ? is this the attitude ? What the hell is the path here? feel so lost and no time to do anything compare to the phase in which things are happening. Appreciate any help. Thanks. [link] [comments] | ||
Posted: 24 Nov 2019 03:24 PM PST Currently i've been unable to figure out how to have a Fragment get the same instance of a viewmodel that is contained in it's activity. The examples online all use ViewModelProviders.of(), however this won't work if the viewmodel has a custom factory. In my activity I create the view model by creating a new factory and passing that factory to a viewModelProvier i.e: CustomViewModelFactory(application, configData) But in my fragment if I wanted to get the same instance would I have to create a new factory and pass in this config data? or is there an easier way in the fragment to just get the viewmodel that the activity created? [link] [comments] | ||
Posted: 24 Nov 2019 02:40 PM PST
| ||
How do I ping specific chips on the motherboard over adb? Posted: 24 Nov 2019 02:21 PM PST An HDMI chip on my phone when pinged it refuses the connection on that address and I want to find out why that is. It's a developer device so I have full control of the device. Maybe it's not called pinging the chip but I want to find out why the connection is being refused/ trouble shoot it at that address been googling a bit but turning up very little. [link] [comments] | ||
How to properly convert a List<Flow<T>> to Flow<List<T>>? Posted: 24 Nov 2019 01:46 PM PST (What I actually have is I've been trying with no success. I've been trying the following approach, but the
Why? [link] [comments] | ||
This news story about Amazon reviews may be of interest to Google Play and it's search/review system Posted: 24 Nov 2019 09:58 AM PST This article on how Amazon's review system is gamed by paid reviews is enlightening. Much the same probably goes on as devs are regularly contacted via email by such outfits offering paid reviews etc. It highlights the difficulty of monitoring the integrity of reviews, and similar metrics that affect search ranks, ranks for certain keywords etc. Companies meanwhile use automated bots to counter, but some of the practices outlined in the article above are difficult to catch. Companies like Google use counter-measures, but they risk causing problems due to erroneous account bans, as their algorithms try to catch the last 20 percent of violators, they risk false-positives on average user accounts. This is the problem I outlined in my recent post about how automated bots that carry high penalties (lifetime bans) create a situation of moral hazard - because the fluid algorithms cannot be revealed, or may even be hard to describe, thus leading to "rules" that are imprecisely defined - at cost to developer: [link] [comments] | ||
For simple apps that interface with an API, what are your thoughts on using nativescript? Posted: 24 Nov 2019 01:09 PM PST Sure, it's javascript, sure it isn't directly native, but it seems to save so much trouble - e.g. making a list view is a breeze compared to doing it the 'proper' way. I'm considering using it for for a few apps that would pull / push data to an API and would only need to present the data, and take in a bit of input from the user. Does anyone have any experience with it? Could you recommend an alternative over NS? [link] [comments] | ||
Deep Link for an app I didn't developed? Posted: 24 Nov 2019 07:57 AM PST How can I make a deep link for an app I didn't developed?, I'm developing a web page responsive where the customer will see payments pending for approval and need to go to different bank apps like JP Morgan TD Bank, etc. , I want to offer a good user experience making them open the bank app directly from the web page mobile. I also want to know If this is possible from a native app? [link] [comments] | ||
Ramifications of unlocking/locking bootloader? Posted: 24 Nov 2019 11:29 AM PST I don't know the first thing about developing on Android, but I like to play with ROMs and frameworks and whatever. I really enjoy utilizing customization options out there. I'm not just out here taking and expecting new things, I do actually donate to developers of things I like when I have the opportunity. My Pixel XL (root with LineageOS) started having gyroscope and GPS problems, so a few weeks ago I picked up a 3a XL. I really enjoy the device, but there are far fewer customization options out there and Android Q, while smooth and pretty, is also pretty locked down. I want to try out some of the ROMs floating around but I realized I know next to nothing about what unlocking and locking the bootloader actually do. I tried looking up info in a couple of different search engines and I kept coming up with how to guides instead of documentation on the function. What actually happens when a bootloader is locked or unlocked? What ramifications does it have on the OS and how the hardware interacts with the OS? I know that unlocking the bootloader does (has?) disabled encryption and that relocking it erases data, and that relocking with a custom ROM can cause boot problems, but this is literally it. I'm sure there are actual resources out there so if you have a link to some in depth info I would love to have it. If you'd like to give me a 10k foot overview or a dissertation I'll take that too. Whatever is easiest. Thanks. edit: since the issue was raised, my question is acceptable under rule 2, as it deals specifically with architecture. The bootloader initializes the kernel, so the effects of locking and unlocking the bootloader, and by extension the kernel, falls firmly within the realm of Android development. edit: I was looking for a broad overview with itemized yet somewhat summarized information in layman's terms that would allow me to understand the lock/unlock mechanism and how it interacts with everything else. I went through a lot of official Android documentation and ended up learning a little about boot flow and Trusty, and I'm still reading. Question answered I guess. [link] [comments] | ||
How to handle application background theme Posted: 24 Nov 2019 10:17 AM PST I'm developing an Android application. I am interested in integrating application background theme for application. Theme (music) will automatically run when user launches application(Main Activity) but user should have convenience to enable or disable it using options menu of screen (Options Activity). How to implement this feature in Android (Java)? Any tutorial or help is highly appreciated. [link] [comments] | ||
Posted: 24 Nov 2019 12:32 PM PST I am a first year Programming Associate's student, but I've been programming for 10 years now and I've done web, ML, Windows, and so many other things I can't count. However, I'm ready to settle for Android and maybe later learn Swift. I have read Big Nerd Ranch's awesome book, which teaches Kotlin and Android to the fullest, and I am ready to develop my first app. However, I have no idea as of "what" to develop! I want it to be something all-encapsulating that will test all my skills, Room, RecyclerView, Fragments, Lifecycle, LiveData, ModelView, etc. But all I have so far managed to choose was that it should be MVVM. Any ideas, my brethren? Thanks. [link] [comments] | ||
Posted: 23 Nov 2019 10:38 PM PST Hi, guys After reading a lot and working around APP Expansion. I found that there is very little support is provided. So I am sharing the Initial draft to make you all aware of the concept. Feel free to share ideas and review with me, I will keep this updating. [link] [comments] | ||
Coneverting IOS app to Android using kotlin, whats the equivalent of AVKit? Posted: 24 Nov 2019 05:18 AM PST I am trying to display a video from the internet onto my app. In Swift I simply used AVkit and displayed a video Using url, any idea how I can do the same thing in kotlin? [link] [comments] | ||
Security Question: Locally storing hashed password? Posted: 23 Nov 2019 06:00 PM PST For my app security, I follow the rule of thumb that anything stored locally (on memory in the device) should not be sensitive because it will always be accessible to someone who really wants to access it. Passwords are sensitive - but can I store the hashed password locally? The reason why I would like to do this is that I have an API key to access my API, but I would also like there to be a "second layer" of authentication. I can't see anything wrong with locally storing the password, but for security questions, it never hurts to double-check. Thanks! EDIT: I learned my lesson: silly idea to store locally. I am leaving the post up because I couldn't find a similar question on google - maybe one day another dev will find this post and learn from you guys as well. Thank you! [link] [comments] | ||
Download android image every time Posted: 24 Nov 2019 03:41 AM PST Hi guys, is it normal that every time i want to create a new emulator all on the same API Level i need to download again the android image? I don't understand why. (I'm on Windows) Thank You [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