Showing posts with label sdk. Show all posts
Showing posts with label sdk. Show all posts

Marmalade SDK Exception cannot open file iwui style style group bin for serialising

| 0 comments |
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

}
Read More..

Basic steps for upgrading source code from SDK 1 5 to 2 1 using Eclipse IDE

| 0 comments |
This is a step by step guide to upgrade one’s source code that was developed for an earlier version of android SDK, as is to work on a new version of SDK installed on your development environment



Pre-requisites:
1. You are using Eclipse IDE - Ganymede
2. You have installed SDK 2.1 on your machine
3. You have upgraded ADT to 0.96 on Eclipse IDE
4. You have pointed the Eclipse IDE to the new SDK 2.1
5. You have changed the default JDK compiler version on Eclipse to 1.6
6. You have created an Android Virtual Device (AVD) that uses the SDK 2.1 / Google API


NOTE: Upgrading SDK and Eclipse installations itself is provided in detail at http://developer.android.com/sdk/index.html & http://developer.android.com/sdk/installing.html


For each project that you have in your eclipse workspace that was written for the earlier version of SDK, you need to do the following for basic upgrade (this does not include the upgrade of APIs that have be deprecated):

Step-by-step guide
1. Right click the project and go to Project Properties -> Android
2. You wil see tha right pane showing the ‘Project Build Target’
3. In this pane you will see either or both: ‘Android 2.1’ & ‘Google APIs’ depending on what you chose to install when upgrading your ADT to 0.96
4. Select Google ‘Android 2.1’ or ‘Google API” whichever is required by your earlier project (note you might have used only Android 1.5 for most projects. You would need Google API only for those projects that use google maps)
5. Then, go to the ‘Project’ menu and click on ‘clean’. Note, this is an optional step. You may have to do this if you get the error ‘Conversion to Dalvik format failed with error 1’.
6. Then, build the project by going to ‘Project’ -> ‘build’
7. You are done. You can now run the earlier Android application using the new SDK 2.1


Read More..

Marmalade SDK Exception Multiply Overflow

| 0 comments |
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));
Read More..

Marmalade SDK Output Debug messages

| 0 comments |
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);
Read More..

New features in Admin SDK Custom user attributes and opening up access to all domain users

| 0 comments |
By Muzammil Esmail, Product Manager, Google for Work

The Admin SDK provides a comprehensive directory experience for Google for Work customers to help them meet specific business needs around data storage for customers. Here are some important updates to this SDK.

Custom attributes in the user’s profile
Now available is a new feature in the Directory API which allows you to add custom attributes for your users. For instance, you could store the projects your users work on, their desk number, job level, hiring date — whatever makes sense for your business.

Once the custom attributes for your domain have been defined, they behave just like regular fields in the user profile. You can get and set them for your users and also perform searches on custom fields (e.g. “all employees that work on the shinyNewApp in Hyderabad”).

Custom attributes can be of different data types; they can be single- or multi-valued. You can configure whether they are “public” i.e. visible to everyone on the domain, or “private” i.e. visible only to admins and the users themselves.

Read access to all domain users
Historically, only admins have been able to access the data in the Admin SDK. Beginning today, any user (not just admins) will now be able to call the Directory API to read the profile of any user on the domain (of course, we will respect ACLing settings and profile sharing settings).

We hope that you will be able to use this new feature to build business applications (e.g. corporate yellow pages, expense approval, vacation management, workflow applications, etc.) that can be used by all your users.

Please feel free to go through our documentation to go learn more about the Admin SDK, and specifically the Directory API. Happy hacking!
Read More..

Marmalade SDK Data cache overflow allocating XXX Increase GX DataCacheSize currently XXXXX exception

| 0 comments |
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

Read More..

SDK setup error a folder failed to be renamed or moved

| 0 comments |
During updating your Android SDK components from eclipse (running in windows) you may receive the following error message:
a folder failed to be renamed or moved...

the message suggests that you turn of your anti-virus.
I did so but still recieved the error.
I terminated the adb.exe from the processes but still not solved.

the problem is that the update batch is rin from android.bat file inside tools directory. update requires that this folder is renamed temporarily but since Windows 7 locks it the process halts with this error.
so a workaround for this is to copy the tools folder, paste it in te sdk directory, name it tools_temp for example and run android.bat from this directory.

the update shall go smooth, after finishing delete this temp folder and launch eclipse and it will work fine.

note:
after restarting eclipse you may recieve this error
This Android SDK requires Android Developer Toolkit version 10.xxxxxxxxxx the current version is 9.xxxxxxxxxxxxxx.

this is because the ADT plugin needs to be update after updating software components, go to http://developer.android.com/sdk/eclipse-adt.html and follow the instructions and everything will work after this.
Read More..

Playstation Suite SDK referencing DLLs and Intellisense

| 0 comments |
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 couldnt 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
Read More..

Python SDK version 1 2 2 released

| 0 comments |


Weve released version 1.2.2 of the App Engine SDK for Python. Some highlights from the release notes:




  • Urlfetch fetch now has support for user configurable deadlines.

  • Datastore indexes on single properties can now be disabled by setting indexed=False on the property constructor.

  • Datastore now supports Key-only queries, using either SELECT __key__ or db.Query(Model, keys_only=True)

  • Bulk Loader improvements: New appcfg download_data command. Better backoff support and debugging output for long requests.


For a full list see the SdkReleaseNotes wiki page.



Downloads for Windows, Mac, and Linux are available on the Downloads page. This SDK update was for the Python runtime, so please post your feedback in the Python runtime discussion group.

Read More..