How to show different size of custom fonts on different mobiles

I am currently working on a J2ME project on which we are using low level API. We want to display custom fonts on mobiles and we want to show different size of fonts according tot he resolution and screen density of mobile screen resolution is provide by J2ME but screen density is not provided is there any way to calculate screen density using WURLF, Or any other third party api or JSR.

See RAS samples [here|https://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples]. Look for "NET-CS2003_RAS-Managed_BE115_Add_Image" or "NET-VB2003_RAS-Managed_BE115_Add_Image-From-File".
Ludek

Similar Messages

  • How to show a data in Higher fonts with write statement

    Hi.
    how to show a data in Higher fonts with write statement
    I want to show a statement in large fonts with write statement.How can I do that.
    write : 'Company Address'.
    Regards
    Mave

    Mave,
      I would precribe you to use the FORMAT options available with the WRITE Statement.
    Because this allows us to differentitate between the HEADIngs and the LINEs in the report.
    Here u go dear:
      http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9e7135c111d1829f0000e829fbfe/frameset.htm
    Thanks
    Kam

  • How to show different Look & Feel to different users?

    Hi,
    how to show different Look & Feel to different users?
    Thanks & Regards,
    Venu--

    If you want the user to select then LookAndFeel then Visitor Tools.
    If you want to use code and dynamically change it then http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/javadoc/index.html?com/bea/netuix/laf/PortalLookAndFeel.html
    if you have only a few combinations then you could even create different desktops and direct the user to the appropriate url

  • How do I change size of default fonts on OS X 10.9.4?

    How do I change size of default fonts on OS X 10.9.4?

    CS4 does run on Mavericks. The 150:30 error means licensing broke.
    Two ways to fix this: If you are used to the Terminal app, you download the license recovery package and following instructions carefully, you use the python script in the package.  Error "Licensing has stopped working"  | Mac OS
    I've done this and it works.
    If for some reason it doesn't, reinstall CS4 from your discs, or download the CS4 installer here.
    http://helpx.adobe.com/creative-suite/kb/cs4-product-downloads.html
    Have your serial number ready.
    Gene

  • How to Show ActionScript Graphics based Spinner on Flex or mobile application ?

    How to Show ActionScript Graphics based Spinner on Flex or mobile application
    Solution:

    Check out the BusyIndicator component introduced in Flex 4.5:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark">
        <s:BusyIndicator />
    </s:Application>

  • How to increase the size of the fonts for file, bookmarks and all toolbars in firefox 4.01

    how can i increase the size of the fonts such as file, bookmarks,tools,etc and all toolbars

    Try this extension:
    *Theme Font & Size Changer: https://addons.mozilla.org/firefox/addon/theme-font-size-changer/

  • How to show embedded and not embedded font in TextField at the same time?

    Hi guys,
    I need to show embedded and not embedded font in my TextField at the same time. TextField has embedFonts = true and isHTML = true.
    Any ideas?

    Two different font won't work for me because I need to support all UTF glyphs.
    Idea with two TextFields one on top of other seems to be working. The only problem I see here - if half string is Chinese and hand Latin - then it will be quite problematic to properly position text...

  • How to Show Different set of  Blob images in every page

    Hi i am using Crystal Report Server XI RAS Embedded Edition to built Dynamic Reports.
    Now i  have two datasets
    1. Main query with imageid field
    2. list of image blobs.
    this two datasets are linked with imageid  field and binded to ReportClientDocument.
    i have to show different image fields in every page of the report.  this images are differ in width and heights.
    i am able to show a single constant image field object from blob database field.
    but i could not able to find the solution to show different set of multiple images in different pages of the report.
    is there any formulas can be written or kindy give me a solution to achieve this.
    Regards,
    Padmanaban V
    Edited by: Padmanaban Viswanathan on Mar 15, 2010 11:59 AM

    See RAS samples [here|https://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples]. Look for "NET-CS2003_RAS-Managed_BE115_Add_Image" or "NET-VB2003_RAS-Managed_BE115_Add_Image-From-File".
    Ludek

  • How to change the Size of the font of the JDeveloper IDE

    First of all, this question does not concern the code editor.
    How to change the font for the editor is clear, well documented in the documentation as well as in many of this forums threads.
    My question is how the font of all the IDE components can be increased.
    Is some threads I found to change the font size in the ide.properties file.
    I tried that solution but it does not bring any solution.
    I'm a person with low vision, using a MB Pro with OS X lion just for overall better visibility.
    Talking to a lot of people, who have good vision capabilities, it seems that even a lot of people suffer from the fonts which are to small.
    So ... is it possible to document clearly where to do what and in what versions of JDeveloper.
    I've not yet discovered if any kind of skin settings can be applied ... but this would be great, surely if some kind of predefined bigger fonts would be available.
    Currently I'm using version 11.1.2 and 11.1.1.5.
    Help would be dearly appreciated.
    Greetings,
    Jan.

    Did you close JDeveloper and re-open again after making the changes in ide.properties?
    If changing the ide.properties does not work.
    Try this:
    Go to 'Tools' Menu and select 'Preferences' Sub menu:
    Select ''Code Editor" and select "Fonts"
    Set the options for font-size as in screenshot:
    http://adfsampleapplications.googlecode.com/svn/trunk/images/FontChange.png
    Thanks,
    Navaneeth

  • How to show different JTable without flickering JFrame?

    I write a simple application with 2 different tables. if user clicks "1" button, the frame will display table 1. else frame display table2. at the moment the code is like:
         JPanel panel1 = new JPanel();     
         ......//make the panel1 contains 2 buttons
         JPanel panel2 = new JPanel();
          ......//make the panel2 contains one table
         JFrame frame = new JFrame();     
         frame.getContentPane().add(panel1,BorderLayout.NORTH);
         frame.getContentPane().add(panel2,BorderLayout.CENTER);
         frame.setSize(700,500); frame.setLocatio(50,25);
         frame.setVisible(true);in ActionPerformed() method, the code is like:
          if (e.getActionCommand().equals("1")) {
              panel2 = new JPanel();
               ......//make the panel contains table1    
              frame.setVisible(false);
              frame.getContentPane().add(panel2, BorderLayout.CENTER);
              frame.setSize(700,500); frame.setLocatio(50,25);
              frame.setVisible(true);
           } else {  
               ...//do same thing with table2
           }there are 2 problems:
    1. every time the frame will flush once if user clicks one button. how to make the frame only change the panel which contains new table but not the button panel?
    2. about size: the user may resize the frame by draging one border of the frame. but the new frame always gets a fixed size. how to make the frame get the size the user adjusted?
    Maybe solve the first problem can automatically finish the second problem. but I don't know how to do.
    Thanks for any help.

    I post the same question twice yesterday but receive no answer. I think it should be straight-forward if you know. Is it really that difficult? I need help!
    Thanks.

  • How to set the size of a Font in Pixel?

    Hi,
    i know how to get the screen resolution of the current monitor and I know how to use Fonts (and I know how to read the API, but that didnt help).
    Is there a way to set the size (or at least the height) of a Font in pixel rather then in points?
    All I actually need is how many pixels the height of my String will be when I print it on the screen.
    I use Swing and drawString(...) to draw my String (this information shouldnt matter, but just in case).
    thanx

    Hi,
    search doc about FontMetrics, you'll find infos about how to get the font height... If I remember well, you need to get the Graphics of the component, then call getFontMetrics() or getFontMetrics(font) to obtain the metrics, then call getHeight() to know the font height...

  • How to show different types of components in acolumn of a dataTable?

    Hi All,
    Based on the conditions, I may want to show outputText field in row 1 and Link in row two for a particular column. of a dataTable.
    How can I do this??
    Thanks
    Sudhakar

    Giri I have found a way to show various components on conditional basis
    Here is the below example for that approach
    1. Create a new Project
    2. Drag a dataTable component on default page (created by creator)
    3. Remove column 3
    4. Remove dummy data from Column 2
    5. drag OutputText Object into Column2
    6. drag Image component into column 2
    7. drag checkBox component into Column 2. Now youe Page1.jsp code should look like something like Below
    <h:dataTable binding="#{Page1.dataTable1}" headerClass="list-header" id="dataTable1" rowClasses="list-row-even,list-row-odd"
                            style="left: 192px; top: 120px; position: absolute" value="#{Page1.dataTable1Model}" var="currentRow">
                            <h:column binding="#{Page1.column1}" id="column1">
                                <h:outputText binding="#{Page1.outputText1}" id="outputText1" value="#{currentRow['COLUMN1']}"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{Page1.outputText2}" id="outputText2" value="Number"/>
                                </f:facet>
                            </h:column>
                            <h:column binding="#{Page1.column2}" id="column2">
                                <f:facet name="header">
                                    <h:outputText binding="#{Page1.outputText4}" id="outputText4" value="Image/Text/CheckBox"/>
                                </f:facet>
                                <h:outputText binding="#{Page1.outputText7}" id="outputText7"/>
                                <h:graphicImage binding="#{Page1.image1}" id="image1" value="resources/prime.GIF"/>
                                <h:selectBooleanCheckbox binding="#{Page1.checkbox1}" id="checkbox1"/>
                            </h:column>
                        </h:dataTable>8. Now create a bean Called NumberBean
    9. Add properties oddRender,evenRender,primeRender of type boolean
    10.Add private method "isPrime" in Page1.java(default bean created by studio creator)
    * NumberBean.java
    * Created on July 16, 2005, 12:08 PM
    package webapplication11;
    * @author  user
    public class NumberBean {
         * Holds value of property oddRender.
        private boolean oddRender;
         * Holds value of property evenRender.
        private boolean evenRender;
         * Holds value of property primeRender.
        private boolean primeRender;
         * Holds value of property value.
        private int value;
        /** Creates a new instance of NumberBean */
        public NumberBean() {
         * Getter for property oddRender.
         * @return Value of property oddRender.
        public boolean isOddRender() {
            return this.oddRender;
         * Setter for property oddRender.
         * @param oddRender New value of property oddRender.
        public void setOddRender(boolean oddRender) {
            this.oddRender = oddRender;
         * Getter for property evenRender.
         * @return Value of property evenRender.
        public boolean isEvenRender() {
            return this.evenRender;
         * Setter for property evenRender.
         * @param evenRender New value of property evenRender.
        public void setEvenRender(boolean evenRender) {
            this.evenRender = evenRender;
         * Getter for property primeRender.
         * @return Value of property primeRender.
        public boolean isPrimeRender() {
            return this.primeRender;
         * Setter for property primeRender.
         * @param primeRender New value of property primeRender.
        public void setPrimeRender(boolean primeRender) {
            this.primeRender = primeRender;
         * Getter for property value.
         * @return Value of property value.
        public int getValue() {
            return this.value;
         * Setter for property value.
         * @param value New value of property value.
        public void setValue(int value) {
            this.value = value;
    private boolean isPrime(int prime)
            if(prime==2)
                return true;
            int factors=0;
            for(int i=1;i<=prime;i++)
                if(prime%i==0)
                    factors++;
                if(factors>2)
                    return false;
            return true;
        }11. Now add the NumberBean array as property in Page1.java
    12. You will see following methods and private variable in Page1.java file
         * Getter for property numberBeanArray.
         * @return Value of property numberBeanArray.
        public NumberBean[] getNumberBeanArray() {
            return this.numberBeanArray;
         * Setter for property numberBeanArray.
         * @param numberBean New value of property numberBeanArray.
        public void setNumberBeanArray(NumberBean[] numberBeanArray) {
            this.numberBeanArray = numberBeanArray;
         * Holds value of property numberBeanArray.
        private NumberBean[] numberBeanArray;
        13 Now modify the Constructor of Page1.java as below
             java.util.Vector results=new java.util.Vector();
                for(int i=1;i<=100;i++)
                    NumberBean bean=new NumberBean();
                    bean.setValue(i);
                    if(i%2==0)
                        bean.setEvenRender(true);
                        bean.setOddRender(false);
                    else
                        bean.setEvenRender(false);
                        bean.setOddRender(true);
                    if(isPrime(i))
                        bean.setPrimeRender(true);
                    else
                        bean.setPrimeRender(false);
              results.add(bean);
                numberBeanArray=(NumberBean[])results.toArray(new NumberBean[results.size()]);
           14. Now Change the JSP code as below
    <h:dataTable binding="#{Page1.dataTable1}" headerClass="list-header" id="dataTable1" rowClasses="list-row-even,list-row-odd"
                            style="left: 192px; top: 120px; position: absolute" value="#{Page1.numberBeanArray}" var="currentRow">
                            <h:column binding="#{Page1.column1}" id="column1">
                                <h:outputText binding="#{Page1.outputText1}" id="outputText1" value="#{currentRow['value']}"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{Page1.outputText2}" id="outputText2" value="Number"/>
                                </f:facet>
                            </h:column>
                            <h:column binding="#{Page1.column2}" id="column2">
                                <f:facet name="header">
                                    <h:outputText binding="#{Page1.outputText4}" id="outputText4" value="Image/Text/CheckBox"/>
                                </f:facet>
                                <h:outputText binding="#{Page1.outputText7}" id="outputText7" rendered="#{currentRow['oddRender']}" value="Odd Number"/>
                                <h:graphicImage binding="#{Page1.image1}" id="image1" rendered="#{currentRow['primeRender']}" value="resources/prime.GIF"/>
                                <h:selectBooleanCheckbox binding="#{Page1.checkbox1}" id="checkbox1" rendered="#{currentRow['evenRender']}" value="Even Number"/>
                            </h:column>
                        </h:dataTable>JSF model really helps in various scenarios. Only thing we need is patience, Better understanding on Framework and some Investigative knowledge. :-)
    Thanks
    Sudhakar

  • How do you set up a customized (fonts, etc.) signature for your email on the iPhone?

    I have seen some emails from business associates tha instead of "sent from my iPhone" have a signature that includes different fonts, etc. that is attached to emails going out from their iPhone. I see where you can change the email signature via the Mail, Calendars, etc., but how can you customize it?

    Hi,
    It is much easier to manage this with an app.
    There are a few apps on the store that let you send email to groups, but most will only let you send email from their own app.
    if you want to create a contact that you can use like a group (which I think is what you are describing) then our "MailShot Pro" app is the first to do this, it creates special contacts that you can use from most apps on your device. You just address your email by tapping the blue + on the To or Bcc lines and select the MailShot contact.
    You can import contacts quickly from your address book with a checklist, import whole groups at once, and add contacts manually if you wish. It is also the only way to forward email to a group, or to send to a group from Siri.
    A detailed Support Page is available, with lots of tips and tricks for using it. Pease get in touch with us if you need any help or have any questions, we are always happy to help.
    Peter
    Soluble Apps
    Disclosure: I am the developer of MailShot Pro and may benefit from its sale.

  • How To Show Different Artwork For CD With Same Name?

    In 2002, Chris Botti released a holiday CD named December. In 2006 he also released another CD named December with the only difference being track 2 (Ave Maria) & track 7 (I Really Don't Want Much For Christmas which are not included on the 2002 release. These are not additional tracks but replace 2 songs from the original 2002 release. The album art is different for both CDs. So, how can I show these two CDs with the same name and same artist but with different artwork in Cover Flow mode? Help!
    iMac G5 1.8 Ghz iMac 1.8 GHz G5 17" Mac OS X (10.4.8) 1.5 GB RAM   Mac OS X (10.4.8)  

    If you store Album artwork the way i described using Command I (get info) - then the artwork is actually EMBEDDED in each song and is carried with that song wherever it goes.. and in this case it doesnt matter if u had 3 copies of the same album - all identical. You could even save a diff image for each tarck if u wanted.
    If there is no artwork embedded, then coverflow places the image in a separate folder that is only referenced by iTunes for the whole CD.
    You also might want to turn off coverlfow and continue doing what u had been doing in the past - add you won.
    I also think i know what may be happening. You say they are identical except for track 2 - But problem is - I don't think iTunes can handle 2 identical CD's from the same artist.
    Here's an experiment:
    Goto any of the songs.... right-click and select "Show in Finder" the Finder will open and show you the song file and its location. Do you see one album once or 1 album twice?
    If you see 2 of everything, i would recommend the following:
    Rename the first album "December (2002)" and the second "December (2006)" then iTunes will definately separate them out.

  • How to show different templates in one column

    Hello friends,
    I've a data like this one:
    var aData = [
         {name: "Dente", company: "http://www.sap.com"},
         {name: "Friese",  company: "Google"},
         {name: "Mann", company: "http://www.sap.com"},
         {name: "Schutt", company: "SAP"}
    and want to be showed in the table :
         if the 'company' begin with "http" , it should be a link,
         else, shows as a text
    How to do this ?
    Could you help me ?
    Thank you
    Here is a short demo can run in https://openui5.hana.ondemand.com/#test-resources/sap/ui/table/demokit/Table.html 
    but is not completed.
    Demo for test:
    var aData = [ 
         {name: "Dente", company: "http://www.sap.com"},
         {name: "Friese",  company: "Google"},
         {name: "Mann", company: "http://www.sap.com"},
         {name: "Schutt", company: "SAP"}
    //Create an instance of the table control
    var oTable2 = new sap.ui.table.Table({
         title: "Table with fixed columns Example",
         visibleRowCount: 7,
         firstVisibleRow: 3,
         selectionMode: sap.ui.table.SelectionMode.Single,
         navigationMode: sap.ui.table.NavigationMode.Paginator,
         fixedColumnCount: 2
    //Define the columns and the control templates to be used
    oTable2.addColumn(new sap.ui.table.Column({
         label: new sap.ui.commons.Label({text: "Name"}),
         template: new sap.ui.commons.TextField().bindProperty("value", "name"),
         sortProperty: "name",
         filterProperty: "name",
         width: "200px"
    oTable2.addColumn(new sap.ui.table.Column({
         label: new sap.ui.commons.Label({text: "Company"}),
         template: new sap.ui.commons.Link().bindProperty("text", "company").bindProperty("href", "company"),
         sortProperty: "linkText",
         filterProperty: "linkText",
         width: "400px"
    //Create a model and bind the table rows to this model
    var oModel2 = new sap.ui.model.json.JSONModel();
    oModel2.setData({modelData: aData});
    oTable2.setModel(oModel2);
    oTable2.bindRows("/modelData");
    //Initially sort the table
    oTable2.sort(oTable2.getColumns()[0]);
    //Bring the table onto the UI
    oTable2.placeAt("sample2");

    HI Sihao
    will this work?
    Example
    Thanks
    -D

Maybe you are looking for

  • How can I download version 10.7 of itunes for my 10.5.8 OS X Macbook?

    I can't transfer music from my Mac OS X Macbook (which has version 10.5.8) to my new iPod touch 5th gen because it requires iTunes 10.7.  But because my computer is 10.5.8 (and can't get any updates for later versions), I don't think I can even downl

  • Still no dynamic scaling of video with QT 7.1.1

    I lost this functionality when I upgarded to 7.1 from 7.0.4 on my Dual G4 with an ATI 9800 Pro.

  • Hyperlink goes to apple's page, not one of mine

    I have a link from my home page to another page within my iweb site. but the link -- even though i've linked it to another page of mine -- always opens the apple home page. any thoughts on fixing this? thanks

  • Problem in ESS users in portal

    Hi One and All, Hope all of you doing well, I created users in R/3 and am using those in Portal. The problem is... what ever the cahnges I did through potral it is done only for sapuser even though I loged with other 2 users. I log-in with three user

  • Counting order line items in a sales cube

    Hi, How best can one generate a report against an SD cube to count the total number of order line items? Will a count ikey figure in the cube necessarily be a count of the sale order line items? What if you needed to count the orders and not the orde