I want to disable Clear Data button on Firefox or Kiwi Apk - apk

im editing this Kiwi.apk because i want to be able to prevent that people go to manage apps in settings and clear data on this app
the reason why is because of the extensions that i can install.
it does not need to disable clear data button
i just want when people click on clear data that it launch a different activity like these.
</application>android:label="Kiwi Browser" android:icon="#drawable/icon"
android:manageSpaceActivity=".ActivityOfMyChoice">
on the Application tag i added this
and i recompile it. when i try to install the apk the apk is succesfully installed but it crashed when i open the app
did i do something wrong? can anybody help me with AndroidManifest.xml
please be aware that this is my first time ever for editing a Apk

Related

XCode won't update from App Store

This night I've update my iPhone which I use to test my applications but that caused a problem of "Developer Disk Image", which, as I understood, basically means that Apple wants me to update my Xcode.
However, when I try to do so from "updates" tab in App Store, after I press "update" button, it just simply goes to "waiting" and then back to no progress at all. It does not update after that and the icon of the app in Launcher becomes grey, has a progress bar below it and stays at 0bytes.
I tried to delete the app and download it from the App Store again, but it all ends with Xcode.appdownload file being downloaded and that's it. Even if I try to launch that file (I know it's dumb, but should have tried) nothing happens. How do I get my App Store to work again?
Ok, I solved the issue - even though it does not mention System Updates anywhere, all I had to do is to update OS first. C'mon, Apple inc. get your scheiße together, just bugging away is not an answer!
The Mac App Store is broken beyond repair. You can try to reload the update page using CMD-R. That helps sometimes. In addition, Launchpad normally shows the progress correctly.
You can also update from Terminal.app using the command
softwareupdate -l
Good luck!

is it Possible to install apk file from personal website without market like googleplay?

I'm making a website that offers apk file. Is it possible to install the apk directly to phone from my website when clicking the install button without market like google play?
I already try to make this but once i clicked install button, it only download the file and place to filemanager and did not install. Is it possible? if yes, how can i do that with php? Thanks for the help!
You can Install any android application in your phone, it can be from any e-mail,website or any other medium it doesn't matter.
To Install the outside app you must change the settings first.
Swipe down from the top of the screen and tap the Settings button.
Tap the Security button beneath the Personal subheading.
Scroll down to the Device Administration subheading, tap Unknown Sources, and OK in the following warning pop-up.
Sorry I cant tell you about PHP

How to uninstall Xcode 6 and remove all related files

I need to completely reinstall Xcode 6 and remove all the files and settings with it.
I know that it is uninstalled so that you go to mission control, long click on it and then click on the X button, like on iPhone.
I also know that you can drag it to trash from applications.
But after all those, when I install it again through AppStore and open the last project I was working on, Xcode will open the project on exactly the same class where i t was shut down and even show the last error I faced!
I don't want that. That means that some User Preferences are still saved somewhere and I want to get rid of them as I have never ever had Xcode installed on my Mac.
How to do that?
You can use several uninstall programs like you would uninstall any other Mac application.
So some examples might be App Cleaner or Clean My Mac.
Hope that helps :)

OSX Notification Center Icon

I'm using OSX's Notification Center APIs for the first time and can't seem to figure out how to make my app's icon to show up in the Notification badge.
The default "your app doesn't have an icon" icon keeps showing up:
Here's what I've done so far
I have created an icns file that includes 512, 256, 128, 32 & 16px versions
dragged the icon into the "App Icon" section of the target's summary
I made to sure to check the box to copy the icon into the project
the plist's "Icon file" section references the correct icon name (minus the .icns) part
Any ideas? The icon doesn't show up when I run the app thru Xcode or when I export an archive either.
I also have extracted the Sparrow.icns file from Sparrow.app and tried using that one instead of the one I made. That didn't work either.
I was able to fix this issue by incrementing the Build number in the General section for the build Target.
You can force the Notification Center to refresh all of the icons by deleting the Notification Center database file (~/Library/Application Support/NotificationCenter/SOME_UUID.db) and then killing the Notification Center process (e.g., from Activity Monitor).
Unfortunately this has the side effect of deleting your notification history, but this wasn't too much of an issue for me.
There's actually an ongoing debate on Apple's developer forums (link, link for people with access) about this. As far as I know, there's currently no real solution, but you can try the following:
Change your app's bundle ID and try it again. If you change it, clean your app, and change back, some people have reported success with seeing their icon show up.
Log in as another user. The caching Notification Center uses may be per-user, so you might be able to get the properly-iconned notifications as a different person.
The folder location has been moved for OSX 10.10+.
Following command takes to you to its new location:
$ cd `getconf DARWIN_USER_DIR`/com.apple.notificationcenter/db
and then
$ open .
Easiest way that I managed to get the icon to show up is change the Bundle Identifier in your project. This works on OSX 10.10.5 and XCode 7.2
(Once notification center picks up the change, you can change it back to your original bundle identifier if you already have a provisioning profile associated with it)
I have solved the issue by archiving my app and adding a copy to my applications folder. When the app is in Application folder, the icon is always visible even you run the app from XCode...
I tried all of the above suggestions but the only thing that worked for me on 10.14 was to delete DerivedData:
rm -rf ~/Library/Developer/Xcode/DerivedData
If anyone still having this issue, and none of the methods above worked, here is how I solved it:
open Notifications from the System Preference (easiest is to open Alfred or spotlight and type Notifications)
find your application and remove it (press backspace/delete button)
NOTE: this may remove all notifications
I am using Xcode 11.5 and I had the same problem. In my case tough, it was sufficient to clean build output, close and reopen the project. Then do a fresh build and let it run again. The icon was there afterwards.
Side note: I've placed the app icon for every size in the assets.xcassets file, except 1024 x 1024 pixels. Don't know if this is relevant or not. Hope that helps.

How do I submit a new update to an existing app from a project I started from scratch?

Well, I submitted an app to the app store, but my little cousin went on my computer and screwed up the project so badly that I had to start from scratch. So I rebuilt everything back to how it was, and I am trying to submit it to the app store and it obviously isn't recognizing it as the same app,
(Please make sure that you have set up a record for this application
on iTunes Connect.)
although the bundle ID is the same as the old one. How can I go about doing this? I have to get this update out fast, any replies are greatly appreciated!
Have you prepared the app in iTunesconnect to receive an update?
After you have chosen to "Add version", you still have to press the button "Ready to upload binary" in the top right corner of the details screen of the app.
It should be sufficient to keep the app bundle the same in order to update.
You also have to use the same provisioning profiles as you used before.

Resources