Questions Thread - September 13, 2016

Questions Thread - September 13, 2016


Questions Thread - September 13, 2016

Posted: 13 Sep 2016 05:07 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 today's thread? Click this link!

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

Android Support Library, revision 24.2.1 Released

Posted: 13 Sep 2016 11:50 AM PDT

How to implement mini navigation drawer specified in Google's Material Design Guidelines

Posted: 13 Sep 2016 06:12 PM PDT

Flipping Duolingo: filling a gap in support for right-to-left languages

Posted: 13 Sep 2016 05:20 PM PDT

AndroidDevs with a job, how much do you earn?

Posted: 13 Sep 2016 10:25 AM PDT

Animated icons on Android

Posted: 13 Sep 2016 04:35 AM PDT

Dagger 2.7 released, adds subcomponent inclusion via module annotation

Posted: 13 Sep 2016 09:27 AM PDT

https://github.com/google/dagger/releases/tag/dagger-2.7

As a follow up to the talk by Gregory Kick this adds the support needed for the activity subcomponent design he mentions at the end of the talk. https://youtu.be/iwjXqRlEevg

Example attempt here:

https://github.com/trevjonez/Dagger2-MultiBinding-Android-Example

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

Faster JSON Deserialization with AutoValue GSON extension

Posted: 13 Sep 2016 10:48 AM PDT

ClusterManager tutorial

Posted: 13 Sep 2016 11:41 PM PDT

Get feedback on reliability & performance of your app

Posted: 13 Sep 2016 12:52 PM PDT

If you app has found product-market fit but it is having reliability & performance issues, reach out to me. I will provide suggestions on improvements [for free!!!]. You don't have to give me the source code, if you don't want to. APK files are usually more than sufficient even when obfuscated.

About me: Senior Engineer working on Android for a relatively successful mobile company.

P.S. Since I am doing it for free, it is at my discretion to accept/deny a request. I am doing it just as a payback to the community.

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

Filling PDF Form Interactively

Posted: 14 Sep 2016 12:24 AM PDT

I am looking for ^ but would prefer to choose free to use libraries/APIs instead of commercial ones.

Anyone?

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

Beginners Question to sharing Data / App for local Baseball-Team

Posted: 14 Sep 2016 12:17 AM PDT

I recently started developing Android Apps and used to publish small apps, which wouldn't need any other connection than to the internal SQLite-Database.

Now I planned to "publish" an app for my baseball-team, which should be able to display gameday-dates and standings. Those are in general published on a website, where you have to select your team (I live in germany) and get a html-table. It's written in php, and my first thought was, to obtain the html code and then get the needed values from there. The page is managed by our local association, so I don't have access to the database directly.

The problem with that was, that I first need to interact with the site (select team, click submit-button), and the request is sent via POST, so unfortunately I can't just copy a GET-URL.

My second thought was to build a database on my own, we only have around 12 games per season, and it wouldn't be a big deal to add dates once a year and the scores after a game. But since I'm a student without access to a lot of money, I can't and don't want to spend lots of money on renting a server to host such a small database.

Now, is there a possibility to achieve my first approach? Would be the easiest way to do so, since I wouldn't have to update the values by myself. If not (or bad idea), is there a way to host the database (or simple xml/text-file because of small complexity) somewhere else for free? Thank you very much!

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

Tutorial on creating and publishing your 1st Android library

Posted: 13 Sep 2016 04:52 AM PDT

Update Dependencies.Code.Repeat.

Posted: 13 Sep 2016 10:26 AM PDT

Still Be Careful of Drag-and-Drop on Android 7.0 - The CommonsBlog

Posted: 13 Sep 2016 05:38 AM PDT

Hoping for code review and CONSTRUCTIVE criticism of my Play Store app

Posted: 13 Sep 2016 06:59 PM PDT

Hi folks,

I recently finished General Assembly's Android Development Immersive bootcamp and recently published my final project on the Google Play Store.

Here's the code on Github.

In an attempt to keep improving, I was hoping that you all could rip my code apart and give me constructive criticism/feedback.

It seems that previous /r/androiddev posts like this one have been warmly welcomed, so I figured I'd join the party.

  • Yes, I haven't written the Espresso/JUnit tests yet, but plan to very soon.
  • Yes, my previous Git commits expose my past Facebook API key(s). I got a new key by re-creating the app on the Facebook Platform and then hiding the key in gradle.properties. Awesome lesson learned there.

I'd love to hear any feedback/tips/warnings/etc. that you all have!

Thanks!

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

Help bring iMessage to Android!

Posted: 13 Sep 2016 07:55 AM PDT

Hi everyone,

I have been working on and off for the past 2 months on creating a cloud-based service to bring iMessage functionality to Android users.

What I have accomplished so far:

Server-side ability to send and receive individual messages, group chat messages, and attachments (images and movies). Others like PieMessage have accomplished single user messages, but it does not support group messages or attachments. The big breakthrough was figuring out how to support group iMessages as Applescript for Messages does not support multiple-user messages.

My goal is to introduce a cloud-based service that enables anyone to use iMessage without the requirement of dedicating an at-home Mac to act as an iMessage server.

I need your help! I have never made an Android application and would love someone to help me launch this product! An ideal candidate would have experience building a messaging app, dealing with JSON APIs, and Firecloud Messaging for notifications.

I have made a Slack channel (imessageonandroid.slack.com) for those that want to participate. I look forward to seeing you there, or continuing the conversation on this thread!

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

Strategy pattern in Android Development

Posted: 13 Sep 2016 03:16 AM PDT

I had a thought about extracting dupe code to the external classes and add them as modules to the project.

I wrote little readme in the repo and provided example app: https://github.com/tonyshkurenko/Extensions

I want to ask you:

1) Does it make sense?
2) Maybe you know better or existing solution to do this?

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

FragmentArgs - probably the best useless library ever

Posted: 13 Sep 2016 03:01 AM PDT

GVX Auth token for Google Voice?

Posted: 13 Sep 2016 05:37 AM PDT

Hi everyone!

I'm trying to authenticate my app with Google Voice. From what I can tell reverse engineering the web interface, Google Voice has its own authentication token type called 'gvx'. I thought I would be able to interact with the back end by sending it the URL params and including the authentication payload (that's all it seems to do in the browser). For whatever reason it isn't working and instead returns an "unauthorized" error. Has anyone ever used gvx? How do I authenticate my app with it?

Thanks!

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

What to do with app idea?

Posted: 13 Sep 2016 08:23 AM PDT

Hi everyone!

Recently I've thought of a great idea for an app. The idea itself is irrelevant, and I am mostly just wondering about the process itself. Hypothetically, let's say this idea is proven to have the market and attention it needs to be a very successful app.

To go into more detail, let's say that this app is a new concept (not new functionality) that would add to and integrate seamlessly with an existing app. For example, this app would need access to Amazon's product database, and would provide a new concept that would change online shopping in a way that no one has done before.

Here's where the questions start:

*If I built the app myself and requested Amazon's API, how could I prevent them from stealing my app when I tell them the details of why I need their API? *If my app got tons of attention and proved to be profitable, how could I prevent them from just completely rebuilding my app and using it on their existing platform?

If the answer is "well you can't, because ideas can't be stolen", would I be able to sell my app concept to them? How does this process work? How could I prevent them from stealing the app after I show them a concept and detail the logic and different functionality?

I realize that these are just general questions, but I couldn't really find anything in all my searching that covers these topics. I appreciate any insight!

submitted by /u/weddingandtravel
[link] [comments]
Thanks for reading my news about Questions Thread - September 13, 2016 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.