So are all Android apk's forced too captive runtime now?

I published my Flex app (with a linked native extension) and it was 1.5Mb. But then I upgraded my AIRSDK to 3.7 and now it's 11.7Mb?
Whoa, that's huge!
Thinking this was a Flex problem I built a simple tester AS3 app in Flash Pro, linked in my ane and tried to publish. It went away for a long time then came back with a dialog:
"The APK was packaged successfully, but a warning occurred.
Note: the AIR SDK no longer supports packaging android applications for use with the shared Runtime.
The application has been packaged with a captive Runtime."
So what gives?
And the apk was 9.3Mb.
Can I ask when this started so I know how far I need to fall back? AIR 3.5? (I know 3.4 was ok.)
Is this a permanent thing? Was it really necessary to force  all mobile apps to giant captive runtimes?

It's not compatibility with Amazon in general, it's Kindle in particular. Go to this page:
http://www.amazon.com/Adobe-Systems-AIR/dp/B004SRNH10
and on the right side it will tell you what of your devices are compatible, and it says my Kindle isn't. Also, doing a search for Adobe AIR in the store app on Kindle Fire doesn't show any matches.

Similar Messages

  • Buying a used iphone 3gs online - are all the unlocked ones jailbroken, too?

    Hey there :-)
    My iphone was stolen recently, and as I wasn't banking on having to replace it until about a year later, the replacement will need to be a used one so I don't totally blow my budget I looked locally but there's nothing interesting, so my only choice is probably going online, specifically ebay.
    Now, the issue is, I need one that's unlocked, because I won't be using it in the same country it's bought (and the odds of finding a phone locked to the specific network are slim to none). But I keep finding iphones that are marked 'unlocked and JAILBROKEN'. Trouble is, I'm not sure I want a jailbroken phone, because I've heard jailbreaking ends up causing all sorts of problems with the software, and I don't need that: I see absolutely zero benefit in sacrificing any of the reliability I've come to know and love just for the opportunity to download a bunch of potentially lower-quality apps, many of them games which I don't use anyway - not when there's so many interesting apps I can get without bending/breaking the rules (not judging those who do this, just explaining my own perspective, how it works for the kind of use I make of this).
    But most of the phones listed as 'unlocked' also have 'jailbroken' in the description. So now I'm beginning to worry that these two go hand-in-hand - like maybe, jailbreaking is a first step or something for unlocking the iphone, so that by definitiion, an unlocked iphone is also a jailbroken one. Is that the case?
    And if so, what should I pay attention to when buying so that I can minimize the chance of getting a dud? If not, can I ask one of these sellers to undo the jailbreaking somehow and just send the phone unlocked only - is that a possibility? I'm reasonably experienced buying on ebay (studying feedback, etc) but this is the first large purchase of this kind, so ANY advice you can think of for this will be very very welcome indeed

    Dave Sawyer -
    yes, unfortunately a new iPhone is completely beyond my means right now. I tried to figure it out but the money just isn't there for that kind of purchase It doesn't help that iPhones are priced at a high premium where I am - it took me a few months to save up for the one that was stolen! and worse, older model iphones don't get discounted more than a couple dozen euros at most here, and even when you can find demonstration devices, you'll be lucky to get 5% off a device that is a complete mess.
    Okay, enough wingeing I really want to thank you for the detailed post - I can honestly say you saved me a lot of grief because other advice I received was that I could buy a JB iphone and then get rid of the JB with a simple restore! Which sounds like it's definitely not the case.
    What you said confirms the wisdom of my decision to stay away from JB iPhones. They honestly sound like they are better suited to people who just like to tinker with their device, and if the tinkering interferes with the phone's reliability, that's not a big issue to them because it's used more as a toy or educational aid than a fully fledged tool, as it is for me.
    I have found a few listings for 'factory unlocked' iphones. What do you think of these? Are they legitimate? One of them seems to be from a larger business seller who sells only this type of thing, and the others are original owners (who bought them from the carrier or Apple) selling their own used phones.

  • I'm having a huge issue with itunes locating my missing files..and it's too many for me to locate 1 by 1..It says I'm missing over 3,00 songs and They are all in my music folder..What can I do to fix this issue?

    I'm having a huge issue with itunes locating my missing files..and it's too many for me to locate 1 by 1..It says I'm missing over 3,000 songs and They are all in my music folder..What can I do to fix this issue? I've looked at all the tutorials on youtube and none of it works. I recently got a new computer and I Back-Up all my music and itunes playlist and I import it on my new computer with the new itunes and I go to play a few songs, it says I'm missing them I locate a few but it's still like 3,000 missing and again they are all on the computer and in one folder..Please Help !

    I did that and nothing changed half my songs still have examination marks beside them
    I also just tried dragging my folder of music int he playlist and it duplicated all of my songs? My playlist was at 5k now it's at 10k becuz of 3 duplicates of songs. Is there a way to delete multiple duplicate files?

  • I force shutdown my MacBook Pro and when I reopened my laptop, my files and apps are all gone.

    I force shutdown my MacBook Pro by pressing the shutdown button for a long time and when I reopened my laptop, my files and apps are all gone.
    When I reopened my laptop, it said that some files have been deleted or hidden (I don't know if it said hidden, I don't remember). my dock and wallpaper were set back to default.
    This isn't my first time force shutting my MacbookPro.
    How can I restore/recover back my stuff?
    i heard time machine restores your stuff back.
    And please don't tell me to go to apple because I have made an appointment with them but I'm still worried.
    Please if you know anything about this please tell me anything you know.
    Please help me.

    Given that you sound a nervous wreck and a neophyte in matters Mac, it would be safest that you put the Mac away, go take a chill pill, grab a bite, get some rest. Then take the Mac to its scheduled appointment with Destiny, er, the Apple Genius.
    There's a good possibility of data loss and munging around unknowing, following instructions that will probably be hard to grasp will only increase the amount of damage.

  • Iphotos Package Contents: What are all these folders for? Is it too large to back up in the cloud?

    Dear experts,  I am quite a newbie when it comes to understanding the Mac filing system, as I originally came from the PC world.  There's lots of things I dont understand in the iMac file viewer and how to organise and backup my photos is an important issue for me.
    I know that if I want to look at the original photo files on my iMac, I can right-click on users/myname/pictures and select "Show Package Contents".
    Question 1 - What are all these folders for?
    Please can someone explain what is the difference between all the folders I see?  Some of them seem to be exact duplicates of the others e.g. Masters, Modified and Originals all seem to have the same content.  So here is a list of folders that I see.  What is in them?, or what is their purpose?
    Data
    Data.noindex
    Modified
    Originals
    Apple TV Photo Cache
    Attachments
    Auto Import
    Backup
    Caches
    Contents
    Database
    iLifeShared
    iPod Photo Cache
    Masters
    Previews
    ProjectCache
    Thumbnails
    Question 2 - Which photo folder should I back-up?
    If I want to keep a physical backup of my photos, which of the above folders should I copy to an external hard drive?  (I use Get Backup to automatically  copy all important new or changed files to an external drive)
    Question 3 - Using the cloud: What is the best way to backup my large photo library in the cloud safely? 
    I would like to have some kind of safe backup in the cloud for my photos.  However the size of the iphoto library is huge at 165GB.  Even the Masters folder is huge.  It is 130GB.  Is it possible to back up files of this size in the cloud?  I have a couple of services called photo streaming and Dropbox, but they don't seem to be able to handle this kind of size.  Photo streaming only works with 1000 photos (as far as I can tell), and my Dropbox probably has a limit too.  I guess it's about 5GB.  I am already using about 3GB of my Dropbox space for other files.  I would consider both paid and free solutions.
    Many thanks to all the experts for your help!

    know that if I want to look at the original photo files on my iMac, I can right-click on users/myname/pictures and select "Show Package Contents".
    Don't do that. That's like opening the hood of your car and trying to figure out what all the different bits and peices are and which you can yank out and dispose of. Simply, there are no user-serviceable parts in here.
    So, your Question 2:
    You back up the iPhoto Library as a single unit.
    Most Simple Back Up:
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex: Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically.
    Example of such apps: Chronosync - but there are many others. Search on MacUpdate or the App Store
    Your question 3:
    There is no good back up to the Cloud. There are a couple of reasons for this. One is that the datasets are so large and the cloud services shapre their download speeds. This means restoring can take days to complete. Then, and this is the big problem, the iPhoto Library needs to sit on a disk formatted Mac OS Extended (Journaled). Bluntly, no servers online are formatted appropriately, and if the Library is written to - by an incremental back up, for instance - there is a very high likelihood that the library will be corrupted.
    Your Question 1:
    The Library you're describing there sounds like one that has been updated a few times. Not everything you list there is a folder. Some will be aliases.
    The Data folders hold thumbnails.
    The Masters and Originals folders hold the files as imported from the camera
    The Previews hold the versions of the edited photos that are accessed via the Sharing mechanism.
    I think if you look losely that you'll notice that one of the Data folders and one of either the Masters or the Originals folders is actually an alias.
    Everything else is a database or cache file of some form. All are required for iPhoto to work.
    As an FYI:
    For help accessing your photos in iPhoto see this user tip:
    https://discussions.apple.com/docs/DOC-4491

  • How do I get my web pages back to original size? My fonts are all too large and keep reverting after I change them back!

    How do I get my web pages back to original size? My fonts are all too large and keep reverting after I change them back!

    That has not worked. I do it and still it reverts. Isn't there a way to tell Firefox to just go back to default settings?

  • When I back up my library, the pictures do not go to my external HD as albums/pastes, they are copied all together, so I have to arrange one by one to get all organized. It takes too long. Is there any option to organize it automatically? Thanks

    When I back up my library, the pictures do not go to my external HD as albums/pastes, they are copied all together, so I have to arrange one by one to get all organized. It takes too long. Is there any option to organize it automatically? Thanks

    If you backup correctly to a correctly formatted drive (Mac OS extended (journaled)  )then everything can be restored exactly as it was prir to the backup
    How exactly are you "backing up"?
    LN

  • I have a macbook pro 17" 2012 and the display colours are all too hard and the profile will not change it is stuck toLED Cinema display.

    I have a macbook pro 17" 2012 and the display colours are all too hard and the profile will not change it is stuck toLED Cinema display.

    Hello hbothner,
    Thanks for using Apple Support Communities.
    If you'd like to change the colors on your Mac's display, then you can calibrate your display by following the steps in the article below.
    OS X Yosemite: Calibrate your display
    Take care,
    Alex H.

  • Uploaded podcasts are all too short

    I recently bought a Nokia 6500 Slide, and am having trouble with the podcasts I have uploaded to the phone.
    Specifically, my BBC NewsPod podcasts are between 32 and 35 minutes long when I listen to them in iTunes. However, when uploaded to the phone, they are all 21 minutes and 56 seconds (exactly).
    Does anyone have any suggestions as to why this is happening?
    On a separate point, very little information about what is playing (podcasts or songs) is shown on the phone (sometimes no more than 6 or 7 letters), and never any artwork. Is this par for the course with the Nokia Music Player?
    I have a 2GB micro SD card installed, with plenty of room left on it.
    Many thanks.
    Andrew

    I forgot to mention I am running Mac OSX 10.5.6 on a white 24" iMac, with Nokia's latest software.

  • Mother Of All Android Malware

    I have been a bit busy trying to work with the real Android Devs reguarding this issue.
    Why is there nothing, (not that I looked very hard) on the verizon fourm about the recent 2 (very serious) trojans that are going around? Not even a decent mention of Droiddream, wow.
    The Android Police reported this days ago (Glad their there Verizon seems to not be worried about the fact that tens of thousands of users on their network could be infected)
    I could go on and on but, seems Verizon and the great fourm people here  are not all that worried about it, so it should be ok, right.
    (This Malware was installed via pulling apps from the market, injecting code into them and replacing them into the market.  The first of the two roots the user’s device via rageagainstthecag ,  steals nearly everything it can: product ID, model, partner provider, language, country, userID,  IMEI and IMSI.  (Most/all of the apps have been removed from the market now, new ones?)   The kicker is once this is on your system even if you remove the app.  it can still install more code..... its reported that before google could remove the malicious they had already been downloaded 50,000 times, that was a few days ago and more apps with the malicious code were released and downloaded before being removed, so the full number is unknown.  
    The second one  well its a little more complicated considering the code itself is more encrypted then Fort Knox,  what is known, well it starts a timer (what happens when that hits 0 is anyones guess).
    As bad as google has been with getting back to people who report malicious, or priated apps oddly enough today they jumped and removed hundreds of them, sounds like something has them worried.
    Hey you could be a rooted user and not even know it.
    In Verizons defence anyone who is using android 2.3 (gingerbread) is/was safe, now if you have gingerbread on your X raise your hand.........

    You got one thing right there, DJ...
    YOU DIDN"T LOOK VERY HARD...
    So what do you call this?...
    http://community.vzw.com/t5/DROID-Apps/Google-pulls-Market-apps-with-root-exploit-one-patched-in-AOSP/td-p/462512
    This was posted 3 days ago. Or did you look over it because it was posted by the guy that you were ripping over the screen issue? And there are 2 other posts asking about the need of AV programs, of which I haven't read because I know the answer (now more than ever). 
    Your post actually has some merit, it you didn't have your usual pompous, holier-than-thou attitude about it, particularly towards Verizon. That's like bashing Gateway over viruses when Microsoft is the OS maker that needs to be addressing the virus and malware issue. And what would you have Verizon do? Much like it's Microsoft's duty to send out virus alerts (oh, and you Mac people better get used to dealing with malware, too, as the popularity increases), it's Google's duty to address the issues, too.
    As for not seeing much conversation about it here, have you looked around the land lately? Middle East coming un-glued? $4.00/gallon gasoline? Food prices going out of sight? Politicians can't do anything without looking like third-graders fighting on the playground? Economy nearly comatose? Weather freaking out? The General Public has been so hammered lately that the Android virus and malware issues, while certainly a big concern to smartphone users, frankly doesn't bug me as much as spending $70.00 to fill my gas tank when it used to take $50.00.  I'll admot that it doesn't bug ME so much because I have already, for some time now, taken steps to avoid being affected (infected?) by the malware issues.
    At the same time, there are other sources of tech info that could do more to make people aware of the fact that viruses and malware are becoming a problem. Yes, a couple of well-placed stickies in the forum by the Mods would be a good idea. 
    It's good of you to want to look out for the common man's well-being, but if you continue to post in the condesending manner that is typical of your postings, you will continue to be engaged in back-and forth sniping between yourself and people like me who don't believe in putting up with bad behavior. Or better yet (or worse, depending on the point of view), totally and completely ignored by people that have more sense than either of us.  You seem to be intelligent and have good points to offer, but when people are treated like bugs to be walked on and squashed, they are going to tune out. And quickly.
    Geri "pliers in hand" O (just consider that a little tweak for when, not if, you respond to this)

  • Suddenly cant install any android apk files to Z10

    Dear all, i need help with my new Z10 which I have about one week.
    I installed some apk files via amazon store or directly from sites. I also installed some applications using Apk Extractor on my second android device and simply moved apk files via bluetooth to my BB Z10.
    Everything was fine until yesterday. 
    But suddenly I cant install any android apk files. All apk files are grayed and system reports
    " unable to open xxxx.apk file ".
    Same problem when im trying to install any apps from amazon, or snap.
    I did not apply any system update last week.  I rebooted device several times. Also my  " other sources " settings is ON.
    my SV is 10.2.1.3062
    Any idea please ?   thanks a lot
    (sorry for my english,im not a native speaker)

    I have come across this on another forum but I dont have any idea how to do this? Can someone help please?
    So resolve this TIME consuming problem, i had another look at that support page and this is what i did to fix it Thank you for your help 99jon for the link.
    Copied the elements folder to the root of the HD, then renamed the folder with the installer files contained within to c:\PSElements9Installer then ran the setup.exe as administrator and hey presto, it worked and fully completed the install grrrrr.
    Cheers people of the Digital World, ive now relieved my stress
    Was this helpful?Yes  NoSubmit
    Reply

    Mark as:
        1 posts
    11-Apr-2013
    Currently Being Moderated
    3. TangAdmin,
    11-Apr-2013 17:04   in reply to Digital Controller
    Report
        Had the same problem with PSE10 Copying it to kthe root of c and renaming it to PSElements10Installer Worked perfectly.  
    thanks to all involved
    Was this helpful?Yes  No

  • I accidently click on ''Import the list'' but now all the music have  an exclamation point I think they are all in Musique.txt on the desk... How can i take back these music on my library? I tried : Import the list and take Music.txt , but it do not work

    I accidently click on ''Import the list'' but now all the music have  an exclamation point I think they are all in Musique.txt on the desk... How can i take back these music on my library? I tried : Import the list and take Music.txt , but it do not work

    Ok, I had a glitch, forced to restart, and lost my train of thought.
    Reinstalling iTunes should fix the major issue that might have gone wrong, perhaps your explaination points will disappear and everything will be peachy again.
    But if they don't, you can open the XML file in iTunes Folder using a Text edit program to see what the common pathname is to the iTunes Music folder or where your content is located.
    If you moved the itunes folder, it needs to go back.
    I can't  download iTunes to my Vista virtual machine to test it out right now because iTunes is down, so I can't verify the pathname, perhaps your issue and the iTunes being down are related somehow?
    You don't want to import all your music again, but it's a option, but you lose all your playlists, that's what I'm trying to recover.
    If oyu don't have a whole lot of playlists, then simply select all the explaimation point music and delete, select File from the menu and import your itunes folder again.

  • My children got Itunes cards for christmas.  There devices are all on my imac.  Do they each need a separate account or is there a way to keep them all separate under one account.

    My children got Itunes cards for christmas.  There devices are all on my imac.  Do they each need a separate account or is there a way to keep them all separate under one account.

    I need an answer to this too.

  • How can I print to my HP OfficeJet 6500 Wireless Printer from my iPhone 4S which used to work before AirPrint printers were even available? (running Mac Lion OS, all software and HP sw updates are all performed)

    How can I print to my HP OfficeJet 6500 Wireless Printer from my iPhone 4S which used to work (on prior iPhones) before AirPrint printers were even available? (running Mac Lion OS, all software and HP sw updates are all performed)
    I don't get it, I read one post about why would we have to buy an AirPrint Printer when we have used the "print to a wifi printer" just fine in the past?  Yes I feel that's exactly what's happening to me now too. I want to print from my iPhone and iPad to my WiFi Printer which is also now connected to my Airport Express WiFi network just fine. No problems.

    Very glad you added that bit of information because I see different problems similar to this.  I want to share with them what you did and hopefully you not only fixed your specific problem but you can lend some more advice to others with problems like this. Thanks!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • Why are all the events in the XML SAX parser not activated?

    Hi everyone,
    I have written a mini server that parses XML files into SQL queries.
    Below is a segment of my code;
              try          {                                                       
                   Class.forName( JDBC_DRIVER );
                   myConnection = DriverManager.getConnection( DATABASE_URL, "username", "password");                                                  
                   EventXMLParser myEXP = new EventXMLParser(directory, myConnection);
                   File[] xmlFiles = directory.listFiles();
                   for (File xmlFile : xmlFiles)               {     
                        myEXP.XMLtoDB(xmlFile);
                        outWriter.println("File:" + xmlFile.getName() + " DONE");
              } catch (SQLException e)     {
                   System.err.println("SQLException for establishing connection");
                   e.printStackTrace();
              } catch (ClassNotFoundException e)     {
                   System.err.println("CLASS NOT FOUND EXCEPTION HERE");
                   e.printStackTrace();
              } catch (Exception e)     {
                   System.err.println(e);
                   e.printStackTrace();
              finally {
                   outWriter.println("PARSING COMPLETED");
                   outWriter.close();
         }Where the constructor EventXMLParser constructs the following:
         public EventXMLParser(File path, Connection connection)     {
              super();
              try     {
                   this.XMLpath = path;
                   this.db_connection = connection;
                   this.xr = XMLReaderFactory.createXMLReader();
                   this.XMLSAXhandler  = new DefaultHandler(); //create a new own handler
                   this.xr.setContentHandler(XMLSAXhandler);
                   this.xr.setErrorHandler(XMLSAXhandler);
                   //System.out.println("DEBUG: db_connection is " + db_connection.toString());
              catch (Exception e)     {
                   System.out.println("Constructor Error!");
                   e.printStackTrace();
         }Below are all my helper methods within EventXMLParser.java
         public void XMLtoDB(String XMLpath) throws Exception  {
              try     {
                   //Input
                   System.out.println("XMLpath is : " + XMLpath);
                   /*FileReader r = new FileReader(XMLpath); debug
                   InputSource in = new InputSource(r);
                   xr.parse(in);
                   xr.parse(XMLpath);
                   /* Note that while parsing, the end of each event, </event>
                    * will trigger sendSQL to execute the query on the database
              catch (Exception e)     {
                   throw new Exception("Error with XMLtoDB!! Exception: " + e);
         public void sendSQL(Event event, Connection sql_connection) throws SQLException     {
                   //JDBC part
                   try     {
                        System.err.println("DEBUG sendSQL");
                        Statement sql_statement = sql_connection.createStatement();
                        ResultSet resultSet = sql_statement.executeQuery( event.toSQL() );
                   catch (SQLException e)     {
                        e.printStackTrace();
         /* Parsing XML
          * From here onwards it's all designed for the SAX Parsing with different event calling methods
         public void startDocument()     {
              System.err.println("Start Document");
         public void endDocument()     {
              System.err.println("End Document");
         public void startElement(String uri, String name, String qName, Attributes atts)     {
              CurrentElement= name;
              System.out.println("This is parsing");
         public void characters(char ch[], int start, int length)     {
              SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
              StringBuffer sb = new StringBuffer();
              for (int i = start; i < start + length; i++)     
                   sb.append(ch);
              String content = sb.toString();
              if (CurrentElement.equals("eid"))
                   temp.setEventID( (Integer.valueOf(content)).intValue() ) ;
              else if (CurrentElement.equals("sd"))
                   temp.setShort_description(content);
              else if (CurrentElement.equals("ld"))
                   temp.setLong_description(content);
              else if ( (CurrentElement.equals("dt")))
                   temp.setDate_Time( formatter.parse(content, new ParsePosition(0)) );
              else if (CurrentElement.equals("repeat"))
                   temp.setRepeat_pattern( (Integer.valueOf(content)).intValue() );
              else if (CurrentElement.equals("valid"))
                   temp.setValid_period(content);
              else if (CurrentElement.equals("status"))     {
                   temp.setStatus( (Integer.valueOf(content)).intValue() );
              else {}
         public void endElement(String uri, String name, String qName)     {
              System.err.println("DEBUG" + temp.toString()); /*debug*/
              if (name.equals("event"))     {
                   try     {
                        /*debug*/ temp.setUserID(1);
                        /*debug*/ System.err.println("DEBUG: " + temp.toString());
                        sendSQL(temp, db_connection);
                        //temp = new Event();
                   catch (SQLException e)     {
                        System.err.println(e);
                   }//end catch
              }//end try
    Where event is a public class Event     {
         //fields
         private int userID = 1; // = 1 only applies for testing
         private int eventID;
         private String short_description;
         private String long_description;
         private Date date_time = null;
         private int repeat_pattern;
         private String valid_period;
         private int status;     //1 for new, 0 for modification and -1 for delete
         SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
         //Constructors
         //every event requires the following: userID eventID and short_Description
         public Event(int uID, int eID, String shortDescrp)     {
              setUserID(uID);
              setEventID(eID);
              setShort_description(shortDescrp);
         public Event(int uid, int eid, String sd,
                                  String ld, Date d_t, int r_p, String v_p, int s)     {
              setUserID(uid);
              setEventID(eid);
              setShort_description(sd);
              setLong_description(ld);
              setDate_Time(d_t);
              setRepeat_pattern(r_p);
              setValid_period(v_p);
              setStatus(s);
         //set
         public void setUserID (int x)                         { this.userID = x ;}
         public void setEventID (int x)                         { this.eventID = x ;}
         public void setShort_description (String x)          { this.short_description = x ;}
         public void setLong_description (String x)          { this.long_description = x ;}
         public void setDate_Time(Date x)                    { this.date_time = x ;}
         public void setRepeat_pattern (int x)               { this.repeat_pattern = x ;}
         public void setValid_period (String x)               { this.valid_period = x ;}
         public void setStatus (int x)                         { this.status = x; }
         //get
         public int           getUserID()                              { return this.userID;}
         public int           getEventID()                         { return this.eventID;}
         public String      getShort_description()               { return this.short_description;}
         public String      getLong_description()               { return this.long_description;}
         public Date        getDate_Time()                         { return this.date_time;}
         public int         getRepeat_pattern()                    { return this.repeat_pattern;}
         public String      getValid_period()                    { return this.valid_period;}
         public int           getStatus()                              { return this.status; }
         //Event to SQL statements;
         public String toSQL()     {
              StringBuffer sb = new StringBuffer();
              ///if ( status == 1)     {
                   sb.append( "INSERT INTO events SET" );
                   sb.append( " userID = " + userID + ", ");
                   sb.append( "eventID = " + eventID + ", " );
                   sb.append( "short_description = " + "\'" + short_description + "\'" + ", "); //String
                   sb.append( "long_description = " + "\'" + long_description + "\'"  + ", "); //String
                   sb.append( "date_time = " + "\'" + formatter.format(date_time) + "\'" + ", ");
                   sb.append( "repeat_pattern = " + repeat_pattern + ", " );
                   sb.append( "valid_period = " + "\'" + valid_period + "\'" ); //String
                   sb.append( ";");
              //} else if ( status == 2)      {
              System.err.println(sb.toString());
              return sb.toString();
    }     My question is: I have taken my SQL query generated by toSQL() method in events and it worked.
    Here is the funny thing:
    Everything is correct syntax wise: No complaints what soever
    The mysql part works: Tested separately.
    So I tend to think that the problem lies within the SAX parser. I have written SAX2 parsers on this machine before and they have worked too. I tried inserting println statements all over startElement endElement etc etc only to find out that the SAX parser did not call any of the methods that I overided!! Why is that so?
    Can you guys spot where my SAX parser fails?

    I see.
    I try to correct this problem by removing super();
    so right now my code looks like this:
         static Event temp = new Event(0, 0, "null", "null", new Date(), 0, "null", 0);
         static String CurrentElement = null;
         static File XMLpath;
         static Connection db_connection;
         static XMLReader xr;
         static DefaultHandler XMLSAXhandler; 
         //Constructor,      Build the SAX Parser
         public EventXMLParser(File path, Connection connection)     {
              try     {
                   this.XMLpath = path;
                   this.db_connection = connection;
                   this.xr = XMLReaderFactory.createXMLReader();
                   this.XMLSAXhandler  = new DefaultHandler(); //create a new own handler
                   this.xr.setContentHandler(XMLSAXhandler);
                   this.xr.setErrorHandler(XMLSAXhandler);
                   //System.out.println("DEBUG: db_connection is " + db_connection.toString());
              catch (Exception e)     {
                   System.out.println("Constructor Error!");
                   e.printStackTrace();
         }This time, I created a new instance of default handler() which can be referenced by as the objects's XMLSAXhandler. However, that did not solve the problem, why does the problem still persist?
    Right now, there is only one instance of a default handler created. So why does all my parsing event functions still get ignored?

Maybe you are looking for

  • Bridge doesn't recognize its own .xmp files

    Using Bridge CS3 on Mac OS 10.5.8. I edit RAW (.nef) files in ACR. When I click done, save, or open image, an .xmp sidecar file is generated and saved in the same folder as the .nef. However, changes made in ACR do not show in the preview thumbnail i

  • Run time engine download disabled?

    Hi,  I am trying to download the lates LV run time engine.  There are pages for 8.0 and 8.2, no 8.2.1.  However, when I click on the links to download either version, the files are not there.  What's going on?

  • I have only 1 ipad device, can I create 2 icloud accounts for the same ipad?

    I have only 1 ipad device, can I create 2 icloud accounts for the same ipad?

  • May I know how to use the user event

    I saw a sample as the attached screen. The user event is used. I am totally new of user event. may you give a brief explanation of it and how it used. Thanks. Attachments: Event.JPG ‏195 KB

  • Currency valuation corrections(urgent).

    Dear all, Our client facing an issue of currency valuation. please consieder the scenario... previesely they maintained currency rate in table  for doller 1 doller = 42.00 but actuall value for Doller while making invoice is RS 39.00 and they while m