Backberry message view, chat view design - blackberry

I want to design a chat view like BlackBerry messenger (unfortunately new users are not allowed to post images).
The message header should include the sender's name, date, and seperator field.
Anyone can help on this ?

RIM released some sample code to build Advanced UI interfaces. There you can find a Negative Margins example that simulates a Screen for Blackberry Messenger.

Related

Designing a view in iOS application

I'm working on adding a "privacy policy" screen for my iOS application. As you know a privacy policy or 'Terms of Service' contract contains lot of texts in paragraphs. Initially I thought I could just add a scrollview (vertical) and add multiple labels and textviews. But as I start to design this I start to wonder if am I on correct path or if there is a method to do this logically. Any help hint or direction would be really useful.
Why not simply display the privacy policy / terms of service web page on UIWebView or WKWebView ? Provided the web design is responsive. That would save all the trouble of text formatting to scrolling and other event handling.

Add hyperlink to Apple Passbook front page

I tried to find solution for this across lot of resources on the internet including the Passbook documentation but I didn't have any success.
I know it's possible to add hyperlink on the back of the Passbook but that's not something I can use.
I'm trying to create a Passbook with the logo, date and title on the top, two hyperlinks (buttons) in the middle and the barcode in the bottom of the Passbook.
Thanks in advance!
No, it's not possible to add hyperlinks to the fields on the front of a pass. The data detector behaviour of Wallet only applies to back fields.
https://developer.apple.com/library/content/documentation/UserExperience/Reference/PassKit_Bundle/Chapters/FieldDictionary.html#//apple_ref/doc/uid/TP40012026-CH4-SW5
Under the Standard Field section, you'll see mention of dataDetectorTypes. It's stated there.

Markup feature in images in swift

I've created a chat app, where user can chat and share images. Now I need to add feature where user can edit and perform some annotation on images. I've heard from iOS 9 there's a new feature called markup to perform editting on images. I've checked UIActivityViewController and couldn't find in it. Is this feature available and can it fit to my requirement? If not, is there any other alternatives that I can approach?
Yes you are Right Markup feature is available from ios 9.
iOS 9 has introduced a set of markup tools for images that you attach
with a message in the Mail app.
To use this feature,
1) Open the Mail app and compose a new message (or reply to an old one if that’s what you need to do).
2) Tap and hold on the message body area and in the floating actions bar, tap the Insert Photo or Video option. From your camera roll, insert a photo.
3) Tap and hold on the photo and in the floating actions bar that appears on the photo, tap the new ‘Markup’ option.
--> Your photo will be enter in Editing mode.
Markup tool will look like this ,
From the link whats-new you will find that apple implement markup option for mail.
So, As per your Question , Markup image facility provided bydefault by apple in Mail. so, i think you can't implement it programatically. but when user will open the mail from UIActivitycontroller from your application then user will get Markup feature with following above procedure. (But user have to manually do process to enable Markup feature)
You can also check video on youtube ,
How to markup and annotate an attachment in iOS 9
Reference link regarding markup feature,
ios-9-markup-annotate-email-attachments
I hope this info is helpful for you.

UIScrollView messaging app behaviour

I've been wondering how apps like Facebook Messenger, Whatsapp or the Messages app on iOS itself work (from the UI perspective).
I assume they're using a UIScrollView and add UILabels at the bottom of view with the message and/or info of the message itself, giving a fixed space between labels, and so on...
Am I right or my approach is completely wrong?
In iOS6 and above, you have UICollectionView, which inherits from UIScrollView, but gives you tableview-like cell management without being restricted to one row. For example, both the iOS7 Messages app and the new Facebook Messenger use collection views to implement what you look for.
There are several open-source solution that implement a similar behavior, which you can take a look at for use or ideas. THSpringyCollectionView, JSMessagesViewController and others.

BlackBerry horizontal context menu

I want to create a horizontally arranged context menu. This means when my application is running and I press the menu button that my customized horizontal options will show. How do I do this on BlackBerry?
You can override onMenu method in the Screen class and show your custom PopupScreen menu.
This can be accomplished as #Eugen Martynov has mentioned. Though your idea might sound novel, it doesn't go with the UI guidelines of a Blackberry application. Regular Blackberry users might not appreciate the new UI you are proposing. And moreover, there is a possibility of your app being rejected when you submit for certification to host in Blackberry App World.
Check the guide lines here
Point no 3.4 mentions that the user must be able to use "Switch Application" feature from within the application. Though you might design the app to adhere, there is a possibility of rejection for non-standard implementation.

Resources