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]

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

Developing Android Apps - 57 min 7 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 21 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 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]

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

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

Android P vs tasker

Tasker: Total Automation for Android - Sat, 07/21/2018 - 17:53

Android p has introduced restrictions to background access for things like the camera and microphone and whatnot, which is generally a good thing. Unfortunately, this also means that tasker can't do things such as shake-for-flashlight, and toggle auto-rotation when certain apps are active.

Has a workaround for this type of thing been found? None of my profiles work anymore on the p beta, and nothing I've been able to find so far turns up a working solution.

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

[HELP] Can't manage to use javascript to use shell outside of the tasker app

Tasker: Total Automation for Android - Sat, 07/21/2018 - 16:43

I'm trying to mame a fairly complex macro using tasker javascript capability and while testing I noticed that it execute the shell commands only inside the tasker app.

this is my javascript:

var root = 1;
var timeout = 10;
input(100, 100, 3);
function input(x, y, waittime){
shell('input tap '+x+' '+y, root, timeout);
function waitS(waittime){

As you can see is pretty easy, but when I triggger it (using any mean) it's executed only if I'm inside tasker.

Forntesting I'm using the 'Quick Setting Task' to trigger it for testing, what halpens is that inside tasker it perform correctly and it touch 100,100 (that is the back butto) but if i trigger it in any other app (let's say telegram) it's not performed, and it does not output any error message.

Any idea why?

(Lineage Os 15.1)

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

Is there a way I can write android apps and debug them on windows?

Developing Android Apps - Sat, 07/21/2018 - 16:26

For example Unity3d lets me write a game on windows and deploy it to android/ios/etc. It SEEMS like it's my only option. It looks like I can possibly run nodejs on it however I'll have to type my script name in a terminal instead of click an app icon (and no UI). React Native I can't debug on windows, and I can't seem to debug on cordova.

Maybe I should use Unity3d (even tho I never used it before) to make apps? What options do I have?

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

USB connection detection

Tasker: Total Automation for Android - Sat, 07/21/2018 - 16:13

Hi, is it possible to tasker to detect when im connected to PC?

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

Library for Pin Views in Android

Developing Android Apps - Sat, 07/21/2018 - 15:17

This repository contains PinEditTextField that provides Pin Field widget for android with Paste Functionality


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

Android studio slow

Developing Android Apps - Sat, 07/21/2018 - 15:16

Why is Android studio so slow on my computer? I've programmed iPhone apps using Xcode and I rarely got freezes and crashes from the development environment. Android studio freezes when I add UI components to my layout.

My specs are 8gb ram, i5 dual-core (laptop), 256gb ssd.

Emulator is a Google Pixel 2. Maybe the screen resolution of the emulator has something to do with it? It was using 3.46gbs of ram...

How can I make it faster?

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