How to select a profile image form OS's file systems - cocos2d-x

Can I create a game with cocos2d-x which allows to browse system files and select profile picture for a player? Or in general is there a file select feature?

Related

How to Deploy Online a WebGL Build of Unity Game on the web?

I have some games that are builded in WebGL and want to have a link to give it for others to play online.
Is there any free website that provide us this service???
Itch.io
Zip up your Unity3D WebGL build. The index.html file should be at the root of the zip file.
In https://itch.io/game/edit/ under "Kind of project" select "HTML"
Under "Uploads" upload your zip file.
After the upload is complete, under "Uploads" ensure you have "This file will be played in the browser" checked.
Scroll down and click "Save"
GameDev.tv
The above site is specifically built to handle uploads from Unity3D including WebGL builds.

How to asynchronously upload an image from an air app on iOS/Android using as3 and php?

I want to upload an image from an air app running on iOS or Android to a server using php.
I need to have a functional UI while the file is uploaded, and I cannot have the user having to select the image from a gallery as it is already captured using CameraUI.
Ideally I should be able to get ProgressEvents during the upload to update the user on the progress.
When exporting for iOS or Android JPGEncoder is extremely slow.
I changed to using JPEGEncoderOptions instead, and things are working now!

How to prompt user to turn on Location Services using adobe air

I am developing an app that uses GPS, so typically the app must prompt the user to turn Gps on if it is muted.
So is there a way to open the Location Services menu from inside my app using adobe air?
I would imagine an ANE would be required for this.
Perhaps contact Distriqt to see if they would consider adding the functionality to one of their existing ANE's ?
http://airnativeextensions.com/extension/com.distriqt.NetworkInfo

How do test Smart TV Alliance SDK app on actual Device

I've been playing with the Smart TV Alliance SDK and have built an app which runs fine on the emulator but I need to test and demo it on an actual device before I continue with the project.
I have purchased an LG TV with the latest firmware and need to package or display somehow through the TV but no documentation exists to walk through packaging to device.
Does anyone have any experience in this?
On TV:
Open Smart TV homepage - Click on 'More' - Sign in with credentials.
Insert USB with predefined directory stucture containing the DRM'ed package downloaded from LG developer website
With computer:
More information on how to create the DRM'ed package:
a. Go to http://developer.lge.com/
b. Login in with credentials
Select: Resource center - Smart TV
Select: Test - App test
Select: New app test (fill in information, app type is: Web - Hosted)
Download DRM'ed content in .zip.
Create USB structure:
create "lgapps" directory at root of USB
create "installed" directory under "lgapps" directory.
( USB root > lgapps > installed)
extract directory from DRM'ed file and copy it under the 'installed' directory.
This is complete, for further assistence please consult the FAQ section.
The Smart TV Alliance SDK respects the Smart TV Alliance Specification fully. For more information visit http://www.smarttv-alliance.org/.
I've written some guidelines. You can find them here:
https://github.com/ruiposse/smart-tv-app-dev-guidelines#testing
First, use the "Export App Test" option in the LG IDE. Then, update
the package to the "App Test" option in the LG Developer site and
download the DRM applied file. You create lgapps/installed/{appid}
folder structure inside a usb stick, unzip the downloaded file into it
and insert the usb stick into the LG TV.
When you upload the web app into the LG Developer site, you have to
insert an URL in the form. This is really good, because it means that
you don't have to go over this process every time you change something
in your app.
So, I just create and upload a package that allows the TV to connect
to my web server. After that I can continue/start to code the app and
instantly test on the real device by reloading the TV app.
It's always good to read the official documentation about
deployment.
Every TV vendor has different way how to create and install the application - Samsung, LG, Toshiba, Sony (SEN), Opera TV, Philips and Panasonic. You can find some smart TV related information here - www.mautilus.com/blog. If you have some question regarding some specific TV let me know.
STeN

WP8 Folder Access

Can an app access and create a specific folder in the Windows phone 8 environment? I'm looking at building an audiobook player app and want to allow the user to drop these into an audiobook folder on the phones drive itself instead of mixing with the music folder. Could an app at least read from a specific folder outside its isolated storage?
Secondly, if so, is there any equivalent of the ".nomedia" file in Android that my app could insert into the folder to exclude the audiobook folder from being scanned by the music players on the phone?
I'm struggling to find the appropriate documentation that will answer my questions, as most documentation seems specific to WP7
RE: .nomedia file
Overall what you're asking for isn't supported and isn't complimentary to the zen of WP8. While I understand your need to create a unique music experience the WP8 media ecosystem is centered around the Music+Video hub and apps should work with it. Creating an experience like you were describing would just feel disjointed and jarring on WP8.
RE: letting users drag & drop files in file explorer
Some WP8 phones support having a Micro-SD card added to the phone. That uSD card can be accessed from File Explorer and WP8 apps can read files from it. The uSD card can have a folder called "Music" which would be used by the Music+Video app and invisible to 3rd party apps. However, your app can read any files that aren't in those uSD reserved folders. You can signup to file extensions but most media WP8 file extensions are reserved for 1st party experiences.
RE: Music Hub Integration
Please make sure to integrate your music player into the Music+Video hub otherwise it'll likely get downvoted to oblivion.