Now I would like to set numbers in the center of the button and the image should stay underneath the text. The text should stay separat and should not be included in the image, because the numbers should change by the time and the image keeps the same.
So I'm searching for a different solution. We are using Samsung Galaxy Wifi 4.0 (Firmware 2.3.6)
we integrated our Webapp first into a Android Native App (WebView) and then in a PhoneGap (appView) project.
In both cases, the app freezes after a long time of inactivity (its still open, but there is no activity in form of inputs or something else) The keylock is pressed and the handheld lays on the table. Some hours later we take the handheld and the webapp inside the Webview is froozen/not responsing anymore. Klicking on the menu-button of the handheld (android native part - not part of the loaded url), the menu opens and works.
In the LogCat there are no errors. Everything is fine.
I am using JQuery Mobile to create a Web App which uses Application cache. When I open it in the browser on my iPhone, the updated changes are reflected. Then I add it to home screen and open it from the homescreen. Again the message comes up, that there is a new version to be updated. (but there was no change between the update in the browser and adding to the homescreen) This time it is loading an older version. Not the version I added to the homescreen from the browser.
I updated the cache a few times, but the changes were not updated. I had to delete the app from homescreen and switch off my iPhone before I was able to get the actual version of the app.
I'm using appcache update successfully with my webapp. But there is one problem I can't solve on my own.
Scenario: - I start on the index.html of my webapp - go over a button click to an other page - on the second page the message popup for a new appcache comes - I agree and the swapcache and reload is done
-> at this point there is my problem...because of the reload all values I set before are gone (the action was interrupted) so I would like to go back to the index page.
I tried to set the location.href before and after the reload:
Whenever somebody makes a click on the back button I would like to set a var. So my question is, is there a click-function for the back button I can use? Or any other possibility to detect a click on the back button?
I'm new at jQuery and I'm asking, who I can create a Button with two custom icons. One icon on the left and one icon on the right. (The icons are differently) In the middle there should be also the normal Button Text.