Change icon of app - icons

I want to change the application icon using button to change it.
I've seen apps like Whatsapp Plus and Audio Manager does this.
In Audio manager the apps name, title and even the launch screen(may be Main Activity) can be changed.
I want to implement this facility in my App. I'm developing a secret/hacking app.
I've searched in this site many times. Similar questions are very less and those say it's not possible. Then how come the above two apps.
This is the only similar question I've come across.
Please help

Related

Progressive web app - displaying websites

I've got a question regarding PWAs. I'm supposed to create one, which should be displaying random webpages and a user should be able to answer some questions about them.
With ordinary web apps I've got a problem with iframes - sometimes it displays an incomplete page (for example without ads) or it doesn't appear at all.
Is there any way to resolve this issue while using PWAs?

Attempting to implement share action intent on webpage

As stated in title. MDL cards/templates etc come with fancy looking share buttons. How exactly do we make them work how we see they do on phones apps? I want a user to be able to press the share button and have the list of apps to share via to show up.
Is this possible?
This is not possible with current web technology. The only API that was in progress to allow it was Web Intents but this has since been abandoned.
The share button could open up a dialog or something that has a Reddit share, Digg button, Facebook share, Google Plus shares, etc within them. That way they are only initialized when called. But you need to specifically program what you want to share out to.

Possible to destroy a running game and then rerun it or run a different game

I noticed that the PlayN doc says that you can only call Playn.run once. Here is my scenario and I'm looking for advice on how to tackle it.
Let's say I have a list of games to choose from in a menu on my web page. Upon clicking a game, I call PlayN.run on that game and it runs on my web page inside the playn-root div. Now lets say I want the user to be able to stop and load a new game by selecting a different one in the game list and load that into the div and play that.
How would I go about tackling that? Do I need to re-register the HtmlPlatform all over again and the play the new game? Or is there a way to destroy the current game and then play the new game using the existing platform which is already registered in PlayN?
The easiest route would be to just use normal HTML links and have each PlayN game be on its own web page (which could be in an iframe if you don't want the URL to change at the top of the browser).
Trying to clear out and reinitialize everything internally is just a big waste of effort when the web browser will take care of all of that for you when you reload the web page.

Asp.Net Google style file upload

Does someone knows of a user control that can work exactly like the file upload Google has?
I want that the use will select the files to upload, then that upload will start and the progress bar will work, and the user can continue to the next field he has to fill in the page as the file is uploaded in the background.
Willing to pay. Free is better.
Thanks
I recently used AjaxUploader with great results. One of its demos is actually GMail Style. It runs $99 for 1 domain.

How to add Facebook Like button to a Flex app?

I am working on a Flex AS3 application and wanted to add the Facebook Like button inside the app. I am unable to find any API or anything apart from the http://developers.facebook.com/docs/reference/plugins/like code generator.
Any ideas on how this might be accomplished? I am quite new to the recent changes in the Facebook Platform, so any info would be appreciated.
A direct "like" button should not be possible, since Facebook needs to sandbox the whole thing. Both like button formats (iframe and xfbml) use a sandboxed iframe, so nobody but facebook can set "likes" or know anything about the user.
For that to work with Flash, I think facebook would have to provide the button itself as a SWF file so you can load it in Flash. Then it can create a sandbox within itself and thus load the user information safely. Very much like the Chromeless Youtube Player, where it's almost impossible for Flash to access the actual FLV URL (even through introspection).
But even so, I don't think this would provide enough security... realize that you are dealing with very private user information and credentials here.
The only way I know you can "like" stuff through Flash is first doing the whole Facebook Connect thing (several popup windows asking the user for permissions) and then using the API of your choice to do the actual "liking", for instance, with the Graph API:
http://developers.facebook.com/docs/api#publishing
The closest information I could find are these 2 items so far. Hope it helps you in your journey.
Facebook Developer Site: Source
Facebook like button in flash
I hate answering "no" to a question because what I really mean is "I don't know and I can't find a way". I'm sure your Google-fu is as good as mine. All I can see are Facebook forum posts like this where people are asking the same question and no one is answering.
The examples they give of the like button are either embedded in iFrames or using XFBML <fb:like ../> tag. There are no examples of how to like something using their new graph api or either of their old APIs (FQL and REST API).
I had to get a Facebook like button in a html page (looked like a header on the top) and get the swf embedded below. As its a complete flex app in my case, this work around was possible and plausible

Resources