• Breaking News

    Monday, November 22, 2021

    Android Dev - Weekly Who's Hiring Thread - November 22, 2021

    Android Dev - Weekly Who's Hiring Thread - November 22, 2021


    Weekly Who's Hiring Thread - November 22, 2021

    Posted: 22 Nov 2021 06:00 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]

    Do you contribute to open-source android projects?

    Posted: 22 Nov 2021 07:10 AM PST

    Just wondering how many android developers contribute to open-source projects to hone their skills.

    If you do, then please share what projects you've contributed to, and if you recommend opensource contribution as a way to get better at app development.

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

    Mobile Developer Productivity at Reddit

    Posted: 22 Nov 2021 09:18 AM PST

    Finally, I've found a valid use for "android:process" attribute for the activity - I've made a small library to trigger "safe mode" for application that experiences repeated crashes on startup

    Posted: 22 Nov 2021 11:17 AM PST

    Best Push notifications system on android

    Posted: 22 Nov 2021 03:18 AM PST

    Hi, I am building an android application and I need to send app push notifications every time a transaction happens. What is the best system which can be utilised for this ? I have mulled a few paid partners as well as Firebase Cloud Messaging. The major issue is that there is a high expected traffic of 10 Million notifications a day across the user base and the notifications need to be near real-time.

    Does anyone know of any notifications system which can guarantee a near real-time delivery for such a high traffic ?

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

    snippet-timekeeper : Lite lib for measuring execution times

    Posted: 22 Nov 2021 02:14 AM PST

    Android Panel Discussion

    Posted: 22 Nov 2021 09:52 AM PST

    Can the app provide a Jetpack Compose view for the SDK to display?

    Posted: 22 Nov 2021 02:54 AM PST

    We are planning to redesign some layouts in the SDK. Right now we use XML and allow the client's app to override the layouts, by them simply copying our XML files and applying customization, without modifying the IDs of the elements. Now, I am not sure how would it be possible to do something similar with Jetpack compose.

    I am looking the following approach from our IOS SDK to be implemented in the Android:

    1. We create interfaces of our UIViews (Like Language selection View, which has SearchView, two TextViews and a button).
    2. Then we expose this interface and create a static method, which accepts concrete implementations of the views.
    3. Then our SDK checks if the client app actually did modifications and if he did, we inflate the supplied views.

    Would it be possible with Jetpack Compose? I would assume you can also expose interfaces and then client apps provide the layout structure. However, we would not like to let the client app to handle the state. We would like for them to use Jetpack compose only for the layout display.

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

    Looking to do app dev for a living as a freelancer. Can you guys give me some insight what to expect, the best platform for C Sharp (that's what I know), and the ins and outs of the trade? Thanks!

    Posted: 22 Nov 2021 11:32 AM PST

    What process do you have in place at your workplace?

    Posted: 22 Nov 2021 04:49 AM PST

    I'm an android dev, currently, work in a small company (has only 1 app in play/app store) that is made of team of two for each discipline (2 android devs, 2 ios, 2 QA, 2 UI/UX, 2 Product Managers). There was a discussion about changing the delivery process for a purpose of 'scalability' and 'Triads' was suggested. With this Triads, each discipline is being 'hard' split into two teams, so Team 1 (1 android, 1 ios, 1 QA, 1 UI/UX, 1 Product Manager), the same with Team 2. After we have done 1 or 2 releases with this new process, we identified frictions that are happening in android, ios, and QA discipline such as:

    1. Flow of information between two teams. Because it is a 'hard' split, team 1 shouldn't know what team 2 is working on and vice versa. Imo, this is pretty bad as during code review, it is not easy to identify meaty problem such as flaw in business logic.
    2. Blockage in releasing works. For example, in Release 9.8, each PM will decide what the team will work on and only after both teams finished work, then we can release 9.8 out. There was an issue where one team falls behind schedule and the other team will wait.
    3. Feature/Work dependency. There was an instance where team 1 was working on premium feature and team 2 was working on premium intercept page remodelling. Imo, these 2 tasks should be handled by 1 team as it is the same flow. Since, it was handled by 2 separate teams, there were many bugs found during QA testing and delaying the release.
    4. Repetitive work for QA in running regressions for each release and small blind spots when performing end to end testing.
    5. more...

    We have had at least 3 meetings with higher ups where we basically repeating those issues said above and more. In the last meeting, we were told that it is easy to 'complaint' and were told to come up with a process or ways to improve this process. So, here I am seeking/summoning amazing fellow android devs who work in a similar size company (or bigger) to share what good process you have in your workplace. Thanks in advance.

    submitted by /u/and-acc
    [link] [comments]

    How can apps still able to preserve data after app uninstallation, then app re-install again?

    Posted: 22 Nov 2021 07:55 AM PST

    In API 30, Google makes it difficult for app to save data outside their sandbox app folder. Hence, after uninstallation, all app data shall be removed as well.

    However, I notice quite a number of apps (Note taking app for instance), still able to preserve their data even uninstallation. I was wondering, what technique are they using? Are they using the technique mentioned in https://developer.android.com/guide/topics/data/autobackup ?

    If that is so, I was wondering whether it is still suitable for me to apply such technique?

    1. I am using Room SQLite DB. Will there be a case where before auto restore kick in, user try to modify data in Room SQLite. Then, Auto restore kick in to overwrite everything in Room SQLite. Then, what is being created/ modified by user before the auto restore, will be removed?
    2. My app will save images as well. Hence, the user data can easily by-pass 25MB backup limitation. If that is such the case, is it suitable still for me to enable auto backup feature?

    Thank you.

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

    How to deploy Android AAR with multiple modules?

    Posted: 22 Nov 2021 02:55 AM PST

    I know this is more like a general question, but we really did not find a solution for that. In our CI/CD build we currently use jitpack CLI and would like to switch to Maven with Sonatype. The issue is that our SDK is split into several android libraries. As a result, the main SDK ( it is called sdk-api) includes several split modules as dependencies. The issue is that our sdk-api cannot be deployed, since we need to initially deploy the included libs and then edit our CD script so that our SDK could use the latest internal dependencies.

    However, the internal dependencies are not available immediately so we can't use this approach.

    I am looking to get opinions on how other teams manage aar SDK deployment, which is modularized.

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

    Inter app communication with scoped storage

    Posted: 22 Nov 2021 12:41 AM PST

    App A will start app B through an intent (startActivityForResult) telling what to do, when to do and what info to return (image & json results).

    The image is saved to Pictures folder by B and it passes the image path to app A that can open it (all good by scoped storage standards since it's a media file).

    The json results string is passed by B to A. Lately the size & length of the string increased and can easily through TransactionTooLargeException. (1MB limit theoretically, lower limit in practice).

    Possible not working solutions:

    • App B saves the json string to Documents folder and passes the file path to App A -> open failed: EACCES (Permission denied)
    • Pick the file with Storage Access Framework (SAF) with ACTION_OPEN_DOCUMENT -> not feasible. We know the file path, we don't want the user to manually search for the file
    • request MANAGE_EXTERNAL_STORAGE -> not an option

    How can app A open a json file created by app B if the file path is known? Thank you.

    Solution:

    App B:

     File detectionsFile = saveDetectionData(body); Uri fileUri = FileProvider.getUriForFile(MainApp.getInstance(), BuildConfig.APPLICATION_ID + ".provider", detectionsFile); result.putExtra("results_json_filepath", fileUri); result.setData(fileUri); result.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); activity.setResult(Activity.RESULT_OK, result); activity.finish(); 

    App A:

     Uri fileUri = data.getData(); InputStream is = getContentResolver().openInputStream(fileUri); 
    submitted by /u/keeble
    [link] [comments]

    I made an Android library that will help you organize your shared preferences

    Posted: 21 Nov 2021 04:30 PM PST

    I have noticed a boilerplate when we store a new value to our shared preference; so I built a library called mint; mint will help you categorize your data in your shared preference and will make saving new values much easy and less code.

    Github

    And I wrote an article that for this library

    Mint — An Android Library to make your key-value store beautiful

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

    After 2 months, I hit my very first milestone... ���� Thanks for your support r/androiddev! �� https://youtube.com/channel/UCVyVqVRYcykw6OFu61RkPsw

    Posted: 22 Nov 2021 05:30 AM PST

    Video on OCR android app using MlKit and Jetpack Compose

    Posted: 21 Nov 2021 08:27 PM PST

    https://www.youtube.com/watch?v=7mBo0e0ZPsM

    Hi, everyone. Few months back I created a youtube channel and started sharing my learnings. Recently I have uploaded a video on creating an OCR android app using MlKit and Jetpack Compose.
    Please watch the video and let me know if it was helpful in any sense.

    Thank you.

    P.S. Looking for feedback.

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

    Asking for advice (Mariadb, REST API, Android)

    Posted: 21 Nov 2021 05:41 PM PST

    Hello,

    Making a (Kotlin) android app here (personal project), it should be communicating with a database on my server. I went with Mariadb, chose the Exposed (https://github.com/JetBrains/Exposed) to go with that. It needs this JDBC whatever thing, and while I got it working on an older version, it seems to be very clunky on Android, newest versions simply do not work on android.

    I'm looking into any other way of connecting app to the database. REST API? Is that possible? I found this Mariadb Maxscale REST API thing but it seems to be only administrative. Can I pull queries to tables through it? If so please point me in right direction. If you have any better idea how to do it, please tell.

    submitted by /u/pink-skyline
    [link] [comments]

    Which Background Technologies We Use For Creating Social Media Apps?

    Posted: 22 Nov 2021 12:23 AM PST

    Hi, I'm a begginner to Android Development. I've created some basic apps before (with Kotlin). (Apps with local database and firebase) What should I use for back-end for creating a basic social media app?( I don't want to use firebase) For database, for server connection with app etc. What should I learn and use?

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

    Hey Android Developers, I'm back after a long busy week with a new video about memory leak in Android apps and how to tackle it using LeakCanary opensource library from Square. Make sure you won't miss it! �� #ADT #MemoryLeak #Android #Debug #YouTube #memory

    Posted: 21 Nov 2021 11:33 PM PST

    What tool do you recommend to create great screenshots in Google Play store?

    Posted: 21 Nov 2021 05:04 PM PST

    Hi all,

    I was wondering, do you have any specific tool you can recommend, to create great screenshots in Google Play store?

    As I look at my Play Store conversion rate, it is poor compared to peer.

    Since screenshot plays an important part to improve conversion rate, I was wondering you have any tool to recommend, for screenshot creation?

    Thanks.

    p/s I do not have graphics design background.

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

    Eclipse error "sdk platforms tool component is missing!"

    Posted: 21 Nov 2021 02:03 PM PST

    I already have the sdk latest version installed and placed in the android directory. When I press "open SDK manager", I get a message displaying that the sdk manager is initializing but nothing happens. When I open the sdk_manager.exe file, I get a "failed to execute tools\android.bat: the system can't find the file specified". The same message appears when I try to run the android.bat file. When I try to open the sdk manager from Android Studio, I can't install it because all the versions appears grayed-out? Any idea on why this could be happening!

    This is on windows, I have both the JDK and JRE installed and the environment variables are checked correctly.

    Appreciate any help!

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

    Optimizing app for Talkback

    Posted: 21 Nov 2021 11:34 AM PST

    From time to time I get a report saying that some tabs, buttons or something dynamically added/changed in my apps has no contentDescription and thus it is misbehaving if Talkback is used. I'd love to improve my apps for visually impaired people, how should I do it though? I have no experience with Talkback so enabling it wouldn't really be authentic. How can I find someone that would be willing to test my apps with Talkback and write a list of everything that needs to be improved? I had no success with asking the reporters themselves. Is there some organization that can help me, maybe I can find someone on Upwork, or some other subreddit? I don't mind paying for it.

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

    This might be a long shot, but Im trying to find the Server address for a Polish TV streaming service that has an android app. I reversed the APK, but I can’t find any connection information in the folders.

    Posted: 21 Nov 2021 06:33 PM PST

    Kind of a long explanation, but basically I want to be able to use the IPTV app that is offered with my LG tv. I need the server address and the company offers an android app, so I thought if I reverse the APK and go through the APK folders, I would find that information. I've been going through a bunch of files already and don't see anything pertaining to that. Is there anyone that would know where I should look if I give you the APK or show you the files? The company is pretty shitty in terms of tech support, they offer an andoid/iOS app, computer app, or you have to buy their own streaming box. It works fine, but I'd like to be able to use the app built in the tv instead of buying several firetv sticks.

    Is something like this even possible?

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

    No comments:

    Post a Comment