If your app targets iOS you must have the device CN1 or other similar tools 
cannot relieve you from having the devices.
CN1 is a development tool which will help you to develop for your targets 
platforms using java or kotlin but it is not as a testing product, although 
contain some helper utils

On Sunday, April 18, 2021 at 10:15:33 AM UTC+3 P5music wrote:

> In fact I do not know what kind of applications are created with CN1, 
> maybe many of them have just simple forms and so on.
> But when just a BrowserComponent is added to the layout, it would be very 
> bad to have scaled images with controls in the user interface and the HTML 
> content being weirdly sized.
> It would be not a professional or acceptable result, according to me.
> Furthermore my app has very different outcomes according to the device it 
> is run on, like an old iPad or the newest iPad Pro.
>
> As I said before I test on real iOS device, because I have mainly to check 
> out possible CN1 issues.
>
> But it is not a realistic scenario that one person or company has one iPad 
> and one iPhone to perform tests and screenshots, while they have no Mac.
> Rather they have a lot of Java code to be reused, this I aknowledge is a 
> good reason to use CN1, not only not having a Mac.
> Or they believed CN1 relieved them from Apple stuff completey, that is no 
> true as far as I learned.
> Regards
>
> Il giorno domenica 18 aprile 2021 alle 04:11:07 UTC+2 Shai Almog ha 
> scritto:
>
>> No. That is no longer true. They need one screenshot which they adapt.
>> Furthermore, there are tools out there that take screenshots and adapt 
>> them to size/skin to fit in stores.
>>
>> Working on an app without trying it on an actual device is a mistake. Our 
>> purpose isn't to remove the need to use Apple devices. We let you avoid 
>> using a Mac (although I personally use a Mac) but you need the device 
>> you're building an app for. The simulator can only go so far...You need at 
>> least an iphone and an iPad when targeting iOS. 
>>
>> On Saturday, April 17, 2021 at 9:15:53 AM UTC+3 P5music wrote:
>>
>>> Every time you stress the possibility of using a real iOS device.
>>> Convince yourself instead:
>>> Apple asks for screenshots from 4 different devices at least. And if you 
>>> want screenshots with very high resolution they are the most expensive 
>>> devices from Apple.
>>> So it would be unpractical, especially for the people you are targeting 
>>> with CodenameOne, that is supposed to relieve from using Apple products and 
>>> tools, if you  ponder about that.
>>> Regards
>>>
>>> Il giorno sabato 17 aprile 2021 alle 05:42:53 UTC+2 Shai Almog ha 
>>> scritto:
>>>
>>>> Yes. That would work. Or just getting an iOS device.
>>>>
>>>> On Friday, April 16, 2021 at 9:13:10 AM UTC+3 P5music wrote:
>>>>
>>>>> OK
>>>>> So the only way is to create Android avds with the same resolution of 
>>>>> iOS devices to make screenshots or just the BC part.
>>>>> Regards 
>>>>>
>>>>> Il giorno venerdì 16 aprile 2021 alle 05:55:04 UTC+2 Shai Almog ha 
>>>>> scritto:
>>>>>
>>>>>> Screenshots of native widgets such as browser component have always 
>>>>>> been an issue in Codename One. We tried repeatedly to fix that but it 
>>>>>> relates to core problems in Java SE. If you need native widgets in the 
>>>>>> shot 
>>>>>> the only way to get a screenshot is on the device.
>>>>>>
>>>>>> On Thursday, April 15, 2021 at 5:50:34 PM UTC+3 P5music wrote:
>>>>>>
>>>>>>> Would it be possible to have a modification of the simulator 
>>>>>>> behaviour about the screenshot taking procedure?
>>>>>>> What is certainly needed by developers who have BrowserComponents in 
>>>>>>> their app's layout is being able to have screenshots with correct dpi 
>>>>>>> of 
>>>>>>> the BC.
>>>>>>>
>>>>>>> At present time it is not possible to set the simulator window at 
>>>>>>> exact device pixel width/height, even "zoom" state is not guarantee of 
>>>>>>> exact pixel measure, I do not know why. 
>>>>>>> Furthermore, I see that when taking the screenshot the size changes 
>>>>>>> just for a moment while the BC is not proportionated.
>>>>>>>
>>>>>>> I could resort to sizing the simulator window up to a value in cm's 
>>>>>>> that corresponds to official device physical size, being that the BC 
>>>>>>> will 
>>>>>>> be faithful to cm size on screen, it is native on Window, like on the 
>>>>>>> devices.
>>>>>>>
>>>>>>> At present time I can just set the size of the simulator window
>>>>>>> and
>>>>>>> take a screenshot by myself on Windows screen, not using the 
>>>>>>> function of the simulator itself.
>>>>>>> But this could be not possible, I have yet to check with third party 
>>>>>>> utilities
>>>>>>> because the MS utility cannot take all the area if it exceeds the 
>>>>>>> screen dimensions,
>>>>>>> like it happens with iPhoneX skin in portrait mode.
>>>>>>>
>>>>>>> So it is a suggestion or a request, I do not know.
>>>>>>> Regards
>>>>>>>
>>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/74141e7f-ea52-49e3-a6f9-99daddef913dn%40googlegroups.com.

Reply via email to