Hello,
supposedly, this intent start Google Maps navigation (i.e. directions) right away in the best route:
Code:
Action: android.intent.action.VIEW
Category: None
Type:
Data: google.navigation:q=final+destination+address
Extra:
Package: com.google.android.apps.maps
Class: com.google.android.maps.MapsActivity
Target: Activity
or this one:
Code:
Send Intent [
Action:android.intent.action.VIEW
Cat:None
Mime Type:
Data:http://maps.google.com/maps?saddr=12.345678,76.543210&daddr=19.345678,96.543210&dirflg=w
Extra:
Extra:
Package:
Class:
Target:Activity ]
However, i only got to the page where you can choose routes....
I'm on Huawei PRA-LX3 under Resurrection Remix ROM 5.8.5, Magisk 16.0, Xposed 89.3 and S.Erickson Busybox 1.28.4, and latest version of Maps from PlayStore.
kurokirasama said:
Hello,
supposedly, this intent start Google Maps navigation (i.e. directions) right away in the best route:
Code:
Action: android.intent.action.VIEW
Category: None
Type:
Data: google.navigation:q=final+destination+address
Extra:
Package: com.google.android.apps.maps
Class: com.google.android.maps.MapsActivity
Target: Activity
or this one:
Code:
Send Intent [
Action:android.intent.action.VIEW
Cat:None
Mime Type:
Data:http://maps.google.com/maps?saddr=12.345678,76.543210&daddr=19.345678,96.543210&dirflg=w
Extra:
Extra:
Package:
Class:
Target:Activity ]
However, i only got to the page where you can choose routes....
I'm on Huawei PRA-LX3 under Resurrection Remix ROM 5.8.5, Magisk 16.0, Xposed 89.3 and S.Erickson Busybox 1.28.4, and latest version of Maps from PlayStore.
Click to expand...
Click to collapse
Try this intent:
A1: Send Intent [
Action: android.intent.action.VIEW
Cat:None
Mime Type:
Data: google.navigation:q=1313+Disneyland+Drive+Anaheim+CA
Extra:
Extra:
Extra:
Package:
Class:
Target: Activity
]
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Ok, all of them works if mode is not specified) driving is the default). But if mode is set to transit, then I only got to the routes screen. Any way to skip the routes...
Maybe one of these will work better.
The first one is using transit mode and it opens in maps to chose which transit method.
The second one of driving directions and it opens in maps at the fastest route preview.
Aside from these, I don't have more to offer
<navigation via transit>
Code:
A1: Send Intent [
Action:android.intent.action.VIEW
Cat:None
Mime Type:
Data: https://www.google.com/maps/dir/?api=1&origin=Agra,India&destination=4781+Hotel+All+Iz+Well+Main+Bazar+Paharganj,+New+Delhi+India&travelmode=transit&dir_action=navigate
Extra:
Extra:
Extra:
Package:
Class:
Target:Activity
]
<navigation via driving>
Code:
A2: Send Intent [
Action:android.intent.action.VIEW
Cat:None
Mime Type:
Data: https://www.google.com/maps/dir/?api=1&origin=Agra,India&destination=4781+Hotel+All+Iz+Well+Main+Bazar+Paharganj,+New+Delhi+India&travelmode=driving&dir_action=navigate
Extra:
Extra:
Extra:
Package:
Class:
Target:Activity
]
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Hello.
Do you know also what to use for Here maps?
I've tried:
1) Action: com.here.maps.DIRECTIONS
Data URI: here.directions://v1.0/mylocation/37.870090,-122.268150,Downtown%20Berkeley?ref=&m=w
but I don't know hot to set 'current position' instead of 37.870090,-122.268150 and if I set an italian address (via Roma 14 Milano) instead of Downtown%20Berkeley in Here maps I have destination = via Roma 14 Milano Bekerly CA 94704 USA
2) Action: android.intent.action.VIEW
Data URI: google.navigation:q="my address"
but this opens the app with destination = my address, and then I have to click on "DIRECTIONS" for seeing the routes (see image attached). Is there a way for the intent to avoid that manual step?
Thanks. Luigi.
Related
Hi,
I have installed that latest Android OS on my X1 yesterday
(Friday, March 26), per the documentation in this forum.
Installed files:
fatsal-xperoid-20100221.7z
essential_apps.zip
wlan-modules_20100325.zip
zImage_kovsky_20100325.zip
The issue is: Connecting to the Internet via 3G does not work.
- I can do phonecalls via Android. I can also get phonecalls.
- I can browse the internet via Wireless.
- Browsing the internet via 3g does not work (wireless is turned off),
(browser error: no network connection, browser cannot load this
page because there is no internet connection)
- Started "Haret", with the 3G connection in WinMo working (on).
As 2nd test, started "Haret" with the 3G connection off in Winmo.
= no internet via 3g
- I also ran into the issue, getting stuck in the PIN screen.
Turning it off in WiMo fixed it
(this should be added to the installation FAQ).
- Noticed that there is no ringtone with inbound calls.
The only available ringtone in the default install is called "silent" ?
- double checked the APN settings from the phone in varous forums,
can't find issues.
These are from "T-Mobile Germany" and were setup by default.
APN profile is enabled:
Name: t-mobile D
apn: internet.t-mobile
proxy: <not set>
port: <not set>
username: t-mobile
password: ** (pw is tm)
Server: * (value is not known)
mmsc: h t t p : / / mms.t-mobile.de/servlets/mms
mms proxy: 172.028.023.131
mms port: 8008
mnc: 01
authentication type: None
APN type: <not set>
Upper values are the default values.
I tested various values (e.g. cleared the upper server value,
tried various authentication types (pap/chap or both)), didn't help.
- I also install the "APNdroid" application,
File: apndroid-2.0.2-r16-debug-key.apk
It claims that 3G/EDGE/GPRS is on.
Played with this tool by turning 3G off and on
(hoping to help resolve problem), didn't help.
- I didn't find a connection manager, like in WinMo, where you can centrally
disable and enable various connection types (I often turn off the data
connection in WinMo, to save e.g. battery). Didn't find a simelar option
as e.g. the tool "APNdroid" provides.
I'm running out of ideas to troubleshoot.
I'm happy to hear ideas how to fix this and get a working internet connection.
/justin
UPDATE:
I also tried a different simcard from the german phone provider SIMYO, a subsidary
of E-Plus and used the respective APN information:
e-plus/simyo
Name: Eplus Internet
APN: internet.eplus.de
Username: eplus
Passwort: eplus
MCC: 262
MNC: 03
APN type: default
Result: same issue, as discribed above with T-Mobile Germany.
/j
just a thought it might be that APN settings above are only for mms.
and you need to create a first deault APN for Internet, following APN sites settings looks different, see below link
http://www.unlocks.co.uk/gprs_settings.php#germany
Tried these (and other APN settings): no sucess sofar.
Hi,
Musse_1 said:
just a thought it might be that APN settings above are only for mms.
and you need to create a first deault APN for Internet, following APN sites settings looks different, see below link
Click to expand...
Click to collapse
I tried these (and other APN settings), they didn't work.
The default settings I published in my 1st posting are the same ones listed in the communications settings in WinMo 6.5.
I also tried "ifconfig" in the "terminal emulator", to see if the system maybe gets an IP. Insted I get an error "no inet socket available: permission denied".
The "route" command shows no routing entries, so there is really no lan connection (when I run the Wifi connection, then I see the default routing entry").
I think, the issue is (maybe) somewhere else.
/Justin
the49ers said:
I also tried "ifconfig" in the "terminal emulator", to see if the system maybe gets an IP. Insted I get an error "no inet socket available: permission denied".
Click to expand...
Click to collapse
You have to be root for running ifconfig. Type "su" to become root.
No idea about your problem. 3G-connection works fine for me out of the box, so it seems not to be a general android problem.
Debugging possabilities?
I wonder, if there is a way to debug this issue, or troubleshoot via the terminal program, if there are ways to turn on debugging (it's still not working)?
- I reformatted the SD card and reinstalled again per documentation
- apart from "t-mobile D", also tried my "Simyo Sim card" again with
it's APN settings from E-Plus
- I copied the data.img and rootfs.img to a WinPc, decompressed them
and checked if there are maybe logfiles
- In the terminal, su works and I can run e.g. ifconfig and ps commands.
The ifconfig command shows no lan card for the 3g card, there is also
no default route via the route command (a default route exists with the
wireless connection).
- The windows mobile system is at the latest version, per sony patch
software (just tried that). Also did a mem reset in WinMo (set phone back
to it's default settings) and then tried Android, didn't work.
I'm happy to hear any ideas, as this seems to be a android issue. Maybe I have a Xperia X1 phone with a hardware version which does not work with the current android drivers.
How to e.g. find out via the terminal if the prosess for the gprs/hsdpa, ... is running, if it is possible to do a connection debug like e.g. with ppp to resolve authentication issues.
/Justin
You can check the android logfile for errors. In terminal type
Code:
logcat -d -f /sdcard/logcat.txt
that will dump the android log to a file logcat.txt on your sdcard. In that look for "ppp" or "if-up" or post it.
Dump: Airplane mode on, then off, -> browse
Hi vdelf,
Thanks for the feedback.
I have a trace from startup, which would be too large to add here (53k).
I get similar results when I turn on airplane mode, then turn it off,
then browse a page. The error message I get is the same as at startup (errors are marked in red).
I couldn't find anything with "ppp" or "if-up" in either of the logs.
I/ActivityManager( 1172): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.settings/.Settings }
I/ActivityManager( 1172): Displayed activity com.android.settings/.Settings: 630 ms (total 630 ms)
I/ActivityManager( 1172): Starting activity: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.WirelessSettings }
I/XT9IME ( 1227): [finishInput]
I/ActivityManager( 1172): Displayed activity com. android.settings/.WirelessSettings: 560 ms (total 560 ms)
E/keystore( 1591): chdir: /data/misc/keystore: Permission denied
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
D/NetworkLocationProvider( 1172): onDataConnectionStateChanged 0
D/MobileDataStateTracker( 1172): default Received state= DISCONNECTED, old= DISCONNECTED, reason= radioTurnedOff, apnTypeList= default
I/HTCIMEService( 1227): onReceive - android.intent.action.ANY_DATA_STATE
I/HTCIMEService( 1227): Shutdown!! Export UDB
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
I/HTCIMEService( 1227): onReceive - android.intent.action.ANY_DATA_STATE
I/HTCIMEService( 1227): Shutdown!! Export UDB
D/NetworkLocationProvider( 1172): onCellLocationChanged [-1,-1]
D/NetworkLocationProvider( 1172): onDataConnectionStateChanged 0
D/MobileDataStateTracker( 1172): default Received state= DISCONNECTED, old= DISCONNECTED, reason= radioTurnedOff, apnTypeList= default
E/keystore( 1593): chdir: /data/misc/keystore: Permission denied
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
E/keystore( 1594): chdir: /data/misc/keystore: Permission denied
E/keystore( 1595): chdir: /data/misc/keystore: Permission denied
D/dalvikvm( 1268): GC freed 2623 objects / 152432 bytes in 190ms
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
E/keystore( 1596): chdir: /data/misc/keystore: Permission denied
D/MccTable( 1231): updateMccMncConfiguration: mcc=262, mnc=1
D/MccTable( 1231): locale set to de_de
D/MccTable( 1231): WIFI_NUM_ALLOWED_CHANNESL set to 13
I/WifiService( 1172): WifiService trying to setNumAllowed to 13 with persist set to false
D/TelephonyProvider( 1231): Setting numeric '26201' to be the current operator
D/NetworkLocationProvider( 1172): onCellLocationChanged [37458,35]
W/KeyCharacterMap( 1249): No keyboard for id 0
W/KeyCharacterMap( 1249): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
E/keystore( 1598): chdir: /data/misc/keystore: Permission denied
I/XT9IME ( 1227): [finishInput]
W/KeyCharacterMap( 1235): No keyboard for id 0
W/KeyCharacterMap( 1235): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
I/ActivityManager( 1172): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.browser/.BrowserActivity }
W/BatteryStatsImpl( 1172): Couldn't get kernel wake lock stats
E/keystore( 1599): chdir: /data/misc/keystore: Permission denied
I/XT9IME ( 1227): [startInput]
I/XT9IME ( 1227): [setInputConnection]: [email protected]e38f50
W/InputManagerService( 1172): Starting input on non-focused client [email protected] (uid=10002 pid=1433)
I/XT9IME ( 1227): [finishInput]
I/XT9IME ( 1227): [startInput]
I/XT9IME ( 1227): [setInputConnection]: inp[email protected]b68
D/SearchDialog( 1172): launching Intent { act=android.intent.action.VIEW dat=h t tp://w w w .msn. c o m/ flg=0x10000000 cmp=com.android.browser/.BrowserActivity (has extras) }
I/SearchDialog( 1172): Starting (as ourselves) h t tp://w w w .msn. com #Intent;action=android.intent.action.VIEW;launchFlags=0x10000000;component=com.android.browser/.BrowserActivity;S.query=http%3A%2F%2Fw w w .msn. c o m%2F;S.user_query=;end
I/ActivityManager( 1172): Starting activity: Intent { act=android.intent.action.VIEW dat=h t tp://w w w .msn. c o m/ flg=0x10000000 cmp=com.android.browser/.BrowserActivity (has extras) }
I/XT9IME ( 1227): [startInput]
I/XT9IME ( 1227): [setInputConnection]: [email protected]e1efc0
W/IInputConnectionWrapper( 1172): showStatusIcon on inactive InputConnection
E/browser ( 1433): onReceivedError -2 h t tp://w w w.msn. c o m/ Die URL konnte nicht gefunden werden.
D/dalvikvm( 1227): GC freed 771 objects / 40128 bytes in 300ms
E/keystore( 1603): chdir: /data/misc/keystore: Permission denied
E/browser ( 1433): onReceivedError -2 h t tp://w w w.google. c o m/m?client=ms-android-tmobile&source=android-home Die URL konnte nicht gefunden werden.
Note, that I had to put "spaces" in the external links, otherwise I could not post here.
I also tried at tool called "anycut" where one can add a shortcut and get extended options via executing it, e.g. one can "turn off" and "turn on" the mobile phone connection. It also shows more details, like the GSM service is "on line".
Link to article (remove the spaces at the beginning):
h t t p ://thewichitacomputerguy.com/blog/how-i-fixed-your-sim-card-does-not-allow-connection-network-g1
/justin
I`ve got the same problem, but on my first test it worked. Now I try all configurations from my first test, because the first test was succesful I think that the information you need were placed in the data.img. As I needed a new configuration I deleted the data.img, after this I couldn`t again use an data connection.
in my log the 3g-connection is established using if-up. That creates an ppp-interface, i can see that with ifconfig.
Looking at your log, it seems to me, that android is not even trying to connect. Maybe it is some hardware issue? Please take a look at the linux kernel log using
Code:
dmesg > /sdcard/dmesg.txt
You could play around with the if-up command, too. This seems to be standard linux stuff, so ask google about that.
Update
I checked the kernel log and can only see the following entries related to ppp, modem or IF (also after turning airplane mode on and off and browsing the internet):
[ 20.993316] init: cannot open '/initlogo.rle'
[ 21.256164] init: cannot find '/setupmodem.sh', disabling 'setupmodem'
[...]
[ 1.881805] PPP generic driver version 2.4.2
[ 1.882385] PPP Deflate Compression module registered
[ 1.882598] PPP BSD Compression module registered
[...]
[ 2505.351531] mpd_ppp: img is of wrong format
[ 2505.557373] mpd_ppp: img is of wrong format
I noticed, there is a ip-up file in /etc/ppp .
When I run that file, then I get the error that dir /smodem does not exist.
It looks like this file would either use ppp0 or ppp1 as interface (if it would exist). It is strange that there are hardly any logs regarding 3G, as if the 3G hardware would not exist.
The ifconfig only shows "lo", "tiwlan0" and "usb0" interfaces.
/justin
Logs
Hi,
I created new logs (logcat and dmesg) and attached them to here (and split them, to fit the limitations).
What did I do before generating the logs:
- Reboot, start android
- Airplane mode on
- Airplane mode off
- start browser, and try 2 - 3 internet sites
/justin
Does not give me a clue
At some point pppd is called by android. It uses /dev/smd0 for AT-commands and /dev/smd1 for gprs-data. Please make sure that you have these two devices. Then try to run pppd manualy. That may give a hint on what is wrong.
It is also possible that pppd is never called. Does anybody have some info about when and where android calls pppd?
Same issue here, with running Android on X1 in the Netherlands with Vodafone. (verified APN settings with a working Androind phone)
I'm trying to work out what is happening: /dev/smd0 and /dev/smd1 are present, but I'm struggling to start pppd by hand, since I can't really find the correct syntax.. just call it with the params from /etc/ppp/smd1.... file ?
And I might be misstaken, but shouldn't there be a pppd connect script somewhere ? I can't find it anywhere.
I had the problem with non-workin 3g connection. However, as I were adding a new APN it just started working right after I typed in the IP-address for the mms-server. I don't now if it was my input that made the difference because last night a small symbol popped up right next to the signal bars, looked like som kind of update symbol and well now the 3g acess to the internet works.
I wish I could be more specific.
I do have the 3G icon after setting it up, but internet doesn't work. Is this normal?
Cheekbone said:
I do have the 3G icon after setting it up, but internet doesn't work. Is this normal?
Click to expand...
Click to collapse
That's exactly my issue.. I get G/3G symbol, but no data. fiddling with the APN did not solve the issue.
Tested android version from April 22, same issue (not working)
Hi,
I have tested the newer release of the android software from april 22 (link below),
http://forum.xda-developers.com/showthread.php?t=666735
issue is unfortunatly still there.
/j
I get the same issue with you...
never had any issue with 3g in any android build, since now I'm using htc sense maybe this thread/post could be of help (download base package from first post) try "rootfs_use_if_pbs_booting.img" & report back if it works.
I installed the rootfs.img from that thread with the mention of vodafone in the name, overwrote my normal rootfs.img, and still no dice, and android seems to crash a lot with this rootfs.
thanks for the help though.
Hi there,
I'm using the "Llama" App to manage all my configurations. I can connect my phone via WiFi to my Router and use my Landline number with it. I can call other Landline numbers in 75 countries using this feature.
I configured a VPN connection to my Home-router. Everything works fine, but...
All I may know so far is, that I can use Android-Intent to start my VPN. Correct??
The "Llama" i can run an Intent, but I don't know how to configurate it propably.
//
It says:
- "Intent send mode:" with following options: Start activity / Start service / Broadcast
- package name
- class name
- Action
- Categories (comma/pipe seperated)
- Data
- Data Type
- Extra -> Add new 'extra' row [Description: Set the 'key' to blank to remove that row. Surround variable names with two hashes to expand them in string extra (e.g. ##variablename##)]
When adding an extra row:
- >Key - boolean / byte / short / int / long / float / double / string - value
//
Is this possible?
If needed... It's a IPSec-VPN with Xauth-Authentification.
Thanks very much for any help! :fingers-crossed:
cheers, maxbenn
the only thing i know you can reach without root ist the menu where to choose wich vpnconnection you want to start with:
Code:
Intent-send-mode: Start activity
Action: android.net.vpn.settings
With root you have to make a shortcut to the vpnconnection with an additional app and start the intent of the additional app.
Thx, it works!
The non root version is enough for me.
Cheers,
Max.
I have made some progress in finding out whats wrong but no idea how to fix it.
After installing evtest I get the following:
Code:
OpenELEC:~ # cat /proc/bus/input/devices
I: Bus=0005 Vendor=1949 Product=0404 Version=011b
N: Name="Amazon Fire TV Remote"
P: Phys=00:1a:7d:da:71:13
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/bluetooth/hci0/hci0:71/0005:1949:0404.0001/input/input0
U: Uniq=a0:02:dc:e0:f9:d7
H: Handlers=kbd event0
B: PROP=0
B: EV=10001b
B: KEY=10000 1110 40000800 1681 0 0 0
B: ABS=100 0
B: MSC=10
Code:
OpenELEC:~ # evtest /dev/input/event0
Input driver version is 1.0.1
Input device ID: bus 0x5 vendor 0x1949 product 0x404 version 0x11b
Input device name: "Amazon Fire TV Remote"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 96 (KEY_KPENTER)
Event code 103 (KEY_UP)
Event code 105 (KEY_LEFT)
Event code 106 (KEY_RIGHT)
Event code 108 (KEY_DOWN)
Event code 139 (KEY_MENU)
Event code 158 (KEY_BACK)
Event code 164 (KEY_PLAYPAUSE)
Event code 168 (KEY_REWIND)
Event code 172 (KEY_HOMEPAGE)
Event code 208 (KEY_FASTFORWARD)
Event type 3 (EV_ABS)
Event code 40 (ABS_MISC)
Value 0
Min 0
Max 255
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Properties:
Property type 20 (EV_REP)
Property code 0 (REP_DELAY)
Value 1000
Property code 1 (REP_PERIOD)
Value 33
Testing ... (interrupt to exit)
***********************************************
This device is grabbed by another process.
No events are available to evtest while the
other grab is active.
In most cases, this is caused by an X driver,
try VT-switching and re-run evtest again.
***********************************************
So something is capturing the input and not letting it go through. Any idea how to fix this?
Just an update. Connected a Bluetooth keyboard and that worked fine and gave the same evtest output saying something else was grabbing the input which would mean that's not the problem with the Amazon remote.
Again, any help is welcomed!
This has been bugging me for the last day or two as well; and to be honest - still is.
The below will work but just seems "wrong" to have to use eventlircd for this...
/storage/.config/eventlircd.d/aftvsremote.evmap
(copy /etc/eventlircd.d to /storage/.config/eventlircd.d)
Code:
KEY_KPENTER = KEY_OK
KEY_UP = KEY_UP
KEY_LEFT = KEY_LEFT
KEY_RIGHT = KEY_RIGHT
KEY_DOWN = KEY_DOWN
KEY_MENU = KEY_EPG
KEY_BACK = KEY_EXIT
KEY_PLAYPAUSE = KEY_PLAY
KEY_REWIND = KEY_REWIND
KEY_HOMEPAGE = KEY_MEDIA
KEY_FASTFORWARD = KEY_FASTFORWARD
/storage/.config/autostart.sh
Bind mount because I'm too lazy to rebuild the openelec squashfs image
Code:
mount --bind /storage/.config/eventlircd.d/ /etc/eventlircd.d/
/storage/.config/udev.rules.d/99-eventlircd.rules
Code:
SUBSYSTEMS=="bluetooth", GOTO="begin-bluetooth"
GOTO="end-bluetooth"
LABEL="begin-bluetooth"
ATTRS{name}=="Amazon Fire TV Remote", \
ENV{eventlircd_enable}="true", \
ENV{eventlircd_evmap}="aftvsremote.evmap"
LABEL="end-bluetooth"
Thank you so much!!! I got a chance to enter the code today and it works perfectly! I had to repair after the initial reboot but it keeps pairing after that for all other reboots. I hope they put this into openelec from here on out.
Again thanks!
Hello together,
this is a little, yet, in my opinion, useful profile(s) to check for Kernel or Rom Updates on XDA (or any other web page).
The profile is set-up easily and doesn't need much effort or experience to achieve the desired automatic updater. Some values can be adjusted to your liking, but more about that in the following text.
Without further ado:
Kernel/Rom Update Profile(s)
1. Tasker Profile
Name it "Rom (or Kernel) Update". Trigger: "Time" From 08:00 every 2h til 22:00 [values adjustable]
1.1 Tasks
Add Task under "Network" called "HTTP Get"
Serverort: [copy/paste the URL of the site of the Kernel/Rom]
Timeout: 30
Mime Type: text/html
1.2. Variable Split
Name: %HTTPD
Splitter: for example "[ROM]". Whatever the value before the Kernel/Rom version number might be. In my example the thread title is: "[KERNEL] CleanSlate Kernel v1.7.7 [Wireguard][LED]..." the Splitter would be [KERNEL]
1.3 Variable Split
Name: % HTTPD2
Splitter: in this example "[Wireguard] or whatever stands behind the Kernel/Rom version number
1.4 Notify
Title: Rom(Kernel) Update available! [text adjustable]
Text: %HTTPD21
Search for an update look-alike icon for this notification
If: %HTTPD21 !~ %ROM (If your profile is for a Rom take this. If your profile is for a kernel replace the variable %ROM with %KERNEL)
1.5 Variable Set
Name: %ROM (For Rom) / %KERNEL (for Kernel)
To: %HTTPD21
And that's it! Tasker will now check for updates as often as you set the repetition in the profile trigger (e.g. every 2 hours).
Note: Let the Task run once for the variables to set up. If everything worked you will have a notification in your notification area, because %ROM/%KERNEL at the moment missmatches %HTTPD21. Clear that notificaion and then you're good to go.
But that's not about it. Additionally I have set up a hyperlink to the notification, which will take you to the Kernel/Rom Thread. I'll show you in Step 2, but that's only additionally.
Step 2 - Notification link
2. Create a 2nd profile. Trigger: Clicked notification.
Application owner: Tasker
Title: In this example "Rom(Kernel) Update available!" or whatever is the title of your tasker notification in step 1.4
2.1 Task "Call URL"
URL: [The URL of the Kernel/ROM] (Same like in 1.1)
Done! If you now click on the update notifcation you will be taken to the URL of your Kernel or ROM
Feel free to share and ask questions, if something still remained unclear. I tried to format and explain as best as I can
Follow_and_Feel said:
Serverort: [copy/paste the URL of the site of the Kernel/Rom]
Timeout: 30
Mime Type: text/html
Click to expand...
Click to collapse
For 1.1, for the task Action, which should it be? I assume that the app has changed some things since you posted this, but I'm assuming the Action Category should be Net? And if this is correct, which Net category should it be?
This would be an incredibly useful task! Thank you so much!
JKforUA said:
For 1.1, for the task Action, which should it be? I assume that the app has changed some things since you posted this, but I'm assuming the Action Category should be Net? And if this is correct, which Net category should it be?
This would be an incredibly useful task! Thank you so much!
Click to expand...
Click to collapse
Hey there. No it hasn't changed at all. You need to go into the "Tasks" section to add a task and name it to your liking. Then click the little "+" sign at the bottom right and then it's under "network" --> "HTTP Get". Still the same as always. Hope I could help
EDIT: But I see now what you mean! I forgot to mention which task it is. Already edited, thank you
Follow_and_Feel said:
Hey there. No it hasn't changed at all. You need to go into the "Tasks" section to add a task and name it to your liking. Then click the little "+" sign at the bottom right and then it's under "network" --> "HTTP Get". Still the same as always. Hope I could help
EDIT: But I see now what you mean! I forgot to mention which task it is. Already edited, thank you
Click to expand...
Click to collapse
Haha, yeah, that's what I was confused about. I'm a newb when it comes to Tasker, so I was wondering if I somehow was just missing something haha. Thanks so much!
JKforUA said:
Haha, yeah, that's what I was confused about. I'm a newb when it comes to Tasker, so I was wondering if I somehow was just missing something haha. Thanks so much!
Click to expand...
Click to collapse
No problem buddy. Totally goes on me If you need any further assistance don't hesitate to ask
Follow_and_Feel said:
No problem buddy. Totally goes on me If you need any further assistance don't hesitate to ask
Click to expand...
Click to collapse
Well, if I had a little more experience with Tasker, I would have known what you meant to begin with, but thanks!
ONE more question... for the Variable Split in 1.2 and 1.3. I'm wanting to set this up to get updates for the Nitrogen ROM for the Pixel 2 XL ( https://forum.xda-developers.com/pi...m-nitrogen-os-oreo-substratum-12-feb-t3748293 ). The thread title is:
[ROM] ► [8.1.0_r40] ► [taimen] ► Nitrogen OS Oreo ► Substratum ► (04.July.2018)
Would the splitter for 1.2 be [ROM] and the splitter for 1.3 be [taimen]? Thanks so much for any help!!
Most Tasker profiles/tasks I've seen aren't really that useful for me since most of the things are already included in one way or another with the Pixel 2 or other apps, but this one would be so useful to have! Genius, man.
JKforUA said:
Well, if I had a little more experience with Tasker, I would have known what you meant to begin with, but thanks!
ONE more question... for the Variable Split in 1.2 and 1.3. I'm wanting to set this up to get updates for the Nitrogen ROM for the Pixel 2 XL ( https://forum.xda-developers.com/pi...m-nitrogen-os-oreo-substratum-12-feb-t3748293 ). The thread title is:
[ROM] ► [8.1.0_r40] ► [taimen] ► Nitrogen OS Oreo ► Substratum ► (04.July.2018)
Would the splitter for 1.2 be [ROM] and the splitter for 1.3 be [taimen]? Thanks so much for any help!!
Most Tasker profiles/tasks I've seen aren't really that useful for me since most of the things are already included in one way or another with the Pixel 2 or other apps, but this one would be so useful to have! Genius, man.
Click to expand...
Click to collapse
Sorry for the delay, was a little busy. So: Yes. That would be the splitters for your specific ROM :highfive:
Follow_and_Feel said:
Sorry for the delay, was a little busy. So: Yes. That would be the splitters for your specific ROM :highfive:
Click to expand...
Click to collapse
No worries about the 'delay'. I wasn't expecting an answer for a while since it is during work hours lol. Thank you so much!!!!!
JKforUA said:
No worries about the 'delay'. I wasn't expecting an answer for a while since it is during work hours lol. Thank you so much!!!!!
Click to expand...
Click to collapse
Over here it's 22.42 so I'm not working atm anyway hehe If you wish to speed things up a little we could have a private conversation and I'll help you personally with setting it up (having in mind, that you're new to tasker) or, if you have Telegram, have a chat over there But only if you don't wanna try yourself
Follow_and_Feel said:
Over here it's 22.42 so I'm not working atm anyway hehe If you wish to speed things up a little we could have a private conversation and I'll help you personally with setting it up (having in mind, that you're new to tasker) or, if you have Telegram, have a chat over there But only if you don't wanna try yourself
Click to expand...
Click to collapse
I'm a software engineer, so I'm not exactly an amateur with stuff like this lol, but there does seem to be a learning curve with Tasker. Thanks for helping everybody out. I will just post what I got from the 'Description in Email' function, and if you don't mind, you could just glance over it to make sure I've got everything correct. I'll post this in public so that it might help somebody else trying to learn how to do this. I used different values for when to make checks to see if there is an update. Otherwise, I left everything as default except for the specific values you say to add/change in each action (a little hard to test since I don't know when there will be another update for the Nitrogen ROM):
Profile: ROM update (3)
Time: 11:08AM
Enter: Anon (6)
A1: HTTP Get [ Serverort:https://forum.xda-developers.com/pi...m-nitrogen-os-oreo-substratum-12-feb-t3748293 Path: Attributes: Cookies: User Agent: Timeout:10 Mime Type:text/html Output File: Trust Any Certificateff ]
A2: Variable Split [ Name:%HTTPD Splitter:[ROM] Delete Baseff ]
A3: Variable Split [ Name:%HTTPD2 Splitter:[taimen] Delete Baseff ]
A4: Notify [ Title:ROM Update For Nitrogen Available Text:%HTTPD21 Icon:cust_star Number:0 Permanentff Priority:3 ] If [ %HTTPD21 !~ %ROM ]
A5: Variable Set [ Name:%ROM To:%HTTPD21 Recurse Variablesff Do Mathsff Appendff ]
JKforUA said:
I'm a software engineer, so I'm not exactly an amateur with stuff like this lol, but there does seem to be a learning curve with Tasker. Thanks for helping everybody out. I will just post what I got from the 'Description in Email' function, and if you don't mind, you could just glance over it to make sure I've got everything correct. I'll post this in public so that it might help somebody else trying to learn how to do this. I used different values for when to make checks to see if there is an update. Otherwise, I left everything as default except for the specific values you say to add/change in each action (a little hard to test since I don't know when there will be another update for the Nitrogen ROM):
Profile: ROM update (3)
Time: 11:08AM
Enter: Anon (6)
A1: HTTP Get [ Serverort:https://forum.xda-developers.com/pi...m-nitrogen-os-oreo-substratum-12-feb-t3748293 Path: Attributes: Cookies: User Agent: Timeout:10 Mime Type:text/html Output File: Trust Any Certificateff ]
A2: Variable Split [ Name:%HTTPD Splitter:[ROM] Delete Baseff ]
A3: Variable Split [ Name:%HTTPD2 Splitter:[taimen] Delete Baseff ]
A4: Notify [ Title:ROM Update For Nitrogen Available Text:%HTTPD21 Icon:cust_star Number:0 Permanentff Priority:3 ] If [ %HTTPD21 !~ %ROM ]
A5: Variable Set [ Name:%ROM To:%HTTPD21 Recurse Variablesff Do Mathsff Appendff ]
Click to expand...
Click to collapse
Okay no problem. I think I can't fully follow you atm. What do you mean by "Description in Email" function? Is this a tasker function? Anyways here's what I can tell so far about:
A1: Leave everything blank except MimeTYPE, Timout (10-30 scnds) and, of course, the link to the ROM.
A2/A3: No deleting bases here. No, sit!
A4: Seems fine at first glance
A5: Not a recursive variable, not mathematic. Just stay straight to the description in the OP.
That's what I can tell so far, even though I don't quite know what you've done, since there's a lot of s in it
And one important hint:
You can test your profile (and therefore "fake" that there is a new update) if you set "HTTPD21" in the variable section of your task to any other value. If things work with your profiles there will be an android notification. If not there definately is something messed up. And secondly: Did you run the task once? I mean the entire task "1." from the op? As I stated in red letters you have to run it once in order to make it work, since variables will only be set after the task has run once. Hope this helps in any way and yes. First things with tasker are pretty complicated, that's, I guess, how everybody new to this app feels when coming in touch with it Cheers!
@JKforUA As I just checked the source code for your ROM:
Try splitters "658; [" for the first splitter and "] `" for the 2nd. This should soak in the ROM version perfectly
Follow_and_Feel said:
@JKforUA As I just checked the source code for your ROM:
Try splitters "658; [" for the first splitter and "] `" for the 2nd. This should soak in the ROM version perfectly
Click to expand...
Click to collapse
As for what I was talking about with the "Description by Email" function, this is what I was talking about: In the 'Profiles' screen, if you long press on one of the profiles and then press the 3 dots in the top right hand corner, there is an 'Export' option where you can get a copy of the profile/task in "Description" or "XML" format. What I copied/pasted was the "Description" of the profile. For A1, it just printed out every option given (but I didn't set anything other than what you say in the OP). A2 and A3, I don't have 'Delete Base' selected, but I guess the export still printed out the parameters. Don't worry lol. Likewise with A5. Surely there is a better way to export or copy a profile/task that will leave out all of the parameters that aren't set to anything. I'll look into that later tonight...
I just tried this with the two splitters you suggested and this is the error I got on my 3rd task (the second splitter). I'll have to wait until I'm home in a little bit to look into this. Looks like HTTPD2 isn't getting set, but I'll check it out in a little bit.:
16.58.50/Variables doreplresult: |%HTTPD2| -> |%HTTPD2|
16.58.50/E Variable Split: %HTTPD2 -> %HTTPD2
16.58.50/Variables doreplresult: |%HTTPD2| -> |%HTTPD2|
16.58.50/E Variable Split: can't split unset value to set %HTTPD2
16.58.50/E result: stop task (error)
16.58.50/Variables doreplresult: |%HTTPD2| -> |%HTTPD2|
16.58.50/E Error: 1
16.58.50/MacroEdit action finished exeID 1 action no 2 code 590 status: Err next 2
Thank you so much for 'holding my hand' through this lol. I'm learning a lot from this.
JKforUA said:
As for what I was talking about with the "Description by Email" function, this is what I was talking about: In the 'Profiles' screen, if you long press on one of the profiles and then press the 3 dots in the top right hand corner, there is an 'Export' option where you can get a copy of the profile/task in "Description" or "XML" format. What I copied/pasted was the "Description" of the profile. For A1, it just printed out every option given (but I didn't set anything other than what you say in the OP). A2 and A3, I don't have 'Delete Base' selected, but I guess the export still printed out the parameters. Don't worry lol. Likewise with A5. Surely there is a better way to export or copy a profile/task that will leave out all of the parameters that aren't set to anything. I'll look into that later tonight...
I just tried this with the two splitters you suggested and this is the error I got on my 3rd task (the second splitter). I'll have to wait until I'm home in a little bit to look into this. Looks like HTTPD2 isn't getting set, but I'll check it out in a little bit.:
16.58.50/Variables doreplresult: |%HTTPD2| -> |%HTTPD2|
16.58.50/E Variable Split: %HTTPD2 -> %HTTPD2
16.58.50/Variables doreplresult: |%HTTPD2| -> |%HTTPD2|
16.58.50/E Variable Split: can't split unset value to set %HTTPD2
16.58.50/E result: stop task (error)
16.58.50/Variables doreplresult: |%HTTPD2| -> |%HTTPD2|
16.58.50/E Error: 1
16.58.50/MacroEdit action finished exeID 1 action no 2 code 590 status: Err next 2
Thank you so much for 'holding my hand' through this lol. I'm learning a lot from this.
Click to expand...
Click to collapse
I'm with you mate So, what came to my mind when reading your reply is: In the OP, this is all ONE big task and you should have bullet points 1.1-1.5 in a single task, in a single profile (which would be "1." - Repeat from xx - til xx). That's not what might cause the problems, since the variables are global, but it's for the aesthetics (If I'm right with the several tasks).
Besides that I really think some screenshots could be of tremendous help, since it's hard to comprehend what causes the errors, if I don't see exactly how you've set it up. To get to the root of the problem I suggest you send me 3 screenshots next:
1. Overview of the profile(s)
2. The task itself in overview. However you named the task: Click on it and then take a screenshot
3. Most important for me to comprehend: Overview of the variables. This is in the variable section either on tasker's home screen or in this "Check for ROM/KERNEL update" tab. If I can see how the variables are stored in combination with the other 2 shots I might figure out problems pretty quickly.
Do that and I'm sure we'll get this straight
P.S.: Don't panic if I suddenly won't reply anymore. It's past midnight here and I might have fallen asleep, but I'll get back to you tomorrow
Guide
Thanks
Hi all,
Thx a lot for this great idea, I can follow the kernel version. [emoji106]
For the Rom, it's different, because the thread title doesn't contain the version number.
Title is "ResurrectionRemix ROM 6.1.0 - Official Weeklies- 8.1.0 by*alex9yust" ( https://forum.xda-developers.com/redmi-note-3/development/rom-resurrectionremix-5-8-0-t3507433 )
An idea could be to check the name of last file on the Rom page (https://sourceforge.net/projects/resurrectionremix-oreo/files/kenzo/), but I don't know if it's possible.
Do you have another idea ?
Hi, I was searching for a way to use Navigon but couldn’t find a solution on the internet, so I worked it out. Maybe it is useful for somebody.
with:
Send Intent
action:
android.intent.action.navigon.START_PUBLIC
extra:
latitude: 52.516388888889 (example, it is important to not use capital letters)
extra:
logitude: 13.377777777778 (example, it is important to not use capital letters)
Target:Activity