How to trigger "share via" menu popup as3 - actionscript-3

I build android app with as3.
I need to create a button which will trigger the native share via menu, so i will be able to let the user share the link to my game.

Haven't tried it myself, but apparently this might do the job:
https://github.com/mr-archano/Android-AIR-Extensions

Related

HTML: Is it possible to create popup after a drag and drop of a file for upload?

I'm working on a webapp that is not AJAX-based. I have implemented a drag and drop functionality for file uploads but, as expected, the transfer gets cancelled if the user clicks on any link. Is it possible to create a drag and drop functionality so that a popup is created and the file transfer is handled in that window, letting the user continue using the webapp?
Yes, there is a function in JQuery which detects ondrop events and lets you run function while true(detects ondrop)
using jquery .on for drop events when uploading files from the desktop?
u can read more about it here, maybe it wil help

Is a "close" icon necessary in other platforms?

In iOS, one doesn't need to add a close icon for an app. In the rare event that one wants to kill an app they can do it via the OS.
When looking at the cocos2d-x project that is created by default when using the console (v3.1.1), the sample HelloWorld scene places a button on screen to "close" the app.
Is this actually required in ANY platform ? Does it make sense to add this button at all ?
Apple usually rejects on this and Google and Microsoft don't like it.
You can, however, have close buttons on menus or popovers (say, like a pause screen).

Created a hyperlink on a button however it only work on the first click then stop working

I'm new to flash. I am using Adobe Flash Professional CS6. I have created a menu bar with a drop down menu and rollovers to change the colors.
I have put the the code (below) on the background and then given the button the instance name of 'navbarbtnhome'.
navbarbtnhome.onRelease = function() {
getURL("http://www.google.com", "_self");}
After i publish and open the HTML file the hyperlink will only work for the first click, after that I have to amend the code in some way and then publish and open it again, then the hyperlink will work another time until I repeat the process. Can anyone help, I'm totally lost for ideas now after trying for hours. my full menu bar is here if anyone wants to help.
Thanks.
It seems as though getURL doesn't work when testing your file locally, due to security sandbox restrictions. Assume that the links work, and upload it to your server and then test it -- hopefully it will work that way :)
Source: getURL not working on HTML export (Actionscript2.0)

Allow my app to be opened with camera button

I'm working on a WP8 app that will utilize the camera for a feature. I've read that, as of GDR2, you can now change which app opens with the camera button, but:
it appears that an app needs to be specially written to be used like
this; not every photo or camera app can be configured to launch when
you press the Camera button.
Question: What do I need to do in my app for it to become an available option in the "Pressing the camera button opens: " drop down when navigating to Settings -> Applications -> photos + camera?
Additionally, part 2 of this question would be (if part 1 is possible), when the application is launching, can I determine if the user opened it via the camera button (so that I could go straight to my camera feature)?
I've seen this article but it only describes how to use and handle the shutter button, it doesn't mention how to allow this button to open the app.
Has anyone been able to accomplish this?
This thread (http://forums.wpcentral.com/windows-phone-8/234751-changing-default-camera-app.html) seems to suggest that only manufacturers can create apps that can do this. Not sure if it's definite, but I've never heard of a 3rd party camera app that can do more than register as a lens.

use air native extension to show a simple native button?

I'm mainly an AS3 coder and I know Java fair enough to be able to build my own ANE files for Vibration, Toast, dialogs and that simple stuff...
using air native extensions are cool but I'm getting a bit disappointed not being able to create a simple button with it.
I know creating a simple native button is a silly thing to do as it is very easy to create buttons in air directly but I'm using it as an example.
So the question is that is it possible to create .ane for calling native Button in android? at all?
it seems like I can't create any .ane files rather than abstract tools like push notifications or popup like windows like progress bars and dialog boxes.
is it right to say that a simple native button cannot be created with air native extensions?
for those who wondering why a simple button cannot be called with extensions, read http://adobe.com/devnet/air/articles/extending-air.html (scroll down to Limitations) where it says: Extensions cannot directly integrate interactive objects, such as native UI controls, with the display list. (Other items, such as native dialog boxes, may work, depending on the platform.)