Flex :: Default Path For Android Devices?
May 12, 2011
I have a doubt with android devices.In my application i have given a path to store my db files and that path is
File.applicationStorageDirectory.resolvePath("LocalDB10.db");
I want to know where this path available in android device or else is there some other path i have to specify.
View 1 Replies
Similar Posts:
May 17, 2011
There are samples to show how to access front camera of android devices using android sdk.
View 1 Replies
Dec 8, 2011
I want to load my styles (in swf format) at run time for my flex mobile application. For that requirement, I have compiled my css files into swf format and I loaded for my application using "StyleManager.loadStyleDeclarations("style.swf");". I get my styles for application when I run it on my desktop, but after building my files into apk format, I couldn't get the styles applied for my application in device. When I debug my application from my android device, I got the following error message.
Error: Unable to load style(RSL app:/framework_4.5.1.21328.swz failed to load. Error #2032: Stream Error. URL: app:/framework_4.5.1.21328.swz): style.swf. at Function/<anonymous>()[E:dev4.5.1frameworksprojectsframeworksrcmxstylesStyleManagerImpl.as:1551]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
[Code] .....
View 1 Replies
Jul 15, 2011
I try to use spark DropDownList Controller for flex mobile project but its not working properly. Is there any alternative solution available?
View 2 Replies
May 9, 2011
I wanted to display H.264 videos with air packaging for mobile and run into a problem.is StageVideo avaiable on mobile devices running IOS or android?I use air 2.6 sdk for packaging and it seems there is no StageVideo on ipad?I can use StageWebView but because of limitation of it ( it alwaysrendered on the top) this is not an option for me.Is any schedule when would StageVideo be available for mobile? maybeair 2.7 sdk?
View 3 Replies
Jun 24, 2011
we have a number of SWFs we want to repurpose as Android apps, but are having trouble finding some information.
I realise that Android is spread across a lot of different Hardware but are there any standardised resolutions? If not how would you go about resizing the Stage depending on the screen?
Secondly can SWFs be uploaded to the Android store and if not what is the best way to mantain the SWF functionality whilst converting it to a format that can?
View 1 Replies
Apr 11, 2012
I have created a live stream using Amazon Web Services and Adobe Flash Media Server 4.5.AWS provides me with both a .f4m and .m3u8 file, to use in and tags, respectively.The .f4m loads fine on my desktop browser, and the .m3u8 file loads fine on my iOS device. However, my Android devices will not load either file.What code/solutions are there to get this to play on Android devices?
<object width="600" height="409">
<param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf"></param>
[code].....
View 1 Replies
Jul 23, 2011
Is there any fast table components available for mobile devices (Anroids ,iOS) in Air?
View 1 Replies
Apr 11, 2012
I have created a live stream using Amazon Web Services and Adobe Flash Media Server 4.5.AWS provides me with both a .f4m and .m3u8 file, to use in <object><embed> and <video> tags, respectively.The .f4m loads fine on my desktop browser, and the .m3u8 file loads fine on my iOS device. However, my Android devices will not load either file. What code/solutions are there to get this to play on Android devices?[code]
View 4 Replies
Oct 18, 2011
I am using flash builder to make an app for android/ios. How would you recommend I use assets such as images and sounds. Should I embed them or use loader? Any benefits to each one. I have a fair amount of assets.
View 2 Replies
Dec 29, 2011
What file should android devices use to view a live video stream? myeventname.f4m? I'm using the following html5 code and it's not working in Android devices.
<video id="liveWebcast"
poster="poster.jpg"
src="[URL]" controls autoplay>
</video>
View 3 Replies
Mar 25, 2012
Problem: When doing anAPP to test it out in my smartphone devices. I tested it on my computer and it works fine. But in devices, im not able to scroll the textbox down/up because my devices dont have a scroll wheel to scroll up/down.Assuming that im looking for something like this: When I use my fingers to touch on the textbox and slide it upwards, the textbox will scroll down
View 2 Replies
Aug 11, 2009
I have a series of AS3 classes that I want to install into the default directory that Flash looks for when, in code, one writes: import com.flashsim.FStEng.Three.*;
In AS2, there is the Classes/ directory within the Configuration folder. Very easy, nice. In AS3, that folder is not consulted, and I understand the Flash IDE does some kind of internal mapping.
I have created a SWC and added it to my Library path. However, I would like to package the SWC in a (code-only) component and put it in a folder that Flash is, by default, looking at to consult swc's. Alternatively, if there were an "include" directory, I could put the as files. However, when I try to put the SWC in the Configuration folder's Libraries, or ActionScript 3.0/libs (the "libs" I had to create), or I put the as files in the Include folder, my Flash code cannot access the stuff being imported.
View 2 Replies
May 18, 2009
I would like to use a command to direct a swf to a default path is the file in my xml line does not exist. Here's the ecisting line with file path:
<item itemPath="video/101act02.jpg" itemName="Video 1" videoPath="101act02.flv">
Is there a way to call up another file if the videopath is not there?
View 1 Replies
Jul 24, 2009
Actually I am the application is for recoeding live stream. The recorded videos are placing in the folder named live_test as specififed above.But I want to change this path. There is a folder named public in the root directory. In the "public" folder we have a folder named Recorded_Videos, I need to place the recorded videos on this folder. How can I do this.Another issue that occurs while recording is NetStream.Record.noAccess. This is occuring while the recorded video is placing on client's flash media server with the path that i specified above. But when i running it in the local flash media server(developer version), its working well. The recorded files are placed on live_test folder. In the client's server the stream is not recording, instead its showing an error like "NetStream.Record.noAccess". The code that I am using for recording live stream is follows:
stop();
var nc = new NetConnection();var CommPage = 'http://68.233.8.57/videos/destination';System.security.allowDomain(CommPage);
[code]....
View 3 Replies
Apr 3, 2012
I am coming from flash to flashbuilder I have a directory, AS3_classes_dir, on my computer that stores all of my classes, including my greensock and papervision packages. In every flash app that I make I include that directory in the Source Path, so that I can import whatever I may need. Compiling in flash (using ctrl/enter) takes very little time; only the classes that are specifically imported are compiled.So today I did that in flashbuilder, included AS3_classes_dir via Flex Build Path/Source Path ... but now the compile time are a couple of minutes, even though I am not even importing ANY of the classes from within.
View 2 Replies
Jul 25, 2011
I am trying to load local HTML (that exists in the project's folder structure) in an instance of webStageView. While this works fine in windows and ipad/iphone - it fails to locate the files in Android (only tried it in 2.2)
File.applicationDirectory.url returns "app:"
File.applicationStorageDirectory.url returns "app-storage:"
File.applicationDirectory.nativePath returns an empty string, as specified in Adobe's documentation.The problem is that the webview gives a "Web page not available, app:/test/index.html not found" error. Is there a way to get the full path, or to "force" the browser to understand that app: refers to a specific folder?
View 1 Replies
Dec 1, 2011
is it possible to record Audio on iOS and Android with Adobe Flex Mobile? I can't find anything about that feature on Adobe's website.
View 1 Replies
Jan 26, 2012
I've recompiled my app with Flex 4.6 / AIR 3.1 and now when I upload to the Android market it says my app is using a "android.permission.BROADCAST_STICKY" permission. In it's simplest terms what is it and can or should I turn it off (it's not in the app descriptor file)?
BTW I used captive runtime for the first time in this upload. Would that have anything to do with it?
View 1 Replies
Mar 12, 2012
I have a problem with Flash builder, I can't find the "Flex mobile project option in the list" How can I install it?
View 1 Replies
Jan 4, 2012
Opened CS5.5 > Chose "Air For Android" which gave me a stage dimension of 480x800 default. I then created my app.
I am using a Droid Bionic and testing my app on it. It will not go to full screen, regardless of how I am holding the Droid. When publishing, I clicked "Full Screen" and Portrait, Landscape, Auto Orientation, etc. I tried all of the publishing options, yet still there is white screen on the eastern and southern side of the screen.
I have a picture on the main screen, and it fits perfectly within the 480x800 dimmensions when playing in Flash. After publishing to an APK file and testing it on Droid, I have that white space as mentioned, as if the stage size grew larger than the picture / app. I also shrank the stage(480x800) dimensions to to (340x600) , but still the same amount of white space. When I move the picture to the right a bit, and publish, it shows the white space on the left hand side of the stage. This can only mean that when I publish, the stage size grows but everything on the stage stays the same.
View 1 Replies
Oct 14, 2010
Using AIR for Android, is it possible to call from Flex into an NDK library? If so, how can this be done? I have a large C library that I need to use. I know that I can do this from an Android Java app (through JNI), but I have a large Flex codebase that I'd like to reuse.
View 2 Replies
Apr 8, 2011
Is it possible to use Air on android and access the compass? I saw there is some acceleration support[URL]..If it is NOT accessible, would it be possible to do some communication between a native android-app listening for compass update and an air application?
View 2 Replies
May 17, 2011
Actually i have created one dashboard in flex. But now i want to integrate this dashboard or make same dashboard for Android.
How i can achieve this? I want to make dashboard for Android.
View 2 Replies
Dec 6, 2011
I have a problem - How to run AIR (really big desktop application) on my Galaxy Tab 10.1? It's possible convert .air to .apk?
EDIT:
1. I set up a new desktop project (File -> New -> Flex Project)
2. Project name is "simpleTest", Application type is Desktop (runs in Adobe AIR), Flex SDK version 4.6.0 and click to Finish
3. I go to Design mode, then set the width to 500 and height to 250. I add one button by drawing and name it btnOne and make Generate Event Handler
4.Then I go to Project -> Export Release Build (Export as Signed AIR package) -> Next (I apply the certificate) -> Finish
5. I find the project file (...Adobe Flash Builder 4.6simpleTest) and copy simpleTest.air into a new file (simpleTestAPK - which contains my certificate > andCert.p12)
6. I rename "simpleTest.air" to "simpleTest.zip" and from this .zip I unpack just "simpleTest.swf" and "application.xml"
7. I create a "create.txt" containing as follows:
adt -package -target apk-debug -storetype pkcs12 -keystore andCert.p12
myHope.apk application.xml simpleTest.swf
8. I rename "create.txt" to "create.cmd" and launch it (Shift + RMB -> Open cmd here)
9. "myHope.apk" is created
10. I copy this to Galaxy Tab 10.1 (with drag&drop)
11. I launch "myHope.apk" but all I see is blank, white screen, no colors, no buttons, nothing.
View 3 Replies
Mar 28, 2012
I'm creating an app to deploy for iOS and Android and I'd like to give them slightly different filenames (need to add a space so that name displays on two lines on Android). Is there a way for me to define this in the app.xml without having to change it each time I export?
View 1 Replies
Mar 18, 2010
currently working on Adobe Flex Technologies. I want to know whether Adobe had launched a Flex platform for mobile devices or not. If Launched what is the name of the Framework and please come with a sample example URL .
View 4 Replies
Jan 14, 2011
We had FMS2 installed before and the paths to all our videos are like rtmp://ServerName/sites/.... (the default path on FMS2) Now we upgrade to FMS4 and we would like to keep these paths the same because we have many HTMLs that reference these videos. However, the default path on FMS4 is rtmp://ServerName/vod/... Is there a way to change "vod" to "sites"?
I tried to change VOD_COMMON_DIR in fms.ini from /install_dir/webroot/vod to /install_dir/webroot/sites, and also changed the document root in httpd.conf, but rtmp://ServerName/sites/ is still not working.
View 5 Replies
Jul 18, 2010
So I've created a script where a mc is clicked on and the player can draw a path using the mouse. I'm trying to figure out how I can get the mc to follow the path drawn out by the player's mouse and when the player clicks again, it erases all of the path.my code is below
Code:
import flash.display.Sprite;
import flash.events.MouseEvent;[code].....
View 14 Replies
Mar 23, 2010
Why By default Flex does not come-up with Deeplinking. we need to write separate code to achieve this.
View 1 Replies