Nine patch library for BlackBerry SDK - blackberry

I was searching a way to use nine-patch images in order to handle multiple screen size but I did not find. Do you know if it exists such library ?

Check out the BlackBerry-NinePatch package and the related blog post.

Related

Is there any module which allows cropping an image dynamically in Appcelerator for iOS platform?

I am developing an ios mobile app.In that my requirement is user should able to allow crop the photo gallery images dynamically.is their any free module or any alternate code to achieve my requirement
Thanks in advance
You can use http://gitt.io to search for modules. You'll find:
https://github.com/caspahouzer/TiCropImageEditor
(forked from https://github.com/EtnaTraining/TiCropImageEditor with 64bit and some other patches)
The modules implement PEPhotoCropEditor
Also check https://gist.github.com/FokkeZB/5501222 and https://github.com/appcelerator-modules/ti.imagefactory
Related to the topic but maybe not suited for your case is https://github.com/jwagner/smartcrop-cli, which I use myself (but in another context)

using kiwi viewer in ios app to view a 3D model

I am building an ios application in which I get a ply file from a server and want to view
it on my application using kiwi viewer , I need a help on how to do that exactly and where
can I download the related files.
I have searched the web on it but did not get anything specific on the way of doing that and I got confused with files that should be attached to my project and the libraries also.
please I need help as soon as possible.
thanks in advance
#flashdisk what version of ves / kiwi viewer you are using? The current version of VES can load the ply files. I am about to merge another branch that intend to fix some other issues as well.

Phonegap iOS: Download image to Photo Library

Is it possible to download a file (image) and save it in the Photo Library?
I am aware of this download method, but it only allows to download to a location that I specify.
On iOS I was unable to get the path to the Photo Library (and I know it doesn't just store it there, but also adds it to a DB)
Does phonegap provide this ability in some way?
Do I need to write a dedicated plugin for this?
Thanks,
Nadav
Ehh... I hate answering my own questions
I found this was impossible without a Phonegap plugin, and couldn't find one that does that,
so I wrote one.
Currently only iOS and Android are supported.
https://github.com/grnadav/SaveToPhotoAlbumPhonegapPlugin
Feel free to expand it's functionality and pull-request :)

iOS custom framework, libraries, and bundles

I have a general question regarding bundles, libraries and custom frameworks on the iOS. I've seen many topics about this on SO and searched far and wide on the net, but I still can't come to an answer without finding another site or post contradicting or confusing me some more. If someone could give me a solid answer to the below questions regarding what is allowed on the iOS or what would get rejected I would be really grateful.
I've seen posts and sites say that you cannot create bundles on the iOS. Does this also apply to bundles with only images in them?
Is it possible to create a library with .xib files in them? If not then how would one go about including one if custom frameworks are not allowed?
Does using a xCode dynamic library put my application for grounds of rejection (ex. libxml2.dylib)?
Apologies if this is too general or mentioned multiple times, but this whole library and what is allowed and what isn't allowed just doesn't seem to be very clear for me. What I am trying to do is to create some apps and perhaps include some controls that I frequently use in some sort of library or bundle, but I would like to know my limitations before moving further.
1.: No, you cannot create any framework even if it contains images only, as you can't write to the root partition of the iOS filesystem (the part where /System/Library/Frameworks resides).
Of course, if jailbreaking is an option, then all this stuff becomes invalid. You do what you want with a jailbroken phone, so you can create frameworks, add libraries to the filesystem etc.
2.: Yes, it is possible to create a library with XIB/NIB files with it, but then you'll need to share both the source or a static library built from the sources AND the XIB files and guide the other developers to do so in order iOS to correctly handle your library and be able to build the UI from the InterfaceBuilder files.
3.: No, because those libraries are already on the iPhone, you don't have to hack it to get them on the filesystem. libxml2, libsqlite3, etc. are allowed and can be used in any AppStore app.

Good KML library on iOS

Would anyone know a good and easy-to-use library on iOS to parse KML in order to get all the polygons described in the file?
This appears to be a promising one: https://github.com/mapbox/Simple-KML
Just researching myself.
You may find the KMLViewer example in the iOS sample code helpful: https://developer.apple.com/library/ios/#samplecode/KMLViewer/Introduction/Intro.html
This one seems to work well for me:
http://kmlframework.com/#license
The sample app lets you enter a URL to some KML, and it will display it.
It is free to use under the MIT license (which includes commercial use).

Resources