• Breaking News

    [Android][timeline][#f39c12]

    Monday, September 24, 2018

    Weekly "who's hiring" thread! Android Dev

    Weekly "who's hiring" thread! Android Dev


    Weekly "who's hiring" thread!

    Posted: 24 Sep 2018 05:46 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 - September 24, 2018

    Posted: 24 Sep 2018 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, 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]

    Android Studio 3.2 Stable is out

    Posted: 24 Sep 2018 10:19 AM PDT

    But there is no release notes yet, so check for updates.

    And it's not available yet for download in the official website, only if you check for update.

    Here is the download URL - https://developer.android.com/studio/ (thanks u/indyfromoz)

    And the release notes - https://developer.android.com/studio/releases/#3-2-0 (thanks u/Flekken)

    submitted by /u/4brunu
    [link] [comments]

    Writing an Android NES Emulator — Performance optimizations

    Posted: 24 Sep 2018 05:12 AM PDT

    Topics to cover to become a developer without a degree.

    Posted: 24 Sep 2018 08:31 AM PDT

    Good evening devs, i am learning Android by myself, without Udacity or any course as i am broke.

    Please help me with the topics i should learn to be able to compete with the world.

    Please mention according to the difficulty level.

    Thank you in advance.

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

    Android Studio 3.2: Why is the generatedJava folder here now?

    Posted: 24 Sep 2018 02:03 PM PDT

    Are Kotlin coroutines really going to replace RxJava?

    Posted: 24 Sep 2018 12:09 AM PDT

    Hi,

    I am just curious about it, that should i start learning Rx or Coroutines, usually till this day i ignored rx because of the learning curve but now i am in a situation that i must learn something to do async works in better way and which is fruitful for me in the next 5 years or so, so what do you guys suggest me?

    Ps: i know RxJava is way more powerful than Coroutines but i am kinda worry about my time investment into something which should not go away or i don't need to relearn something else or because now companies will be asking that Coroutines are the way to go.

    Thanks

    Edit: I decided to go with Kotlin Coroutines that looks more natural when i am already writing code in kotlin, and doesn't need to remember allot of things to make it work. Thankyou for responding it helped me allot.

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

    I recently published my first app! I would love your feedback on the code and app.

    Posted: 24 Sep 2018 03:34 AM PDT

    Hello there!

    I'm a beginner in Android development. I recently published my first app, Resumade. It's open source, written in Kotlin, and uses Android Architecture Components.

    Here's the link to the GitHub repository: GitHub

    Here's the link to the play store page: Play Store

    I would really appreciate some feedback on the app or the code quality!

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

    Android: Change View Visibility takes a long time?

    Posted: 24 Sep 2018 08:29 AM PDT

    Android: Change View Visibility takes a long time?

    Hey guys,

    So I have a View, wich has between 6-10 TextViews and ImageViews, that are part of an android.support.constraint.Group. There are 6 groups in total, and I want to change the visibility of one group at a time as follows:

    public void toggle_contents(View v){ if(v == findViewById(R.id.abigail_spring_text)) { table_abigail_spring.setVisibility(table_abigail_spring.isShown() ? View.GONE : View.VISIBLE); } else if...same for the other 6 Groups } 

    The problem is that it takes alot of time to change the visibility of the ViewGroups. My guess is, that the view rerenders EVERY View inside the activity, and not only the ones from the Group, because this worked fine, as I had a little less views inside the activity. I already tried View.INVISIBLE instead of GONE, which is way faster, but this doensn't give back the space used by the views. If I force the view to rerender after changing the viewGroup to INVISIBLE, it takes as much time as GONE. Is there some way to improve the computing time? Like changing the datatype of the images or a different method of hiding the Groups? The ressource pictures are all in .png datatype, because I need the background to be invisible. On my Device (Huawei Mate 10 Pro) it's still bearable fast, but I support older devices and android versions as well, so it could be quite a problem if it takes 4 seconds to hide or show something on older devices.

    EDIT: to show you what my view looks like i will attach 2 Images. As you can see in the first picture, there are no png images shown at launch time even though they are rendered and set to invisible. Is there by chance a way to first load only the screen like shown in the first picture, and render the png images only after a tap on one of the TextViews? And only those belonging to the according Group?

    first(left) and second(right)

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

    Easily Adding Nested Recycler View in Android (A beginner friendly Kotlin based tutorial)

    Posted: 23 Sep 2018 06:54 PM PDT

    College Final Project - Questions.

    Posted: 24 Sep 2018 03:55 AM PDT

    Hi everyone!

    I'm on my last semestre in college and I'm supposed to present a "modest computing solution, product or service" by the end of 12 weeks.

    My idea is to build an app similar to a baby photo album for new parents, where they can select a background according to the theme (e.g. 1st month anniversary, first teeth, christening etc), add a photo to it and share with friends and family.

    Instead of a vertical feed like Instagram I wanted to have a friends list and, as you select a friend, the app sidescrolls to the latest posted photo and from there you can swipe left to see the next one.

    As a stretch goal I wanted to make it not unlike Instagram, allowing for comments and likes of sort, and export the album to a slideshow with a selected song.

    I have a good experience with Java and I'm currently learning Android programming at Udemy.

    My question is, considering the time constraint, do you guys think it is possible to pull the core of the app out? How about the stretch goals? I'mm really concerned about biting more than I can chew and not deliver.

    Thanks in advance!

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

    What is the difference between these gradle tasks: task delete() vs task clean()

    Posted: 24 Sep 2018 02:47 PM PDT

    When I'm using the plugins {} block in my projects build.gradleAndroid Studio 3.2 complains with this: "Declaring custom 'clean' task when using the standard Gradle lifecycle plugins is not allowed"

    So I changed this:

    task clean(type: Delete) { delete rootProject.buildDir } 

    to this:

    task delete(type: Delete) { delete rootProject.buildDir } 

    And it worked. But is there any difference?

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

    Android Studio / How to use SharedPreferenced on button.setEnable

    Posted: 24 Sep 2018 02:17 PM PDT

    Transferring data to a website

    Posted: 24 Sep 2018 01:36 PM PDT

    Hey guys,

    I'm working on a project where the app sends data (location and time) to a website. I've already created the app, but now I have no idea how to send the data to a website. I'm guessing once I'm able to send the data, the website will need some sort of database to store the info, but for now I'm only focused on the app sending data to the website.

    Any advice on where to start learning or doing?

    Thanks,

    FWMoor

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

    Android Studio 3.2 available in the Stable channel

    Posted: 24 Sep 2018 01:02 PM PDT

    Android MediaStore

    Posted: 24 Sep 2018 12:44 PM PDT

    Hello guys,

    I am using MediaStore to get media files (like a file manager) and there are two things I'm wondering:

    1. How would do you retrieve all files when they are separated in different URIs by type?
    2. How would do you save a reference of every file and its type in a database? I don't like the idea of nullable fields in a SQL database. I've been thinking about it and I know composition is better than inheritance but I like the idea of a base class which contains base columns.

    I will release the app and its goal soon :)

    Thanks for sharing your ideas!

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

    Last 30 days admob reports

    Posted: 24 Sep 2018 08:26 AM PDT

    i got 5k impression with 300 clicks.

    revenue $38

    any idea to improve the stats? or is already good progress?

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

    Android Studio cant find firebase location in C++

    Posted: 24 Sep 2018 05:51 AM PDT

    Hi,

    This may be a stupid question but I have been following these steps and my AndroidStudio can't find my firebase SDK folder.

    All of this works fine and I created new gradle.properties file on project level with the systemProp.firebase_cpp_sdk.dir pointing to my sdk location. (i.e. C:\dev\inc\firebase_cpp_sdk\firebase_cpp_sdk\include)

    But my code still doesn't know how to #include <firebase/app.h>

    Do I have to add it manually to Android Studio at some place and where?

    Thanks.

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

    Is there a reliable way to log CPU usage for your app or find stacktrace for when app is killed by OS?

    Posted: 24 Sep 2018 11:13 AM PDT

    I've been running into an issue where when my app is in the background on the Huawei P20 it is getting killed by the OS for what I can only assume is CPU usage at this point. Problem is I do not have access to the phone and cannot reproduce the problem on any other device.

    Is there a place where stacktrace for crashes get stored on the OS similar to Analytics Data on iOS? Or does anyone have any recommendations for tracking down the source of this, I haven't been able to find a reliable way to log CPU usage at all. App is written in Kotlin if that helps. Thanks

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

    Changing navbar color

    Posted: 24 Sep 2018 11:13 AM PDT

    Sorry if this kind of post is forbidden, the link to the rules just sends me back to the sub... So how the hell does one change the color of the navbar? We've been searching for hours, starting to become desperate... Please help! Any info is appreciated!

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

    Embedding unity library to android studio. Lots to learn about native android apps!

    Posted: 24 Sep 2018 11:11 AM PDT

    I'm stuck trying to add a unity library to an app in android studio. I'm following this tutorial https://medium.com/@davidbeloosesky/embedded-unity-within-android-app-7061f4f473a

    But when I get to step 6 and I try to add the dependencies

    I get either this: Unable to find a matching configuration of project :nativeAndroidPluginTest-debug.aar: None of the consumable configurations have attributes.

    or

    Could not find method implementation() for arguments [project ':nativeAndroidPluginTest-debug.aar'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

    Any ideas? I'd love the help. Thanks

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

    How to disable ProGuard apk obfuscation on Android Studio?

    Posted: 24 Sep 2018 11:04 AM PDT

    I'm trying to take a peek at the apk file from a very simple Hello World Android app in Android Studio.

    I unzipped the apk file from the /outputs/apk directory successfully, and I attempted to use baksmali on my classes.dex file to get the source code.

    The output of baksmali does not contain the source code. I have a hunch that ProGuard is obfuscating my apk. But its also possible that I misunderstand how to obtain the source code from the apk file.

    I've tried deleting the ProGuard directory, i've tried "minifyEnabled false" in my build.gradle app, i've tried "useProGuard false" in my build.gradle app, i've tried adding -dontobfuscate to the proguard rules file.

    Not really sure what else to do or if ProGuard is even the issue here.

    Here is a screenshot of the apk contents in Android Studio: https://i.imgur.com/J8cScuj.png

    Here is the folder output of baksmali(its a rar download): http://s000.tinyupload.com/index.php?file_id=39845752036028870953

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

    Interfacing with Bluetooth

    Posted: 24 Sep 2018 09:16 AM PDT

    So I am fairly new to android dev and have a good idea but want to know how to go about it. Is there a way I can create an app that interfaces with bluetooth devices instead of using the typical google interface for connecting to a bluetooth device? Not sure if the connecting of bluetooth devices is handled by intents but I would love to get some information from you guys.

    Thanks

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

    Mocking AndroidTest in Kotlin – Mitchell Tilbrook – Medium

    Posted: 24 Sep 2018 05:09 AM PDT

    Is it possible to learn how to make an app simply by studying the android developer documentation

    Posted: 23 Sep 2018 06:28 PM PDT

    I am well versed in java and have a little experience with XML. Does the documentation provide enough information that is understandable so I could build my own app from the ground up, or would I need to find some other resources (courses, books, video tutorials)?

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

    AdMob icons disapeared?

    Posted: 24 Sep 2018 06:56 AM PDT

    So it doesn't seem to serious or anything but I noticed saturday morning that my icons for all of my apps just random disappeared on the admob console was wondering if anyone else had the same issue.

    Came accross one thread of people that did https://productforums.google.com/forum/#!topic/google-admob-help-forum/ElIdcEHqUbc;context-place=forum/google-admob-help-forum

    could there be possible updates on the console? 3 days so far icons aren't back

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel