• Breaking News

    Monday, June 8, 2020

    Android Dev - Weekly "who's hiring" thread!

    Android Dev - Weekly "who's hiring" thread!


    Weekly "who's hiring" thread!

    Posted: 08 Jun 2020 05:44 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 - June 08, 2020

    Posted: 08 Jun 2020 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]

    I created this simple app that will notify you of any new releases to the current Android Jetpack libraries. You can also browse and bookmark specific libraries you're interested in for easier tracking. It's on GitHub and Play Store. Not sure if I'll add more features, but I'm open to suggestions.

    Posted: 08 Jun 2020 05:34 AM PDT

    TIL: Be really careful with proguard wildcards

    Posted: 07 Jun 2020 11:50 PM PDT

    Mobile app CI with AppCenter — good, but could be better

    Posted: 08 Jun 2020 04:46 AM PDT

    App update rejected (Default phone handler)

    Posted: 08 Jun 2020 06:05 AM PDT

    We have an android app that we developed as a default dialer that can identify incoming calls if they are registered to a company.

    At first Play store told us to implement the asking for default before asking for any permissions. We fixed that and our app was accepted. After that all updates have failed due to this error:

    You declared Default Phone handler (and any other core functionality usage while default handler), Caller ID, spam detection, and /or spam blocking, Write and Show Call History in Dialer as the core functionality of your app. However, after review, we found that your app does not match the declared use case(s). Learn more about permitted uses and exceptions.

    Our manifest:

    <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="5" android:versionName="1.0.4" android:compileSdkVersion="28" android:compileSdkVersionCodename="9" package="com.storybookdialerv4" platformBuildVersionCode="5" platformBuildVersionName="1.0.4"> <application android:theme="(reference) @0x7f0f0006" android:label="(reference) @0x7f0e002e" android:icon="(reference) @0x7f0d0005" android:name="com.storybookdialerv4.App" android:allowBackup="true" android:largeHeap="true" android:supportsRtl="true" android:roundIcon="(reference) @0x7f0d0006" android:appComponentFactory="android.support.v4.app.CoreComponentFactory"> <activity android:theme="(reference) @0x7f0f00c6" android:name="com.nabinbhandari.android.permissions.PermissionsActivity"/> <service android:name="com.storybookdialerv4.NotificationService"/> <service android:name="com.storybookdialerv4.CallService" android:permission="android.permission.BIND_INCALL_SERVICE"> <intent-filter> <action android:name="android.telecom.InCallService"/> </intent-filter> <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI" android:value="true"/> </service> <activity android:name="com.storybookdialerv4.CallActivity" android:screenOrientation="1" android:configChanges="80" android:windowSoftInputMode="2"/> <activity android:name="com.storybookdialerv4.DialerActivity" android:screenOrientation="1" android:configChanges="80" android:windowSoftInputMode="2"> <intent-filter> <category android:name="android.intent.category.DEFAULT"/> <action android:name="android.intent.action.DIAL"/> </intent-filter> <intent-filter> <data android:scheme="tel"/> <category android:name="android.intent.category.BROWSABLE"/> <category android:name="android.intent.category.DEFAULT"/> <action android:name="android.intent.action.DIAL"/> <action android:name="android.intent.action.VIEW"/> </intent-filter> <intent-filter> <category android:name="android.intent.category.LAUNCHER"/> <action android:name="android.intent.action.MAIN"/> </intent-filter> </activity> <activity android:name="com.storybookdialerv4.ContactsActivity" android:screenOrientation="1" android:configChanges="80" android:windowSoftInputMode="20"/> <activity android:name="com.storybookdialerv4.AddContactActivity" android:screenOrientation="1" android:configChanges="80" android:windowSoftInputMode="20"/> <activity android:name="com.storybookdialerv4.RecentsActivity" android:screenOrientation="1" android:configChanges="80" android:windowSoftInputMode="2"/> <activity android:name="com.storybookdialerv4.CallKeypadActivity" android:screenOrientation="1" android:configChanges="80" android:windowSoftInputMode="2"/> </application> <uses-permission android:name="android.permission.WAKE_LOCK"/> <uses-permission android:name="android.permission.WRITE_CALL_LOG"/> <uses-permission android:name="android.permission.READ_CALL_LOG"/> <uses-permission android:name="android.permission.WRITE_CONTACTS"/> <uses-permission android:name="android.permission.READ_CONTACTS"/> <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/> <uses-permission android:name="android.permission.RECORD_AUDIO"/> <uses-permission android:name="android.permission.CALL_PHONE"/> <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS"/> <uses-permission android:name="android.permission.READ_PHONE_STATE"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.INTERNET"/> <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="28"/> 

    We've choosen three core functionalities in our permissions declaration:

    * Default Phone handler
    * Caller ID, spam detection, and blocking
    * Write and Show Call History in Dialer

    We have tried contacting play store developer support but Google seems busy and we're waiting for a response for about a week already. The chat option says they can not do anything about permissions errors and that we have to wait for an email from Google. I'm wondering if anyone can see anything fishy about our manifest or permissions declaration.

    The app is not listed in play store because it's in open beta and is limited to Estonia at our testing phase.

    I'm kind of lost how to proceed from here. Google wont answer (or offer normal paid support like almost every other software/service company). Really hoping some redditors have ideas.

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

    Finding Android dev a bit tougher as a Java developer as time goes on.

    Posted: 07 Jun 2020 08:45 AM PDT

    I've been working on my pet project for Android for a while now on and off, but lately I've been finding it increasingly difficult to find java code references and examples that are up to date. Everything new is almost always in Kotlin. Now I have nothing against Kotlin, I want to focus on increasing my proficiency with Java and direct energy into actually developing a full fledged app.

    I'd be interested to hear about if any other developers have experienced this and how they approached it. I am fine to learn Kotlin in the future, and hopefully when it's better than Java in all respects (hear a lot about performance issues in compile and ide).

    Edit: Wow this kind of blew up. Thank you everyone for the feedback and advice. Means a lot. :)

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

    What's a good 2020 source to learn app marketing, pricing, IAP strategies, ad placement etc.?

    Posted: 08 Jun 2020 03:53 AM PDT

    Preferable simple and compact written articles, do's and don'ts, starter strategies, geo-specific pricing etc.

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

    What are the best places to stay on top of Android app development news/tools/ideas/knowledge?

    Posted: 08 Jun 2020 03:47 AM PDT

    Hey, I just want to get new sources into my Android info guild. What do you like recently?

    Thanks for any tips in advance!

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

    Make a RoboCam app?

    Posted: 08 Jun 2020 06:38 AM PDT

    Hi. I need help.

    1. Decompiling an android app called RoboCam https://play.google.com/store/apps/details?id=ru.proghouse.robocam&hl=en_US

    ____ or else _____

    1. Code a similary android app.

    The developer of RoboCam said this on his development.

    Used Android Studio and used Construct 2 only for web clients. https://www.construct.net/en

    And

    1. EV3 Firmware Developer Kit

    2. LEGO MINDSTORMS EV3 Communication Developer Kit

    and here some info from him http://www.proghouse.ru/programming/60-ev3-remote-control

    I need the source code to set up a queue system in it like this I have here in PHP. http://robot1.gamereality.se/

    https://github.com/jlivingstonsg/waiting-room-to-telerobot

    I use the RoboCam app in my robots but want to develope it and need the source code.

    Here is my robots. https://www.youtube.com/playlist?list=PLi0zyNfBMXA8SMBR8jWbhCJ7RWjkjBnN_

    I want to build a telerobotic game like this with my robots.

    https://www.isotopium.com/

    Can someone help me`?

    Regards Magnus

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

    What are good examples for shared element transition implementation?

    Posted: 08 Jun 2020 06:16 AM PDT

    I'm trying to find apps that implement shared element transition in a meaningful way. I came across this blog post which includes some nice animated gifs but those are only designs and not the real thing.

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

    Android example project of LiveData, Retrofit and infinity scroll RecyclerView

    Posted: 08 Jun 2020 01:27 AM PDT

    Hi,

    I've created an example project for anyone who don't know how to implement MVVM with LiveData and RecyclerView.

    Link:

    https://github.com/tRamboli/LiveData/

    Feel free to fork, share, edit and improve the code.

    Thanks!

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

    "Introducing AndroidDistribution․io, a new home for the Android distribution chart"

    Posted: 07 Jun 2020 02:18 PM PDT

    In case you wanted to view it without Android Studio, someone made it into a website:

    https://9to5google.com/2020/06/05/introducing-androiddistribution-io/

    https://androiddistribution.io/

    If you want, I've made today an app that shows it in textual format, open sourced too, based on the JSON we can have from Android Studio code (it also has an APK) :

    https://github.com/AndroidDeveloperLB/AnddroidVersionsStats

    submitted by /u/AD-LB
    [link] [comments]

    What are some of your favourite extension functions in Kotlin/Android Framework?

    Posted: 08 Jun 2020 03:36 AM PDT

    Like I love the following extension on View

    fun View.setVisible(isVisible: Boolean) { visibility = if (isVisible) View.VISIBLE else View.GONE }

    As simple as it looks it's pretty powerful in my opinion as it removes a lot of if-else blocks from my code base. For 0.01% of cases where I need to just make view invisible and not gone I use

    ``` fun View.setInVisible() { visibility = View.INVISIBLE }

    ```

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

    Bug in RecyclerView + SwipeRefreshLayout

    Posted: 08 Jun 2020 01:40 AM PDT

    Hi there. I usually post something like this in sticky-ed beginner questions, but I can't find it in the front page.

    I created the recyclerView before and it worked normally, both the view and the click behaviour. Recently, I added swipeRefreshLayout to it and it behaves weirdly. My XML looks more or less like this:

    <androidx.swiperefreshlayout.widget.SwipeRefreshLayout android:id="@+id/swipeRefresh" android:layout_width="match_parent" android:layout_height="0dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> <androidx.recyclerview.widget.RecyclerView android:id="@+id/recycler" android:layout_width="match_parent" android:layout_height="match_parent" android:layoutAnimation="@anim/layout_animation_fall_down" android:visibility="gone" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" tools:visibility="visible" /> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> 

    I added some code to swipeRefreshLayout behaviour in the kotlin file, but I ommitted it because I find it indifferent. It's more or less just some vanilla code.

    The bug is, if the recyclerView is in default position (unscrolled), all items in unclickable. But when it's scrolled, even just a little bit, all item is suddently clickable. When I scrolled the recyclerView again to default/topmost position, the items become unclickable again.

    The recyclerView behaves normally before I added swipeRefreshLayout and became normal again when I disabled the swipeRefreshLayout. By disabled, I mean commented it out in the XML file.

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

    Can anyone tell me the library name for floating menu from this application?

    Posted: 08 Jun 2020 12:58 AM PDT

    Exploring how to provide your own password protected backup-restore mechanism in your app

    Posted: 07 Jun 2020 12:59 PM PDT

    What is the best media (image/video) picker Library for Android app development ?

    Posted: 07 Jun 2020 12:52 PM PDT

    Hello People,

    What is a good library for picking images and videos from internal and external media storage in an android phone?

    The ones I have worked with do not satisfy some of the basic needs.

    My basic requirement for the library is ---

    1. I should be able to pick multiple images and videos at the same time, like Instagram does

    2. Should be able to apply FFMPEG video and audio encoder ( I have already implemented this and is running independently.) on the media files picked by the library.

    3. Should provide me with the facility to crop images and videos and if not again, I will add the FFMPEG media file manipulator on it.

    4. It should be able to detect media files not only from gallery but also from google photos, google drive.

    5. It should also have a different camera capture mechanism to capture images directly.

    If anyone out there has any idea, extend your gratitude !

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

    What is the difference between kernel and firmware?

    Posted: 08 Jun 2020 04:24 AM PDT

    Can I install different versions of Android (Marshmallow, KitKat, Pie etc) on the same kernel version?

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

    11 Top Android Studio Plugins for Faster Development

    Posted: 07 Jun 2020 12:14 PM PDT

    No comments:

    Post a Comment