What are the default iPad fonts - ipad

I want to use fonts that will work on web pages viewed on all recent iPads. I found lists of fonts that come with a given version of IOS. But that's not what I want. I prefer a list of fonts that actually comes with a given iPad, not version of IOS. How to figure this out?

I always use this site to deal with fonts: http://iosfonts.com
It will help you.

I prefer a list of fonts that actually comes with a given iPad, not version of IOS. How to figure this out?
That's not how it works.
Fonts are tied to the device's operating system, not the device itself.
An iPad will have whatever fonts come with the version of iOS that is installed on it.
To see which versions of iOS are supported by which device generation, check out the iOS Version History on Wikipedia.

Related

Which BlackBerry Devices/OS to target? (July 2012)

We have a fairly simple mobile application, completed for iPhone and Android that does the following:
queries a web service to verify the user's account information
display an animation to show that the user, in fact, has a valid account
We got the application working very quickly on a PlayBook by using the Android version.
Now the customer has asked us to explore getting it to work on other BlackBerry devices.
None of us know that much about BlackBerry, and the main source for our question returned from google searches (http://us.blackberry.com/developers/choosingtargetos.jsp) comes up as 404 page.
According to this chart there is still a wide variety of devices in use. Which ones does it make sense to target?
Thanks
I had posted an answer last year about this here on stackoverflow, but as you noted, that link has recently broken.
The only thing I've found that's similar is this BlackBerry developer page. It shows, for example, that paid apps are being purchased by devices that are about 97% on OS 5.0 and above.
From what you've told me, I don't know that your app is going to be that different on different devices, aside from maybe the obvious smartphone vs. Playbook difference. Different devices certainly have different screen sizes, so you'll need to make sure your UI is coded to handle that gracefully.
If you guys are new to BlackBerry, you might want to stay away from OS < 5.0. There are some things in prior OS versions (e.g. location services / maps, browser, and networking) that are a little tough to work with, and with such a small percentage of paying customers still on OS < 5.0, it probably isn't worth it to you.
So, I guess I'm recommending that you target specific OS levels (e.g. 5.0+). That will be a bigger driver for how you build your app, than a specific set of devices. This is because each OS version adds more and better APIs to use.
Once you've decided which OS to target, then you should download the SDK for each major OS. For example, if you use the Eclipse BlackBerry plug-in, you can install the 5.0 SDK (aka component pack), the 6.0 SDK, the 7.0 and 7.1 SDK.
Once you have those SDKs installed, you'll then have a bunch of simulators (each SDK has a simulator folder). Run your app on all those simulators, and that'll probably be a good start.
Of course, there's no substitute for running on real hardware, too, but if your app does mostly standard things (not interacting with hardware sensors, just displaying web pages, and making HTTP requests), the simulators should give you a pretty good test environment. They certainly will give you all the screen size configurations.

How can I tell an Android app is aimed at tablets? Just Android version or something like iPhone/iPad

I'm building software that lists apps for users to test.
With respect to Android, how can you tell from an .apk that it is meant for Android tablets? Or does Android not make the distinction as iOS does with iPhone/iPad? I know iOS uses pixel perfect layouts (well points with retina) whereas Android uses much more of a liquid layout with much more different resolutions
I want to extract the .apk file and parse the AndroidManifest.xml file inside the .apk (yes binary format, thanks Google) and determine if an app is suitable for only Android phones and/or Android tablets
Would checking for the existence of a drawable-large folder be one way?
Or the supports-screen element?
<supports-screens
android:smallScreens="false"
android:normalScreens="false"
android:largeScreens="true"
android:xlargeScreens="true"/>
Thanks!
Correct. Android doesn't have a concept of a tablet separate from any other device. They're all Android devices that just have particular characteristics. Focus on which characteristics you're interested in, such as screen size (as you have) and OS version.
From Google guide, if you can get these elements from the manifest file, this App can be considered declaring only for tablet.
<supports-screens android:smallScreens="false"
android:normalScreens="false"
android:largeScreens="true"
android:xlargeScreens="true"
android:requiresSmallestWidthDp="600" />
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="15" />
Maybe this article can be helpful: http://developer.android.com/guide/practices/screens-distribution.html#FilteringTabletApps

Adobe Air - get device name (such as EVO, DROID X..)

I'm working in Actionscript in Adobe Air, and I want to get a device's model name, such as 'EVO' or 'DROID X'. Has anyone been able to do this? Thanks.
Capabilities.os and Capabilities.manufacturer are probably sufficient for identifying an iOS device (iPhone, iPod, iPad, as well as their generation). On Android, the platform you specified, these properties are too general. In my testing, manufacturer is "Android Linux" and os is "Linux" plus numbers indicating the exact Linux version. This is enough for your code to recognize it's running on Android but little else.
To access device name on Android, you'd need to write or find a Native Extension that returns android.os.Build.MODEL. Based on searching, no such extension exists yet.
You can try Android-Native-Device-Info it has device's brand, model, OS version and CPU, LCD Density, etc.
Take a look on Capabilities class (there are two properties os and manufacturer). I'm not sure if the device name is included in any of this.
To get these details (SSID, MAC address and device name) from iOS I found this ANE from as3 Gamegears. Github Project link.
Probably late answer but maybe others still need it. If you looking for Native Extension to get Android device info you can check this DeviceInfoANE. Feel free to use and modify!
I found it... It is here: android.os.Build.MODEL

Will Phonegap current version work on BlackBerry OS version 5?

I am new to mobile development and I was wondering if the applications I develop using phonegap will work correctly on Blackberry OS 5 since they don't support it yet. I won't need any fancy features in my app and wanted to use phonegap to develop for Android, IPhone and Blackberry. But of course I am having problems with the different versions of Blackberry OS just like everyone else.
Thanx.
I had a chance to test this once. I have put my Phonegap application on 5.0 and observed how it behaves. Application has launched properly. But i Observed following issues.
HTML5 is supported but localStorage and sessionStorage is not supported.You need to find an alternative.
HTML Page transition is too slow. End used will certainly not accept the performance.
Few jQueryMobile API's don't work.
You cannot be sure that page will be viewed same as you see in 6.0+. Few elements get distorted.
You need to test each and every UI element and see if it is working proper.For example datepicker displays date on right side of the page instead of left
Few PhoneGap API's don't work or they crash.For example API to launch camera crashes.
After observing above issues i felt that even if phonegap is supported in 5.0 it doesn't make big sense.
Yes, but to run on OS version 4.x you have to target the PhoneGap BlackBerry application, while to run on OS version 5 or 6 you need to target BlackBerry Widgets / WebWorks -- the same application may work on both if you use compatible features, but you'll need two different builds, as though they were two different kinds of phone.
Now the support for earlier versions of BlackBerry has been withdrawn from Cordova 3.0 onwards, which in turn supports BlackBerry 10 only. Refer the following link for more details.
PhoneGap - BlackBerry Support
Thanks,
prodeveloper

Install old iPhone OS on development device

I want to roll back an iPod Touch 2nd gen from the 3.0 OS to the 2.2.1 release so I can test my application on there. The documentation lists the OSes as being available on the dev center, but I'm unable to find them but for the 3.1 beta's. Did Apple just hide them where I didn't look, or are those files not available anymore, and if so, is there an alternative to rolling back the device?
I've found a site that is an interface to Apple's update feed, listing all the available firmwares for both the IPod touch and the IPhone. Using the XCode Organizer it is then possible to load new firmwares unto the development device, however, to downgrade it is necessary to put the device into DFU mode
Same question over here:
http://discussions.apple.com/thread.jspa?messageID=9655781
Basically you have to find the 2.2.1 software yourself. That's why I always keep my copies of firmwares.
The first thing to note is that rolling back to older releases is not officially supported.
Perhaps because of this, downgrading is not a simple point-and-click exercise. I found a guide here. Most of the complexity is around the iPhone baseband firmware which shouldn't be a problem with the iPod touch.
If you Google around you can usually find these.
Apple tries to hide them because they are paid updates (grr).
For iPhone users: http://www.poorlad.com/iCommunity/

Resources