Developers: Your perspectives do matter to the mobile industry.

Hello developers, please share your opinions and experience in mobile development by participating in the following survey
https://s.zoomerang.com/s/pivotalperspectivesnovember

Reactions: 

Marmalade SDK: Exception: Multiply Overflow

I was performing some transformations (scaling) on 2D sprites like this:
CIwMat2D matrix;
rot.Scale(IW_FIXED(2));
When I ran the app I received the following exception:
IwAssert failure (GEOM, 350). Message: Multiply overflow
The avoid this exception, you must set your matrix to the Identity matrix before applying transformations on it like this:
CIwMat2D matrix;
matrix.SetIdentity();
rot.Scale(IW_FIXED(2));

Reactions: 

Marmalade SDK: Data cache overflow allocating XXX. Increase [GX] DataCacheSize (currently XXXXX) exception

You may encounter this error if your application requires caching some data but the reserved cache size by your application does not have enough space.

to solve this, just increase the reserved cache space defined in your app.icf file:
[GX]
DataCacheSize=30000

Reactions: 

Marmalade SDK: Output Debug messages

If you want to output debug messages in your output console in Visual studio, you can do it in two ways:

  1. Use standard C++ output stream cout
    cout<<"Your Message"<<endl;
  2. use the Marmalade  s3eDebug module: first include the header:
    #include "s3eDebug.h"
    then
    s3eDebugOutputString("Your Message");
    
    to display integers you have to convert them to C style strings first:
    int x=10;
    char buffer[10];
    //convert the int to a char array
    sprintf(buffer,"%d",x);
    s3eDebugOutputString(buffer);
    

Reactions: 

Marmalade SDK: Exception cannot open file iwui_style/style.group.bin for serialising

I made a simple IW2D app with Marmalade SDK, it worked fine in the Windows emulator but when I deployed to Android I received this exception:

cannot open file iwui_style/style.group.bin for serialising (read), Did you include this file in your mkb assets block

The solution was  to add this block to my MKB file

assets
{
    (data-ram/data-gles1)
    ui.group.bin
    (data-ram/data-gles1)
    iwui_style/style.group.bin
}

Reactions: 

App Developers: check this survey

“I came across this invitation for developers to give their perspectives to mobile industry leaders such as Microsoft, Google, Apple and RIM.  Check it out”

It's a really nice survey, participate and share your experience with others

Reactions: 

Android Developers Blog: Introducing Android 4.1 (Jelly Bean) preview platform, and more

Android Developers Blog: Introducing Android 4.1 (Jelly Bean) preview platform, and more

Reactions: 

Playstation Suite SDK: referencing DLLs and Intellisense

An issue I faced today while testing the Playstation Suite SDK, I created a sample project in the PSS Studio and added a reference to a custom made DLL.

I found that the intellisense (auto completion) of the editor couldn't perceive the newly added DLL, it provided no auto-completion for the classes within the library.

I got the solution to this from here http://www.gamefromscratch.com/post/2012/04/20/Initial-issues-with-Playstation-Suite-SDK.aspx

just restart the PSS Studio and everything will work just fine

Reactions: 

SUNPHOS featured in Android Police

SUNPHOS is feautered in Android Police as one of the best 43 apps in the last 2 weeks

Reactions: 

SUNPHOS

SUNPHOS  is a professional android application for photographers who needs to plan a day around the constantly changing character of sunlight. It provides you with valuable information like day length,sun rise & sun set, golden hour, twilight and more.




SUNPHOS Features:

  1. Search Sun Track.
  2. View Mode.
  3. Search Sun Position.
  4. Daily Report on sun info.

Reactions: