Weekly "who's hiring" thread!

Weekly "who's hiring" thread!


Weekly "who's hiring" thread!

Posted: 02 Jan 2017 05:33 AM PST

Looking for Android developers? Heard about a cool job posting? Let people know!

Here is a suggested posting template:

Company: <The company>
Job: <Title>
Location: <City, State, Country>
Allows remote: <Yes/No>
URL: <Link to the listing URL>
VISA: <Yes/No>

Feel free to include any other information about the job.

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

Weekly Questions Thread - January 02, 2017

Posted: 02 Jan 2017 04:14 AM PST

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]

Do you want to contribute to an Open Source App?

Posted: 02 Jan 2017 10:15 PM PST

Over time, I've seen many people mention that they would like to contribute to open source projects, but don't know where to start. So I made a list of apps that you can contribute to.

Amaze: File Manager

AnkiDroid: Memorization helper using flash cards

Bitcoin Wallet: Standalone Bitcoin Wallet for Android

Briar: Secure and private instant messaging

Currency: Currency converter

Equate: Calculator with unit conversion

F-Droid: Open Source App Repository

FaceSlim: Web App for Facebook

Forecastie: Weather App with Widget

ForkHub: Github Client

K9 Mail: Email Client

Keepass2Android: Password Manager (written in C#)

LibreTorrent: Torrent Client

Microg: Replacement for Google Services

NewTube: Youtube Player

oandbackup: Backup Manager

OsmAnd: Maps and Navigation

Popcorn Time: Streaming Torrent Client

RedReader Reddit Client

Riot: Instant Messenger

Syncthing: File Synchronization

Timber: Music Player

Transportr: Public Transport Companion

OpenTasks: Task App

Various Apps by Simple Mobile Tools

Also check out F-Droid for more apps you might be interested in.

Now after you picked an app where you want to contribute, how do you get started? My suggestion is, just install the app and use it for a while. Chances are, you will run into a bug, or notice something that could be improved. Alternatively, you can just check the projects issue tracker for something you're interested in. Just try to keep it simple in the beginning.

Before you start programming, it's a good idea to get in contact with the developers. If there's no open issue for your contribution, you should open one to make sure the developers agree with your proposed solution (and they can give you some help if you ask). After that, clone the repository, find the right spot in the source code, and fix the problem. Then create a pull request on Github. The developers might have some comments and you might have to change some things. But this shouldn't be hard, especially if you did a small change. And that's it, your first contribution!

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

Auto-Layout for Sketch - now supports Android

Posted: 02 Jan 2017 10:24 AM PST

An easy yet powerful device discovery library for Android.

Posted: 02 Jan 2017 09:26 PM PST

Advice Needed. NavigationDrawer with Fragments or Activities

Posted: 02 Jan 2017 10:25 PM PST

Hello!

I am developing a (Human Activity Recognition) HAR application that will constantly track user's contextual data (walking, running) and log it into a database. I am currently working on the design of the app. I want to use Navigation Drawer to switch between Home, History, Settings and Help screens. My question is, am I better off using Activities to implement these screens and the nav drawer will transition between those or fragments and just one main activity with frameLayout as a container? I would appreciate any recommendations. Thank you in advance!

P.S.: I found this tutorial on how to implement the drawer with fragments: https://www.simplifiedcoding.net/android-navigation-drawer-example-using-fragments/

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

How to Add Google Service in Unity Game

Posted: 02 Jan 2017 10:18 PM PST

Unity Admob API Unity Firebase Analytic API Unity Google Game API Unity Admob Tutorial Unity Firebase Analytic Tutorial Unity Play Game Service Tutorial Firebase Remote config and log Quick Start

Installation Google Play Game Service Unity Plugin

Open your project in the Unity editor. Navigate to Assets -> Import Package -> Custom Package. Select the google_service_unity_plugin.unitypackage file. Import all of the files for the plugins by selecting Import. Make sure to check for any conflicts with files.playgamedemo.cs and game.unity is demo file can be ignored. replace all "com.google.demo" with your app package id in AndroidManifest.xml replace app_id content with your google play game id,replace google_app_id content with your google firebase app id in ids.xml Show Admob Ads in Unity game

using admob; Admob.Instance().initAdmob("ca-app-pub-3940256099942544/2934735716", "ca-app-pub-3940256099942544/4411468910"); Admob.Instance().showBannerRelative(AdSize.Banner, AdPosition.BOTTOM_CENTER, 30, "defaultBanner"); just 2 line code,admob banner will been shown on screen.for more usage Unity Admob Tutorial

Analytic Unity game with firebase Analytic

using google.service.game; FirebaseAnalytic.Instance().logEvent("appstart", "{\"time\":\"112222\",\"name\":\"demouser\"}"); Log Event with Firebase Analytic.For more usage about Firebase Analytic Unity Unity Firebase Analytic Tutorial

Using Google Play Game Achievements and Leaderboards in Unity game

Login with google play service using google.service.game; GoogleGame.Instance().login (true, false); You can call google play game api after login success such as show Leaderboards with default UI GoogleGame.Instance().showLeaderboards(); Show Google play game Achievements with default UI GoogleGame.Instance().showAchievements(); 4.Fore more usage about google play game service in unity Unity Google Play Game Tutorial

https://github.com/unity-plugins/google-service-unity

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

Reading open source documentation to improve own knowledge

Posted: 02 Jan 2017 04:54 PM PST

Just wanted to share a tip with other budding Android developers.

Especially in major bluechip/tech companies' apps, I will find the info about which third-party libraries are used. It's usually in Settings, buried at the bottom of the nav drawer, or something.

This is a cool way to see what libraries are being used by seriously talented Android devs and to learn about new libraries that I've never even heard of before.

Happy coding and waiting for Gradle to build, to all...

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

Trying to write an Oauth concept app, need guidance on starting place

Posted: 02 Jan 2017 03:23 PM PST

Hi, I'm hoping to write a concept app to practice with Oauth on the android platform. Basically my idea is to write something that will prompt a user to login to something like instagram/twitter/facebook/google using credentials that are already stored on their device. Once authenticated it could simply open twitter/facebook/etc in a browser window to prove that the authentication was successful.

I'm doing this just to learn so I really want to just start with one service, not important witch one. I'm very new to this all so I wanted to see if anyone had suggestions on frameworks to use to get the best product.

I was thinking about using Apache's cordoba webview for an inapp browser, will this accomplish what I need it to do? Also, I think most of us have seen that page that asks us if we can use credentials from another app to authorize a login before. How exactly do I create one though, is that something that is built in, or do I create one from scratch which just attempts an OAuth authentication in the background?

Looks like I'm supposed to use Chrome custom tabs for this. At the moment I have the app able to load instagram.com in a CCT. When I click login I'm redirected to the regular sign-on page. I guess now I just have to figure out how to replace that with the Oauth function. If anyone has a good tip for the smoothest way to go about this, let me know. Thanks.

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

Library to make implementing galleries more easier

Posted: 02 Jan 2017 08:53 PM PST

What ever happened to the patent troll that was suing devs for uploading apps to the play store?

Posted: 02 Jan 2017 12:31 PM PST

Back in June, there were a few articles that ran over on AndroidAuthority and the like about a company called Uniloc suing not only Google, but also individual app devs, for posting their apps on the Play Store. Their patent basically covered the entire idea of an Android app store, so it gave them the ability to go after pretty much anyone who uploaded.

https://www.reddit.com/r/Android/comments/4n08jj/developer_is_being_sued_for_using_the_google_play/

I've been looking for information on what's happened with these guys, and I'm not finding a lot.

Has anyone heard anything new on this?

Thanks!

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

Flow-based MVP Example @ GitHub

Posted: 02 Jan 2017 03:35 AM PST

A Closer Look at Google's Material Design Components Library

Posted: 02 Jan 2017 09:12 AM PST

I develop on a Surface Pro 4. Is a custom built dev machine going to be significantly better?

Posted: 02 Jan 2017 05:27 PM PST

Core i5 6300U (2 cores, 4 logical CPUs - 2.4 GHz), 8GB RAM, SSD for storage.

I compile reasonably small apps from github and do some development now and then. I find AS annoyingly slow at compiling a full build and still kinda slow (say 30-60s) if I just make a small change and rebuild the apk (not a clean build). And the UI feels a bit sluggish (not too bad).

I've used Linux for years but using Windows now for unavoidable reasons (that I'm okay with). But every once in a while, I feel like having a Linux headless machine again would be very helpful for Android dev and some occasional debugging (eg: messing around with Raspberry Pi and OpenWrt, etc).

If I can get a significant benefit in compile time with AS, I'm willing to build a Linux machine if it's around $500 (think one of those mini PCs/barebones).

Do you think a headless 4 core (not logical) Core i7 (or similar AMD CPU) + 16 GB RAM + SSD would give me a significant benefit for Android dev over the Surface Pro 4? I'll probably be VNCing from Windows or running X over ssh from Cygwin. Don't care for gaming or anything else.

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

What language / framework do you use to build apps?

Posted: 02 Jan 2017 01:39 PM PST

Was wondering what good alternative I could find before jumping on to java.

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

Is there anything "wrong" with this Dagger implementation? Would you improve it somehow?

Posted: 02 Jan 2017 05:04 AM PST

I've been reading a lot on Dagger 2 and trying to get my head around all the concepts. After reading many articles and looking at many code examples on GitHub projects, I've implemented Dagger 2 on my application with the following structure:

http://pastebin.com/PtJCZZfr

There's a few things that I'm not sure about this implementation that I'd like to discuss...

  • I've noticed that most Android applications implement a single ApplicationComponent where all inject() methods for fragments, activities and whatever are located. In a big and complex app this component might grow quite big. As such I decided to split this into a few logical components like ApplicationComponent for Android framework related dependencies, FragmentComponent for fragment dependencies and PojoComponent for POJO class dependencies. I currently don't have a ActivityComponent but that would be another component to add when required. What do you think of this organization?

  • The above leads me to the component initialization on MyApplication. First, I'm required to have a bunch of get*() methods for each component, as opposed to just one used everywhere. Second, each component needs to be initialized individually and some modules might be used by multiple components. Both these things give you additional boilerplate. Maintaining the multiple component implementation, is there a way this could be improved?

  • As you probably noticed on initializeInjectionComponents, I'm initializing both AndroidModule and NetworkModule just once to be used by multiple components. This seems about right but I'm wondering if it would make sense to always call new Module() for every module on every component (instead of a single instance)?

  • Some examples don't use static get*Component() methods on MyApplication; they use instance methods instead. This always requires an activity reference to access getApplication(), followed by a cast to MyApplication and then a call to the get*Component(). Is one a better approach than the other or they are both valid with no advantages/disadvantages over the other?

Besides the above questions, do you have any other general comments and improvement suggestions?

submitted by /u/0xKubo
[link] [comments]

Where can I found a good template of a information layout?

Posted: 02 Jan 2017 03:16 PM PST

I have a listview and every time that the user tab an item the app takes the user to another activity, I want to create a layout to show more info of the item clicked, where can I find templates of a info layout kinda like a table or something similar it doesn't have to be a table

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

Library: CheckBox and RadioButton with 3rd 'indeterminate' state

Posted: 02 Jan 2017 12:09 AM PST

Want to become an Android developer? Use these interactive questions to test and improve your java OOP skills.

Posted: 02 Jan 2017 12:02 PM PST

The questions use a "fill in the blank" format

You can find them at https://jacqueslenormand.com/javac

Background: I'm an ex Google engineer turned educator who wrote these questions for my students and wanted to share them with the community.

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

How to go about converting Excel Spreadsheet to android app

Posted: 02 Jan 2017 02:16 AM PST

I have an excel spreadsheet with some interactive cells that take user input and give output accordingly using excel functions. It also forms a graph based on the input data. How do I convert this spreadsheet to an android application. Any easy way, or where should I start? I have some basic experience with android studio.

Thanks

submitted by /u/iCloud-S
[link] [comments]

Installing the Android SDK command line tools

Posted: 02 Jan 2017 06:33 AM PST

How do you add self updating information to your app?

Posted: 02 Jan 2017 07:54 AM PST

Generally speaking, how can you add self updating information in your app with information from the web? For example, is there a way i can add a list of all TV shows currently on netflix and have that information self update as more shows are added in my app? Also i was hoping to achieve this in android studio if possible, thanks!

submitted by /u/NoobsGoFly
[link] [comments]
Thanks for reading my news about Weekly "who's hiring" thread! at my blog Custom Droid Rom if you want too share this article, please put the resource, and if you think this article is very usefully dont forget to bookmark this site with CTRL + D on your keyboard to web browser.

New and Hot Article's :

Note: only a member of this blog may post a comment.