Well I have been searching around now for instructions on how to use this app.
Specifically the "Make Your own" Option on the app.
With all these shortcuts im about to show you Leave Type section blank.
here is what I found.
The app uses something called URI (Uniform Resource Identifier).
These are used to Choose what you want to do in the specific shortcut.
i.e Make the short cut a Direct Call. the URI I believe is this:
Code:
Action: android.intent.action.DIAL <--- URI
Data: content://contacts/people/#
# meaning the number defined to the specific contact. You can also use their Phone number as well if it gets too complicated.
What you typed into the Data portion is the what the URI is going to go into to make the shortcut work. In this case, It dials the specific number typed in where the # sign is.
To make a Direct Song shortcut you would have to do this:
Code:
Action: android.intent.action.PICK <--- This will choose and play the song you choose in the Data sections.
Data: content://media/external/audio/media/# <-- This specifies what song you want to be played.
# the same applies as with the direct call except that it can only be one number (i.e 1 for your first song, 2 for the second song, 3 for the third, etc etc)
Im not sure if combining numbers would work in this case but I doubt it.
--------------------------------------------------------------------------
If anyone finds anymore information, links, or w.e on it or more shortcuts that you guys have made, please post them and I will add them onto Here.
More Information/Links:
http://developer.android.com/referen...nt/Intent.html
If link is broken for you search this in google:
developer android referen Intent
and choose the very first option.
Related
The hotspots login puts an icon in the bottom tray. Now that I'm using wm5newmenu instead of phm_traylaunch, I would like to eliminate the tray. Still, it would be nice to be able to run the automatic hotspot login, but I can't seem to make this work unless I can run the /windows/tmwispserv.dll.
Ideally, I would like to be able to click on a .lnk that loads the dll, so that I can then automatically connect to hotspots. It is fine if this doesn't go away until I do a soft reset.
How do I run a dll? What is the program number that seems to be required (judging from one user that said
rundll32.exe /windows/tmwispserv.dll,YYY
where YYY is the number of the program, is the correct syntax.
What you're calling the "program number" is actually the name (or ordinal number) of a function exported by the DLL in question. Do you know what function you need to call? If not, you'll need to find out somehow.
(I'm posting this in the Questions Forum because i have not enough posts to either create a topic in the Development and Hacking Forum or reply to the registry hacks-thread.
But since it's also somehow a question I hope it's ok in here.)
______________________________________________________________________________________________________
Edit October 15th, 2013: With the GDR3-Update you get this feature built-in, so no more need to do this then!
Hi Folks,
while AlvinPhilemon found out a registry tweak to set custom sounds on the Samsung Ativ S (as explained in this post), it is not quite practical, since you can't see the sound in the list with the others, so you can't choose or switch them without always edit the registry.
I found another way to do this, and I think it's a bit more elegant (see attachment to have a look), although it only can change the sms, e-mail or mailbox sounds.
This is what you need:
1. Interop Unlock
2. Registry Editor (use SamWP8 Tools)
3. Full File System Access (use SamWP8 Tools)
4. Your Notification sound (I tried mp3-, wav- and wma-format, all worked)
This is how you do it:
1. On your PC, browse to your Phone\PROGRAMS\CommonFiles\Sounds\ and paste your new sound there.
2. To make it visible in your sounds selection list inside the Settings-app you have to create a registry entry: Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\OEM\Sounds\Notifications\ (This is the Samsung specific location for notifications; I tried the whole thing with the standard Microsoft sound location HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Sounds\Notifications\ but it didn't work). In this registry location you can see a list of the the existing Samsung notification sounds ("Knock.wma", "On time.wma" and "Whistle.wma") and how their name is displayed in the Settings-app ("Knock", "On time" and "Whistle").
3. Create a new key and set the Value to the name of your soundfile (for example "Silvestro.mp3"), the Type to String and the Data to the name how you want it to be displayed. There might be an error notification after writing, but just read the key to check you wrote it correctly.
4. Done! Go to the Settings-app and choose the newly created sound as message, mailbox, or e-mail-sound!
What do you think of this solution? Of course it would be nice to pack this feature in an app that first lets you choose a soundfile from the Public or SD-Folder, then copies it, then creates a registry entry and then also is able to delete those things an put everything back to normal, but since I'm just starting with C# there's no way I can do this myself. Anybody interested in trying?
Thanks for your comments!
Very nice work, and good tutorial. It would, indeed, be good to get an app to automate this. You would need ID_CAP_SOUND_CONTROL (may require full capability unlock); this capability should enable both the requisite file system and registry access.
It's a shame that is not available by default like on every other smart and dumb phone in the world. This is one of WP many short comings that MS refuses to address.
Thanks
Nice tuturial, thanks.
I am a satisfied galaxy s4 owner. Before this phone i had the htc 8x. I liked wp8 a lot, but unfortunally some essential apps (for me) where still missing. Beside the very good os, i also like all the default sounds. Thats where my question comes in.
I'm looking for the complete set of Windows phone 8 notification sounds. Is it possible to copy them from a wp8 phone and post them here? I would like to have the windows sounds in my galaxy.
Great news!
With the GDR3-update comes the feature to set custom sounds for Messages/Mailbox/Reminder!
So this is no longer needed...
more easy way
I just renamed my ringtone the same as the existing tone in the map \PROGRAMS\CommonFiles\Sounds\.
Then I renamed the original sound (I have put "old" in front of the original tekst.)
Now I copied the rington in the map \PROGRAMS\CommonFiles\Sounds\.
Choose the ringtone on your phone, and it plays your ringtone.
I converted the mp3 ringtone to wma. I didn't try if it plays mp3.
The name of the original ringtones doesn't match the name in the phone, but you can play them first on your pc, to see witch one to replace.
I'm sure many users here have heard of or currently use Reddit, the link aggregation website. If you use the website for news, to find funny jokes, to find awesome tips, etc. then you'll be happy to know that Reddit offers the ability to read data from its subreddits in the form of a JSON feed, and using Tasker we can process this feed to get the data that we want, in this case the titles of each thread. In my setup, I'm taking a random title among the top 3 posts of the day from /r/quotes.
Instructions
Variables --> Variable Set. Name %subreddit to the name of a subreddit you would like to pull from.
Variables --> Variable Set. Name %numposts to whatever number of posts you want to pull before randomizing which one is picked.
Net --> HTTP Get. The Serverort you'll be grabbing is:
Code:
json.reddit.com/r/%subreddit/top/?sort=top&t=day
Code --> Javascriptlet. Here is the Javascriptlet you'll need to put under Code.
Code:
var arr = JSON.parse(global("HTTPD"));
var randomnumber = Math.floor((Math.random()*numposts)+1);
var selftext = arr.data.children[randomnumber].data.selftext
var title = arr.data.children[randomnumber].data.title
Variables --> Variable Clear. Set Name to %HTTPD* and check Pattern Matching.
Alert --> Say. For the text, you can say anything to preface what Tasker is about to put out. For instance, I've said it to "Your quote of the day is: %title." This should change depending on which subreddit you pull from.
That's it! Pretty simple to start with. You can change the Javascriptlet to pull N number of threads into an array and mess with that if you would like. Tasker's Javascriptlet user guide is a great resource for this.
Would you mind posting the xml file? Thanks!
Did exactly as you said and it doesn't work.
Edit : Darn this is a pretty old thread
Sent from my Honor 6X using XDA Labs
Hello,
I am new to android studio and java in general. I was wondering If there is an easy way to send data from one activity to multiple activities.
On my first activity the user will enter some text. I want this text to be displayed on the second activity as well as on a summary page(my 6th activity).
I have figured out how to have the text go from activity 1 to the second activity. But I cannot figure out how to make it show up on the summary page as well. Anyone have any advise?
Thanks in advance!
NewtoStudio said:
Hello,
I am new to android studio and java in general. I was wondering If there is an easy way to send data from one activity to multiple activities.
On my first activity the user will enter some text. I want this text to be displayed on the second activity as well as on a summary page(my 6th activity).
I have figured out how to have the text go from activity 1 to the second activity. But I cannot figure out how to make it show up on the summary page as well. Anyone have any advise?
Thanks in advance!
Click to expand...
Click to collapse
You should use some permanent storage. In Android it's a lot ways to save the data: simple file, preferences, database, content providers and others.
I think for you case can be appropriate use the preferences. You need to write the preferences in one activity and read in another. Please see the following code example in Kotlin for details.
In order to write the preferences:
Code:
with(getSharedPreferences(PREFERENCE_NAME, Context.MODE_PRIVATE)) {
edit().putString(MY_MSG, "your message text").apply()
}
In order to Read preferences from destination activity:
Code:
with(getSharedPreferences(PREFERENCE_NAME, Context.MODE_PRIVATE)) {
mString = getString(MY_MSG,"");
}
I have built an app from a tutorial but I am having problems adapting it to my needs. I need to rename the spreadsheet columns but when I do (and match the names in the app) if fails to get the data.
I'm not sure what spreadsheet you are referring to, but just going off my excel & VBA knowledge, can you check that auto calc is turned on? and/or hit F9 to recalc. How about the name manager section in the tool ribbon in excel? Say for example the column you want is called "variables" and it was originally defined as $A:$A (i.e., all of column A) but you did something and now it's been altered so that it's $A:$B (i.e., is all of columns A & B) then that could cause problems. Similar thing if it the area was smaller, like $A$2:$A$6. If you added a row to cell A7, the name manager is not looking past A6 in this example so your new info won't get a hit.
Hope that helps
I am using a google sheet to hold data for the app, one entry per row. I have tried with the code I have that builds the basic app. The tutorial app has first_name, last_name, email as column headers. I need them to be gridref, fallname, w3w. I have to name the data fields (?) within the app but if I use GridRef it fails but gridref works. can string names not have/be capitalised?
Also if I create a new project called WF the code I'm using works but if I name it waterfalls it fails.
I can rename them in the spreadsheet, there are no calculation fields etc. just simply text in a cell, typed in to be passed over to the app in JSON format.
I can add a new line which displays in tha app as a new entry which is what I want. I will need to add columns at some stage but I'll be happy to get this working first.
I have managed to rename 3 of the four columns but it fails when i change the name of the 4th That may not be a problem but changing last_name to aw3w causes an issue. In the app I think they are called 'holders', are some names reserved by the system?
I have figured this one out.