I just downloaded FilzaEscaped, and was scrolling through it and found the carrier.plist for my carrier. If I were to change something (carrier name for example), would it mess up my phone? And if it did, is there a way to backup the original settings and restore if something goes wrong? Thanks
I think that you can freely edit it however tampering with it will make the signature for the file invalid so it might just end up doing nothing at all and revert to its original state. if you want to change the carrier name the values are located in the key StatusBarImages
See here for more info https://www.theiphonewiki.com/wiki/Carrier.plist
you can edit the.plist file if you'd like... however after your next re-jailbreak (perhaps your phone ran out of charge or you restarted your device) the files will revert. The only relevant settings are in the APN section. I would suggest installing carrier update remover, and/or using untetherme 8+ to change these settings.
Related
I'm trying to have the installer [NSIS] deleted after my electron app is installed on a device, so that the user needn't do so
Is there a possible way to achieve this
So I would not really recommend it but you could try to use the Delete function, specify your installer-file and set the /REBOOTOK Flag.
The code would look something like this:
Delete path\myInstaller.exe /REBOOTOK
This Flag tries to Delete the File right away and if it fails, wich it will since the installer is running, it will delete it after a reboot.
Just keep in mind that you would have to reboot your computer after the installation or the file will not be deleted.
Let me know if this solved your problem.
When I call up the Notification Center, I get the value Embarcadero.DesktopToasts.???????? as the reporting app for a limited period of time.
If I delete the link created by Delphi in the C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs directory and also the registry entries Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\Embarcadero.DesktopToasts.????????
the app name will be correct again after the second call at the latest.
How can this behavior be corrected?
As a side question, in which value can I store a better icon?
For this to work, there needs to be alignment between the registry and a special shortcut to the application.
These shortcuts may be found by running "Shell:Appsfolder".
So, if a shortcut with a similar name as your program already exists, Embarcadero does not create a proper shortcut and notifications show up as Embarcadero.DesktopToasts....
Cleaning up the shortcuts with a similar name as your product may solve your problem.
(Perhaps Embarcadero should not have checked for shortname name, but for the actual content of this shortcut..)
Apparently I'm terrible at Googling. All I want to do is have the ability to read my web service URL from a config file in my PhoneGap app. Also, be able to modify that value during the build process. Is this named alot different in Xcode? I think I need to save this value in the plist file. If that's the case, then I can just set a user-setting in my build configuration stuff to have it change depending on which build type, Dev/Release.
If that's true, how do I access this from PhoneGap?
I'm guessing this question will get closed, but where else do I go for help...
plist file for cordova project already depreciate since v2.2. Cordova v2.3 start using config.xml.
Target > Edit Scheme
You could probably use hooks to accomplish everything that you are trying to do without changing around the config.xml file, but I'm not entirely sure this is supported with Phonegap (it is with Cordova.)
Check out the official help page to use the /hooks/ folder to modify anything during the build process: https://github.com/apache/cordova-cli/blob/master/templates/hooks-README.md
This blog post also seems pretty useful: http://devgirl.org/2013/11/12/three-hooks-your-cordovaphonegap-project-needs/ it talks about changing things based on the environment and I'm sure it'd be easy to extend that to changing based on dev/release.
You could store the link to your web service probably as a config variable. I'm trying to figure out how you can add a config variable and will report back if I get it. In the mean time you could probably just have something like a server.txt file that you change with hooks.
Is is possible to know if the user made an update or a fresh install considering that I didn't though of it before this version (so my previous version put no user default or keychain flag for me to use in my current version for checking)?
I don't believe resource files are deleted on install. If you have an image in your resource bundle, or perhaps you could even use the app icon, you could change the name of the image and then check for the existence of an image in the resource bundle with the old name.
Of course, I would test this first, but I think it will work
How to give the permissions to delete a file from SDCARD. Following code is working on simulator but in the phone, It's not working. How to solve my problem?
FileConnection fileConnection1=(FileConnection)Connector.open("file path");
fileConnection1.setWritable(true);
fileConnection1.delete();
You can request permissions from the person running your application but you may not forcefully set them so you need to gracefully handle your request being rejected.
The API involved is ApplicationPermissionsManager
I suggest you look at and possibly use this sample code (depending on which OS versions you are supporting) because there are a few quirks also explained at this url.
The exact permission you are looking for might be: ApplicationPermissions.PERMISSION_FILE_API
But I suggest you check the versions you are developing against for deprecation as several permissions have been retired or changed names over the years.