Help - Simple solution?

Hi guys,

I'm looking for a simple tasker script that would simply do this;

When screen is off, go back to home screen (i.e. press home button)

So therefore when I open my phone again, it should always be at the home screen rather than my last opened app.

Any suggestions...

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

What are some things better done via commandline?

Linux - 32 min 4 sec ago

What are some things that people regularly use GUI for but is quicker and much efficient if done via the terminal?

submitted by /u/ingenioutor
[link] [comments]
Categories: Linux

Do "integrated apps" exist? If not, can they be built?

Developing Android Apps - 55 min 37 sec ago

By this I mean, apps that can open at the same time as another app.

Why I ask this is because we see this in the PC gaming world, where you can integrate Discord into your game so you don't have to alt tab to mess with Discord settings.

With mobile games, if you need to open another app, you need to minimize the app and open the other one, before switching back after you're finished with that other app.

By the time you reopen your game, at best the game reloads to its previous state after a brief pause, at worst connection is lost or the app restarts. Having integrated apps would be a big help for mobile gaming.

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

dual camera depth map extraction

Developing Android Apps - 3 hours 20 min ago

hi , its my first post in android dev,

really curious about the depth map information saved during portrait effect,

Samsung's portrait effect does give the option to change the strength of blur , so i think its saving the depth map but i don't know how.

Focos app for iPhone takes advantage of depth maps in iPhone portrait effect, it can manipulate every aspect of depth map.

so is there any method to extract the depth map and the image separately , or can a app be made for android like the focos app.

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

How do you encrypt your db backups before uploading to a cloud?

If you have your server and a database on it, how do you usually encrypt the dumps of your db before uploading them to cloud, S3, etc?

I need de-facto, free, open-source tools - what majority of the Linux community uses.

I don't need anything fancy, with too many features or paid.

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

How to run two task in parallel?

Let's assume I have one task T1 which contain 3 Actions A1,A2,A3 . First, I use these Actions Serially A1->A2->A3 , but here even though A2 and A3 are independent of each other A3 only starts after completion of A2 . My question is that is there any way to run A2 and A3 in parallel. Present possible solution I came up with is make Tasker Kid of one action (Let's say T2 Task continuing A3)and start it .

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

Creating an event that triggers every 71 hours and 50 minutes

Tasker: Total Automation for Android - Sat, 07/21/2018 - 23:52

I can't seem to figure out how to do this, how do I set up an event that triggers every 71 hours and 50 minutes, any help would be very much appreciated.

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

What's your favorite command in Linux by name?

Linux - Sat, 07/21/2018 - 22:41

I have been learning Linux for half a year and I have used a certainty of commands. Among of those, I like the command touch for the most. It has the beauty that makes me remind of the famous painting of The creation of Adam, by Michelangelo. Though I am not a Christian. Touch and then use your finger to create files.

submitted by /u/codechaserbob
[link] [comments]
Categories: Linux

How can I make my reddit client app have 12+ rating on Google Play?

Developing Android Apps - Sat, 07/21/2018 - 21:54

I am about to publish a reddit client app, I saw many posts about reddit clients got suspensions because of NSFW posts. So I want to make sure that my app targets at least 12+ (like most of the reddit clients in store). I have tried but the calculated rating is always 3+. So how can I fill the content rating's questionnaire correctly?

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

Can't send data over TCP socket.

Developing Android Apps - Sat, 07/21/2018 - 21:32

``` // I don't know Java so this is awful code and it's somewhat C & P Thread t = new Thread(new Runnable() { public void run() { try { Log.w("prog", "Start");

URL url = new URL(""); HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); try { InputStream in = new BufferedInputStream(urlConnection.getInputStream()); } finally { urlConnection.disconnect(); } Socket socket = new Socket("", 9000); OutputStreamWriter osw = new OutputStreamWriter(socket.getOutputStream()); InputStreamReader isr = new InputStreamReader(socket.getInputStream()); PrintWriter _bufferOut = new PrintWriter(new BufferedWriter(osw), true); BufferedReader _bufferIn = new BufferedReader(isr); if (_bufferOut == null || _bufferOut.checkError()) { Log.e("prog", "buffOut Err"); } _bufferOut.println("Wow!"); _bufferOut.flush(); TimeUnit.SECONDS.sleep(5); socket.close(); Log.w("prog", "Done"); } catch (Exception e) { Log.d("prog", "Failed"); e.printStackTrace(); } } }); t.start();


I have android.permission.INTERNET on my manifest.

The server receives no data (I have a go program listening). 1 0.000000000 <clientip> ? <serverip> TCP 74 40431 ? 9000 [SYN] Seq=0 Win=65535 Len=0 MSS=1460 SACK_PERM=1 TSval=1769163 TSecr=0 WS=256 2 0.000020127 <serverip> ? <clientip> TCP 74 9000 ? 40431 [SYN, ACK] Seq=0 Ack=1 Win=28960 Len=0 MSS=1460 SACK_PERM=1 TSval=323905039 TSecr=1769163 WS=512 3 0.019013603 <clientip> ? <serverip> TCP 66 40431 ? 9000 [ACK] Seq=1 Ack=1 Win=87808 Len=0 TSval=1769169 TSecr=323905039 4 0.019990232 <clientip> ? <serverip> TCP 71 40431 ? 9000 [PSH, ACK] Seq=1 Ack=1 Win=87808 Len=5 TSval=1769169 TSecr=323905039 5 0.020005091 <serverip> ? <clientip> TCP 66 9000 ? 40431 [ACK] Seq=1 Ack=6 Win=29184 Len=0 TSval=323905044 TSecr=1769169 6 0.020037512 <serverip> ? <clientip> TCP 1090 9000 ? 40431 [PSH, ACK] Seq=1 Ack=6 Win=29184 Len=1024 TSval=323905044 TSecr=1769169 7 0.020053851 <serverip> ? <clientip> TCP 66 9000 ? 40431 [FIN, ACK] Seq=1025 Ack=6 Win=29184 Len=0 TSval=323905044 TSecr=1769169 8 0.062635265 <serverip> ? <clientip> TCP 66 [TCP Retransmission] 9000 ? 40431 [FIN, ACK] Seq=1025 Ack=6 Win=29184 Len=0 TSval=323905055 TSecr=1769169 9 0.193032307 <clientip> ? <serverip> TCP 66 40431 ? 9000 [ACK] Seq=6 Ack=1025 Win=89856 Len=0 TSval=1769221 TSecr=323905044 10 0.193119429 <clientip> ? <serverip> TCP 78 40431 ? 9000 [ACK] Seq=6 Ack=1026 Win=89856 Len=0 TSval=1769221 TSecr=323905055 SLE=1025 SRE=1026 11 5.030039135 <clientip> ? <serverip> TCP 66 40431 ? 9000 [RST, ACK] Seq=6 Ack=1026 Win=89856 Len=0 TSval=1770669 TSecr=323905055

But android sees no error.

Meanwhile the HTTP request works fine. <clientip> - - [21/Jul/2018:18:20:17 -0700] "GET /dir HTTP/1.1" 301 178 "-" "Dalvik/2.1.0 (Linux; U; Android 8.1.0; Pixel 2 Build/OPM2.171026.006.G1)"

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

Detecting when running in a (er, I think . .) terminal

Command Line - Sat, 07/21/2018 - 20:33

    I have some bash scripts and some dash scripts that can be run either in a terminal or graphically. By 'in a terminal' I mean the scripts are executed by being invoked at a command prompt. By 'graphically' I mean run by clicking an icon or via a menu.

    My scripts need to know in which of those two ways they are being run (so they can provide output appropriately). This used to work. However - after a restore of my system from backup - at least some of the scripts are malfunctioning. For, the commands tty -s and [ -t 0 ]' are failing to evaluate as0` when they are run from scripts.


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

Choreographer(abc): Skipped xx frames! The application may be doing too much work on its main thread error

Developing Android Apps - Sat, 07/21/2018 - 20:22

Hey everyone! Currently I'm in the phase of testing my app however I've ran into a weird problem. My app runs on some people's phones and not on others. I've had it work on the most current version of Android and other versions and it works well, but today I tried on two friends phones and got this.

Choreographer(abc): Skipped xx frames! The application may be doing too much work on its main thread.

My main activity has barely anything on it, just a login button and a progress bar, but my log shows that it even isn't picking up my button click oddly. The app doesn't crash, just stops working and gives me that error. They both told me they downloaded something that changes their launcher? I guess they use it to change the UI looks of stuff, I'm not sure if thatbhas anything to do with it but it works on other people's phones fine. Any help would be appreciated.

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