NimbleKit v1.5.5 is released!

15 views
Skip to first unread message

voloshyn

unread,
Sep 6, 2009, 9:10:47 AM9/6/09
to NimbleKit
changes:
NKInternetPlayer retrieves stream metadata
NKAudioPlayer can play in loop mode
NKAudioPlayer's volume can be controlled
Ability to retrieve iPhone OS version
NKNavigationController supports different colors
NKNavigationController can go back programmatically
NKInternetPlayer now can play when iPhone is locked
and a lot more...
also we fixed bugs, among them most wanted:
"more" tab in NKTabBarController
onPageShown now always fires correctly

Brett Terpstra

unread,
Sep 6, 2009, 9:36:09 AM9/6/09
to nimb...@googlegroups.com
I’d buy NimbleKit all over again if we could have support for WMA
streams. Any chance?

Laurent Taupin

unread,
Sep 6, 2009, 9:55:57 AM9/6/09
to nimb...@googlegroups.com
WMA is a Windows Format.
There's no way to have it inside your iPhone/iPod.
It's not a NimbleKit issue but an Apple "limitation".


Le 06/09/09 15:36, « Brett Terpstra » <m...@brettterpstra.com> a écrit :

Brett Terpstra

unread,
Sep 6, 2009, 10:07:30 AM9/6/09
to nimb...@googlegroups.com
That’s what I thought, too, but then ffmpeg iPhone[1] looked like it
might be able to convert on the fly. Haven’t played around with it yet.

-Brett

[1]: http://code.google.com/p/ffmpeg4iphone/w/list

Alexander Voloshyn

unread,
Sep 6, 2009, 10:08:02 AM9/6/09
to nimb...@googlegroups.com
Well, it is possible play WMA using ffmpeg on the iPhone.
But I read somewhere that it's not legal to decode WMA (or ASF
container) using third party libraries (which aren't provided by
Microsoft).
Still I'm not sure about that and can't find any info. If it's legal I
will make special NimbleKit plugin to decode and play WMA streams.
This plugin will be optional to avoid increasing size of NimbleKit
binary.

Brett Terpstra

unread,
Sep 6, 2009, 10:09:21 AM9/6/09
to nimb...@googlegroups.com
That would be downright awesome. Thanks for considering it.

-Brett

Laurent Taupin

unread,
Sep 6, 2009, 10:12:15 AM9/6/09
to nimb...@googlegroups.com
For that, better way is to request an authorization from Microsoft & Apple,
Then to use a couple of hands to transpose the code of WMA loading into
Cocoa :D
Not sure lots of us (developpers) want to spend time for that functionnality
:$


Le 06/09/09 16:09, « Brett Terpstra » <m...@brettterpstra.com> a écrit :

Eduardo Gutierrez de Oliveira

unread,
Sep 6, 2009, 10:14:00 AM9/6/09
to nimb...@googlegroups.com
Even further. It's a closed format (especially the later versions) so
even if support could be coded as decoders the format would never be
right.

So even if Nimblekit could incorporate support for new media it would
still be a limitation, from Microsoft in this case, in the format.

Eduo

Gary Dauphin

unread,
Sep 6, 2009, 12:54:49 PM9/6/09
to nimb...@googlegroups.com
With the HTML 5 spec focused on H.264 and Ogg Theora, I would think we
would all be prudent to focus on those two.

gd

Michele (Mike) Hjorleifsson

unread,
Sep 7, 2009, 1:16:16 PM9/7/09
to nimb...@googlegroups.com
are you going to update the how to's to show off some of the new
features ?

> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google
> Groups "NimbleKit" group.
> To post to this group, send email to nimb...@googlegroups.com
> To unsubscribe from this group, send email to nimblekit+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/nimblekit?hl=en
> -~----------~----~----~----~------~----~------~--~---
>

Alexander Voloshyn

unread,
Sep 7, 2009, 1:22:10 PM9/7/09
to nimb...@googlegroups.com
Yes, I'm making new tutorials, and some parts will go to How to's section as well.
Big addition to this section is planned for 1.6 release, it's 3.0 only release and will include most of the 3.0 new features :)

Alexander Voloshyn

lau...@wptechnology.com

unread,
Feb 19, 2010, 11:58:22 AM2/19/10
to nimb...@googlegroups.com
Hi Alexander,

I know I'm asking you a lot for help those past days but I've got to
release version 2 of Ma Pharmacie and I still have troubles.

First, as explained on the bugTracker, clearAnnotations() crashed if it is
called more than 1 time.

Second, I've created a class that deals with the protection system, and
that includes two function for me to get the results.

As I've seen on your samples, I've used
- (NSString*)methodResult
{
return self.tmValueToReturn;
}
to return values to the javascript (tmValueToReturn is an NSString).

I've got two functions :

- (void)detectIPhoneMode
{
//do something
//test protection
self.iPhoneMode = @"Something";

self.tmValueToReturn = self.iPhoneMode;
}

- (void)getDeviceSupport
{
if (self.iPhoneMode==@"something" || self.iPhoneMode==@"somethingelse"
|| self.iPhoneMode==@"somethingeither") self.tmValueToReturn = @"0";
else self.tmValueToReturn = @"1";
}

My problem here is that if I call those two functions one behind the
other, the second gets the value of the first :

NKRegisterClass("testModel");
var deviceUsed =
CallNKitAction('detectIPhoneMode?className=testModel');
var deviceSupport =
CallNKitAction('getDeviceSupport?className=testModel');

in this case, deviceUsed should contain something like "iPhone" and
deviceSupport should contain 0 or 1, but it contains iPhone.

What am I doing wrong ?

Thanks for your help :)

Bests,

Laurent.

Alexander Voloshyn

unread,
Feb 19, 2010, 12:07:45 PM2/19/10
to nimb...@googlegroups.com
Hi,


Hi Alexander,

I know I'm asking you a lot for help those past days but I've got to
release version 2 of Ma Pharmacie and I still have troubles.

First, as explained on the bugTracker, clearAnnotations() crashed if it is
called more than 1 time.


Will fix that.
If you want to get result back you need to pass one more parameter "sync=yes", like: var deviceUsed = CallNKitAction('detectIPhoneMode?className=testModel&sync=yes');
Otherwise calls are async and return immediately having methodResult to return random data


Thanks for your help :)

Bests,

Laurent.

--

You received this message because you are subscribed to the Google Groups "NimbleKit" group.
To post to this group, send email to nimb...@googlegroups.com.
To unsubscribe from this group, send email to nimblekit+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nimblekit?hl=en.


Reply all
Reply to author
Forward
0 new messages