How to download sources for xcode simulator - codenameone

For app distribution to app store, we need to make couple (well, lots of them) of screenshots from all types of apple devices. In native app, we do it through simulator. How can we do it with codename one? How can I download the sources required for xcode simulator? Or is there any other way, how this can this be achieved (instead of buying all types of apple devices there are of course) ?

Apple now lets you upload one image size and they will scale it for the rest. I don't recall which size, but probably the 6plus. They tell you on iTunes Connect where you create the app details. You can use the CN1 simulator to capture screenshots. Set the skin to the desired device type and press F2 to capture the screen. The screen capture will just be what is displayed on screen, but there are some tools out there to give it the look of a real device. See this blog post:
https://www.codenameone.com/blog/3-image-tools-for-app-marketing.html

Related

Naming launch images without using asset catalog

I'm working on a Universal app (my first app) that runs on both iOS 6 and 7 and I'm creating my launch images now.
I've read the Apple documentation on this area but I find I'm still confused.
For the moment, I'd like to work out how to create and link up all my launch images without using the Asset Catalog, if possible.
I've got most, but not all, of the launch images created and added into the Launch Images area of my project like so:
Portrait Non-Retina (iOS 6.1 and Prior) 768x1004 No image with correct dimensions found
Portrait Retina (iOS 6.1 and Prior) 1536x2008 No image with correct dimensions found
Landscape Non-Retina (iOS 6.1 and Prior) 1024x748 No image with correct dimensions found
Landscape Retina (iOS 6.1 and Prior) 2048x1496 No image with correct dimensions found
Portrait Non-Retina 768x1024 Default-Portrait
Portrait Retina 1536x2048 Default-Portrait#2x
Landscape Non-Retina 1024x768 Default-Landscape
Landscape Retina 2048x1536 Default-Landscape#2x
But I'm puzzled as to how to name the iPad image files that are still missing.
You will not be able to do what you are trying to do by naming alone. If you don't want to use the asset catalog (which totally solves the problem without effort, so why would you not use it????), you will have to set up the Info.plist yourself, as Apple explains here:
In iOS 7, an app can use a different launch image depending on which version of iOS it’s running in. To provide different launch images, add the UILaunchImages key to the Info.plist file and use a dictionary to describe each launch image. To learn more about handling launch images, see “App Launch (Default) Images” in iOS App Programming Guide.
I think you should find the naming conventions in the section called App Launch (Default) Images of Apples documentation for resources

How to use Speech to Text in GDK

I have a problem when using Speech to Text in GDK. Even though they said it uses Android API Level 15 when I install it onto Glass, it doesn't work, but it works on the phone.
Have you tried this or do you have any idea of implementing it on Glass
Google Glass cards interface has option "Read Aloud" and when we tap it, it works.
Should I use Mirror API or something else to do.
If your GLASS is XE8 or older you need voicesearch.apk installed in the GLASS to enable voice to text.
But if you are using XE9 or later, the feature is available. you dont have to install voicesearch.apk

Blackberry SDK 10 Simulator shortcuts

I got the simulator installed on my Mac. Not able to find the main screen once i go into some other screen. Is there something like iPhone style button to bring the device back to main screen?
This looks like a comprehensive manual: http://docs.blackberry.com/en/developers/deliverables/637/BlackBerry_Simulator_Quick_Start_Guide.pdf
Specifically, you want to look a section titled "Using the BlackBerry device simulator input controls".

Mobile Phone emulator

Is there a good all in one emulator for testing mobile websites. Just using 'media queries and need to test on predominantly iphone, blackberry, android, and windows 7 phones.
Many thanks,
C
There is no one solution that will work on all these platforms however the SDKs for all include simulators/emulators and the best part is that all but for the iPhone are free.
BlackBerry Simulators
Android Emulator
Windows Phone 7 Emulator
The iPhone SDK also includes a simulator (Mac only) but if you need to test on a PC, you can do a pretty good job using http://iphone4simulator.com/ running in Safari for Windows.
As with all simulator/emulator usage, these are good for initial testing but you need to use an actual device to get true results.
Also note that different BlackBerry devices use different default browsers. Android devices also use varying versions of WebKit so you may see some variation between actual devices which isn't shown in the emulator.
In addition to Matt's reply, I think you should also test the different browsers available for smartphones.
For example the popular Opera mobile: http://www.opera.com/mobile/demo/
You might find http://quirktools.com/screenfly/ very useful for testing mobile websites on different screen sizes. It's not as true as a native emulator, but it allows you to test several phones, tablets, etc. at one site and you don't have to install any software.
try http://www.browserstack.com/. This one is not free, but it gives a trial period of 30 minutes for each account we create
Try Mobile web browser emulator this free tools help you testing mobile websites
If you just want to simulate the mobile device user agent and screen resolutions, also check out chrome's mobile device simulator https://developer.chrome.com/devtools/docs/device-mode#enable-device-mode

Preview a document (ie. excel/pdf) designed for any Mobile phone on my desktop PC?

Is there any free software or is there anyway to preview how a document will look once on the mobile device. So for example, a rendering engine for a Blackberry or Android etc. This way I can make my documents tailored to specific devices without having the phones.
Thanks!
It would depend on the sort of document you were trying to create, and also what software on the phone is opening the document. There are a few different PDF readers on Android that I've used. On Blackberry, I believe the most common document reader is Documents to Go. In my opinion, a PDF is a terrible way to view content on a mobile device.
With that said, what I would do is download the SDKs for each of the platforms. They include an emulator that you can use that runs the OS in a virtual machine.

Resources