Hello,
i've a little problem with a count of k9mail !
I've created a richtext, in manual edit i put this line :
Code:
$#SUK#>0?#SUK#: $
When i test, i have never the good value, i see everytime "-1", i have try with just this code :
Code:
#SUK#
Anyone have a solution ?
Thanks in advance.
David
Related
I am having a problem when im trying to upload a wallpaper for g1wallz, it is giving me the following error Warning: move_uploaded_file(/i.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/rr1984/public_html/wp-content/plugins/tdo-mini-forms/tdomf-upload-inline.php on line 220
and i have account obviously, but i set up the info and when i go and choose to upload it gives me that error, and the pictures meat the requirement, if anyone can tell me what i am doing wrong that would be helpful , thanks
Have you tried contacting the owner of the site? XDA has nothing to do with a third party website like g1wallz. From the looks of it its something to do with proper permissions on the server's end. Which you (or anyone else here) would have any control over anyway.
thanks prash, i was going to delete this thread if i got a simple answer, i did try emailing them and i have not yet got a response
I have this code to play .wav file when button is pressed:
(I am using MS Visual Studio 2008, C#, WM5 Pocket PC SDK, NET CF 3.5)
Code:
private void button1_Click(object sender, EventArgs e)
{
System.Media.SoundPlayer myPlayer = new System.Media.SoundPlayer();
myPlayer.SoundLocation = "/M1.wav";
myPlayer.Play();
}
Problem - It will play this sound file only if it is located in root of my deviece.
Question - How can I make it play from my application folder?
Use this to get the application folder...
Code:
string folder = new FileInfo(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase).DirectoryName;
and then use...
Code:
myPlayer.SoundLocation = folder + "\M1.wav";
Hope this helps
Thanks! This worked.
Code:
string folder = new FileInfo(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase).DirectoryName;
Now i have another question - how can I play music in background when I press button and how can i turn it of by pressing button? I did some search, but i could not find anything about it.
Google is your friend, mate.
A quick search turned this up for me...
http://www.developerfusion.com/forum/thread/41606/
I've not tried it, but it has start and stop methods, so it looks spot on.
Good luck
Edit:
Here's another one that may help...
http://www.davidjsushil.com/tutorials/winapisounds.pdf
Thanks again!
Everything works like it should expect one more thing -
I have 3 Forms and when I switch between them, they all stays opened?
What do I have to do to make them close when I switch between them?
Thanks again.
Podkasts said:
Thanks again!
Everything works like it should expect one more thing -
I have 3 Forms and when I switch between them, they all stays opened?
What do I have to do to make them close when I switch between them?
Thanks again.
Click to expand...
Click to collapse
Just do a close on the form that is opening the next one...
Code:
form2.Show();
form1.Close();
(obviously, they're example names - change them to suit).
Closing the forms may not be the right thing to do though - it obviously depends what you're doing with them.
I had already tried that and it gives this error:
Code:
error CS0103: The name 'form1' does not exist in the current context
(Yes, form name is "form1")
Podkasts said:
I had already tried that and it gives this error:
Code:
error CS0103: The name 'form1' does not exist in the current context
(Yes, form name is "form1")
Click to expand...
Click to collapse
Sorry... you can't do that because form1 doesn't know it's called form1. My bad.
Use this instead...
Code:
this.Close();
Hope that helps mate.
johncmolyneux said:
Use this to get the application folder...
Code:
string folder = new FileInfo(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase).DirectoryName;
and then use...
Code:
myPlayer.SoundLocation = folder + "\M1.wav";
Hope this helps
Click to expand...
Click to collapse
Hi. Do you know about similar code for embedded C++?
I am actually using this:
PlaySound (TEXT("\\APPLICATION DATA\\MYAPP\\MYSOUND.WAV"), NULL, SND_ASYNC | SND_LOOP);
Hi all,
1- Im not noop !
2- I did researched , ended with no results
3- I guess this should be moved to DEVELOPMENT Forum
- - - - - - -
I wondered if any one can develop the current call log system file to
do the following :
1- Show the name ( once ) Instead of showing the name
Multiple times
2- Each Name log could contain all the communication info. such
( placed, missed , ignored calls and/or the txts &
emails if assigned to a contact )
3- I hope some one got the idea
thanks guys , girls , ladies and gentlemen
CHAAAAO
that is a feature in CM7
but the TW dialer doesn't have that option
AllGamer said:
that is a feature in CM7
but the TW dialer doesn't have that option
Click to expand...
Click to collapse
Which is SUCKS and so messy ,
it is a very basic way to "organize" the call log !!
thanks for reply btw
I didn't see one started here, and after seeing this on the portal, I started to play around a bit with this and thought it may be a good idea to post this here too. With thanks to kkoolpatz in this link I started to edit the CSC file found here:/system/csc/feature.xml in my stock, rooted JB ROM. Just be sure to make a backup, and I recomend RootExplorer to make changes:
I also highly recomend you check out the origional post above, but I have found the following of his to work:
Unlimited linked contacts:
Code:
<CscFeature_Contact_SetLinkCountMaxAs>999</CscFeature_Contact_SetLinkCountMaxAs>
Shutter sound option for Camera (can turn it Off):
Code:
<CscFeature_Camera_ShutterSoundMenu>true</CscFeature_Camera_ShutterSoundMenu>
Not tested by me, but in the other post, these may be sueful to some:
Enter Key = New Line in stock sms // Only if not supported already
Code:
<!-- Message -->
<CscFeature_Message_ReplaceCRToNewLine>true</CscFeature_Message_ReplaceCRToNewLine>
Dialer search matches numbers in contacts and call logs along with contacts
Code:
<!-- Dialer / Logs -->
<CscFeature_Dialer_PhonebookNdigitsMatching>true</CscFeature_Dialer_PhonebookNdigitsMatching>
You may have to optionally add this line too.
<!-- RIL -->
<CscFeature_RIL_CallerIdMatchingDigit>8</CscFeature_RIL_CallerIdMatchingDigit>
Add exit menu to stock web browser
Code:
<CscFeature_Web_AddOptionToTerminate>true</CscFeature_Web_AddOptionToTerminate>
Stock browser requests Desktop site by default
Code:
<CscFeature_Web_EnableDesktopSiteAsDefault>true</CscFeature_Web_EnableDesktopSiteAsDefault>
I am playing around with the following:
Restored the hidden APN Remove the following:
Code:
<CscFeature_Setting_HideApnList>pcweb.tmobile.com</CscFeature_Setting_HideApnList>
These give me the option for Find my mobile/Sim replacement alert, but Find my mobile doesn't seem to work, would love to activate this feature:
Code:
<CscFeature_Setting_DisableMenuFindMyMobile>false</CscFeature_Setting_DisableMenuFindMyMobile>
<CscFeature_Settings_FindMyMobile>true</CscFeature_Settings_FindMyMobile>
This one I disabled see no effect:
Code:
<CscFeature_Setting_RemoveDisableButtonInAppMgr>com.carrieriq.tmobile,com.carrieriq.tmobile.IQOOB,com.carrieriq.tmobile.IQToggle</CscFeature_Setting_RemoveDisableButtonInAppMgr>
kkoolpatz also posted these, I haven't gone through it yet but probably worth a look:CscFeatures
If anyone has more to add, let me know, and I will modify this post.
Thansk again kkoolpatz
I have added my Stock file to this post, just remove the txt
Couple of things I noticed that I think is interesting:
1) By deleting [I comented out] the line that hides the the teather APM, this no looks like it can be easily deleted, may be useful for some
2) You can enable the Find my phone menu. Looks like you can set it up, but when you launch the web page, this phone is not listed. Wondering what else is needed to make this work
3) You seem to be able to add the ability to disable Carrier IQ apps from the apps list, but I still don't see them there. Wondering if this can be useful some way.
4) There are a lot of interesting things to play with in this file. Also the CscFeatures file posted by kkoolpatz has some items of interest
nygmam said:
I didn't see one started here, and after seeing this on the portal, I started to play around a bit with this and thought it may be a good idea to post this here too. With thanks to kkoolpatz in this link I started to edit the CSC file found here:/system/csc/feature.xml in my stock, rooted JB ROM. Just be sure to make a backup, and I recomend RootExplorer to make changes:
I also highly recomend you check out the origional post above, but I have found the following of his to work:
Unlimited linked contacts:
Code:
<CscFeature_Contact_SetLinkCountMaxAs>999</CscFeature_Contact_SetLinkCountMaxAs>
Shutter sound option for Camera (can turn it Off):
Code:
<CscFeature_Camera_ShutterSoundMenu>true</CscFeature_Camera_ShutterSoundMenu>
Not tested by me, but in the other post, these may be sueful to some:
Enter Key = New Line in stock sms // Only if not supported already
Code:
<!-- Message -->
<CscFeature_Message_ReplaceCRToNewLine>true</CscFeature_Message_ReplaceCRToNewLine>
Dialer search matches numbers in contacts and call logs along with contacts
Code:
<!-- Dialer / Logs -->
<CscFeature_Dialer_PhonebookNdigitsMatching>true</CscFeature_Dialer_PhonebookNdigitsMatching>
You may have to optionally add this line too.
<!-- RIL -->
<CscFeature_RIL_CallerIdMatchingDigit>8</CscFeature_RIL_CallerIdMatchingDigit>
Add exit menu to stock web browser
Code:
<CscFeature_Web_AddOptionToTerminate>true</CscFeature_Web_AddOptionToTerminate>
Stock browser requests Desktop site by default
Code:
<CscFeature_Web_EnableDesktopSiteAsDefault>true</CscFeature_Web_EnableDesktopSiteAsDefault>
I am playing around with the following:
Restored the hidden APN Remove the following:
Code:
<CscFeature_Setting_HideApnList>pcweb.tmobile.com</CscFeature_Setting_HideApnList>
These give me the option for Find my mobile/Sim replacement alert, but Find my mobile doesn't seem to work, would love to activate this feature:
Code:
<CscFeature_Setting_DisableMenuFindMyMobile>false</CscFeature_Setting_DisableMenuFindMyMobile>
<CscFeature_Settings_FindMyMobile>true</CscFeature_Settings_FindMyMobile>
This one I disabled see no effect:
Code:
<CscFeature_Setting_RemoveDisableButtonInAppMgr>com.carrieriq.tmobile,com.carrieriq.tmobile.IQOOB,com.carrieriq.tmobile.IQToggle</CscFeature_Setting_RemoveDisableButtonInAppMgr>
kkoolpatz also posted these, I haven't gone through it yet but probably worth a look:CscFeatures
If anyone has more to add, let me know, and I will modify this post.
Thansk again kkoolpatz
I have added my Stock file to this post, just remove the txt
Click to expand...
Click to collapse
Thanks for mentioning me
There is alot you can do with the csc xmls
Hi everybody,
This is my experimental program, if you want to modify hosts without using registry, please try this app. It is only support IPV4 now.
If you have any idea, please contact me([email protected]).
Thanks to Heathcliff74 for making this possible (WP7 Root Tools SDK)!
Update note:
-----------------------
1.0.2: Root tool bug has been fixed now!
Hi,
Thanks for work, but sreenshoot ?
Working great here, thanks knightluffy!!!
I did find one thing for those using this (perhaps knightluffy can look into this too and update), be careful when entering a domain not to include the http:// part as the app will close upon reentry.. the // or : are invalid characters perhaps for the host causing the app to crash. I had to delete the entry in the registry to get back into the app.
Very nice app, you can easily add, delete your entries directly in the application.
hBk0dY said:
Hi,
Thanks for work, but sreenshoot ?
Click to expand...
Click to collapse
Thanks for your remind, I have added.
Thanks
opacityzero said:
Working great here, thanks knightluffy!!!
I did find one thing for those using this (perhaps knightluffy can look into this too and update), be careful when entering a domain not to include the http:// part as the app will close upon reentry.. the // or : are invalid characters perhaps for the host causing the app to crash. I had to delete the entry in the registry to get back into the app.
Very nice app, you can easily add, delete your entries directly in the application.
Click to expand...
Click to collapse
I have made a fix, could you please help try it again?
Tested v1.0.1, this version works when entering : or / which is great in case one mistakenly adds it! Thanks!
The entry however disappears if you exit and re-open the app preventing editing/removing it...but it does add the entry into the registry. If there is a way without going too crazy to check for and remove any incorrect characters, such as the : and / or any other character except for a hyphen - in the Address field, and only allow numbers and a . in the ip field that would be helpful at preventing incorrect entries for those not too familiar with the hosts file.
opacityzero said:
Tested v1.0.1, this version works when entering : or / which is great in case one mistakenly adds it! Thanks!
The entry however disappears if you exit and re-open the app preventing editing/removing it...but it does add the entry into the registry. If there is a way without going too crazy to check for and remove any incorrect characters, such as the : and / or any other character except for a hyphen - in the Address field, and only allow numbers and a . in the ip field that would be helpful at preventing incorrect entries for those not too familiar with the hosts file.
Click to expand...
Click to collapse
Hi, I think this is Root Tool SDK`s bug, I had report it to @Heathcliff74XDA on twitter. Thank you very much.
Hi,
I listed your app here.
I also release WP7 Root Tools SDK 1.1 officially now. The bug you reported is fixed. You can update it in your app now.
Keep up the good work!
Heathcliff74
Heathcliff74 said:
Hi,
I listed your app here.
I also release WP7 Root Tools SDK 1.1 officially now. The bug you reported is fixed. You can update it in your app now.
Keep up the good work!
Heathcliff74
Click to expand...
Click to collapse
Thanks for your remind, I nearly forgot it. Now, it has been fixed.