AutoShare Share your AutoShare intents

Discussion in 'Guides / Examples / Ideas Forum' started by szmerek, Oct 28, 2016.

  1. szmerek

    szmerek Member

    Joined:
    Jul 4, 2016
    Messages:
    121
    Likes Received:
    18
    I'm starting a new thread here, where I want you to post AutoShare intents. It would be great to see here intents created by you.
    It will be a good place where @joaomgcd can pick some of them to share wider, on import intents page.
    Hope you contribute to it!
    Reveal your secret recipes!
    Share!:)
     
    Last edited: Oct 28, 2016
  2. szmerek

    szmerek Member

    Joined:
    Jul 4, 2016
    Messages:
    121
    Likes Received:
    18
    Someone has to start:D

    IP Cam Viewer Pro - Open Camera in Gallery View
    Open camera for a given name in the gallery view.
    Code (Text):
    {"target":"Activity","appname":"IP Cam Viewer Pro","name":"Open Camera in Gallery View","action":"android.intent.action.MAIN","package":"com.rcreations.WebCamViewerPaid","class":"com.rcreations.WebCamViewerPaid.IpCamViewerActivity","extras":[{"type":"String","name":"Gallery View","description":"Do not change this value","key":"selectView","default":"GALLERY_VIEW"},{"type":"String","name":"Camera Name","description":"Name of the camera","default":"","key":"selectCameraName"}],"categories":[{"name":"Launcher","category":"android.intent.category.LAUNCHER"}],"id":"IP_CAM_VIEWER_PRO_CAMERA_GALLERY_VIEW"}
    ---
    IP Cam Viewer Pro - Open Group in Matrix View
    Open group of cameras for a given group name in the matrix view.
    Code (Text):
    {"target":"Activity","appname":"IP Cam Viewer Pro","name":"Open Group in Matrix View","action":"android.intent.action.MAIN","package":"com.rcreations.WebCamViewerPaid","class":"com.rcreations.WebCamViewerPaid.IpCamViewerActivity","extras":[{"type":"String","name":"Group View","description":"Do not change this value","key":"selectView","default":"MATRIX_VIEW"},{"type":"String","name":"Group Name","description":"Name of the group","default":"","key":"selectGroupName"}],"categories":[{"name":"Launcher","category":"android.intent.category.LAUNCHER"}],"id":"IP_CAM_VIEWER_PRO_GROUP_MATRIX_VIEW"}
    ---
    IP Cam Viewer Lite - Open Camera in Gallery View
    Open camera for a given name in the gallery view.
    Code (Text):
    {"target":"Activity","appname":"IP Cam Viewer Lite","name":"Open Camera in Gallery View","action":"android.intent.action.MAIN","package":"com.rcreations.ipcamviewer","class":"com.rcreations.ipcamviewer.WebCamViewerActivity","extras":[{"type":"String","name":"Gallery View","description":"Do not change this value","key":"selectView","default":"GALLERY_VIEW"},{"type":"String","name":"Camera Name","description":"Name of the camera","default":"","key":"selectCameraName"}],"categories":[{"name":"Launcher","category":"android.intent.category.LAUNCHER"}],"id":"IP_CAM_VIEWER_LITE_CAMERA_GALLERY_VIEW"}
     
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,502
    Likes Received:
    720
    Thank you very much! :)

    Added those here.

    Hopefully more will come!
     
  4. szmerek

    szmerek Member

    Joined:
    Jul 4, 2016
    Messages:
    121
    Likes Received:
    18
    Here are two intents I've already used in the tutorials.

    Google Calendar - Add New Event
    Open Google Calendar on the New Event page
    Code (Text):
    {"target":"Activity","appname":"Google Calendar","name":"Add New Event","action":"android.intent.action.EDIT","package":"com.google.android.calendar","categories":[{"category":"android.intent.category.DEFAULT","name":"Default"}],"mimetype":"vnd.android.cursor.item/event","id":"GOOGLE_CALENDAR_ADD_NEW_EVENT"}
    Phone - Calling Accounts Settings
    Open Calling Acounts and SIP settings. Works in Android 6.0 and above
    Code (Text):
    {"target":"Activity","appname":"Phone","name":"Calling Accounts Settings","package":"com.android.phone","action":"android.telecom.action.CHANGE_PHONE_ACCOUNTS","categories":[{"category":"android.intent.category.DEFAULT","name":"Default"}],"class":"com.android.phone.settings.PhoneAccountSettingsActivity","id":"PHONE_CALLING_ACCOUNTS_SETTINGS"}
     
    JR Jones likes this.
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,502
    Likes Received:
    720
    Ok, added those too! Thanks!
     
  6. szmerek

    szmerek Member

    Joined:
    Jul 4, 2016
    Messages:
    121
    Likes Received:
    18
    Seems those didn't get correct intents here.
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,502
    Likes Received:
    720
    What happens when you try to use them?
     
  8. szmerek

    szmerek Member

    Joined:
    Jul 4, 2016
    Messages:
    121
    Likes Received:
    18
  9. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,502
    Likes Received:
    720
    Sorry about that! Fixed now :)
     
  10. szmerek

    szmerek Member

    Joined:
    Jul 4, 2016
    Messages:
    121
    Likes Received:
    18
    This one is still not correct in its content:
    Google Calendar – Directly open the “Add New Event” page in Google Calendar
     
  11. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,502
    Likes Received:
    720
    Not sure how I missed that! Thanks again, fixed!
     
  12. szmerek

    szmerek Member

    Joined:
    Jul 4, 2016
    Messages:
    121
    Likes Received:
    18
    Intent to open hidden Android settings. Useful if you want to open them without dialing the codes.

    Settings - Secret Code
    You need to set %secretcode variable before using this intent. A secret code for this intent is defined by this pattern: *#*#%secretcode#*#*
    Code (Text):
    {"target":"Broadcast Receiver","appname":"Settings","name":"Secret Code","action":"android.provider.Telephony.SECRET_CODE","data":"android_secret_code://%secretcode","id":"SECRET_CODE","help":"You need to set %secretcode variable before using this intent. A secret code for this intent is defined by this pattern: *#*#%secretcode#*#*"}
    The intent accept only the codes starting with *#*# and ending with #*#*.
    For example: for code *#*#4636#*#*, you need to set %secredcode to 4636.
    The intent will not work with a code which looks like this: *#06#. It does't fit the intent pattern.
     
    Last edited: Jan 10, 2017
  13. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,502
    Likes Received:
    720
    Thanks! :) Can you give some examples of secret codes?
     
  14. szmerek

    szmerek Member

    Joined:
    Jul 4, 2016
    Messages:
    121
    Likes Received:
    18
    Normal way is to dial the secret code to access the settings/information. But if you want to frequently access specific settings/information or use them in your Tasker projects - use the Secret Code intent:D

    The intent accept only the codes starting with *#*# and ending with #*#*.
    For example: for code *#*#4636#*#*, you need to set %secredcode to 4636.
    The intent will not work with a code which looks like this: *#06#. It does't fit the intent pattern.

    There are the codes which work on all Android devices. There are maker specific codes only for specific phone makers (Samsung, HTC). You need to find the secret codes which are working on your device.

    There are many pages you can get the secret codes: link, link, link... just Google them.
    Below some codes examples from this page.

    *#*#4636#*#*
    This code can be used to get some interesting information about your phone and battery. It shows following 5 menus on screen:
    • Phone information,
    • Battery information,
    • Battery history,
    • Usage statistics,
    • Wifi information.

    *#*#7780#*#*
    This code can be used for a factory data reset. It'll remove following things:
    • Google account settings stored in your phone,
    • System and application data and settings,
    • Downloaded applications.
    It'll NOT remove:
    Current system software and bundled applications
    SD card files e.g. photos, music files, etc.
    PS: Once you give this code, you get a prompt screen asking you to click on "Reset phone" button. So you get a chance to cancel your operation.

    *#*#34971539#*#*
    This code is used to get information about phone camera. It shows following 4 menus:
    • Update camera firmware in image (Don't try this option)
    • Update camera firmware in SD card
    • Get camera firmware version
    • Get firmware update count
    WARNING: Never use the first option otherwise your phone camera will stop working and you'll need to take your phone to service center to reinstall camera firmware.

    *#*#7594#*#*
    This code can be used to change the "End Call / Power" button action in your phone. Be default, if you long press the button, it shows a screen asking you to select any option from Silent mode, Airplane mode and Power off.
    You can change this action using this code. You can enable direct power off on this button so you don't need to waste your time in selecting the option.

    *#*#273283*255*663282*#*#*
    This code opens a File copy screen where you can backup your media files e.g. Images, Sound, Video and Voice memo.

    *#*#197328640#*#* or *#*#32489#*#* or *#*#0011#*#*
    This code can be used to enter into Service mode. You can run various tests and change settings in the service mode.

    WLAN, GPS and Bluetooth Test Codes:
    *#*#232339#*#*
    OR *#*#526#*#* OR *#*#528#*#* - WLAN test (Use "Menu" button to start various tests)
    *#*#232338#*#* - Shows WiFi MAC address
    *#*#1472365#*#* - GPS test
    *#*#1575#*#* - Another GPS test
    *#*#232331#*#* - Bluetooth test
    *#*#232337#*# - Shows Bluetooth device address

    *#*#8255#*#*
    This code can be used to launch GTalk Service Monitor.

    Codes to get Firmware version information:
    *#*#4986*2650468#*#*
    - PDA, Phone, H/W, RFCallDate
    *#*#1234#*#* - PDA and Phone
    *#*#1111#*#* - FTA SW Version
    *#*#2222#*#* - FTA HW Version
    *#*#44336#*#* - PDA, Phone, CSC, Build Time, Changelist number
    *#*#12580*369#*#* - Check software and hardware information
    *#*#0228#*#* - Check battery status
    *#*#7465625#*#* - Check phone lock status
    *#*#272886#*#* - Change automatic answer selection

    Codes to launch various Factory Tests:
    *#*#0283#*#*
    - Packet Loopback
    *#*#0*#*#* - LCD test
    *#*#0673#*#* OR *#*#0289#*#* - Melody test
    *#*#0842#*#* - Device test (Vibration test and BackLight test)
    *#*#0589#*#* - Light censor test
    *#*#0782#*#* - Real time clock test
    *#*#2663#*#* - Touch screen version
    *#*#2664#*#* - Touch screen test
    *#*#0588#*#* - Proximity sensor test
    *#*#3264#*#* - RAM version
     
    Last edited: Jan 10, 2017
  15. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,502
    Likes Received:
    720
    Thank you very much! Added! :)
     
  16. szmerek

    szmerek Member

    Joined:
    Jul 4, 2016
    Messages:
    121
    Likes Received:
    18
  17. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,502
    Likes Received:
    720
    Sorry, I'm deprecating that RSS feed because it's too much traffic for all those rss requests. Sorry to disappoint!
     
  18. szmerek

    szmerek Member

    Joined:
    Jul 4, 2016
    Messages:
    121
    Likes Received:
    18
    OK. I will have to live with it ;)
     
  19. szmerek

    szmerek Member

    Joined:
    Jul 4, 2016
    Messages:
    121
    Likes Received:
    18
    Google - Location History Settings
    Directly open the “Location History” page.
    Code (Text):
    {"target":"Activity","appname":"Google","name":"Location History Settings","package":"com.google.android.gms","class":"com.google.android.location.settings.LocationHistorySettingsActivity","id":"google_location_history_settings"}
     
  20. RayBomb

    RayBomb New Member

    Joined:
    Nov 8, 2017
    Messages:
    1
    Likes Received:
    0
    Hi all!
    I have a Samsung A3 (2017) laying in car. I am trying to get the phone to automatically go into car mode (if needed) and run android auto on my car screen.
    However, until now, I need to reconnect the cable connected to get it working.
    I was hoping to automate this.

    This I'd what I think might happen:
    - I turn on car.
    - the phone recognize it and starts android auto, but the car is not ready yet.. The car seem to need some boot up time.

    I have played around with this, but it doesn't work.. Any hints?

    Code (Text):
    Profile: Auto Android Auto (27)
        State: BT Connected [ Name:Mitsubishi Motors Bluetooth
    Address:30:A9:DE:74:42:96 ]
    Enter: Start Android Auto (28)
        A1: Power Mode [ Mode:Normal ]
        A2: BT Voice Volume [ Level:15 Display:Off Sound:Off ]
        A3: System Volume [ Level:15 Display:Off Sound:Off ]
        A4: Media Volume [ Level:15 Display:Off Sound:Off ]
        A5: Wait [ MS:0 Seconds:15 Minutes:0 Hours:0 Days:0 ]
        A6: Car Mode [ Set:Off Go Home:On ]
        A7: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
        A8: Kill App [ App:Android Auto Use Root:On ]
        A9: Wait [ MS:0 Seconds:8 Minutes:0 Hours:0 Days:0 ]
        A10: Car Mode [ Set:On Go Home:Off ]
        A11: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
        A12: Launch App [ App:Android Auto Data: Exclude From Recent Apps:Off Always Start New Copy:On ]


    Sent from my iPhone using Tapatalk
     
    Last edited: Nov 9, 2017

Share This Page