Progress bar with install screen.

Hi all,
On my app I need a progress bar when I the app install some RMS records. Because of the app has near a milliom of records, this install is so longer, and I t's better show the progress of it with an bar :).
How it's possible do it?
Kind regards.

In such case i recomend writing your own LoadingCanvas or something like that (You draw a kind of rectangle which size is connected to current progress). Animating this canvas while conducting another task is a different issue. In my soft I needed to view a progress bar while downloading images and so on from net. I achived it by running one separete thread for the connection and lunching a timerTask for the canvas redraw events. In my case it worked fine almost on every device but ned Nokia E series phones had some problems in memory management of 2 paralel task so i had to remove this form my app becouse it caused instability of application.
Regards
mchmiel

Similar Messages

  • My iPhone 4s is not switching on, I connected it to itunes thru my Windows 7 laptop and it says phone needs to be restored. I clicked okay and it started the process however the progress bar with the apple logo is on the screen, progressbar do not start

    My iPhone 4s is not switching on, I connected it to itunes thru my Windows 7 laptop and it says phone needs to be restored. I clicked okay and it started the process however the progress bar with the apple logo is on the screen, progress in the bar did not start yet after 5 hours. Some one please hep me.

    I did put it in DFU mode but its still not working, although everytime it shows your iphone needs to be restored. Kindly help.

  • How to use a progress bar with java mail?

    Hi, i'm new here.
    I want if someone can recommend me how to show a progress bar with java mail.
    Because, i send a message but the screen freeze, and the progress bar never appear, after the send progress finish.
    Thanks

    So why would the code we post be any different than the code in the tutorial? Why do you think our code would be easier to understand? The tutorial contains explanations about the code.
    Did you download the code and execute it? Did it work? Then customize the code to suit your situation. We can't give you the code because we don't know exactly what you are attempting to do. We don't know how you have changed to demo code so that it no longer works. Its up to you to compare your code with the demo code to see what the difference is.

  • Progress bar with Cancel button

    Hi Gurus,
    How to implement the Progressing bar with Cancel btn using the ScriptUI?, is it possible in script UI ?
    Thanks in advance.
    Regards,
    Imagine

    what i said is that you need to hava a reference to your thread ine the class that handle the progressBar.
    and in your Thread class you create a method like setCanceled(boolean b)...
    public MyThread extends Thread{
       private boolean canceled = false;
       public void setCanceled(boolean b){
          canceled = b;
       public void run(){
          while(!canceled){
            //do your stuff

  • JavaFX progress bar with glow effect.

    I am hoping someone can help me with this issue. I recently followed James Clarke example of a progress bar with glow effect and it helped with developing a progress bar for an application I was working on. But now, with the JavaFX sdk 1.2 update, the application does not fully work anymore. The progressbar.fx code is posted below:
    ProgressBar.fx code:
    import java.lang.Math;
    import java.lang.Object;
    import javafx.animation.Interpolator;
    import javafx.animation.Timeline;
    import javafx.scene.CustomNode;
    import javafx.scene.effect.GaussianBlur;
    import javafx.scene.Group;
    import javafx.scene.Node;
    import javafx.scene.paint.Color;
    import javafx.scene.paint.Paint;
    import javafx.scene.Scene;
    import javafx.scene.shape.Ellipse;
    import javafx.scene.shape.Rectangle;
    import javafx.scene.text.Font;
    import javafx.scene.text.Text;
    import javafx.scene.text.TextOrigin;
    import javafx.stage.Stage;
    import javafx.scene.layout.Resizable;
    public class ProgressBar extends CustomNode, Resizable{
    public var min: Number;
    public var max: Number = 100.0;
    public var value: Number;
    public var background: Paint = Color.rgb(118,149,178);
    public var foreground: Paint = Color.rgb(216,219,225);
    public var font = bind Font{name: "Courier Bold Italic" size: height - borderWidth * 8};
    public var arcWidth: Number = 20;
    public var arcHeight: Number = 50;
    public var borderStroke: Color = Color.BLACK;
    public var borderWidth: Number = 1;
    public var fontPaint: Paint = Color.LIGHTGRAY;
    public var showPercentage = true;
    var progressText: Text;
    var backgroundText: Text;
    var progessBar: Rectangle;
    var range = bind Math.abs(max - min);
    var percentComplete: Number = bind if(max != 0) { (
    value - min) / max
    } // if
    else {0.0;} // else;
    var currentX = bind percentComplete * width;
    var blurX: Number = 30;
    var progressString: String = bind "%%{%.0f (percentComplete*100)}";
    var progressValue = bind "{%.2f value}";
    var progressHeight = bind height - borderWidth * 4;
    var blurAnim = Timeline {
    repeatCount: Timeline.INDEFINITE
    autoReverse: true
    keyFrames: [
    at(0s) { blurX => 0.0 }
    at(2s) { blurX =>
    currentX - progressHeight / 2 tween Interpolator.EASEBOTH }
    var playing = bind visible on replace{
    if(playing) {
    blurAnim.play();
    }else {
    blurAnim.stop();
    public override function create(): Node {
    return Group {
    content: [
    Rectangle { //background
    width: bind width
    height: bind height
    fill: bind background
    stroke: bind borderStroke
    strokeWidth: bind borderWidth
    arcWidth: bind arcWidth
    arcHeight: bind arcHeight
    cache: true
    backgroundText = Text { // Text over Background
    layoutX: bind (width - backgroundText.layoutBounds.width) / 2
    layoutY: bind (height - backgroundText.layoutBounds.height) / 2
    textOrigin: TextOrigin.TOP
    font: bind font
    fill: bind foreground
    content: bind if(showPercentage) progressString else progressValue
    cache: true
    Group {
    content: [
    progessBar = Rectangle { // Progress
    layoutX: bind borderWidth
    layoutY: bind borderWidth * 2
    width: bind currentX
    height: bind progressHeight
    fill: bind foreground
    arcWidth: bind arcWidth
    arcHeight: bind arcHeight
    Ellipse {
    centerX: bind blurX
    centerY: bind height / 2
    radiusX: bind progressHeight
    radiusY: bind progressHeight / 2
    fill: Color.rgb(255,255,255,.7)
    effect: GaussianBlur{ radius: 30
    Text { // Text Over Progress Bar, this has to be in progressBar coordinate space
    x: bind (width - backgroundText.layoutBounds.width) / 2
    y: bind (height - backgroundText.layoutBounds.height) / 2
    textOrigin: TextOrigin.TOP
    font: bind font
    fill: bind background
    content: bind if(showPercentage) progressString else progressValue
    clip: bind progessBar
    }, // Text
    ] // 2nd content
    } // 2nd Group
    ] // 1st content
    }; // 1st Group
    } // public override function create(): Node
    } // public abstract class ProgressBar extends CustomNode, Resizeable
    function run(args:String[]):Void {
    var stage: Stage = Stage {
         title: "Progress Bar"
    scene: Scene {
    width: 925
    height: 60
    content: ProgressBar {
         layoutX: 10
    layoutY: 10
    width: 890
    height: 35
    value: 80
    } // content: ProgressBar
    } // scene: Scene
    } // var stage: Stage = Stage
    } // function run(args:String[]):Void
    I use RESTful ws to get the progress of the billing run, which is the loadProgressdata() method in the main.fx, and everything was working fine until we did the javafx sdk 1.2 update. With the update in place, I recompiled the project and found that "Resizable" in
    the "public class ProgressBar extends CustomNode, Resizable" was throwing an error when the project was recompiled. I made some changes(mainly adding variables for height and width) but now when the program runs, the backing rectangle appears along with the
    percentage of billing progress, but the progress part(2nd rectangle) does not appear with the glow effect. I have read about using "getPrefWidth()" and "getPrefHeight()" methods, but not really sure how I would use them. I can't make the public class ProgressBar extends CustomNode, Resizable abstract as I need to instantiate in the Main.fx.
    Can anyone shed some light on what might need to be done to get this running correctly again. I don't need anyone the give me the exact code, but just to point me in the correct direction.

    Can you post your code again between "{ code} ... {code }" tags ? Some symbols are missing if copy/pasted.
    That said, your preferred width and height, simply return the width and height of your component. What I discovered recently is using LayoutInfo on controls to set the preferred width and height. These are the dimensions the surrounding container (VBox, HBox, Flow, ....) will use to arrange size and position of the enclosed components. So maybe you won't need Resizable any more. Simply fill in the layoutInfo property.
    Edited by: Java.Artisan on Jun 26, 2009 11:25 AM
    Edited by: Java.Artisan on Jun 26, 2009 11:26 AM

  • I have installed Angry Birds Seasons HD on my iPad. It has installed, but another icon with a full blue bar with 'installing' written below is displayed. It's not even being deleted... HELP!

    I have installed Angry Birds Seasons HD on my iPad. It has installed, but another icon with a full blue bar with 'installing' written below is displayed. It's not even being deleted... HELP!

    Repeating your question in the post doesn't fully explain what the problem is. Are you saying that you installed the game and it is trying to install again?
    Without knowing anymore than why you have posted ..... try rebooting the iPad and see if the installing resumes, the download disappears .....
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • Horizontal progress bar with interpolat​e color

    Looking for a control "horizontal progress bar" with interpolate color and markers like control "meter"

    If I get this right - you are looking for a progress bar that changes colour as the number changes. You can set the colour of the progress bar using property nodes. I have included a VI here that I used for testing this. This VI changes the colour from green to red as the progress bar advances. Colours are stored as 3 bytes: Red, Green and Blue.
    I hope that this helps.
    Rob
    Attachments:
    Changing_Progress_Bar.vi ‏27 KB

  • Black screen/progress bar with Yosemite startup

    Since installing Yosemite on my relatively new imac, when I boot up i get a black screen with the Apple logo and a progress bar, which takes about 90 seconds to load. I've tried disc first aid, verify/repair permissions etc , done a new install from my backup disc but it still persists. is this now the way of the yosemite world?
    Thanks
    Bruce

    Try booting into the Safe Mode using your normal account.  Disconnect all peripherals except those needed for the test. Shut down the computer and then power it back up after waiting 10 seconds. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear and again when you log in. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application un-installer. For each disable/delete, you will need to restart if you don’t do them all at once.
    Safe Mode - About
    Safe Mode - Yosemite

  • Progress bar at gray screen, then shuts down

    Hello. I work in a private high school and a staff member handed me his MacBook Pro (13-inch, Mid 2012). He says that in the process of doing updates (he was non-specific about what it was updating), he shut the display and now it won't ever fully boot. This is what I observe: Connect power adapter to it, confirm laptop is fully charged, press power button. At the initial gray screen, the black apple shows and a black progress bar appears at the bottom (not the spinning gear), which gets part-way through and then promptly shuts down. Sometimes it gets through the progress bar and the spinning gear for a few seconds before it shuts down.
    I've booted to the Recovery Partition and run Disk Utility on the physical volume... and the physical hard drive appears to be fine. Since I've left my external USB drive with Maverick's installed, I'll have to wait until tomorrow to attempt cloning the drive and/or pulling off a copy of the user accounts. Once I get a copy complete, I may try a full restore, but...
    In the meanwhile, does anyone have any ideas as to what might be causing this problem?
    I have seen several other related threads in these forums, but most suggest that it may be a physically damaged hard drive, which isn't appearing to be the case here (at least not yet). Another post suggested that it may be a video issue, but it boots fine into the Recovery Partition. Do you think it's possible that one of the updates was a firmware update that never got properly installed due to his shutting the display-lid? Another post suggested trying to boot in Safe Mode, but that also fails similarly.
    I'm open to ideas and suggestions.
    -- David Allie

    Here is the Apple support article regarding the symptom you describe:
    http://support.apple.com/kb/TS3148
    I trust that the data on the MBP is backed up.
    Have  you tried a safe boot?
    http://support.apple.com/kb/HT1564
    Ciao.

  • Muse progress bar says installing but it isn't

    I am trying to install Adobe muse 2014.3 on an imac running OS 7.5 Lion, but the progress bar just stays up for hours without doing anything in application manager. I did try with an older version installed and updating but the same thing happened, so I uninstalled but it hasn't changed anything, still the same lack of action. There are no error messages or timing out, what am I doing wrong? All other Adobe software I have installed has worked fine through application manager by just clicking install.

    Hello,
    Adding on to Cari's suggestions can you please confirm if you are installing Muse CC 2014.3 from Adobe Application Manager or Adobe Creative Cloud.
    In case of any confusion please  make sure you are installing it from Creative Cloud application. You can download it from the link below.
    Download Adobe Creative Cloud apps | Free Adobe CC trial
    Once installed > Sign In with Adobe Id > Go to "Apps"> Install Muse C 2014.3 from the list
    Regards
    Vivek

  • [SOLVED] No icon or progress bar with notify-osd-customizable

    Hello,
    I just reinstalled my system; I use a script to know my brightness and audio volume but I can't get it working anymore.
    With this
    notify-send 'Hello world!' -i dialog-information
    I only get the text. If I try this to have a progress bar
    notify-send 'Hello world!' -i dialog-information -h int:value:50
    I just get a notification with 1px height.
    I installed notify-osd-icons to have more icons, but it didn't help.
    The arguements have changed?
    Last edited by Dreamkey (2013-02-13 13:02:29)

    Ok, I'm not sure if it's because of that, but I installed human-icon-theme and after a reboot, it worked.

  • CS6 Installation package doesn't show a progress bar when installing?

    I'm trying to install an upgrade from CS5.5 Prod Prem to CS6 Prod Prem onto my iMac (10.9.3). I've downloaded the file twice, and tried twice to run it. The install drive will mount from the .dmg, I run it, click on "Install", a progress bar shows up that says "Initializing Installer" which takes maybe a minute or two, then that progress bar disappears and Adobe Application Manager shows up on the doc and nothing else appears to happen. The Activity Monitor does not appear to show any type of installation happening.
    How do I get this to install? Shouldn't I be seeing some kind of progress bar?

    I just remembered something else which might be helpful. We had the exact same thing happen last year when we had to re-install the Flash Player at work. It was supposedly some kind of problem with the installer not being able to function through the company's firewall, which I didn't have the access or permission to turn off or alter in any way. The only thing that worked was locating and using the full installer package.
    So... does anyone know where I could get the full installer package for CS6 Production Premium?

  • White screen and progress bar on login screen

    Hi
    I recently upgraded my Mac Air 2012 to Yosemite. That went fine with no issues. I then turned on FileVault and left the computer to encrypt and optimize the system drive overnight. I woke up this morning to find that the computer had crashed and automatically restarted sometime during the night. The FileVault screen in System Preferences says that FileVault is on for System. I am hoping that this means the the encryption and optimization process completed before the crash.
    I only ask as now, whenever I login to my Apple Air, the login screen is blank white. When I enter my password a progress bar appears beneath the password box. When this progress bar has reached its conclusion, the computer logins in to my account and I can use it without issue.
    I know that this white screen should not be there as I recently upgraded my Macbook Pro to Yosemite and activated FileVault. I can now login to that computer on a screen with a blurred image of my desktop behind it. Once the password has been entered, there is no progress bar, I am just immediately logged onto the desktop.
    Any idea what might of happened and how this can be solved?
    Ta.

    Having spoken to Jigsaw 24 Tech support have solved the problem - just needed the PRAM resetting.

  • TS3694 hi i recently updated into ios 7.0.4 now i want to fully restore my ipad to resell but when i restore it it got stuck with apple logo and progress bar with 45% completed as firware file is downloaded using ipad 4 wifi itunes 11.3.8

    hi i rescently updated my ipad 4 in ios 7.0.4 and for resell purpose i want to restore my ipad via itunes but it got stuck at apple logo and progress bar of 45% completed i tried it 50 times but it stuck on that exact point for hours i cant able to restore it and had no errors it just like freezes at one point i also uses dfu mode but got stuck at same problem using windows 7 32 bits itunes 11.3.8 ipad 4 wifi please help

    My iPhone 5 wouldn't start after I turned it off a few minutes after writing this. It went into recovery mode and I had no choice but to connect to iTunes on PC and restore.
    I restored to factory setting first, just to validate my phone was okay. For a second consecutive iOS update, the  iPhone 5 did not update smoothly while connected to PC and iTunes - I had to retry two times before the progress bar for the update showed. (The exact same problem with the restart occured when I updated to 7.0.4.)
    The good news is that I was ultimately able to restore the iPhone 5 to factory settings while running iOS 7.0.6. I did have a backup from about a month ago lying around and was able to successfully restore with that as well, so the damage done is almost negligible since I had my contacts, notes, mail, etc. backed up to iCloud.
    Once I completed both restores, the sync with iTunes worked fine.

  • Scale progress bar with Event.RESIZE

    Hi all,
    I am trying to create a preloader bar that goes across the whole stage. The code below works fine, except that I would also like to be able to resize the stage and have the preloader bar recognize this and change it's scaleX to accomodate the larger or smaller browser size. Does this make sense? I'm having trouble with the equation to adjust the preloader bar scaleX within the "onResizeStageLoad" function.
    function PL_LOADING(event:ProgressEvent):void {
    var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
    //Stretch the bar
    lbar.scaleX=pcent/100;
    if(pcent >=100){
    this.gotoAndStop(2);
    stage.removeEventListener(Event.RESIZE, onResizeStageLoad);
    stage.addEventListener(Event.RESIZE, onResizeStageLoad);
    function onResizeStageLoad(evt:Event):void{
    What goes in here?
    Thanks!

    Just to close this out. You need to submit the form from within the onComplete javascript. The prior version of the progress bar 'automatically' called submitFomr() when the progress bar was 100%. That is no longer true. You must explicitly call the submitForm() javascript in onComplete. Don't know if this is a bug in the new version or not? I recommend that the submitForm() be made the default function for onComplete is none is specified in the component properties.

Maybe you are looking for

  • P35 Neo 2 (MS 7345) PCI 1.0 compatible slot use a PCI-E 2.1 Graphics card ?

    A simple question I'm intending to upgrade an old Ati (AMD) Radeon x1950 Graphics Card to the latest Radeon HD 5770 for Christmas. The question is whether the Radeon HD 5770 that uses a PCI-Express 2.1 Slot is compatible with the old PCI-Express 1.0

  • March 2015 TechNet Guru Awards! See who's boss in Azure! It could be YOU!

    The results for March's TechNet Guru competition were posted! http://blogs.technet.com/b/wikininjas/archive/2015/04/17/the-microsoft-technet-guru-awards-march-2015.aspx Below is a summary of the medal winners for December. The last column being a few

  • GetURL not functioning correctly

    I have used this a billion times in flash mx 2004, but with Flash 8 it seems to be broken. I have the following on some of my buttons: on (release){ getURL("page.html", _self) What happens, however, is that a new window opens for the first button you

  • JDBC Synchronous Scenario - Receiver Adapter

    Hello All,      My scenario is I am calling a stored procedure in receiver adapter to inser/update a particular row in SQL Server DB. I am getting the following error : Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException:

  • Advantages of lips over bgp

    i want to know the advantages of using LISP over BGP? could someone explain it to me here. thanks Kashif