AIR Mobile detecting device memory
Is it possible to detect the total amount of device memory without a native extension on Adobe AIR Mobile? Hoping to detect low memory devices and turn certain features on/off.
I am aware of System.totalMemory and System.freeMemory but that only give you what is already allocated to Flash and I want to know what the device itself has.
Thanks!
Did you get any resolution to this? I'm interested to know (as, it seems, are a lot of others).
Similar Messages
-
IPhoto can't detect device (Memory card reader or Camcorder)
2 days ago i inported videos from my canon LEGRIA HF G30 to my imac usin iPhoto with a few problem (Keep quiting but bit by bit i have done it). Today i can see my CANON icon on the descktop, but can't see it in iPhoto. I belive the folt it's from the last upgrade or update becouse i try it on my MacBook Pro, still have same problem.
Need help please.
Kind RegardsI have the same (I think) problem. When I connect my iPhone or iPad via USB to my Mid 2010 15" Macbook Pro, the devices are not seen by either iPhoto or even Image Capture. iTunes sees both, and syncs activities are normal. Tried a camera SD card in the SD slot. It shows up in Finder, but does not show up in iPhoto or Image Capture.
I'm on iPhoto 9.5.1, Image Capture 6.3, and OS 10.9.2.
Anyboby know what's going on? -
How to track devices in Google Universal Analytics from Air mobile application?
Hello,
I'm using Google Measurement Protocol to collect analytics data from mobile Air application
https://developers.google.com/analytics/devguides/collection/protocol/v1/
I found that Air application running on iPad 3 not detecting device model in google analytics reports.
I guess it's because Air environment sending incomplete user-agent string.
This is what it sending:
Mozilla/5.0 (iOS; U; ru) AppleWebKit/533.19.4 (KHTML, like Gecko) AdobeAIR/3.1
And this user-agent string sending by Safari on ipad (for comparison):
Mozilla/5.0 (iPad; CPU OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25
So Air application knows much less than Safari.
My question is: How to create custom user-agent string in Air application so it contains enough data for google analytics to detect device model?
Is there any solution that will work on most ios and android devices?I don't know if you managed to make it work, but it kind of worked for me, I did this:
var _urlReq:URLRequest = new URLRequest('http://www.google-analytics.com/collect');
var uuid:String = 'my-generated-uuid';
_urlReq.method = URLRequestMethod.POST;
var scName:String = '&v=1&tid='+myTrackingCode+'&cid='+uuid+'&an='+myAppName+'&av=1.0&t=appview&cd='+myScreenName;
_urlReq.data = scName;
var urlLoader: URLLoader = new URLLoader();
urlLoader.load(_urlReq);
I say "it kind of worked" because I haven't been able to send custom events yet, butI'm on the right track. -
USB communication AIR desktop and AIR mobile app
Hi! Does somebody know the possibilites of USB communication between and AIR desktop app and an AIR mobile app. I need to send files from an desktop application to the external memory on an mobile device. Is it possible for the desktop app to recognise when the mobile is connected. And is it possible for the mobile app to send commands the desktop app? So I need a two way communication. Anybody who has any ideas?
Really old thread, checking in.
-
How do you profile AIR mobile applications?
I'm used to using FlashBuilder to profile an application, take memory snapshots, and find lingering objects from memory leaks. With AIR mobile, the best I can do is run Adobe Scout to verify that my application has a memory leak. The list of all ActionScript objects is massive- it's not useful for tracking down a leak. Is there a way to use the standard FlashBuilder profiler, or another way to track down a memory leak using Adobe Scout?
Thanks!Yes, I've enabled telemetry. I use object pooling and nulling, but not in the instance that's causing the exception. It's a simple block that involves a few Parsley commands and an ANE. I really need the profiler to figure out what part is leaking, and I have to test it on a device because of the ANE.
-
Connecting between two Adobe air mobile applications (On Android)
Hi There,
Does an Adobe AIR application can connect and pass parameters somehow (Directly or by http) with another android application?
Can Adobe AIR mobile application open a listening socket?Um, I'm pretty sure this is wrong. You cannot use SocketServer on a mobile app platform for some stupid reason.
From the doc
"AIR profile support: This feature is supported on all desktop operating systems, but is not supported on mobile devices or AIR for TV devices" -
Forbide - Mobile Removable Devices / Media Removable Devices
Hi everyone!
I have a problem about IT-security.
In our company we are using Windows 7 Professional/Enterprise Edition.
We could easily block/forbid using of Storage Devices such as Pen Drives, USB-Flash Drives, SD-Cards via USB port on a Software Level, but we couldn't block/forbid using of
Mobile Removable Devices / Media Removable Devices such as Mobile Phones, SmartPhones, Tablets, MP3 Plyaers!
When you connect SmartPhone to PC via USB cable, it is detected as Removable Device (NOT as a Storage Device!) and can be easily used for copying Information from PC.
The question is : "Is it possible to block/forbid Mobile Removable Devices / Media Removable Devices via USB on a Software level, without disable USB ports in BIOS?" Any solution(personal PC configuration or Group Policy) would be
great.
Hope for your help!
Thanks a lot in advance!Hi Aziz,
Before going further, sorry for the late response. I was on holiday on those days.
>>Is it possible to deny Mobile Removable Devices / Media Removable Devices by a group policy?
Yes, it is.
On a DC, create a new GPO or find an existing GPO. Then edit the setting in the GPO, and link the GPO to the target scope (site, domain, OU).
Note: if we configure the setting under Computer Configuration, it applies to computers,
regardless of who logs on to the computers. While if we configure the setting under User Configuration, it applies to users, regardless of which computer they log on to.
In addition, regarding how to create, edit, and link a GPO, the following articles can be referred to for more information.
Create and Edit a Group Policy Object
http://technet.microsoft.com/en-us/library/cc754740.aspx
Link a Group Policy Object
http://technet.microsoft.com/en-us/library/cc732979.aspx
Best regards,
Frank Shen -
How to use ScaleNine themes to skin an Adobe Air Mobile App
Hi,
I'm rather new to Adobe Air development But I really like it! Now that I've created my app I would like to skin it. I've found ScaleNine (http://www.scalenine.com/gallery/gallery-1.php) which has ready made cool skins for Flex and Air. I downloaded the samples and they compile and work beautifully. HOWEVER: I can't seem to be able to use them to skin my Air mobile app.
Can anyone post an example ViewNavigatorApplication themed with one of the themes there? this one (http://www.scalenine.com/themes/blend/Blend.html) looks as though someone tailored it to my app :-)
Thanks a lot!
AviI don't know how your application is structured, but if you can split sections off into separate SWFs(plain AS3 document) then you could host those section SWFs online and require the user to download them on first run.
You could use the FileReference object to download the SWFs, save them to the File.applicationStorageDirectory, and then display/load them up with the Loader object when needed from the app storage directory. You would possibly need to check to see if the files are present at every boot of the app though as a user could "Clear Data" or "Clear Cache" of the app in the Settings of their device and one or both of those could/would delete the downloaded files.
FileReference - Adobe ActionScript® 3 (AS3 ) API Reference -
How to Symbolicate an AIR mobile crash report on iOS?
I am developing a game that uses the iOS GameKit API via a native extension. It works great over WiFi. But when I switch to Bluetooth, I get intermittent crashes.
So I can start guessing at where my problem lies... but that could take days. iOS is dumping a crash report that it is able to partially symbolicate. (Unfortunately, it's the part that doesn't help me much) For example:
Incident Identifier: B3D0F337-B696-47C9-8ABA-883F2DFA2BA8
CrashReporter Key: 91475c97fb1586aa03dc9db38bd3b6c5c8c3d8a5
Hardware Model: iPad1,1
Process: MyGame [2352]
Path: /var/mobile/Applications/87342D20-3FBA-4486-B464-226F6F2FE8E4/MyGame.app/MyGame
Identifier: MyGame
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-04-30 00:20:32.350 -0600
OS Version: iPhone OS 5.1.1 (9B206)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_c.dylib 0x34917884 strlen + 12
1 MyGame 0x00599774 0x1000 + 5867380
2 MyGame 0x003e7e6c 0x1000 + 4091500
3 MyGame 0x00264f0c 0x1000 + 2506508
4 MyGame 0x0052db48 0x1000 + 5425992
5 MyGame 0x0052d196 0x1000 + 5423510
6 MyGame 0x0052d504 0x1000 + 5424388
7 MyGame 0x0052d2a0 0x1000 + 5423776
8 MyGame 0x0052c474 0x1000 + 5420148
9 MyGame 0x004f62e8 0x1000 + 5198568
10 MyGame 0x0052ce5e 0x1000 + 5422686
11 MyGame 0x0052c474 0x1000 + 5420148
12 MyGame 0x004f62e8 0x1000 + 5198568
13 MyGame 0x0052ce5e 0x1000 + 5422686
14 MyGame 0x0052c474 0x1000 + 5420148
15 MyGame 0x004f62e8 0x1000 + 5198568
16 MyGame 0x0052ce5e 0x1000 + 5422686
17 MyGame 0x004fe0f4 0x1000 + 5230836
18 MyGame 0x004f5c96 0x1000 + 5196950
19 MyGame 0x0052beac 0x1000 + 5418668
20 MyGame 0x001e2200 0x1000 + 1970688
21 MyGame 0x001e1a64 0x1000 + 1968740
22 MyGame 0x001e129c 0x1000 + 1966748
23 MyGame 0x00235ba8 0x1000 + 2313128
24 MyGame 0x0052db48 0x1000 + 5425992
25 MyGame 0x0052d196 0x1000 + 5423510
26 MyGame 0x0052d504 0x1000 + 5424388
27 MyGame 0x0052d2a0 0x1000 + 5423776
28 MyGame 0x0052c474 0x1000 + 5420148
29 MyGame 0x004f62e8 0x1000 + 5198568
30 MyGame 0x0052ce5e 0x1000 + 5422686
31 MyGame 0x0052c474 0x1000 + 5420148
32 MyGame 0x004f62e8 0x1000 + 5198568
33 MyGame 0x0052ce5e 0x1000 + 5422686
34 MyGame 0x004fe0f4 0x1000 + 5230836
35 MyGame 0x004f5c96 0x1000 + 5196950
36 MyGame 0x0052beac 0x1000 + 5418668
37 MyGame 0x001e2200 0x1000 + 1970688
38 MyGame 0x001e1a64 0x1000 + 1968740
39 MyGame 0x001e186c 0x1000 + 1968236
40 MyGame 0x001e5340 0x1000 + 1983296
41 MyGame 0x003e86e4 0x1000 + 4093668
42 MyGame 0x003e85e0 0x1000 + 4093408
43 MyGame 0x000c17ac 0x1000 + 788396
44 MyGame 0x000c1658 0x1000 + 788056
45 MyGame 0x0000fbf8 0x1000 + 60408
46 CoreFoundation 0x356601f4 -[NSObject performSelector:withObject:] + 36
47 Foundation 0x34b30740 __NSThreadPerformPerform + 344
48 CoreFoundation 0x356d5acc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 8
49 CoreFoundation 0x356d5298 __CFRunLoopDoSources0 + 208
50 CoreFoundation 0x356d403e __CFRunLoopRun + 646
51 CoreFoundation 0x3565749e CFRunLoopRunSpecific + 294
52 CoreFoundation 0x35657366 CFRunLoopRunInMode + 98
53 GraphicsServices 0x333f2432 GSEventRunModal + 130
54 UIKit 0x32e2fcce UIApplicationMain + 1074
55 MyGame 0x000ffbc8 0x1000 + 1043400
56 MyGame 0x00598bdc 0x1000 + 5864412
So I need to know how to turn those memory addresses into functions. That would help me out a ton. I found a lot of information on how to do it manually via the dSym... but nothing that seems to apply to an AIR mobile app. (And nothing that seems to actually work)
Need a knight in shining geeky armor to rescue me.Hi,
The information you needed is present @ http://blogs.adobe.com/rajorshi/2011/11/18/debugging-native-extensions-for-air-ios/
I hope it helps!
Regards,
Nimit -
Air mobile encryptedlocalstore not working at android
hi,
i have a problem in my mobile application
i use encryptedlocalstore to store user id and password and packaged apk with captive-runtime
but some device without adobe air, store and get data with encrypedlocalstore not working
when i install adobe air at this device, encryptedlocalstore working.
it bug with packing apk captive-runtime?
i use flash builder 4.6 and air sdk 3.1Just check the reviews on the Google Play store. Tons of people reporting probelms with the update to Android 5.0
Tye Bandy February 11, 2015
Remote doesn't work No longer has remote feature after Lollipop update to Galaxy S5
Mike de Gouveia February 8, 2015
Not compatible with Android L This was an OK app before I updated my S5 to lollipop. It was a bit glitchy with scheduling recordings and scrolling through TV listings before, but now it is just terrible and does not even allow me to use the app as a remote control and is always crashing. I'm keeping the app because I'm hopeful that they will resolve the compatibility issues because it is pretty convenient having an app running off the WiFi to control the DVR. I will submit a new review once they do.
Robert DeNuto February 9, 2015
"restore to factory settings and try again." I contacted FiOS support because after updating my S5 to Lollipop, the app would no longer recognize that I was connected to my FiOS router. As a result, I couldn't change the channels on my FiOS set top box or watch FiOS programs on my phone
Juston Ling
Please fix the Lollipop S5 issue The remote portion is the only reason to have this app, and since it had been rendered useless ever since Lollipop was pushed - I have to rate 1 star. Once fixed I will gladly update
Len S. February 12, 2015
Remote don't work on App -
Can a Mac Update disable a USB mobile broadband device?
Hi all,
Last night, my Clear internet went down on me, both home WiFi modem and plug-in USB mobile broaband device. One minute I was on the net and the next, not. After wasting 2 hours with Clear customer service, I gave up and started Googling and found some lovely folks here on Apple Support communities that suggested uninstalling Intego Virus Barrier X6. Well that worked to get my home WiFie modem up and running. But my MacBookPro (10.5.8) doesn't still see the USB device plugged in. It's not my USB port, as other devices work fine plugged into the same port.
I called Clear customer service back and they suggested that there is some phantom Mac Update that has disabled my USB device. I know they're bs-ing me. I think the device is broken. But I thought I"d see if any other Mac people have had a problems with a mobile Broadband device in connection with either Virus Barrier or Mac updates? I've googled lots of search terms and can find no one else with this complaintNo.
It is possible for the Mac (or another computer) to update the firmware of a device, but you would know if you did that. Likewise it is possible for the Mac to be unable to detect the device through its own fault - such as the Mac's USB ports or wifi failing. But the Mac's updates are only for the Apple hardware and software. Also, updates take effect immediately. Were you installing an update when your connection went down?
I think their tech support people are trying to get you off the line. If such a thing happened people would be reporting it all over the place, not just here. Ask them to point you to some reports. Ask which update did it.
Best of luck. -
I am starting a new thread because the old one was marked as resolved and it isn't.
My Windows XP desktop is no longer seeing my BB Storm Media Card. I am getting the error:
"Device Memory and Media Card are not available because the Mass Storage is currently in use."
I have followed these directions:
Options > Memory >
Media Card Supoport - ON
Media Transfer Protocol (MTP) - ON
Mass Storage Mode Support - ON
Auto Enable Mass Storage Mode When Connected - YES
SAVE
I have application free pace 8.1 MB
and the error message:
"Device Memory and Media Card are not available because the Mass Storage is currently in use."
The card is there and is seen by my BB Storm. Media > Explore
I have removed and reinstalled the card.
On the desktop I have tried Explore as well as Disk Management and nothing shows up for the Media Card although the Blackberry itself is present.
Please help.Hi there!
Give this KB a try perhaps?
KB19717 The BlackBerry smartphone is not detected as a USB Mass Storage Device when connected to a computer
Good luck and let us know!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
How to run an application on windows mobile 6 device ?
Hi everybody,
How can you run an application on a windows mobile 6 device with the new SDK 3.0 ?
Can you launch a MIDLET like any other program ? or running your MIDLET on windows mobile 6 is only for testing while you are developing.
When you finished your MIDLET, can you copy the jar file to the mobile device with windows mobile 6 and to run it anytime ?
Thank you.Its simply a matter of opinion, but I'm 3-months-in, developing for WM5 + WM6 and the only usable solution I've found that has the correct look and feel on Windows Mobile as well as JSR support is IBM's J9.
It's not free, but I searched high and low, and it's the only product that I was happy with.
Here's a [screenshot of it running my application on WM6 emulator|http://3.bp.blogspot.com/_9hmP3Ho0t14/S7eDTXfkE9I/AAAAAAAAAa0/ISZ-HohZQDs/s1600/wm6.png] .
Here's a [quick article I wrote for it.|http://fatbuttlarry.blogspot.com/search?updated-max=2010-02-16T11%3A34%3A00-08%3A00&max-results=7] Remember, it's NOT free. Pricing is very fair, but you'll have to license it to use and distribute it.
-Tres -
Mysterious 'android' folder in device memory that cant be deleted
hi... i have a bb q5 and been using it since 2-3 months now... there is an 'android' folder that appears in the 'misc' folder of the device memory. i cant get rid of this from the bb file explorer as well as from the laptop. when i try to del it, it say permission denied. i guess it started when one of my friends used my sd card in their android based phones. this folder contains all those folders that are there in the device memory like photos, camera, music etc. and some other folders like dcim, notifications. sometimes it shows 11 items inside and sometimes 12 or 13. i dont know if it's a bug or something but it seems quite irritating as it contains nothing space wise. i cant del it from my laptop bcos when i press del, nothing really happens and its still there... so pls can anyone help get rid of this...
It's my understanding that folder is there for access by the Android runtime software.
Leave it.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Insufficient Device Memory to Update to 10.2.1
I went to install the new update (10.2.1.537) onto my Q5 through my phone, received the notification telling me device storage was almost full and the install failed.
I then cleared out my device memory, moving everything I had access to onto media card or simply deleting it.
When I go to install the update now before it begins it asks me to free up around 1.1-1.4GB (the exact value varies between attempts) of space on device memory even though I already have 1.5GB free and it says the size is 1008MB.
I have very few apps installed and most aren't very big (all below 50MB if you exclude BlackBerry Runtime for Android.) I also tried deleting email accounts and message history in Whatsapp but they made very little difference.
Of the 8GB total space 6.3GB is taken up by "Other data" and looking in file manager seemed to show 3GB of this was from the Device/misc/android folder in the form of hidden files. (Not within any of the folders inside the android folder.) All other device folders are completely empty as far as I can see.
Any advice of how to make up the space so I can upgrade would be really appreciated as I'm at a bit of a loss now.
Thanks!Hi, sorry it took a while to reply but this was a bit of a lengthy process. Worked like a charm though, thank you ever so much!
Maybe you are looking for
-
No capture...no import from imovie hd
I've just installed FCE HD. Since the add on apple.com said it worked with most of the recent camecorders, I did'nt checked the "official" qualified list . Of course, my SONY DCR-PC330E pal is not listed though rather recent and it seems that only a
-
Old versions have a down arrow next to the front and back buttons to show all the pages you have visiteed and can return to but the new version does not have this feature
-
Oracle SYS/SYSTEM shared passwords
Unfortunately we have a requirement not to have the sys/system passwords shared even among the DBA staff. Someone mentioned an Oracle article which details not having shared passwords. The problem is that security perceives this issue as a threat. I
-
Pixel dimensions for stills.
I am doing a thing with stills, want highest quality in the end. Do I rez down the files, and to what siz? Thanks
-
Hi all, I am working on EssBase 6.5 on Win NT. Now we are going to Migrate this server on the Unix Machine. I have to Migrate my cfg. Application, Databases etc. But little Confusion i have ie. What should i do with the Security file. Can we transfer