Re: [SailfishDevel] IAP api

2017-03-28 Thread szopin
You can now set sdl_hint_qtwayland_content_orientation and window_flags: https://hg.libsdl.org/SDL/rev/63c2c6c8762c95d62aa4125cf5adda77ae9d9b79 So swipes will work correctly if you render in landscape, not sure if that will be enough for harbour though On Tuesday, 28 March 2017, Iosif Hamlatzis

Re: [SailfishDevel] IAP api

2017-03-28 Thread Iosif Hamlatzis
The code from github (https://github.com/lanurmi/sailfish-minimal-sdl ) says it doesn't use OpenGL and also it uses SDL_CreateRenderer Does it work in both modes (landscape and portrait)? What if you want to use OpenGL and do your own rendering, what then regarding both modes? Under Android the

Re: [SailfishDevel] IAP api

2017-03-28 Thread Iosif Hamlatzis
thnx waiting for the latest version of the OS & SDK to come to the rest of us and not just for early adopters and I will try my code again Virus-free. www.avast.com

Re: [SailfishDevel] IAP api

2017-03-28 Thread Martin Kolman
Tue, 28 Mar 2017 10:38:48 + Iosif Hamlatzis: Only in theory you can use SDL2 because there is a bug and they haven't fixed it. I think I have seen some fixes for SDL2 being mentioned in the release notes of one of the recent releases. But not sure if it fixes the issues you mention or if

Re: [SailfishDevel] IAP api

2017-03-28 Thread Iosif Hamlatzis
Only in theory you can use SDL2 because there is a bug and they haven't fixed it. The bug I mention is that you cannot have landscape mode and if you create a game/app in portrait mode but you render the scene 90 degrees so that it looks like it's landscape then they will not accept it in the

Re: [SailfishDevel] IAP api

2017-03-28 Thread Андрей Кожевников
You can start with https://github.com/lanurmi/sailfish-minimal-sdl and then google for SailfishOS SDL sources yourself. 2017-03-28 13:20 GMT+03:00 tung tran : > Have any example project that i can reference ? > Thanks, > Tung > > 2017-03-28 17:18 GMT+07:00 Андрей Кожевников

Re: [SailfishDevel] IAP api

2017-03-28 Thread tung tran
Have any example project that i can reference ? Thanks, Tung 2017-03-28 17:18 GMT+07:00 Андрей Кожевников : > yes you can use c++ SDL2 whatever > > 2017-03-28 13:09 GMT+03:00 tung tran : > >> >> For native Sailfish OS, could i use c++ code instead of

Re: [SailfishDevel] IAP api

2017-03-28 Thread Андрей Кожевников
yes you can use c++ SDL2 whatever 2017-03-28 13:09 GMT+03:00 tung tran : > > For native Sailfish OS, could i use c++ code instead of QML? > How to use OpenGL in native Sailfish OS? > > Best Thanks, > Tung > > 2017-03-28 16:59 GMT+07:00 Андрей Кожевников

Re: [SailfishDevel] IAP api

2017-03-28 Thread tung tran
For native Sailfish OS, could i use c++ code instead of QML? How to use OpenGL in native Sailfish OS? Best Thanks, Tung 2017-03-28 16:59 GMT+07:00 Андрей Кожевников : > Oh you mean you developing android application ... > > Unfortunately this mailing list is mostly for

Re: [SailfishDevel] IAP api

2017-03-28 Thread tung tran
You mean i can use that api for opening the browser in sailfish OS? 2017-03-28 16:55 GMT+07:00 Kaj-Michael Lang : > On Tue, 2017-03-28 at 16:50 +0700, tung tran wrote: > > Currently, i submit my android application to harbour and it working > > fine. > > So, if i use that

Re: [SailfishDevel] IAP api

2017-03-28 Thread Андрей Кожевников
Oh you mean you developing android application ... Unfortunately this mailing list is mostly for native Sailfish OS development. I don't know process of approving Android applications in Jolla Harbour for different devices, but you can use Android API Level 16 for Jolla 1 device, and API 19 for

Re: [SailfishDevel] IAP api

2017-03-28 Thread Kaj-Michael Lang
On Tue, 2017-03-28 at 16:50 +0700, tung tran wrote: > Currently, i submit my android application to harbour and it working > fine. > So, if i use that android api, will it working in Sailfish OS? Jolla does not provide IAP and Android apps can't use any google services Android APIs. But opening

Re: [SailfishDevel] IAP api

2017-03-28 Thread tung tran
Hi, Currently, i submit my android application to harbour and it working fine. So, if i use that android api, will it working in Sailfish OS? Regards, Tung 2017-03-28 16:45 GMT+07:00 Андрей Кожевников : > Sailfish OS is not supporting any android APIs, because it's

Re: [SailfishDevel] IAP api

2017-03-28 Thread Андрей Кожевников
Sailfish OS is not supporting any android APIs, because it's different operating system. You can learn more about developing for Sailfish OS at: https://sailfishos.org/wiki/SailfishOS 28 мар. 2017 г. 12:41 пользователь "tung tran" написал: > Hello, > I try to build the

[SailfishDevel] IAP api

2017-03-28 Thread tung tran
Hello, I try to build the In-App Purchase. I have to open the url in web browser. could i use below api in sailfish os Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com;)); startActivity(browserIntent); Regards, Ps: can i find what android api is supported