Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
RYacht
Old
(Last edited by RYacht; 24th October 2011 at 09:09 PM.)
#1  
Junior Member - OP
Thanks Meter 6
Posts: 16
Join Date: Sep 2011
Default Changes in SDK 1.x -> 2.x

Hi there

not THAT much threads here related to development questions. Now it's absolutly ironic that I ASK this, cause Im no dev and coded the last small tools in C some 10 yrs ago. I'm a complete and definite noob in C++ ... bada SDK is my first contact with C++. I though it's interesting to try some first steps in bada.

Started in SDK 2.0.2. I found out that code examples in Internet relate to bada SDK 1.x and things seem to have changed here and there. After 3 days I was able to understand structurally what I collected together or found in help.

Question: What did you guys face as difference in 2.0 compared to 1.x?

I wasn't able to invoke the app "terminate()" command. What do I need to include/declare? I'm puzzled. this is the most difficult exit function of all languages I know

I had trouble to insert a photo as the splash screen. You guys have difficulties too?

More philosophic question: What do you think of Samsung, that they gave you SDK 2.0 and even started a competition, while there's STILL NO bada 2.0 device ready? So you can only test in Emulator or Remote ... is it normal in this industry that you don't have access to the target platform while creating an app?

Oh, just want to mention: I'm no competition - I'm too uneducated to code - and no time for a serious app.

Ray
The Following User Says Thank You to RYacht For This Useful Post: [ Click to Expand ]
 
larioteo
Old
#2  
larioteo's Avatar
Senior Member
Thanks Meter 278
Posts: 505
Join Date: May 2011
Its simple, alot of things gone easier.

CustomList, GroupedList, SllidableList, IconList, ... all collected to two types

ListView and GroupedListView, they both are using SimpleItems (Image, Text, Option) or a CustomItem as we devs them wish. GroupedItems are in GroupedListView and saying itself what they does, both lists have a fast scroll option and automatically relocating on need their items. The best autoscroll for bigger text in elements and of cousre the behind Context menu for each item which can be changed in different ways if user slides left or right and so on. Finally to update the list, only UpdateList() is needet not after every change every item as i used in badaSI before.

Than we have the powerfull Gallery that provides all featuers to show pictures as you all saw it in badas Gallary App.

Then header and footer, very nice, devs can so made a good basci gui that looks good integreted to the os, the best function of them are the back button option with its listener, it reduces a lot of time.

My pesonal favorit is the extension for animation class, there you can make every thinkable animation for forms, panels, controls and other stuff, with some code lines. So the UIx is improved and no extra code is needet.

I would rather say that the 2.0 sdk makes c++ a lot of easier to use also for beginners, the api itself is self explaining for what it stands, so it is not like old c++ stuff bada SDK makes many things alot of easier than people think. And of course it has more oportunities than other ... and so on.

Push Notifications and some old unaccessable System Privilegs are now free to use for every developer. Auto resolution takes a lot of work from us all devs.

PThread is addet so porting applications from other oses like ios are much easier, in my oppinion useless cause i am not porting i am writing from scratch.

In a whole overview of the new sdk, a lot of new stuff that makes everything easier, and the old stuff is still in there to support older applications. so no visible changes are there if you see an custom list or a listview in voluntas as example, but the behind things made it a lot of easier and better for memory.


And so on....................
 
RYacht
Old
#3  
Junior Member - OP
Thanks Meter 6
Posts: 16
Join Date: Sep 2011
ah, so push noti was there before, but only to priviledged partner dev's right?

Lari, you list is your favourites? What of them will help most often? Header/Footer? Auto Resolution to unite higher and lower lever Waves? Let's see if there's still two separate bada versions for the 2 familys.

Ray
 
RYacht
Old
#4  
Junior Member - OP
Thanks Meter 6
Posts: 16
Join Date: Sep 2011
So finally I got the Terminate() function up and running ...

In the form.cpp I had to add these:

#include "<myappname>.h"
... to get declaration of my app name

using namespace Osp::App;
... to enable the Terminate function (don't know if the include makes this unnecessary now ... in "<myappname>.h the public Osp::App::Application,
is used as class

<myappname>::GetInstance()->Terminate();
... only with this the function worked.

Is this standard in C++? Help didn't show me this way, and it seems quite complicated for me as a former ANSI C amateur

Ray
 
RYacht
Old
#5  
Junior Member - OP
Thanks Meter 6
Posts: 16
Join Date: Sep 2011
hello? zehn zoicha kaesdreck!
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...