Questions Thread - September 24, 2016

Questions Thread - September 24, 2016


Questions Thread - September 24, 2016

Posted: 24 Sep 2016 05:05 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]

App Feedback Thread - September 24, 2016

Posted: 24 Sep 2016 05:05 AM PDT

This thread is for getting feedback on your own apps. Please adhere to the following rules:

Developers:

  • must make top level comment
  • must include Play Store, GitHub, or BitBucket link
  • must make effort to respond to questions and feedback from commenters
  • may be open or closed source

Commenters:

  • must give constructive feedback in replies to top level comments
  • must not include links to other apps

To cut down on spam, accounts who are too young or do not have enough karma to post may be filtered pending manual approval.

As always, the mod team is only a small group of people, and we rely on the readers to help us maintain this subreddit. Please report any rule breakers. Thank you.

- Da Mods

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

I just published my first app Clock+, an alternative to the Google Clock app, featuring UI/UX enhancements and new time pickers!

Posted: 24 Sep 2016 06:44 PM PDT

Clock+ makes some improvements to the interface and interaction design of the Google Clock app, while maintaining its clean and simple overall feel. Alarms, timers, and stopwatch functionality are included.

Pictures

Link to Play Store

GitHub

The two new time pickers are modeled after the Android framework's native time pickers (both the legacy number pad and the current radial clock) and revamped to provide the best UX and interaction design of any existing time picker implementation for mobile. I will be releasing a library of these time pickers in the near future.

Disclaimer: While this app takes design cues from the Google Clock app, unfortunately the source code is not based on Google's. (Everything is working as intended, though!) I know the Google Clock app is open source, and I could have built off from that instead of reinventing the wheel, but being a beginner, I didn't realize that the Google Clock app was open source until months after I started development and even after I found out, I didn't know then how to clone/import the project into Android Studio. Even if I had, I probably wouldn't have understood their solutions/decisions or known how to integrate their code with my own. So, eating my losses, I decided to complete the rest of my app with my own solutions and decisions for the overall learning.

I appreciate any feedback!

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

Working on MVP, am I doing it right?

Posted: 24 Sep 2016 03:59 PM PDT

Hi all! I'm working on a basic app, just to learn how to implement MVP with dagger, retrofit, etc. At some point, I decided I wanted to support configuration changes (like screen rotation) and I converted the views from Activities to Fragments.

Now, the thing is.. I'm not sure if I'm doing it right (I mean, the app works, screen rotation works, looks like there are no memory leaks, but I don't know if the approach is "clean")

Could you please review it and let me know what do you think?

https://github.com/matoelorriaga/pokemon-mvp

Thanks!

P.S.: Now I'm working on adding both Unit and UI tests, will update the project soon, probably tomorrow.

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

android-page-transition - This looks pretty good

Posted: 24 Sep 2016 06:09 AM PDT

CDN and API keys

Posted: 24 Sep 2016 10:54 PM PDT

It sems to me that for an app that uses public web services that requires API keys, a simple way to avoid embedding the API key in the app would be to set up a CDN in between the app and webservice that appends the key to the request to the webservice. However I have not found any such CDN in the non-enterprise segment. The second simplest would then be to write such a "webservice transformer" (a kind of proxy actually) and put it in the cloud. But I would prefer it real simple, not have to deal with deploying application servers to EC2 etc. Simple, reliable and cheap is what I am looking for. Lambda is similar, but I want it synchronous to http requests. Deploy and forget. Any advice?

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

The right way to have a permanent time-stamped log?

Posted: 24 Sep 2016 06:14 PM PDT

I am developing an application that logs every time the user eats, and lets them see it on a calendar. It also gives them the time between their meals.

That likely means storing a file in which I can incrementally add a timestamp every time the user clicks a button. Maybe one file for each month I don't know.

My problem is the whole daytime-saving thing, along with the user possibly changing the date.

How the hell am I supposed to give accurate times if new events can just be created in the middle of old ones?

Do I just prevent it, and make that accidentally logging an event in the future blocks any new event?

Is there a way to somehow get the true time? I doubt there is without an internet connection.

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

Quick Survey for an app Phoenix developers are thinking about testing at ASU! Very cool stuff, should take 30 seconds!

Posted: 24 Sep 2016 09:49 PM PDT

[Question] Working with Doze and Sockets

Posted: 24 Sep 2016 01:27 PM PDT

I am not super familiar with the Doze/Doze on the go feature of Android from a development perspective and after reading the docs / StackOverflow related posts I still have some questions.

I'm working on a basic app that is more or less just a basic TCP client that needs to maintain a persistent connection with the server for as long as the user desires and must periodically send keepalives. From what I've read, the minimum time for non-optimized apps to receive alarms is 9 or 15 minutes so that shouldn't be a problem. The problem arises when android cuts off network connectivity to an app when Doze is entered which potentially hurts the effectiveness of the app since its focus is to provide event-driven updates received from the server.

Is my only option to keep the persistent socket alive to run the TCP client in a foreground service instead of in the background (and would this guarantee the persistence of the socket connection)? If so, could this potentially contribute to significant battery overhead?

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

How much should i quote for this App?

Posted: 24 Sep 2016 06:49 AM PDT

Hi guys, one of my clients wants an App developed for his Freight Forwarding business. The business uses an ERP system that allows its clients to track their cargo using an HBL number.

it's already integrated on their website and he wants a mobile app version of it. The functionality is the same, just with better presentation of the details. No database, no logins, no maps, just a bridge between the ERP system and the app.

Thanks!

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

How can I make an awesome developers page in an android app?

Posted: 24 Sep 2016 01:16 PM PDT

I am working on the android app for my college's technical fest. The developer page currently looks like this: http://imgur.com/a/54qX2 The images represent the people developing the app for respective OS. How else can I make such a page?

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

Questions about publishing to the playstore

Posted: 24 Sep 2016 02:11 AM PDT

If i made a reddit client and i wanted to publish it what should go in my privacy policy if i never really "collect" any data and by the way what do they mean by that? Collect as in i store all of the data and i have access to it? Or simply store it let's say on the phone?

What about the privacy policy? We can still use reddit as an example or any other website where the app uses user credentials to log in and do stuff. Do i have to explicitly state what is happening when the user uses their credentials in the app? Even though nothing gets outside of the phone -> website?

Also the Questionnaire of the new content rating it says if i collect data, send to third party, fill forms, etc does it apply here?

I have already made my own research and i'm not posting here without searching before but it would be great if i get this as clear as possible.

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