[SDL] Are there any working SDL Android examples?

William Dyce wilbefast at gmail.com
Wed Jul 27 00:31:30 PDT 2011


Fantastic :D thought we might have to go through the JNI or something.
That's good new.

On 27 July 2011 16:25, Dimitris Zenios <dimitris.zenios at gmail.com> wrote:

> Once you create the window you can call SDL_GetWindowSize to retrieve the
> native size of the screen
>
>
>
> On Wed, Jul 27, 2011 at 8:38 AM, William Dyce <wilbefast at gmail.com> wrote:
>
>> That's very interesting to know - is there any way of knowing what this
>> resolution is from inside the App? Actually it probably doesn't matter if
>> everything will just be scaled anyway...
>>
>> On 27 July 2011 06:15, josebagar <joseba.gar at gmail.com> wrote:
>>
>>>  **
>>>
>>>
>>>
>>>  Dimitris Zenios wrote:
>>>
>>>  What ever you pass it will be overwritten by the native screen
>>> resolution.
>>>
>>> On Tue, Jul 26, 2011 at 5:55 PM, josebagar <> wrote:
>>>
>>>
>>>
>>>  Quote:
>>>
>>>  Thanks for the info, I was looking into this too myself.
>>> Just one more question: how do I force the window to start in the
>>> device's
>>> native resolution? Just setting 0 for both width and height in
>>> SDL_CreateWindow?
>>> Or do I have to actually know the device's resolution before setting it?
>>> _______________________________________________
>>> SDL mailing list
>>>
>>> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> SDL mailing list
>>>
>>> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>>>
>>>
>>>
>>> Thanks. I'm working with a game engine that sits on top of SDL so that's
>>> probably the cause of the video mode not being set correctly, then.
>>>
>>> _______________________________________________
>>> SDL mailing list
>>> SDL at lists.libsdl.org
>>> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>>>
>>>
>>
>> _______________________________________________
>> SDL mailing list
>> SDL at lists.libsdl.org
>> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>>
>>
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20110727/8bf59da2/attachment-0008.htm>


More information about the SDL mailing list