Tasker App Factory

P

perpe

Gast
Mancheiner hat es vielleicht schon mitbekommen, der Entwickler von Tasker arbeitet an einer App, mit der es möglich ist Tasker Tasks in eigenständige Apps zu exportieren. Sprich, eine Möglichkeit mit Tasker eigene Apps zu erstellen. Diese Apps kann man dann mit anderen teilen. Für die Funktionsfähigkeit der Apps ist Tasker dann nicht mehr notwendig, d.h. man kann seine Task auch mit Leuten teilen, die kein Tasker haben.

Seit ein paar Wochen ist die App Tasker App Factory als Beta im Play Store verfügbar. Bin nur erst jetzt darüber gestolpert. Habe hier bisher auch noch nichts dazu gelesen. Habe sie natürlich gleich mal angetestet.

Die App lässt sich direkt aus Tasker starten, hat also keinen eigenen Icon im Drawer, damit das funktioniert braucht man die aktuelle Beta von Tasker, die gibt es auf Tasker for Android

Eine Task exportieren kann man in dem man lange auf die Task drückt und "Exportieren" wählt, dann noch "as App"
Profile lassen sich auf dem ersten Blick nicht exportieren, wenn man jedoch eine Task erstellt, die besagtes Profil aktivieren soll, dann werden das Profil und die dazu gehörigen Tasks mit in die App exportiert. Auch mit einer Task verbundene Szenen werden in die App integriert.

Habe bisher nur ein paar simple Sachen getestet. Funktioniert soweit, es soll jedoch aus Sicherheitsgründen nicht möglich sein alles zu exportieren.

Auf den ersten, sehr kurzen Blick, schaut es gut aus.
 
Zuletzt bearbeitet von einem Moderator:
  • Danke
Reaktionen: phanducdang, maatik und Gwadro
ich habe die app installiert und diesen menüpunkt in app exportieren finde ich nicht, kannst du ggf. ein screenshot machen oder so.
vielen dank.
lg clowni
 
clowni schrieb:
ich habe die app installiert und diesen menüpunkt in app exportieren finde ich nicht, kannst du ggf. ein screenshot machen oder so.
vielen dank.
lg clowni

Hast du die aktuelle Beta von Tasker installiert?
 
ich habe die aus dem market installiert, 1.0b2.
kann es sein, dass es nicht geht weil ich android 4.0 installiert habe?
 
Das ist nicht die aktuelle Beta. (und auch sonst müsste das 1.2.1u1 sein...)
 
clowni schrieb:
ich habe die aus dem market installiert, 1.0b2.
kann es sein, dass es nicht geht weil ich android 4.0 installiert habe?

Du brauchst von Tasker die aktuelle Beta, Link im ersten Beitrag :)
 
Gwadro, würdest du dein juicedefender Profil als app bereitstellen? Danke!
:)
 
maatik schrieb:
Gwadro, würdest du dein juicedefender Profil als app bereitstellen? Danke!
:)

Nabend, Profile gehen nicht, nur ein (in Worten: ein einzelner ) Task. Dieser Task wird dann einmal von der App abgearbeitet.
 
Stimmt noch wirklich. Eine App kann auch mehrer Task haben, sogar ein Profil. Du musst nur eine Task erstellen, die das Profil aktiviert(Tasker->Profil Status, Profil Name eingeben und "setzen" auf an stellen), dann wird das Profil ganz normal ausgeführt.
Man muss dann diese Task exportieren, da die App dadurch mehrer Tasks besitzt muss man diese Task auch als erste Task auswählen.

Was wohl nicht geht ist die App beim Booten automatisch zu starten.
Edit: Was jedoch nicht geht, ist Widgets exportieren,
Edit2: habe es trotzdem mal ausprobiert, es mit allen Tasks und Proflen exportieren geht, man müsste jedoh die Widgets evt. in eine Szene einbaue, quasi ein Übersichtsfenster. Starten müsste man es jedoch bei jedem Boot manuell.
 
Zuletzt bearbeitet von einem Moderator:
  • Danke
Reaktionen: Gwadro
Jetzt auch in der frischen 1.3. released :)

Sehr viele Neuerungen: Tasker for Android

Release Notes

18/07/2012: v1.3

Highlights

create your own standalone apps from tasks and projects (Android 2.3+)
JavaScript integration: sequenced inline in tasks, embedded in WebView HTML (Android 2.3+)
most Tasker actions available as JS functions (Android 2.3+)
masses of other additions, improvements and bugfixes

Additions

action Run Shell: Store Result In parameter
Take Call available for Gingerbread+
prefs option Net/Cell Wake Screen (optional workaround for screen-off-no-updates problem) !! ;-)
action cat Script
action Script / Javascriptlet
Market version: clicking on action with missing plugin, show install popup with Market link
event / Button Widget Click / Type: Launcher (only standard Android currently)
ContentProvider so developers can query existing named tasks
developer: TaskerIntent.testStatus(), updated examples in HTML doc
developer: ContentProvider for task names and some prefs values
action Variable Section: parameter Store Result In
developer: TaskerIntent.getExternalAccessPrefsIntent to let user enable external access easily
detect problems in event tasks of scene elements and indicate higher up in UI
data version field in data files 'dv'
event: 3rd Party / NotifyMyApp
Menu / More / Make A Donation
matches Regex and Doesn't Match Regex to action (and Variable Value state) conditions
variable Root Available (%ROOT)
HTTP Get/Post: https:// and http:// supported in Server:port parameter
HTTP Post: Data: allow file specification in place of attributes (untested)
action: Net / Airplane Radios
variable Airplane Radios, %AIRR
check for SuperSU when deciding root status
action File / Read File
state Sensor / Pressure (requires relevant hardware sensor, untested (no hardware available))
variable %PRESSURE (requires relevant hardware sensor, untested (no hardware available))
action Take Photo: Resolution, Flash Mode, Scene Mode, White Balance parameters
action Variables / Search Replace Variable
action Copy Dir
actions Move/Copy/Delete File, Create/Delete Dir: added Use Root parameter
contact photos selectable for images in some places (ICS+)
a variable can now be specified for action image parameters
action Misc / Test: Contact Photo / Thumb URI
new action category 'Image'
actions Image / Load/Save/Rotate/Resize/Crop/Flip Image
Image Buffer selectable for images in some places (related to Image category actions)
Monitor prefs: Monitor Accel/Prox/Pressure/Light sensors when display off (no, when plugged, yes)
variable Input Method (%IMETHOD)
task edit: long-click on empty list brings up dialog with Paste (if an action previously copied)
Send Intent: Mime Type option
Send Intent: can use Action and Package/Class together
HTTP Get/Post: added optional Cookie parameter
HTTP Get/Post: returned header fields are stored in local array %header
state categories: Display, Tasker
state : Display / Display State
state : Display / Display Orientation
state : Tasker / Profile Active
state : Tasker / Task Running
event Email Received: added To parameter
event category Tasker
event Tasker / Monitor Start
variables Calendar Title/Descr/Loc (%CALTITLE, %CALDESCR, %CALLOC)
action Test: new types: Calendar Cal,Title,Descr,Location,Start,End,AllDay,Busy
action Get Location: Keep Tracking parameter
action Stop Location: stop tracking
action Test Scene: Horizontal and Vertical offsets
action Tasker / Set Tasker Icon
action Music Play: extra parameter Stream
action Calendar Insert: All Day parameter
action Variable Convert: To and from Base64
action Variable Convert: To SHA1 and MD5
action / Call Log: action parameter (clear missed etc)
android permission Write Contacts (to enable clearing call log)
state Magnetic Field (strength), variable %MFIELD
allow 3 states per profile instead of 2
action For: Items parameter supports following array variable specifications: %arr(#), %arr(#>), %arr(#<), %arr(>), %arr(<) e.g. 1:%arr(#)
action: Tasker / Set Tasker Pref (monitor timings etc)
action: Scene / Element Text Size
Menu / More / Developer / Save JS Library Template
profile properties: Restore Settings checkbox
action Alert / HTML Popup
scene element WebView: params Mode, Allow Phone Access
scene element WebView: JS interface to Tasker functions
action Script / JavaScript
app creation: packaging of JavaScript scripts (and run straight from APK)
3 or 4 icons to builtin selection from Tasker UI
action Image / Filter Image
variables Device ID/Manufacturer/Model/Product (%DEVID, %DEVMAN, %DEVMOD, %DEVPROD)
variable SDK Version (%SDK)
action Sound Record: added audio codec and output format selectors, default format now mp4
prefs section Prefs / Misc / Factory
Menu / More / Developer / Create/Delete Keystore
action Test: test types: Action/Event/State available, Have Root
task/project long-click option Export / As App (requires Tasker App Factory, Android 2.3+)
catch security exceptions for some ROMs from intent category ALTERNATIVE
Export / As App for tasks and projects


Bugfixes

Calendar Entry and other low-power state: on other state active, calendar wasn't being immediately checked
jumping with Goto was not clearing in-between For loop status
poweramp: after pause, %MTRACK was only staying cleared for a few seconds
rectangle scene elements: with multiple, a 'focus' tap was required before the real tap would register
catch crash on SonyROM/ICS from Cell Near scanning
Tasker icon was not shown when selecting an app icon for an image
fix for all-day calendar event GMT offset
%MTRACK: wasn't handling playback-complete signal from Android music player
action Element Visibility: setting false without a delay wouldn't have any effect till redraw
datadef had missing entry
action Say To File: workaround for bug in some pre-ICS Android versions deleting file on TTS shutdown
another attempted workaround for cell-near-not-working-with-screen-off
several monitors were not being restarted after a reboot until screen was unlocked
deleting a project contents could result in profiles with no tasks in other projects
don't show problem icon for missing builtin scenes
disabling and enabling a profile with an active orientation context would not reactivate it
beta: scene/profile export options were sometimes mixed up
importing scene with bad data format was crashing instead of complaining
Take Photo: save to DCIM, not dcim
Day Context: validation was slightly bugged
colour validation was not accepting #80000000 (and possibly some others)
text/image scene element: stroke event wasn't triggering unless a tap handler was also specified
action Photo: misspelling of Discreet
scene element button: bad image references were not being noticed
action Lock, parameter Code: don't show var selector
unzip: handle files in dirs which havn't had their directory unpacked yet
action Enter Key (also via En/decrypt Dir: was crashing upon reaching timeout
beta: Load Image: don't show Image Buffer as source
some situations were causing the monitor to activate even when disabled
Variable Length wasn't working with array indices
add element: keep Paste element on top instead of alpha-sorting it
certain actions (e.g. Compose SMS), contact selector was replacing number instead of adding to existing number(s)
Show Scene: check offsets in range
variable monitor in UI wasn't deregistering on exit


Changes

actions taking a colour/elementname parameter name allow single-array-index references e.g. %arr(%index)
Cell Near states with variable in spec will dynamically update if variables change
refreshed es/fr/zh translations
data file size cut by approx 30%, 50% for internal data and app creation
data load time reduced by approx 30%, more for internal data and app creation
data write times improved by approx 80%, more for internal data and app creation
data file readability improved
action Call: number is now optional so action can be used to go straight to dialpad
action Zip File: also handles directories recursively
show main-screen export options in beginner mode
export builtin scenes when exporting project (may have been changed...)
plugin package details are stored so they can be referred to when plugin is missing
inserting variable names into action text params, append instead of replacing if ends in (
%NTITLE: ignore new notifications Tasker can't find the title of
removed documentation references to a certain competing product
%HTTPL: if the server doesn't return a value, calculate our own when possible
%HTTPD: upped max length to 250K
variable %GPS is now monitored and dynamic (Gingerbread+ only)
merged Photo actions into single one (Take Photo)
action cat Audio -> Audio Settings
Default Ringtone -> Audio Settings category
merged Send Component Intent and Send Action Intent into Send Intent
Send Intent: can specify package without class (not cupcake)
state Incoming Call: became Call and handles also Outgoing
HTTP Get/Post: user-agent in header now includes OS version
prevent use of Element Web Control from external caller (security)
don't show developer menu option in beginner mode
default popup size
Zip File -> Zip, Unzip File -> UnZip, Music Forward -> Music Skip
mark missing images with warning sign instead of leaving blank
action Disable Tasker -> Disable
action Send SMS: reduced max chars limit to 140.
state Variable Value: allow array references (where applicable to operator parameter)
moved actions Run Script, Run Shell to new category Scripts
action Run Script -> Run SL4A Script


Removed

android.permission.RECEIVE_SMS, not used anymore (hopefully...)
 
Zuletzt bearbeitet:
Wer spielt mit? Bin gerade etwas am "rumtesten"
Bisschen was zum einlesen:
http://tasker.wikidot.com/userguide-en:appcreation

Mit der App lassen sich doch tolle "Mini-Apps" für "Tasker-Verweigerer" erstellen.
Ich wittere Luft für ein neues Unterforum :D :D
 
Zuletzt bearbeitet:
habs vor ein paar Wochen getestet und wieder aufgegeben.
Kann mich nicht mehr an Details erinnern, aber es waren zu viele Einschränkungen und nach Fertigstellung zu viele Fehlermeldungen/Abstürze
 
Gwadro schrieb:
Wer spielt mit? Bin gerade etwas am "rumtesten"
Bisschen was zum einlesen:
App Creation - Tasker Wiki

Mit der App lassen sich doch tolle "Mini-Apps" für "Tasker-Verweigerer" erstellen.
Ich wittere Luft für ein neues Unterforum :D :D


das interessiert mich auch und werd mal mitspielen :thumbup:
bin auch schon länger am testen.
 
ich versuche grad mein Wecker als App zu exportieren. Beim ersten test hat er nur den eingangstask genommen und ohne eine Uhrzeit einzustellen ging der Alarm los. :(
jetzt habe ich noch in den Task geschrieben dass er das Profil startet und meine anderen beiden dazugehörigen task mit einbindet. Werd gleich mal installieren und testen. Bin gespannt.

Edit: hm klappt noch nicht wirklich. Er hat zwar jetzt mein snooze und das beenden durck klicken der Benachrichtigung eingebaut aber kannst du mir sagen wie ich durch starten der App die Uhrzeit des Weckens einbauen kann. da liegt noch der Fehler.
 
Zuletzt bearbeitet:
Du willst die Weckzeit abfragen?
In dem Task den du exportierst:
als erstes:
Variable -> Variable Query
damit kann der User eine Eingabe machen, die Du als Variable erhälst. Danach dann den Rest deines Task.
 
  • Danke
Reaktionen: mase80
jetzt läufts. :thumbup:

muss jetzt nur noch die Eingabe etwas verschönern.
 
Hab mal das unterdrückt Anrufen Widget von https://www.android-hilfe.de/forum/...asker-profile.284580-page-4.html#post-4095528 umgebaut, so dass nach dem Ausführen des Tasks beim nächsten Anruf keine Nummer gesendet wird und nach Beendigung des Gesprächs wieder auf "Nummer übermitteln" zurückgestellt wird. Das ganze hab ich dann in ne App gepackt, funzt auf meinem Gerät auch genau wie das entprechende Profil samt task.

Hab die App und das Profil zum nachvollziehen mal hochgeladen.

Wer schon immer mal wissen wollte wie viele LKW's pro Stunde druchs Dorf donnern oder sonst was Zählen möchte kann die Counter.apk mal ausprobieren ^^
 

Anhänge

  • Unterdrückt.2.apk.zip
    644,8 KB · Aufrufe: 152
  • Unbekannt.zip
    1,1 KB · Aufrufe: 156
  • Counter.2.apk.zip
    655,8 KB · Aufrufe: 139
Zuletzt bearbeitet:
Na das läuft doch ganz gut, wenn wir alle unsere tasks als app bauen. :D
Dann können jetzt auch andere davon profitieren.

Edit: nach einigen Einstellungen und durch Hilfe von gummibaer konnte ich meine erste Wetterapp fertigstellen.
Sieht zwar optisch noch nicht so toll aus aber es ist ja auch die erste Version. :winki:

Info:
Das Wetter wird je nach Einstellungen angesagt. Festgelgte Stimme [com.google.android.tts:deu-deu]

Funktionen:
- Einstellbarer Tag
- Einstellbare Zeit
- Wählbare PLZ

TalkWeather_v1.0

Gesendet von meinem GT-I9100G mit Tapatalk 2
 
Zuletzt bearbeitet:
Hallo Gemeinde
Eine Frage, ich würde gerne ein Zeitgesteurtes Skript oder app eben mit app factoy erstellen.

Wollte fragen ob so was überhaubt geht...

Es soll mein MediaPad automatisch abschalten und falls möglich zeitgesteuert einschalten und ne app danach ausführen, ist dies möglich?
Mein Pad ist geroot und hat 4.03 druf.
Tasker nenne ich mein eigen, bin aber leider nicht bewandert damit ;(
Kann jemand kompetent auskunft geben?

Danke im Vorraus!
Lg ivi

Gesendet von meinem HTC Vision mit der Android-Hilfe.de App
 

Ähnliche Themen

rtwl
  • rtwl
Antworten
8
Aufrufe
574
rtwl
rtwl
S
Antworten
1
Aufrufe
135
NitramAkloh
N
MeinNickname
Antworten
28
Aufrufe
748
Cecoupeter
Cecoupeter
Zurück
Oben Unten