Uncategorized Archive

Apple: Website Push ID Certificate

There is unseen option in Apple Developers – Certificates – Add called “Website Push ID Certificate”

Right now google returns 0 results when it is quoted.

I guess it would be possible to create web apps that would have Push Notifications!

What kind of review is required to enable website with push notifications?

Is it free or iOS developer status is required?

Marmalade and Admob 6.2.1

Finally I was able to upgrade admob to support latest 6.2.1

Also SMART_BANNER support is added.

Both Android and iOS. The problem was iOS. Marmalade StoreKit.framework is missing 2 functions.

Dest: /Developer/Marmalade/6.1.2/s3e/deploy/plugins/iphone/sys_libs/System/Library/Frameworks/StoreKit.framework/StoreKit
Source: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/StoreKit.framework/StoreKit


It is possible to compile it by replacing Marmalade StoreKit.framework file that has STUB function with original iOS SDK 6 framework file.

Once Marmalade will upgrade StoreKit.framework you can switch back to marmalade original framwork.

Compiled on Marmalade 6.1.2

Wish to thank me? Fork me on github and follow on twitter!



Sleep mode for Android EDK

IwOpenGL may restore state longer then 15 seconds.

Some phone get sleep in 15 seconds.

User may complain on sleep mode bug.

Unfortunately I do not know guaranteed way to hook app before IwOpenGL when app resumes.

Solution is to disable sleep mode for the app.


Python script to modify Marmalade for TestFlight

Here is python script that adds profile to IPA to make ready for upload

import zipfile
z1 = zipfile.ZipFile("c:/soft/Marmalade/6.0.6/examples/s3eMyApp/build_tapitexample_vc10/deployments/default/iphone/release/MyApp.ipa", "a")
z1.write("c:/Users/user/Dropbox/sign/embedded.mobileprovision", "Payload/MyApp.app/embedded.mobileprovision")

and for upload I use bat file that uses windows curl. no easy way to do it in python without installing some libs

Gmail bug

It is quite complicated to contact google about anything. So I tell it to googlebot.

After July 10, 2012 I stopped to receive emails to one of my gmail inboxes. I noticed it in 2 weeks. Emails are quite important my AdWords account is linked there and I got email from Google saying

If payment in full is not received within fifteen days, we will forward your account to our external collections agency.

I saw emails in All Mail folder only. Usually I check only Inboxes. I checked account and I had only one rule: Archive messages before 2011/1/1. I deleted that rule and emails started to come to inbox.

I am sure it is looks like a bug.

I am sure that other people had that problem as well.

APNS failed on Ubuntu

I am developing server that utilize Apple Push Notification Service with Go language. After deploy on Rackspace cloud server it stopped to work telling certificate signed by unknown authority

openssl verify cert.pem


error 20 at 0 depth lookup:unable to get local issuer certificate

Fix is to append missing certificate to /etc/ssl/certs/ca-certificates.crt


Backup /etc/ssl/certs/ca-certificates.crt first

wget https://www.entrust.net/downloads/binary/entrust_2048_ca.cer

cat entrust_2048_ca.cer >> /etc/ssl/certs/ca-certificates.crt first

Marmalade GX artifacts

Marmalade fails to render round sphere


Update: I have made custom code that renders sphere. It looks round


Update 2: I have made model 100 times bigger and then used Scale(0.01)  matrix to make it smaller.

Model is round

But it still have holes

Marmalade SDK 6 has lost audio support

I made short term fix rooAudio

It has 2 methods play(fiilename) and stop()

Marmalade SDK docs in search friendly form

When I need some marmalade doc I always google but marmalade docs are in form that google does not index.

I always get some forum post instead of actual docs.

I put marmalade docs on my site and I hope it would be searchable.



TEXTURE0_ONLY it is value for effectPreset it is used in Marmalade material files (*.mtl) from “data” folder

effectPreset "TEXTURE0_ONLY"

When I searched there was only one page in Internet. It was on Marmalade forum.

Here is second page :) ))

If you set that flag then second texture (when provided) will be ignored.

It could be used if you defined custom shader and you need second texture for shader.