air

error “activity class does not exist” when launching android app with adb shell am start

十年热恋 提交于 2019-12-18 04:07:12
问题 After adb install -ing my app, I can verify that it's there with adb shell pm list packages AppName : package:air.com.client.AppName So I know it's there, but when I try to launch it with adb shell am start -a android.intent.action.MAIN -n air.com.client/.AppName , I get this error: Starting: Intent { cmp=air.com.client/.AppName} Error type 3 Error: Activity class {air.com.client/air.com.client.AppName} does not exist. If it matters, this is, as you may have noticed, an AIR app that's been

starting an Adobe AIR application multiple times

杀马特。学长 韩版系。学妹 提交于 2019-12-17 22:54:21
问题 Adobe air runtime prevents more than one instance of an air application to be started at the same time. Is it safe to circumvent this restriction by arbitrarily changing the publisher ID? Does anyone know if Adobe plans to allow multiple concurrent instances in Air 2.0? 回答1: We successful implemented a hack to circumvent this limitation, in a pure AIR way, without having to change the publisher id (which needs multiple certificates, I think). As you know, AIR is implementing its Mutex by

AS3 NetStream AppendBytes Seek issue

眉间皱痕 提交于 2019-12-17 20:23:23
问题 I'm having trouble with NetStream in AS3. The project I am working on allows users to browse a video (locally) and play it back. The issue I am having is that netStream.seek(0); from what I can tell it doesn't do anything, although I get inside a NetStatusEvent function and NetStream.Seek.Notify is triggered. I'm using NativeProcess and the following function is this makes any difference. public function ProgressEventOutputHandler(e:ProgressEvent):void { videoByteArray = new ByteArray();

Using 'File' to save scene object locations to rebuild later in AS3

我是研究僧i 提交于 2019-12-17 10:09:40
问题 I am attempting to use the 'File' function in ActionScript 3 to save the following information: I have varying draggable display objects in the scene, the amount and type can vary. I want to save the amount and their position and then load them back in a future session. I am struggling to use File to save anything, I have searched the Adobe documentation and cannot get my head round how to use it. I have not yet developed any code using it. Any help would be appreciated. Thank you. 回答1: You

AIR 3 Native Extensions for Android - Can I/How to include 3rd party libraries?

筅森魡賤 提交于 2019-12-17 07:33:25
问题 With all the new hype surrounding native extension support in AIR 3, I haven't found a single thing that confirms or denies it is possible to include and use an external JAR inside the native Android implementation. All of the examples basically showcase the ability to hook into the built-in Android APIs. But what if someone wants to use one of hundreds of libraries that make it easier? Certainly it seems like this should be possible. I'll try to outline what I've done and maybe someone will

Adobe AIR to execute program

拈花ヽ惹草 提交于 2019-12-17 07:12:35
问题 I would like to press a button from an Adobe AIR application and execute some installed program. For example, I would have a button named "Start Winamp". When this is pressed it should start Winamp.exe directly...I don't want some command line thing executed, I only want an exe to start. Or...is it the same thing ? Please, let me know if this is possible. Thank you. 回答1: There's no direct way of doing it. Try CommandProxy. Read the blog post very carefully. You really need to create two

How to get CPU usage in flash?

你离开我真会死。 提交于 2019-12-14 03:54:17
问题 I tried to find out but Google didn't help. Is there some way to get the cpu usage in flash or adobe AIR? I'm using ActionScript 3.0 and flash CS5. 回答1: In Flash, there is no way. In AIR, only native helper could do it. Flash platform has tough time with system programming, it's not its strength. 来源: https://stackoverflow.com/questions/5120270/how-to-get-cpu-usage-in-flash

Using your own AMS, how can you use BitmapData.draw() on an RTMP stream with no security exception?

…衆ロ難τιáo~ 提交于 2019-12-14 03:53:46
问题 I've posted a similar question about the more general case, but this question deals specifically with RTMP. We have an Adobe AIR app written in AS3 that can view live video streams from other parties. That being said, when trying to call BitmapData.draw() on one of those remote video streams (technically we're calling ImageSnapshot.captureImage() ), we're getting a 2123 error - a security sandbox exception. I've seen a lot of people refer to a real simple configuration in the AMS that will

AS3 Filesystem Hello World

断了今生、忘了曾经 提交于 2019-12-14 03:22:17
问题 I would like to use ActionScript3 to write "Hello World" to a text file. I'd like to compile and run that code from the command line. Installed: Windows 10, Adobe AIR 18.0 SDK, flex_sdk_4.6 (TLDR: I want to do automated testing for a much larger piece of code from the command line, and of course I can't figure out this piece) I am missing some steps that I can't figure out. Here's my code: MainF.as package { import flash.display.*; import flash.text.*; import flash.filesystem.*; public class

16 bit tiff decoder for flex

北城余情 提交于 2019-12-14 03:15:21
问题 I am trying to open a 16 bit tiff image in my AIR app. What I have found is a baseline decoder which supports only 8 bit images. Here are my options: Extend its functionality to open 16 bit images but I dont know how to do that and how trivial it is. Open my images as 8 bit but I need to do that automatically within Flex. Dont know how to do that either. i also need to support lzw compression for tiff, so please refer me some resources so I can develop that in case it doesnt exist already.