• Breaking News

    [Android][timeline][#f39c12]

    Monday, October 28, 2019

    Weekly "who's hiring" thread! Android Dev

    Weekly "who's hiring" thread! Android Dev


    Weekly "who's hiring" thread!

    Posted: 28 Oct 2019 05:45 AM PDT

    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]

    Weekly Questions Thread - October 28, 2019

    Posted: 28 Oct 2019 03:56 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:

    • How do I pass data between my Activities?
    • Does anyone have a link to the source for the AOSP messaging app?
    • Is it possible to programmatically change the color of the status bar without targeting API 21?

    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!

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

    My first library - StoryView!

    Posted: 28 Oct 2019 11:00 AM PDT

    My first library - StoryView!

    I'm so glad to share with you my first contribution in the Android Open Source Community.

    StoryView is a flexible, customizable, easy to use Android Library, which displays stories like the stories in Facebook, just pass the images to the library and that's it!

    The Library was built using Java and AndroidX.

    For further information, you can visit the official repository and get the full documentation on how to implement and use the library:

    https://github.com/OMARIHAMZA/StoryView

    https://preview.redd.it/fpugojuqmbv31.jpg?width=2160&format=pjpg&auto=webp&s=e052b55a850ce2d58297c77015c545074b567183

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

    From Gson to Moshi, what I learned

    Posted: 28 Oct 2019 02:12 AM PDT

    How is Project Nitrogen (aka N2) going?

    Posted: 28 Oct 2019 05:32 AM PDT

    Hi all.
    Ran into a video from AndroidDevSummit 2018 about project Nitrogen.
    Initial timeline said it should be running in beta in Q3 2019 with release in Q4 2019, but i heard nothing about it recently and docs have 0 mentions of it.
    Was the project cancelled?

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

    Best practices when making an onboarding process?

    Posted: 28 Oct 2019 09:56 AM PDT

    Handy Repo containing links to Android and Kotlin conference videos

    Posted: 28 Oct 2019 04:14 PM PDT

    Is it difficult to code for dark mode?

    Posted: 28 Oct 2019 06:59 AM PDT

    If yes then why? I have been reading a lot of articles on the dark mode. Some say it is difficult to code dark mode. I used to code and now i am designer i don't understand why it could be so difficult if it is? Can some of you shed some light on this? (Pun wasn't intended until i realised 😂)

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

    Android good development practices

    Posted: 28 Oct 2019 03:33 PM PDT

    Hi guys.

    I've been following this sub for a few months I believe l, and I'd like to learn more about the android OS and how to build/create apps for such OS, but I'd like to have some theoretical knowledge too. I've read the kotlin documentation and I've done a few experiments, basic stuff, and I'd like to hear from you what you recommend for me to start, such as articles to learn some of the best practices and how to build an app with testing methodologies, design patterns, optimizations (to help with battery life, not to heat your phone) etc.

    I've already read about SOLID principles and started to read some features of the android dev documentation but it is hard for me to understand it completely.

    I also have an idea to build a social network in order to learn social media login integration, gmaps integration and a few features that use location features, in order to learn about such matters. I don't really know if this post goes against the rules (2) but I'd like to get some feedback about good programming practices and theoretical flows/explanations and the information I usually find on this sub makes me believe that this is the right place to ask such questions.

    Thanks in advance folks.

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

    How to call the method of a class without making it static or using polymorphism.

    Posted: 28 Oct 2019 02:33 PM PDT

    I have an activity with custom views in it, and I am trying to use dialogs.

    I am tracking statistics on the custom views in the class file, and when certain thresholds are met I'm trying to start my dialog.

    The problem is, dialog,. show needs to be called from a class that extends appcompatactivity, and since custom views need to extend a viewgroup in order to work, they can't also extend appcompatactivity. Also, since dialog,.show is an instance method, it can not be called from a static method. I need to put dialog,.show in a non-static method inside my activity, and I need to somehow call that from my custom view class java file.

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

    Google Play Webinar: A Guide to Google Play KPIs for Apps and Games

    Posted: 28 Oct 2019 02:33 PM PDT

    Testing Room Dao's, Coroutines, Kotlin Flow

    Posted: 28 Oct 2019 06:43 AM PDT

    I started to convert my app to Kotlin Flow and I have a problem with testing Dao's. Anybody had problem when tests with runBlocking{} are running forever and not complete?
    I also tried using runBlockingTest, but I got this problem with "Job not completed" that seems to be a bug with kotlinx.coroutines.

    Any ideas/code samples how to deal with it?

    I also made a post on StackOverflow with code samples: link.

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

    Does Android still not have a native way to do in-app ratings?

    Posted: 27 Oct 2019 08:19 PM PDT

    I have a button that takes the user to the play store for my app, but in my iOS version I have the rating API appear in the app after so many uses. This really helped me get more ratings.

    I think my best idea is to make a custom view that appears asking the user to rate my app (in a nice way) with a button that takes them to the play store.

    Here's what I found in my research:

    https://stackoverflow.com/questions/11270591/rate-google-play-application-directly-in-app

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

    Rotation causes navigation related crash. I have different Navigation Graphs depending on if portrait or landscape. It's trying to restore the destination.

    Posted: 28 Oct 2019 01:13 PM PDT

    I'm fairly new to android development. I am not new to mobile development though. My7 first inclination is to subclass the NavController to handle 2 separate restoration destination states, but I am not sure how to go about telling the NavHost in the layout to use the custom subclass. Open to suggestions if there is a better way.

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

    Is there a simple way to take multiple screenshots of all Activities of an app?

    Posted: 28 Oct 2019 09:09 AM PDT

    I have to create an information architecture for a specific app. The information architecture should contain screenshots of all possible activities the app can show. I hope you understand what my problem is.

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

    Instrumentation Testing of Android Apps

    Posted: 28 Oct 2019 01:35 AM PDT

    Best way to build a simple app?

    Posted: 28 Oct 2019 12:17 PM PDT

    Is it easier to build this as an Android app or web site? What's cheaper to build on?

    I think I want to start with an Android app because it will be easier to get them to subscribe.

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

    Foreground Services need background Location permission in Android 10

    Posted: 27 Oct 2019 11:58 PM PDT

    https://developer.android.com/training/location/receive-location-updates#inform-user-background-location-requirement

    The code in the doc link above seems to imply that foreground services do not rely on the background location permission for Location uses, but they do. Just had an issue in my app where I wasn't getting Location updates in a foreground service until I allowed my app access to Location "all the time"

    val permissionAccessCoarseLocationApproved = ActivityCompat .checkSelfPermission(this, permission.ACCESS_COARSE_LOCATION) == PackageManager.PERMISSION_GRANTED if (permissionAccessCoarseLocationApproved) { val backgroundLocationPermissionApproved = ActivityCompat .checkSelfPermission(this, permission.ACCESS_BACKGROUND_LOCATION) == PackageManager.PERMISSION_GRANTED if (backgroundLocationPermissionApproved) { // App can access location both in the foreground and in the background. // ****>> Start your service that doesn't have a foreground service <<***** type // defined. } else { // App can only access location in the foreground. Display a dialog // warning the user that your app must have all-the-time access to // location in order to function properly. Then, request background // location. ActivityCompat.requestPermissions(this, arrayOf(Manifest.permission.ACCESS_BACKGROUND_LOCATION), your-permission-request-code ) } } else { // App doesn't have access to the device's location at all. Make full request // for permission. ActivityCompat.requestPermissions(this, arrayOf(Manifest.permission.ACCESS_COARSE_LOCATION, Manifest.permission.ACCESS_BACKGROUND_LOCATION), your-permission-request-code ) } 
    submitted by /u/JessieHaxx
    [link] [comments]

    Recommendations for Smart App Database

    Posted: 28 Oct 2019 03:07 AM PDT

    Hi, I'm looking to use Android Studio to create an app in mind. I have a working prototype on excel (with various amounts of formulas utilised - e.g. MAX, ROUND, CEILING, IF, etc.). Each user of my app will sign-in through facebook and have their own data saved to their account.

    Do you have any recommendations on how I would create this in an android application?

    I have read heavily about mySQL and SQLite - yet I don't believe these may be of assistance.

    Thanks.

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

    Native application using OpenGL.

    Posted: 27 Oct 2019 04:40 PM PDT

    In my app development, I use C, C++ and OpenGL.

    Up to now, I have always done this via Java's NativeActivity using the NDK to build my OpenGL app.

    I would like to know what my options are nowadays. I assume:

    • Java on top of NDK on top of C++.
    • Kotlin on top of NDK on top of C++.

    Are there any others?

    Thanks!

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

    An interesting take on Google's codelab for D.I

    Posted: 28 Oct 2019 09:15 AM PDT

    Questions related to Android Keyboard

    Posted: 28 Oct 2019 12:18 AM PDT

    I wanted to know a few things:

    How is a language added to Gbaord app? Say I want to add a new language, how do I do that?

    How do I request changes to already added languages? Like my native language is added but some characters are missing, how do I tell Google to add those?

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

    Looking for devoloper thats plays call of duty.

    Posted: 28 Oct 2019 12:34 PM PDT

    I'm looking for a developer that loves playing Call of Duty.

    I'm building an app that promises to be very lucrative financially.

    I'm looking for Android dev to build this app on equity.

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

    Gcam crashing on pixel experience 10 rom on pocophone. Log file below

    Posted: 28 Oct 2019 09:15 AM PDT

    https://pastebin.com/84BGZCXa

    Any help is appreciated. Sorry if this isn't the right subreddit, i don't know where else to post.

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel