Import User Photo Library Albums - uiimagepickercontroller

I am trying to import, not just multiple photos at a time, but also multiple albums (or single if impossible) at a time.
Basically I want to implement something similar to stock Picture Frame App on iPad. The way it lets you select albums (iPad Settings>Picture Frame).
So far I am under the impression that UIImagePickerController is not simply powerful enough for this. I did find ALAssetsLibrary promising, but nothing is successful yet.
All I need is a given NSArray of photos from a given photo album.

Use ALAssetsGroupType. Its a bitfield to identify types of asset.
typedef NSUInteger ALAssetsGroupType;
Availability: Available in iOS 4.0 and later.
Declared In: ALAssetsLibrary.h
Types of Asset
ALAssetsGroupLibrary
ALAssetsGroupAlbum
ALAssetsGroupEvent
ALAssetsGroupFaces
ALAssetsGroupSavedPhotos
ALAssetsGroupPhotoStream
ALAssetsGroupAll
Example code:
[assetsLibraryObj enumerateGroupsWithTypes:ALAssetsGroupSavedPhotos usingBlock:listGroupBlock failureBlock:failureBlock];
ALAssetsGroupLibrary
The Library group that includes all assets that are synced from iTunes.
Available in iOS 4.0 and later.
Declared in ALAssetsLibrary.h.
ALAssetsGroupAlbum
All the albums created on the device or synced from iTunes, not including Photo Stream or Shared Streams
Available in iOS 4.0 and later.
Declared in ALAssetsLibrary.h.
ALAssetsGroupEvent
All events, including those created during Camera Connection Kit import.
Available in iOS 4.0 and later.
Declared in ALAssetsLibrary.h.
ALAssetsGroupFaces
All the faces albums synced from iTunes.
Available in iOS 4.0 and later.
Declared in ALAssetsLibrary.h.
ALAssetsGroupSavedPhotos
All the photos in the Camera Roll.
Available in iOS 4.0 and later.
Declared in ALAssetsLibrary.h.
ALAssetsGroupPhotoStream
The PhotoStream album.
In iOS 6.0 and later, this also includes Shared Streams.
Available in iOS 5.0 and later.
Declared in ALAssetsLibrary.h.
ALAssetsGroupAll
The same as ORing together all the group types except for ALAssetsGroupLibrary.
Available in iOS 4.0 and later.
Declared in ALAssetsLibrary.h.

Related

How can I use Ms Access Date/Time Extended data type

Ms Access documentation suggests there is a data type called "Date/Time Extended" which:
The Date/Time Extended data type stores date and time information and is similar to the Date/Time data type, but it provides a larger date range, a higher fractional precision, and compatibility with the SQL Server datetime2 date type.
However I cannot select this as the option is not in the table design Data Type drop/down list.
My version is Microsoft Access for Microsoft 365 (16.0.12827.20328) 64-Bit.
How can I use the "Date/Time Extended" data type?
As far as I can tell, Date/Time Extended is not yet available in the latest release builds.
The documentation seems to be ahead of the actual release.
If you need it regardless, go to the Account page, and sign up for Office Insider, the beta channel, then click update options, and Update Now.
After that, it's in the dropdown for field types. Note that using it will break compatibility with previous versions of Office.
I can currently use the Date/Time Extended data type, and am on version 16.0.13012.20000 (latest beta channel).
Note that I strongly recommend on refraining from using this type for other purposes than testing until it's in a release version and you're 100% sure everyone using the database you intend to use it in has updated to a version that allows it.
Seems it was released in May see Office Insider Monthly (Targeted) v2005 build 12827.20210 - May 21.
But you have to enable it in Options first.
As of today it should be availible on all channels except Semi-Annual Enterprise Channel.
To get your general release number (starts with 200X), check Word for Office Version.

Leanft not identifying terminal emulator screen objects

I am trying to spy the mainframe screen from leanft, but it is not identifying the individual fields. It is just identifying the whole screen and in the object identification center, it is showing as Java.UiObject:Screen.
I have registered the application in leanft still it is not able to identify.
I have done the TE configurator settings as well and I am able to inspect another mainframe application without any issues.
But this specific application is not getting identified.
Below is the code generated from the Object identification center for this application.
Desktop.describe(Window.class, new WindowDescription.Builder()
.title("3 Host Session").build()).describe(UiObject.class, new UiObjectDescription.Builder()
.nativeClass("com.ibm.eNetwork.beans.HOD.accessibility.AccessibleScreenText").build());
Please let me know if you have any solution for this issue.
Thanks
This happens when either the TE configuration is not set or the add-in for the TE(terminal emulator) is not enabled. Follow the steps from below link to resolve the same:
https://admhelp.microfocus.com/uftdev/en/14.50-14.53/HelpCenter/Content/HowTo/TE_Addin_Overview.htm

Scorm Suspend Data issue migrating from scorm cloud

I currently have a client that has a Scorm 1.2 course which is hosted on Scorm cloud. Things are going fine there with the course but the client wants to get off Scorm cloud because the fees are adding up. I know Scorm cloud is a very in depth application but all the client really needs to worry about is allowing the user to continue where they left off, detecting if the user passed the final score and ideally the score they got on the final exam.
I have used a few different scorm player wrappers but I am running into the same issue with them all. The scorm course made from storyboard creates a huge value for suspend_data and when it is really long for some reason the course will ask if the user wants to continue where they left off but will bring them back to the beginning and not continue where they left off.
I know to be Scorm 1.2 compliant the suspend_data should be no longer than 4096 characters but some are upwards of 90,000 characters. I also have read Scorm doesn't really enforce this it is mainly a LMS restriction on field size. I am storing all of the cmi data into a medium_text field so I am not having an issue with storing it.
My main question is has any migrated off scorm cloud and took their users history (suspend_data) with them to have users continue where they left off with your scorm player? Another question is has anyone had this issue and is there a player/wrapper you have used to successfully use a large suspend_data for a Scorm 1.2 course. What I am trying to do is take them off Scorm cloud so I can do an api call to get all of the cmi data for each user and then start launching directly from their site and store new cmi data but we can't move away since many users would have to start the course over.
I did run more tests with my scorm player and when through the entire course and saved my suspend_data at various points and I can get it to launch at that point. The longest my suspend_data was just under 30k characters.
Any tips in the right direction would be appreciated.
Migrating SCORM data from system to system is tough as while the SCORM elements themselves should be named similarly in the systems SCORM implementation, each LMS could store/name them in a different manner.
As far as the large suspend data issue goes, are you moving to a system that allows for a customized maximum suspend data size? In SCORM Cloud and LMSs that run our SCORM Engine, we do have that course property that allows you to store as much suspend data as you want. There are a number of LMSs out there that use Engine so you may be able to modify that behavior.
Shoot us a message at support#scorm.com if you have any other questions!
Thanks,
Joe Donnelly
Rustici Software Support

What is the "creator code" for Final Cut Pro X?

I'm working on sending Apple Events to Final Cut Pro X. At the moment I have the trial (free is always nice for experimenting). However, looking at the .plist in the package, the creator code is specified as "????" and its bundle ID is "com.apple.FinalCutTrial". I found the creator code for FCP 7 is "KeyG" but nothing regarding FCPX specifically.
For the events themselves, I'm also looking for what events it supports. The "MovieAssembler" sample from Apple is dated 11-2007 and lists Final Cut Pro 5.x. I've thrown some events at FCPX trial, but I get back an event with key 'errn' and a long whose lower word translates to -1708, "error apple event not handled" (seems more than coincidental). They also have an FxPlug architecture, but that's aimed at video.
Which leaves me with a couple questions:
What is the creator code for Final Cut Pro X? Seeing that it isn't backwards-compatible with the project files, I suspect there's a chance the code changed.
Can anyone point me to examples/documentation about the Apple Events that FCP X supports?
I have an Apple Developer account, so can get to resources on their site (if I know where it is!)
Thanks!!
In case anyone else comes looking...
Turns out that Final Cut Pro X has no creator code. Just like the trial, its CFBundleSignature (OS Type Code) is '????'. Its Bundle ID is "com.apple.FinalCut" (slightly different from the trial).
FCP X does not support Apple Events anymore. It appears to respond to the generic "open file" event, though I expect that's because Cocoa/AppKit routes the request through the app delegate -application:openFile: method.

How can we generate Reports using flex bulider?

is it possiable we can bulid the reports using flex bulider ? or can we and any
frameworks for build the reports ? .
i don't know what way to bulid the reports
flex bulider have any build reports compoents there?
i want sorting reports order like
By Product Company Name Expected Close Month
Consultant Expected Revenue
this is are fields
Product 1 A May’10 X £1,000.00
B Jun’10 Y £2,000.00 C Jul’10
X £3,000.00 Sub Total
£6,000.00
Product 2 etc
Grand Total £24,000.00
This is are data . How is it possiable ?
Could u give any gudiends me ?
Answer based on first revision.
Typically applications would give this responsibility to the server. Your Flex application passes parameters to the server with a request for a PDF document and the server puts together the appropriate one and seconds it back.
If you're using AIR to run your Flex application you could probably write a library to create a PDF file and then same it to the user's computer but I would stress that the kind of libraries you would need for your server already exist. For example: http://php.net/pdf
Report tends to be a rather generic term and as the other responder indicated that it meant PDF to him/her. The application I am working on is very report heavy. We have a requirement for a client side report ("Think Report in Flex") and PDF version of the same report.
When we originally looked 1yr back, there is no Report library that provides the equivalent of what lifecycle does on the server. Therefore we have had to build our own and it is based on a generic template mechanism.
So can it be done. Yes. But I would recommend developing a generic means to render your reports and it is not a easy task if you want to keep it generic so you can create multiple type of reports.
Also, avoid the trap of nesting your reports through VBOX, HBOX and containers to provide a flexible layout system as it will not perform well.

Resources