intent sample to run a program needed - Atrix 4G Android Development

Can someone please give me some samples as to what is the correct intent to run the following programs:
1. kik messenger
2. titanium backup
I want to figure out how I can send parameters to /usr/loca/bin/androidlauncher to add shortcuts that run apps on the phone from webtop.
thanks in advance.

devbro said:
Can someone please give me some samples as to what is the correct intent to run the following programs:
1. kik messenger
2. titanium backup
I want to figure out how I can send parameters to /usr/loca/bin/androidlauncher to add shortcuts that run apps on the phone from webtop.
thanks in advance.
Click to expand...
Click to collapse
try using am command?
am start -a android.intent.action.MAIN -n derp.derp.derp/.derp

Related

2 Quick Questions

1. How do you open HTML Viewer manually, as a standalone application?
2. How can I modify the functionality of the long press Home button? (I want to make the required long press time shorter.)
Thank you
1. you should be able to create an anycut shortcut
2. without major edits to the OS you can't
tubaking182 said:
1. you should be able to create an anycut shortcut
2. without major edits to the OS you can't
Click to expand...
Click to collapse
I have AnyCut but HTMLViewer is not in the Activities menu.
I tried using Make My Own, but it just won't work.
Examples I found:
http://androidguys.com/?p=3160
Action: android.intent.action.PICK
Data: content://media/external/audio/playlists/
http://www.google.com/support/forum/p/Android+Market/thread?tid=601fa84b6ae23521&hl=en
action: android.intent.action.INSERT
data: content://contacts/people
http://androidguys.com/?p=2967
Action: android.intent.action.VIEW
Data: content://media/internal/audio/media/27
Click to expand...
Click to collapse
So I tried:
Action: android.intent.action.VIEW
Data: HTMLViewer
Action: android.intent.action.VIEW
Data: sdcard/test.pdf
Action: android.intent.action.VIEW
Data: content://sdcard/test.pdf
And none of them work. It just says "Application is not installed on your phone."
Does anyone know how to use AnyCut to open HTMLViewer or just open a file?
Anyone have any ideas?
Can BetterCut do this?
Haha, did I stump everyone?

Autostart Programs (app autostarts only allows deleting)

Is there a way to modify a userint.sh script to autorun programs at start or autoend??? If so what are the basic command principals??? Thank you in advance for your help.
My main goal is to add certain programs to start on boot.....anyone know the commands or an app that can assist?
Download program called Autostarts, I think that thing can do it for you.
sorry to bump my own post...but i edited and thought this was better than adding an additional post.
The app is called autostart (Root)
Once installed, you make the autostart.sh and put it in the /data/opt/ which will run the items in su after the G1 boots up.
Kinda interesting to find this. Maybe this is how Ill update my odex files automatically..
could anyone help me create the autostart.sh file?
For instance, I'd like to autostart Nimbus when the phone boots. What syntax do I have to use within the .sh file to get this to happen?

Launcher 8 is AWESOME

After trying several launchers (adw, go, Launcher 7 and so on) with different high contrast themes, i decided that Launcher 8 is the one.
I attached some photos to show the results...
But I also have one question: is it possible to add quick WiFi shortcut on desktop ? I know that touching the clock will show the quick connect, but that is bull sh*t, I can only enable/disable. For advanced settings, I have to go in Settings menu. But if is possible, I would like to have that on my screen.
Thanks
derei said:
After trying several launchers (adw, go, Launcher 7 and so on) with different high contrast themes, i decided that Launcher 8 is the one.
I attached some photos to show the results...
But I also have one question: is it possible to add quick WiFi shortcut on desktop ? I know that touching the clock will show the quick connect, but that is bull sh*t, I can only enable/disable. For advanced settings, I have to go in Settings menu. But if is possible, I would like to have that on my screen.
Thanks
Click to expand...
Click to collapse
install Gscript
https://code.google.com/p/gscript-android/downloads/list
create a shell script containing :
am start -a android.intent.action.MAIN -n com.android.settings/.wifi.Settings_Wifi_Settings
- Place the script in /sdcard/gscript/
- Load it
Gscript allows you to create a desktop shortcut to the script.
Voila. You have a shortcut to advanced wifi settings on your desktop.
Alternatively you can write a simple apk to run this command (you will get your own custom icon).
You can use my FastMode2.apk as a model.
It starts a bash command and quits.
osowiecki said:
Alternatively you can write a simple apk to run this command (you will get your own custom icon).
You can use my FastMode2.apk as a model.
It starys a bash command and quits.
Click to expand...
Click to collapse
Where I can find it? (can you put it here?)
http://forum.xda-developers.com/showpost.php?p=39529578
Done
how to compile from source ( if you have android SDK installed and configured)
- change icons in /res/ folders if you like
- keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
- ant release
- jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore my_application.apk alias_name
- adb install my_application.apk
have fun
http://developer.android.com/tools/publishing/app-signing.html
I rooted my nstg running 1.2.1 with nookmanager, and have the market place up and running, but when I try to install launcher 8 (apparently called wp 8 now) through the google play store on my laptop or claims it's incomparable with my device. Any suggestions?
Ericvanholstyn said:
I rooted my nstg running 1.2.1 with nookmanager, and have the market place up and running, but when I try to install launcher 8 (apparently called wp 8 now) through the google play store on my laptop or claims it's incomparable with my device. Any suggestions?
Click to expand...
Click to collapse
It might be. If you want to try anyway, copy the PlayStore URL and paste it into here. Then try to sideload/install and see if the NSTG will let you. If not, you need an earlier/compatible version.
nmyshkin said:
It might be. If you want to try anyway, copy the PlayStore URL and paste it into (link removed because I'm too new to the forum to post outside links). Then try to sideload/install and see if the NSTG will let you. If not, you need an earlier/compatible version.
Click to expand...
Click to collapse
So the link worked to generate an apk that I then saved to my google drive, after clicking on the file on my nook it appears to begin installation but then displays a message that there was a phrasing error...I'm new to android so I'm not entirely sure what this even means. I'd love to be able to run the launcher from the OP but I'm just not sure what steps I'm missing in the process. thanks in advance for any input that my help.
Ericvanholstyn said:
So the link worked to generate an apk that I then saved to my google drive, after clicking on the file on my nook it appears to begin installation but then displays a message that there was a phrasing error...I'm new to android so I'm not entirely sure what this even means. I'd love to be able to run the launcher from the OP but I'm just not sure what steps I'm missing in the process. thanks in advance for any input that my help.
Click to expand...
Click to collapse
Parsing error. That means it's for a higher Android version. Unfortunately none of the postings I could find re:Launcher8 give the version number. The current market version is 3.x
If you follow the link on the PlayStore page to the app website it looks like maybe you can download a version 2.x? Or you can try here and see if one of the older versions will install.
Does anyone know how to get the latest version of WP Launcher (new name for Launcher 8) to NOT show the tiles over the wallpaper?
I'm trying to settle on a launcher for the Nook Glowlight Plus (the October 2015 version). WP Launcher seems to work but the wallpaper/background makes it look terrible.
Ive been looking for a compatible version of launcher 8 but cant find it. I have a nst glowlight. Can anyone share a working link to it?
i found one, that is compatible, pm me if anyone needs it.

[Q] How to start multisim settings from command line

I haven't found a proper widget that can switch my sim2 on and off in a fast way without passing from settings, so i've installed "Widgetsoid" that can create toggles and widget with a specific command line.
I have found that the process that i want is "com.motorola.multisims" so i opened the Android Manifest from the installation apk and i presume that the activity is ".MSIM_SETTINGS"
So i wrote in the command
"am start -n com.motorola.multisimsettings/.MSIM_SETTINGS"
or
"am start -a com.motorola.multisimsettings/.MSIM_SETTINGS"
but it doesn't work.
Does anyone have an idea on how to make it work?
In attachment there is the apk file if anyone is interessed.
Post this in the Q &A section. This area is for development only. You'll have better luck there in the future.
Sent from my Moto G 2014 using XDA Free mobile app
@reddevilx
try QuickShortcutMaker
it worked
Yes it worked, and it's also very simple!
You are my hero

[HOW TO] Automatically Delete/Archive confidential or sensitive Whatsapp chats (Root)

Hi friends,
Are you tired deleting whatsapp chats from certain contacts after read it ? Well, I made a task to automate that process. You only need:
1) ROOT and Sqlite binary installed to read the database. In this case, I'm using sqlite's binary that comes with Titanium Backup (/data/data/com.keramidas.TitaniumBackup/files/sqlite3)
2) Autonotification (optional)
The Task is very simple:
1) It will perform an SQL delete from whatsapp database with the phone you provide ( if all messages of that conversation has been read)
2) If you have unread messages, it will archive the chat. Also, it will clear any Whatsapp notification just in case (using Autonotification)
The Task has 2 parameters:
1) Phone . Formatted like this :
[email protected]
2) Delete messages : X (if you do not set this parameter, the Task only will archive the chat)
You can schedule this task by several ways, examples: near wifi, each xx minutes, when turn out the screen, etc.
Note: Before you run this task, you need to set %sqlite variable with sqlite full path
View attachment WA___Test_Archive.tsk.xml
View attachment WA___Delete.Archive.tsk.xml
Hi can u help me with a detailed way of auto archiving ? Ur help would be most appreciated
How do i do it using tasker ? Please help
minaz_in said:
How do i do it using tasker ? Please help
Click to expand...
Click to collapse
Long press on task tab and select import
Sent from my Honor 6X using XDA Labs
Are you going to cheat and hiding messages with another girl/woman for your girlfriend ?
No serious.
You can also use a SQLite manager which has root access.
Here are some SQLite managers, but I don't know which one has root access.
https://play.google.com/store/apps/...SChBzcWxpdGUgdG9vbCByb290:S:ANO1ljL0UXo&hl=en
Hi is this still working?
Im rooted, have supersu.
Iv instaled Titanium backup
Iv imported two tasks
Set the number in tasker but nothing is happening when i run tasks or open whatsapp.
How is the number saved in WA database? With prefix of my country [email protected] or with zero instead of prefix [email protected]
Do i need to change the code of tasks?
Can someone please help?
Thanx

Categories

Resources