• Breaking News

    Sunday, November 24, 2019

    Android Dev - New AndroidX library to replace SharedPreferences

    Android Dev - New AndroidX library to replace SharedPreferences


    New AndroidX library to replace SharedPreferences

    Posted: 24 Nov 2019 04:17 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.

    https://imgur.com/oPliFmD

    This was also posted on /r/android, but it has been in purgatory for 3 hours removed! Figured this should be known, since it's already been ousted.

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

    �� (Working in progress) Android Sample App using modular, clean, scalable, testable Architecture written in Kotlin following the best practices with Jetpack.

    Posted: 24 Nov 2019 03:07 AM PST

    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

    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.

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

    A Native Developer’s Perspective on React Native vs. Flutter

    Posted: 24 Nov 2019 08:06 AM PST

    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?

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

    [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:

    https://imgur.com/a/rB45UFY

    I am afraid to click "take action" before knowing anything about this.

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

    Android APK Expansion

    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.

    Github Link

    submitted by /u/ankittale
    [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?

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

    Guide to creating a floating rounded corner bottom navigation bar

    Posted: 23 Nov 2019 11:56 AM PST

    I was browsing Dribbble in search of design motivation and noticed that quiet a few designs feature a rounded corner, floating bottom navigation bar.

    I decided to implement one and wrote an example post on how to do it also.

    https://medium.com/@harmittaa/android-floating-bottom-navigation-bar-with-rounded-corners-56040d804869

    Feedback is welcome

    submitted by /u/hevis
    [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!

    submitted by /u/anthOlei
    [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

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

    I have 2 years of experience and need help in gaining proficiency in Dependency Injection and Testing.

    Posted: 23 Nov 2019 09:01 AM PST

    Hello my fellow devs, I need help overcoming one of the biggest obstacles in my young and android dev career. I have worked on and built 3 apps for my company and have been the sole android dev on those projects and because of the fast pace work environment and lack of coordination, I have not made use of dependency injection or unit testing. Now I have been very intentional about utilizing the latest and greatest in Android development (i.e. Kotlin, MVVM w/Jetpack, LiveData, Retrofit2, etc).

    However, I want to become the best dev I can possibly be, so what are some great resources out there where I can get a good understanding of dependency injection and writing unit tests for TDD?

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

    Resetting Notifications on test device

    Posted: 23 Nov 2019 06:07 PM PST

    I have created a application that enables a foreground service, as a parameter the foreground service requires a notification object (at least from api 28 I believe)

    Anyway, on my test device i then dismissed the notification (partial left swipe > gear icon > Block All/Show Silently...) Trouble is, i cant get it back!?

    Thing is now every app that uses a foreground service seems to have its notification missing. I'm unsure how i got into this state.

    The device is a Samsung S7 Edge. Checking Settings > Notifications, the app or any app, does not have any blocked notifications

    Settings > Applications > Notifications also doesn't list any blocked notifications. (this is probably the same settings as above)

    Every other test device i run these apps on have the foreground notification

    Before i resort to resetting the device, any advise is appreciated.

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

    [Help] Replacing/merging system elements between ROMs - is it possible?

    Posted: 23 Nov 2019 09:47 PM PST

    I have two manufacturer ROMs, one Chinese and the other for Europe and the United States. Both are on Android 9. Both have nearly the same features.

    I've decompressed the system.br files for each because I want the phone and launcher settings from the EU version on the much more stable and feature-rich Chinese variant.

    The Chinese ROM indeed has translations and functionality globally, so I'm trying to take the stable network connections and such from one ROM and merge it with the features and smoothness of the other ROM. All of this is new to me.

    Can this be done?

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

    Can some of you please test this game and let me know if it is running in your device?

    Posted: 23 Nov 2019 03:11 PM PST

    https://play.google.com/store/apps/details?id=com.kylegames.pimpslap

    There are some issues like when I install from play store, it crashes immediately with not even splash screen showing. But if I clear data from settings-apps, then it works perfectly fine. And if I repeat this after uninstalling, I have to do same to make it running in my device. But in my brother's device it works perfectly fine. So i want to know if some of you also are facing issue like me.

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

    Center a nested RecyclerView in the view of the parent RecyclerView.

    Posted: 23 Nov 2019 11:47 AM PST

    Im trying to make an android app for my locally stored media and would like to imitate the Netflix UI. So far I have managed to get the nested RecyclerView correctly set up thanks to help on this sub. I have been testing this with a D'Pad and the focused item of the nested RecyclerView does not remain in full view when in focus. Is there a way to add this behavior to the RecyclerView in the layout files as android:gravity="center_horizontal" does not give this behavior???

    Cheers

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

    Question regarding networking in Android.

    Posted: 23 Nov 2019 09:56 AM PST

    I'm making an app that needs to retrieve data (json/CSV) from a Python server over the internet?

    I've thought about using sockets or maybe OkHTTP but i'm not sure what the benefits of both are. Do you have any suggestions as to how I might implement a feature like this?

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

    macro app that can record/repeat functions?

    Posted: 23 Nov 2019 08:17 AM PST

    There's a process I do on an app that requires pressing a couple buttons a lot of times during the day.
    Is there a good app that one could recommend that can record said action and replay it automatically, to save me having to do it manually over and over?
    thanks

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

    No comments:

    Post a Comment