Dynamically updating Midlets

Hi,
I have made a Midlet which displays images on the mobile phone.(Packed the images into the Jar file)
I want to dynamically update the images often.
Is there an option of dynamically updating the images, when the application is live on the mobile?
Note: Actually what the application I have in mind is that when the user opens up the application, it should check the server and download the latest images and display it. And on future also it should display the latest images which were downloaded from the server to the mobile in the previous attempts, until the new images gets updated on the server. If the images in the server and jar file are the same then it should go with the images which are in the jar file.
Please provide any help on the above.

You can use the RMS to save your images.

Similar Messages

  • Dynamic Updation!!!!

    Hi All,
    I am new to j2me and i have some basic query..plz help me!!!
    In J2ME Can we install a jar file into lib folder of an existing application(Dynamic Updation).
    Say we have an application that provides encryption facility using an algorithm that was available at the time of application developemnt.But Now we have a much better algorithm so i want provide my customer this new algorithm.So that i will pack this new set of algorithm in a jar file and install it into the lib folder of my already existing application.My Application will check the presence of this new jar file and will start using it. Is this possible in j2me?
    Thanks in Advance
    Ravi

    You cannot do that. A midlet can only be stored in a singe Jar file. If you update, you'll have to update the complete midlet. You could do that using OTA, but I don't know if that is widely supported.

  • How can i dynamically update a table in my program?

    Hi there!
    I would like to know if anyone can assist me with advice on how to dynamically update
    a table within my program, with new values from the database?
    Thanking You all.

    Add rows to its model.
    Kind regards,
    Levi

  • Dynamic update of safety stock in SAP R/3 systems (ECC 5.0 version)

    Hi Friends,
    Forgive my newness to SAP. Let me explain the problem i am facing in SAP. I want to identify the parameters to dynamically update the finished goods safety stock for each depot by SKU wise.
    Current process :- Safety stock is calculated manually and updated by using Transaction code MS02 in the system.
    It would be highly useful if i know the flow in SAP system and how the current process can be changed?
    If more info is required i'm ready to give.
    Thanks in advance

    Hi Mario Adler,
    Thanks a ton for ur answer.
    Will it update safety stock for finished goods in each depot by SKU wise? Raw material safety stock isn't my concern.
    project description :  Manufacturer of chemical goods , 70+ products,350 skus
    Distribution : factory to depot (bulk volume)
                          Mother go-down to depot(Stock transfer)
                         No of depots :33,factory:3,mother go-down -1
    Sales forecasting is done in excel for every month and updated to SAP via  BAPI. After that DRP,MRP and other runs takes place.
    What are all the areas i need to touch in to get the parameters to update the safety stock?
    Regards
    Arasu
    Edited by: Arasu_IIM on Apr 26, 2011 12:52 PM

  • How to dynamically update columns in a where clause to a SQL query in OSB?

    Hi Gurus,
    I have a requirement where in we need to dynamically update a where clause to a SQL query in OSB(11.1.1.6.0).
    For example:
    If the JCA sql string is "select * from emp where emp_id = 100 and emp_status ='Permanent'" now i want to change this where clause and the new query has to be like "select * from emp where emp_name like 'S%' and emp_dept like 'IT' ". basically we need to change the where clause dynamically.
    We can also use "fn-bea:execute-sql()" in a xquery but I don't want to use this function as creates a new connection.
    I have done some home work and found out --> as per the DOC "http://docs.oracle.com/cd/E23943_01/dev.1111/e15866/jca.htm#OSBDV943" section: "25.5.2 JCA Transport Configuration for Proxy and Business Services", when a business service is created by using JCA, we can see Interaction Spec Properties under JCA Transport Tab. This will have a property "SqlString' and we can over ride it. But I am unable to figure out how to over ride the value. I have tried by using Transport Headers activity but no luck. Please guide me how to achieve this?
    Thanks in advance
    Surya

    I solved my problem.
    In my header renderer, I simply added a line to set the text to the object value "label.setText( (String) value );" (where label is an instance of a JLabel.
    Thank you to who took some time to think about it.
    Marc

  • Please help! Ipod not dynamically updating smart playlists!

    I have quite a complex system of smart playlists on my 4G color ipod but I can't get any of them to update dynamically away from the computer. I have a total of 6 and here are their preferences:
    SPL 1:
    match ALL
    1) My rating is in the range 4-5 stars
    2) Last played is not in the last 1 day
    3) Last skipped is not in the last 1 day
    4) Playcount is less than 5
    limit to 100 by most recently added
    SPL 2:
    match ALL
    1) My rating is in the range 0-3 stars
    2) Last played is not in the last 1 day
    3) Last skipped is not in the last 1 day
    4) Playcount is less than 4
    limit to 55 songs by most recently added
    SPL 3:
    match ALL
    1) My rating is in the range 3-5 stars
    2) Last played is not in the last 1 day
    3) Last skipped is not in the last 1 day
    4) Playcount is greater than 5
    limit to 30 songs by random
    SPL 4:
    match ALL
    1) Last played is not in the last 1 day
    2, 3, 4) Playlist is not SPL 1, SPL 2, or SPL 3
    limit to 15 songs by random
    Unwanted:
    match ANY
    1) Time is greater than 15 minutes
    2) Genre is Comedy
    The active playlist that I use to listen to:
    match ANY
    1-4) Playlist is SPL 1, SPL 2, SPL 3, or SPL 4
    5) Playlist is not Unwanted
    So here's the problem. When I sync with my computer, the playlists work great, everything updates as expected and I get a pretty diverse playlist every time I sync which I want. The problem is that while I'm listening to my music on the ipod away from the computer, my playlists don't dynamically update. After I listen to a song, the song's supposed to remove itself from the playlist which doesn't happen, as well as when I skip songs. Even when I rate songs that aren't rated they don't appear in any playlist. This is really frustrating and I can't find a solution anywhere and yes, I do have Live Updating selected. I also have "Match only checked items" selected on all playlists as well. If anyone has any ideas for how to fix this, I would love to know. Thanks!

    I was searching this forum and found someone who says that 4th gen ipods have problems live updating smart playlists if the criteria "last skipped" is on the playlist. I took this off of all of my playlists but they still don't work. Then I tried making a playlist that is just "rating is equal to 5 stars" and it WORKS!!! But that doesn't help me out much for my other playlists so maybe it's some other criteria that's causing the problem. Any ideas?

  • Dynamically Updating Content Server Portlets

    [urlHi, I am currently having difficulty dynamically updating content server portlets.  I have a portlet of the following form:[/url]
    ArticleName Author Title Date mystory author1 title1 04/05/01
    story2 author2 title2 06/07/04
    story author3 title3 01/02/03
    So I have this table where each one of the line items is an article in the content server. So, for example the first line item is an article "mystory" by "author1", with title "title1" and date "04/05/01" additionally there is an article text field, but this isn't displayed unless I click on the article name.
    I can set up the basics of this portlet, but when I try to add any real functionality I run into one of two problems.
    First Problem: Passing Information
    I cannot find a way to pass information between content portlets. For instance, if the user would like to "re-sort" this table based on "date", I would like to have the user click on the "date" column heading and then reload the page. To do so, I would have to pass the section name back to the page so that it could resort based on this data. I have not found anyway to effectively pass information to a content server portlet. I am building these pages through use of the presentation template framework (so I can have access to the content items) but that seems to change the way portlets are handled.
    I got around this limitation with a regular portlet by creating an intermediary page which captures passed information and stores it to the session state. Once the information was in the session state, it is accessible to the portlet on the first page. However, this only works because remote portlets do not change their session id once loaded. Content Server portlets, on the other hand, change their session id after every reload of the browser or page change. I can send information from a content server portlet to an intermediary page, but I cannot send it back to the portlet because the session id has changed so I have no idea of knowing where to send the information. I can write it to a session state, but by the time I return to the portal page, the content server has changed its session id so it does not know where to look any longer.
    I suppose it would be possible to create an application state variable and append it with some static token (if there is some static variable per portal session) but I would rather not have to deal with application variables if at all possible.
    Second Problem: Dynamically Updating PCS Tags
    Even if I were able to the pass information back to my content server portlet, I run into another issue. The easiest way to sort content server items is using the filter command in the pcs:foreach tag. So, if I wanted to sort by author name, I could do something like the following <pcs:foreach var="item" expr="filter(folderByName('content'), filtered.name == '"name")" or something like that (the syntax may be incorrect, I just wrote this off the top of my head). However, it appears that the way the presentation templates are compiled goes in the order of PCS tags THEN JSP. So I would have no way of dynamically changing the variable on which I sort. For example, if I clicked on "Date" above in my table, I would like to be able to dynamically change my code so that I sort on date, and not name. I cannot find a solution to this problem.
    My workaround is to use the pcs tags to write out all the possible sortings to java array objects. This gives me access to the data on a JSP level and based on whatever the user will chose, I could then display that array. While this works, it is extremely ghetto and inefficient. Any help or suggestions would be fantastic.
    Thanks a lot,
    Jason Grauel

    You can use just about any javascript you want in any Content Server presentation template including ones that are used for portlets.
    However, you should be careful to name javascript functions and global variables uniquely so that they do not conflict with any other javascript on the page. To do this, you can append the item id to function and variable names, for example,
    function doSomething<pcs:value expr="pcs_id"></pcs:value>() {
    return true;
    Randy

  • Problem with Dynamic Update in Humax MHP STB.

    Anyone encounters this problem b4?
    The dynamic update funtion of my app works well on other STB, except Humax, no update is reflected.
    I really don't know what to do to made it works now. Anyone can give a hint?
    What I can think of is implementing a Thread which keeps track of dynamic content. However, I can't think of the way to do it properly...

    Anyone encounters this problem b4?
    The dynamic update funtion of my app works well on other STB, except Humax, no update is reflected.
    I really don't know what to do to made it works now. Anyone can give a hint?
    What I can think of is implementing a Thread which keeps track of dynamic content. However, I can't think of the way to do it properly...

  • HTTPS, DNS and dynamically updating DNS records

    Hello to you all, if you are able to help with a DNS problem that I'm having then please accept my thanks and appreciation in advance.
    First some background information, I recently  moved my server from my studio to my house where a new purpose built studio will soon be erected. At my old studio any requests for myurl.com came in via the IP (whether that be http, https, ftp etc) from the domain registrar and the router would send the request to the relevant port number whether that be 80 for http or 443 for https etc and all was well as this location had a fixed IP address. Unfortunately at my new location whilst I have a much faster connection I do not have a fixed IP. To get around this I have the following set up (not ideal for a business I know but perfectly OK for home hosting); I set up two psuedo nameservers at no-ip.com (ns1myurl.com and ns2myurl.com) which tracks the changes in my IP address and updates its records accordingly, my registrar then sends any requests to these 'nameservers' and no-ip then forwards it on to my server. So far so good.
    The problem arises once the requests get to my server, whilst I have DNS set up, I can only recieve requests from a straight request to the server ie myurl.com will display the site without any problem, but if I then put a www in front of that or try to access the https part of my site (which is set up as a seperate site on the same server) then the server throws an error. I have tried to put an alias (CNAME) into the zone but it does not want to resolve the request. I have searched around but to no avail, I am totally new to DNS so am currently on a steep learning curve and fumbling around in the dark.
    The first thing that I need to get working is the request to be resolved correctly and then (and this is where the real fun starts!) is to dynamically update the IP in the DNS records as the IP changes. I will probably have to get help in on this as I understand that this requires BIND of which I know nothing about, first though I'd like to get the pages to be served up correctly. Advice, hints, tips or links to tutorials all greatly appreciated. Full set up listed below.
    Many thanks, David.
    Xserve PPC G5 running 10.5.8 unlimited set up as standalone OD master
    Xraid
    APC UPS
    CradlePoint MBR1200 Gateway router which acts as the DHCP
    http://myurl.com and https://myurl.com set up as 2 seperate sites and located on the Xraid
    Current DNS setup:
    Primary Zone name: myurl.com with nameservers ns1myurl.no-ip.info and ns2myurl.no-ip.info and allow zone transfers in checked
    Then
    Name
    Type
    Value
    myurl.com
    Primary Zone
            ns1myurl.no-ip.info
            Machine
    12.34.56.78 (external IP)
            ns2myurl.no-ip.info
            Machine
    12.34.56.78 (external IP)
            myurl.com.
            Machine
    12.34.56.78 (external IP)
            www.myurl.com.
            Alias
    myurl.com.
    With the reverse zone looking thus with allow zone transfers being checked
    Name
    Type
    Value
    56.34.12.in-addr.arpa.
    Reverse Zone
            12.34.56.78
            Reverse mapping
            myurl.com.

    Thanks for the reply Camelot, that part though I had already figured out. I now have this working, all I did was change the external IP to the internal one of the server with resolves with the .local machine name and all is working just fine (for now!). As long as I have primary zones set for each site and any alias or services set up on them then everything works well.. The real test will be when my ISP changes the IP, whilst my tests have proved successful the proof will be when they update the address.
    Thanks anyway. David.

  • Dynamic UPDATE statement with parameters for column names.

    Hello,
    On this* website I read "The SQL string can contain placeholders for bind arguments, but bind values cannot be used to pass in the names of schema objects (table or column names). You may pass in numeric, date, and string expressions, but not a BOOLEAN or NULL literal value"
    On the other hand, in this Re: execute immediate with dynamic column name update and many other
    posts people use EXECUTE IMMEDIATE to create a dynamic UPDATE statement.
    dynSQL:='UPDATE CO_STAT2 CO SET CO.'||P_ENT_B_G_NAME||' = '||P_ENT_E_G_WE||'
    WHERE ST IN
    (SELECT ST FROM STG_CO_STAT2_TEST CO WHERE
    '||P_ST||' = CO.ST AND
    CO.'||P_ENT_E_G_NAME||' > '||P_ENT_E_G_WE||' AND
    CO.'||P_ENT_B_G_NAME||' < '||P_ENT_E_G_WE||');';
    EXECUTE IMMEDIATE dynSQL ;
    Since this statement is part of a Stored Procedure, I wont see the exact error but just get a ORA-06512.
    The compiling works fine and I use Oracle 11g.
    http://psoug.org/definition/EXECUTE_IMMEDIATE.htm

    OK I extracted from all of your posts so far that I have to use "bind-variables with :"
    From all the other tuorials and forums posts, I assume using the pipe is correct so I added those as well into the script:
    set serveroutput on format wraped;
    DECLARE
    dynSQL VARCHAR2(5000);
    P_ENT_E_G_NAME VARCHAR2 (100) :='test1'; P_ENT_E_G_WE VARCHAR2 (100) :='01.02.2012'; P_ENT_B_G_NAME VARCHAR2 (100) :='01.01.2012';
    P_ST                VARCHAR2 (100) :='32132';
    BEGIN
    dynSQL:= 'UPDATE CO_STAT2 CO SET CO.'||:P_ENT_B_G_NAME||' = '||:P_ENT_E_G_WE||'
                  WHERE ST IN (SELECT ST FROM STG_CO_STAT2_TEST CO WHERE
                  '||:P_ST||'                           = CO.ST                  AND
                  CO.'||:P_ENT_E_G_NAME||'     > '||:P_ENT_E_G_WE||' AND
                  CO.'||:P_ENT_B_G_NAME||'    
    < '||:P_ENT_E_G_WE||')';
    --this is somehow missing after the last < '||:P_ENT_E_G_WE||')';
    dbms_output.enable;
    dbms_output.put(dynSQL);
    --EXECUTE IMMEDIATE dynSQL;    
    END;Problem:I think I figured it out, the dates that I parse into the query need additional '

  • Stop dynamic updating of ldap from radius

    We use iPlanet v.4.12 ldap server with radius extensions. At some point in time we have started dynamic updating of the ldap server with session information from the radius server and now I can't find out how to turn off this dynamic updating. I have removed the check mark beside Dynamic accounting in the console configuration page for the radius server, but am still getting the following error messages by the thousand
    [18/Dec/2002:17:39:13 +0100] - add value for type dynamicipaddress failed: duplicate value
    [18/Dec/2002:17:39:13 +0100] - add value for type dynamicsessionid failed: duplicate value
    Can anyone give me a detailed method of turning off this feature please.
    TIA
    James

    Solved this.
    When you turn off dynamic accounting in the console, the schema is changed from Dynamic=yes to Dynamic=false. I went in and manually adjusted the schema to Dynamic=no and dynamic accounting was finally turned off.
    Just in case anyone else has the same problem.
    mvh/regards
    James

  • How to generate a dynamic update query to update error flag in a mapping?

    i have a mapping in which i m loading log table through generated parameter file.But i want to update the error flag using dynamic update query.for that i have to generate a query and use update sqloverridw in target instances.but i m not getting how to implement it.Please help..!!

    Hi  All, I have a scenario. Below is the source record. field1|field2|field3|field4|field5|field6|field7
    5|20150329|1|980100001|500|My name is Lalita|25
    5|20150329|1|303444442|200|My name is |Lalita.I work in TCS|26
    5|20150329|1|442101001|1000|My name is Lalita.I worked Syntel|56
    5|20150329|1|446788900|300|My name|67  My source file is | separator. But for field6 the data might come with '|'.
    So I want to import the data along with '|' after separating all field in Informatica Layer.  Source team is not going to preformat the file. Please suggest how to achive this.

  • Dynamically update grouping of store items - Sencha Touch

    how can I dynamically update grouping of store items? Please help

    Please follow the steps:
    set gouper again,
    store.setGrouper({
        groupFn : function(record) {
            return record.get('fieldname');
    Gracie

  • Dynamic Update in real time with slider control

    We have requirements to display complex data in a graphical format. So far this has gone well by leveraging ADF and DVT components (dvt:Map, dvt:gauge, dvt:bargraph, af:tables, af:inputNumberSlider, etc.); however, we recently have been asked to add real-time animation of these controls over time. In brief, the user requires the ability to control the on-screen visualization of data by sliding the control on an af:inputNumberSlider (or equivalent) that represents a multi-month time scale. While sliding this control, the user expects to see the data visualization controls dynamically update in real time, keeping up with the rate at which the user moves the slider control. Think of this like a flip book animation where the slider controls the page the user is looking at and they can flip through the pages forwards or backwards at any desired speed. The time slider increments are one hour.
    Our current application architecture:
    Oracle ADF Fusion Web Application (v 11.1.1.5)
    EJB 3.0
    Eclipselink
    Oracle 11g
    Any kind of help is highly appreciated.
    Thanks,
    Mehabub

    Hi,
    the af:inputNumberSlider does not provide this functionality. Your alternative is a custom component (or any component that raises a client JS event) and call an af:serverListener in a custom event to send the notification to the server.
    Frank

  • Dynamic update to TextArea?

    Heres a brief scenario
    Stage - Scene has 2 component -
    JTextArea - its text variable is binded to *'textAreaContent'*
    Button.
    On click of a button (onMouseClicked) - I am performing a FTP process - lets say that takes upto 10 seconds.
    during this FTP process - I constantly add log information to *'textAreaContent'* - which is expected to update JTextArea since it is binded.
    But JTextArea is only updated in one shot after completion of onMouseClicked method.
    but i want to show data in JTextArea everytime *'textAreaContent' is updated
    any ideas?

    I did resolve my issue after lots of hours of research.
    Just wanted to post this, if somebody has a better solution or someone might need this.
    Basically Event Dispatch Thread - EDT - was not letting me update any element in GUI dynamically. It would update at the end of the EDT process.
    After reading around few pages of threading in Swing - since javafx is like swing - a single threaded application. I bumped into SwingWorker.
    SwingWorker is used for any background process. And allows dynamic update to GUI element.
    Heres my TaskJava class which extends SwingWorker and is called from EDT
    EDT - onMouseClicked()
    var task = new UploadTask( textArea); - // Here a swing thread is spooned, but i am passing the instance of JTextAreaTaskJava
    package SwingWokerTask
    * @author Abhishek
    public class UploadTask extends SwingWorker<String, String> {
        private JTextArea textArea;
        // A calling application must pass a JTextArea
        public UploadTask(JTextArea textArea) {
            this.textArea = textArea;
        @Override
        protected String doInBackground() throws FTPException, IOException {
            publish("Getting Ready to upload files"); // public will invoke process - which will be update JtextArea
               Thread.sleep(1000);
                publish("Categories retrieved from Cache.");
               Thread.sleep(1000);
                publish("FTP Connection established");
               Thread.sleep(1000);
                publish("Entered incoming folder");
               Thread.sleep(1000);
                publish("--------------------------------");
               Thread.sleep(1000);
            return null;
        @Override
        protected void done() {
            if (isCancelled())
                publish("Cancelled !");
                else
            publish("Done !");
        @Override
        protected void process(List<String> strings) {
            StringBuilder strBuilder = new StringBuilder();
            for (String str : strings) {
                    strBuilder.append(str).append('\n');
            textArea.append(strBuilder.toString());
    }

Maybe you are looking for