The correct way to charge your device

Android - Thu, 12/13/2018 - 18:21
  1. Plug it in when it's running low on battery
  2. Let it charge until it's full or until you need it (charging overnight is fine)
  3. Take it off the charger

Your battery will degrade whatever you do. Degrading your battery 20% slower by charging it "the right way" isn't worth your time. You are not your device's slave. It's puprose is to serve you. Just enjoy your device.

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

How to make a search form like the AirBnb android app search behaviour?

Developing Android Apps - Thu, 12/13/2018 - 17:40

I want to recreate this behavior and I want help to know if I'm on the right way (and if any of you can share any similar example).

So when we open the app we're welcome with this screen: Airbnb1

We have: a search button (it's not a edittext field), buttons that open another set of options for the search, a recyclerviewer with a carousel with specific searchs, and a list of recommendations.

When we click the search button, an fragment (I think) appears with animation from bottom to top, with an search edittext and search suggestions: Airbnb2

When we input a search the app do the query to server, return a result and repopulate the recyclerviewer: Airbnb3

That's more or less how this app implemented it's search behavior? Is it the same activity or fragment that get's repopulate after the search? How can a replicate the animation when calling the search activity or fragment?

submitted by /u/PM10inPAYPAL4LULZ
[link] [comments]
Categories: Android, Linux

"Need help" grant secure setting

Tasker: Total Automation for Android - Thu, 12/13/2018 - 17:09


I'm get a popup inside my kid's tasker app about secure setting need to be granded.

I try by adb command, but it's don't work.


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

Task Studio hit it's first development milestone: First ever project exported!

Tasker: Total Automation for Android - Thu, 12/13/2018 - 17:06

As you all might know, I started working on a "tasker web interface" about a week ago. And after long days of procrastination, I am happy to announce I managed to export a project into Tasker!

Yeah, while it's still not usable in any shape or form, It's very close. Shouldn't take more than a week (of procrastination, mostly) before I implement enough functionality to call it early access and stop development entirely, and I might be able to put all the actions/conditions/etc. by Jan 1st. (2 weeks should be enough, right?).

So, expect an alpha "release" very early 2019.

And if you want more development news, subscribe to /r/taskstudio, which I created to not spam /r/tasker with Task Studio posts.

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

Turning on A smart plug, when connecting to a cell tower

Tasker: Total Automation for Android - Thu, 12/13/2018 - 16:43


My wife just asked me to do something that I don't know is possible.

We have our Christmas lights attached to a Vesynce outlet(s), she wants them set that when she leaves the house, they automatically turn off, and when she comes home they turn back on.

So the idea I had was to connect to the Cell tower - because thankfully we only have one covering my house. I know how to do the cell tower connect because I have several wifi connections already in place with it, but is it possible to connect to a smart device and turn it on and of without a customized plugin? I know I Can use IFTTT to toggle "If connected to wifi then do that." But she turns her wifi and on off for.. reasons I don't understand. so I was hoping to tag it through the cell tower instead.


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

Wake On Lan App Not Triggering

Tasker: Total Automation for Android - Thu, 12/13/2018 - 16:06

I've downloaded the wake on lan app and can turn on the computer while in my network directly from the app.

I've added a task to use the WOL app as a plug in and tried running the task with the play button on the bottom but the PC won't turn on. I can see the green light light up telling me it ran the task, but nothing happens.

I've tried using a natural voice command to trigger the WOL task but it won't work either. All of the other commands under the task will execute but not WOL

Is there something I need to do to get this task to execute properly?


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

What's your home screen setup?

Android - Thu, 12/13/2018 - 15:22

I have a habit of constantly adjusting and reorganizing my home screen.

Here's my latest

I'm super happy with it. It takes advantage of the AMOLED screen, and I have folders on the bottom to organize my apps by category (Google, Messaging, Other, Media, Camera)

How do you guys have yours setup?

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

Is it possible to have in-contet ads in mobile apps?

Developing Android Apps - Thu, 12/13/2018 - 14:43

So, I just published a mobile app for internal testing and I'm thinking about ads as one of the monetization models. My apps purpose is to help people coping with eating disorders. So, within the app, there is a community (forum) section where users can share their stories, post questions or help others. Something like small Reddit. So, every ''post'' is like a card (like on mobile Reddit similar). Is it possible to implement Google ads (or some kind of ads) to be like in-content style (like here on Reddit or Facebook)? So that the ad has the same properties as regular topic/post/card within community section?

I took some app ASO and similar as a course so the guy mentioned that in-contet ads are great. But how to implement them?

submitted by /u/Bat_is_my_last_name
[link] [comments]
Categories: Android, Linux

Storing Bank A/C Balances for multiple A/c numbers and display it in Table using Autotools

Tasker: Total Automation for Android - Thu, 12/13/2018 - 14:36


I get SMSes for balances of multiple accounts with my bank. One SMS for each Account twice daily. I am able to extract the relevant details required like A/c number, Date, Balance from the sms. I store it in separate arrays of A/c number, date and balances each.

Now i am not sure how to keep in sync all arrays with the LATEST balance each time an sms arrives for a specific account. Need to know a way to EITHER ADD to array if A/C is NEW or update old values in array.

OR Should I store them someplace else, in some other way which can also be parsed by Autotools table view? Seperate arrays makes it easier to use in autotools table web view

Further also want to store another array linking each account number with a "nikname". This will be a fixed array.

Finally the Autotools table would have rows of DATE | NICKNAME | A/C NUMBER | BALANCE

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

Any tricks to profile app on old Android versions? (4.4 specifically)

Developing Android Apps - Thu, 12/13/2018 - 14:22

Hey guys,

So at work some of our apps are spefically for our own bespoke device, which is basically stuck on Android 4.4.

Recent versions of Android Studio Profiler has deprecated old versions of Android, so i cant see any if that usefull info with my standard setup, cant find much info on Google either.

Anyone had any luck with this? other than installing an old version of AS.


submitted by /u/GusWard
[link] [comments]
Categories: Android, Linux

ListView and OnClickListener

Developing Android Apps - Thu, 12/13/2018 - 14:02

Hello all,

I am very new to this subreddit and to coding with Android, like I joined a couple of minutes ago to post this and have only been learning how to make apps for the last 4 months mostly self-taught.

I am creating a recipe book app, cliche I know, to test out my skills and am having some issues with adding an onclicklistener to individual items in my list view. Although I am not trying to have the option to add more recipes via an activity in the app, I am trying to leave that option open without too many edits to the main code.

In my main activity, I have a list view with a custom class (one string and one image source) and a custom layout for the list. From what I have discerned from the internet is that to add an onclicklistener to each individual item in the ListView, you have to create the listener in the arrayadapter. This is where the problem arises. Because I am trying to leave the option to add more recipes to the app through another activity, the name of the activity that the list item is supposed to add must be generated based off of a string(the recipe name) without white space.

This is the code of my Array Adapter:

package com.benveghte.recipebook; import; import android.content.Intent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.RelativeLayout; import android.widget.TextView; import java.util.ArrayList; public class RecipeTitleAdapter extends ArrayAdapter<RecipeTitle> { Activity source; public RecipeTitleAdapter (Activity context, ArrayList<RecipeTitle> recipeTitles) { super (context, 0, recipeTitles); source = context; } @Override public View getView (int position, View convertView, ViewGroup parent) { View listItemView = convertView; if (listItemView == null) { listItemView = LayoutInflater.from(getContext()).inflate(R.layout.recipetitlelistlayout, parent, false); } final RecipeTitle currentRecipeTitle = getItem(position); TextView recipeTitleTextView = (TextView) listItemView.findViewById(; recipeTitleTextView.setText(currentRecipeTitle.getRecipeName()); ImageView recipeImageImageView = (ImageView) listItemView.findViewById(; recipeImageImageView.setImageResource(currentRecipeTitle.getRecipeImageLocation()); RelativeLayout parentLayout = (RelativeLayout) listItemView.findViewById(; parentLayout.setOnClickListener(new View.OnClickListener(){ @Override public void onClick(View view) { ////////////////////PROBLEMS START HERE/////////////////////////// String recipeTitle = currentRecipeTitle.getRecipeClassName() + ".class"; Class recipeTitleClass = (Class) recipeTitle; //////////////////////////ERROR: Inconvertable types (I expected this but I just kind of went with this to test this out. Intent intent = new Intent(source, recipeTitleClass); //////////////////////////Because casting recipeTitle to recipeTitleClass doesnt work this line won't work either source.startActivity(intent); //////////////////////////ERROR: Cannot Resolve Symbol: 'startActivity' } }); return listItemView; } }

Any help with either of the issues would be greatly appreciated. The issues are towards the bottom of the code.

Thank you so much,


submitted by /u/Bentrigger
[link] [comments]
Categories: Android, Linux

Exit car mode?

Tasker: Total Automation for Android - Thu, 12/13/2018 - 13:19

Im looking for help creating a task that closes Android Auto/car mode. I can create a task that goes to the home page but Android auto will still stay running, Any help?

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