Android :: How To Prevent Webview To Be Reloaded?
May 12, 2009
I have set an activity containing a webview which loads a page from the network. Each time the orientation of the screen changes the oncreate(...) method is called and the webview reloads its content again. Is there a way to avoid the webview to reload the web page?
View 3 Replies
Mar 27, 2010
Until now I have been an iPhone developer only and now I have decided to give Android a whirl. Something I haven't been able to figure out on Android is how to programmatically prevent scrolling in a webview?? Something similar to iPhones prevention of the onTouchMove event would be great!
View 3 Replies
View Related
Feb 20, 2009
Can Webview tell me that I didn't get a HTTP 200 OK HTTP response code? I really don't want to display the Android Web Page Not Available screen inside my app.
View 3 Replies
View Related
Sep 25, 2010
I'm currently trying to port the famous complex event processing runtime "Esper" to the Android (2.2) platform and am facing a VerifyError, which I - although reading several other post on VerifyErrors - do not understand.
The project I am trying to build and run contains only Java sources (no libraries). Therefore, I assume, that if these are compiled successfully, they would pass the verification process. But during runtime, I get the following error:
CODE:......
The source of "EsperEPL2GrammarParser" is quite big ( > 40,000 lines) and so is the above mentioned inner class DFA156, which mainly contains a switch-statement (> 60 cases) and each case contains several (> 50?) if-then-else statements. Just an idea ... when reading the error message above (invalid switch start: at 8, switch offset -31132, count 34530) my alarm bells ring, cause some values around 32768 (16 bit range) always make me nervous.
Nevertheless, I am confused with this VerifyError and would appreciate any help getting closer to the error's source. What can I do to encircle the error ?
View 20 Replies
View Related
Oct 5, 2010
In a nutshell, I use regular views for all my application except for on that uses a GLSurfaceView.
The UI flow works well. I can navigate form one to the over except whith the GLSurfaceView
When I open the first time the GLSurfaceView everything works fine, but when I switch to another view and come back (pause menu) my view is completly black...
I tried several things and the closest I got from fixing it is to recreate the GLSurfaceView completly (but that takes too much time ...)
What I want is be able to do this:
CODE:........
what I'm doing wrong or point me to a tutorial that explain how to swap form GLViews to regular views
View 1 Replies
View Related
Nov 23, 2010
The Maps API always had its issues... since updating my Nexus One to 2.2.1 FRG83D earlier today, I see a problem more serious than anything prior. This applies to both Google Maps and (any) app that uses the Maps API (that I have tested). It's pretty obvious and simple, and cannot be remedied by rebooting the device: When panning the map view (no zooming that would trigger a complete re-load), map tiles that were already loaded, are cleared and reloaded. This can occur multiple times until the map view settles down. Looks pretty wild.
View 5 Replies
View Related
Apr 23, 2010
I want to write an app that a parent can use to disable phone functionality to prevent their child from using it.One way the child could circumvent this is by uninstalling the app.Is there a way to prevent application uninstall on the Android?
View 1 Replies
View Related
Apr 18, 2010
I really don't know why it's giving me this error... I load an ImageView with an image of 692kb .jpg, using scroll options, so you can scroll it around... the strange it's that when the mobile it's connected to the VM it's less possible to happen. So...how can I prevent this? is there anyway that I can free memory when starting the app? can I tell the system to free memory before loading the image?
View 6 Replies
View Related
Sep 5, 2010
I 'm working with GPS in my application. When phone go to sleep, the GPS's data don't update. I want to stay phone screen wake up until my app will be close. How can I prevent sleeping in Android?
View 2 Replies
View Related
Aug 4, 2009
I want to prevent native application to receive message.I want that my application only receive message. Is it possible ? if yes then how ? can i access the received message and delete it ?
View 3 Replies
View Related
Mar 17, 2009
I have created a multithreaded application but it still hangs if the server is unavailable.causes some delay and I believe this is the cause for hanging. But if the TCPClientService Service is executing in its own thread I don't know why this affects the timeout of the main activity.I would be very thankful if anyone could show how to prevent the application from hanging when the server is unavailable.
View 1 Replies
View Related
Apr 27, 2010
I was wondering what the most effective way of preventing people from stealing my application (downloading a copy of the .apk online rather than buying it).I've spent a lot of time on one in particular (Droidbox) and won't be releasing Sync until I can guarantee that the people who are providing illegal copies of the pro version aren't able to.Anyone implemented this? I've tried checking my package signature verses an the signature of an unsigned copy but it appears to be the same - perhaps I'm doing something incorrectly here. I'm unsure whether people actually distribute the signed .apk in which case I don't think signature validation would work to begin with.Please note, this question is specific to Android Marketplace Applications - the difference being, application delivery is out of my hands and I have no way of linking between a legitimate purchase and an illegal download.
View 7 Replies
View Related
Mar 12, 2009
How do i prevent the landscape modus? or how i can save the state of my app. without saving manual the data? rgds Mr.No
View 3 Replies
View Related
Apr 22, 2010
Is there an app (or better, a way within Android) to prevent the same contact from showing the the call log more than once? I talk mainly to the same few people, with a few others scattered between, and it would be nice if I had the option to see each contact only once in the call log. (Maybe have the call times viewable if I open the contact's entry in the call log.)
View 5 Replies
View Related
Feb 15, 2010
How can we prevent an edittext from getting focus and displaying the soft keyboard. I have an searchbox which should not be focused by default and should have focus only when user clicks on it to enter something. But right now it takes focus and shows the keyoard as soon as I open the activity. Is this a bug or can this be changed to behave in the way we want?
View 2 Replies
View Related
Aug 29, 2010
I have a static library that contains some JNICALL functions, i.e. they are expected to be called from the JVM and are never referenced by the shared library that links the static library. However, it seems like function stripping is exterminating the JNICALL function (it's not visible in arm-eabi-objdump -t). I'm working around it by adding a dummy function with an impossible condition that calls the JNICALL function, but that's dirty. I know that there is a link option to prevent certain modules from getting their unused data stripped, but what is it? And how do I specify that option in the .mk file? I didn't see anything immediately obvious in arm-eabi-ld. Incidentally, the function stripping doesn't strip out JNICALL functions in the shared library itself, but it will remove those from the static library that the shared library is linking. What's the reason for that?
View 2 Replies
View Related
Mar 30, 2010
I've got an app where I don't want the screen to rotate when they rotate their device, I need to keep the app in portrait mode all the time. How do I do this?
View 2 Replies
View Related
Nov 30, 2009
I have an Activity which is launched from a Service. This Activity can spawn other children Activities. Now under certain conditions (particularly related to using screen lock), I can end up with the Service starting a second copy of the Activity again. For reasons of performance, the Service is being started and stopped at various times, and cannot be relied on to hold state. What is the best way to prevent this second launch? Can I (for example) detect that the Activity is already running in the stack and do finish()?
View 5 Replies
View Related
Sep 27, 2010
I am developing an application, for an optimal operation I need that the app prevents phone from sleeping. How can I do it? It has to be like google maps: System Tools prevent phone from sleeping
View 11 Replies
View Related
Sep 29, 2010
How can I prevent this overlapping from occurring without reducing the font size? Here is my XML. code...
View 2 Replies
View Related
Mar 5, 2010
I am currently porting a 3D app on Android. This app consists of a 3D view (embedded in a GLSurfaceView) and of menu screens (for settings, search , etc.).
My main activity is the one containing the GLSurfaceView. It's always the root of it's task. The problem is that my GLSurface gets destroyed whenever I launch another activity and all the GL objects (VBOs, textures) that I created in the GL context get deleted/invalidated along. So whenever my users go in the menu, the 3D scene has to be fully reloaded. Wouldn't there be a way to prevent the surface's destruction ?
View 2 Replies
View Related
Dec 31, 2012
I am developing chatting app in which i have to run my app continuously in background also. but unfortunately sometime my app kill by Android OS. and i have to relogin. Is there any way to run my app continuously in background. Some App is available on Google play which is running in background.
View 4 Replies
View Related
Jun 17, 2010
My application has an emergency button which dials 911 when clicked on. Every thing on the app is working fine. But I just discovered that whenever I try to add another call when I am in a call, it promps me to complete the action using. 1. my app 2. The normal phone And when I click on my app, it just opens my app. I do not understand what is causing this and do not want my app to be shown in that list.
View 7 Replies
View Related
Feb 18, 2010
i have a android application which is ready to release .so to release i have put the app in android market .the user can buy the app and can install the app into the phone.android market wont provide any apk file to the user .so normally we need not bother about re distribution of of the app to the unauthorized persons(who didn't buy the app). But what my problem is ,I heard that there is a jail breaking concept which can allow the hacker to get the apk file(installation file) from the device .(even though android market not giving the apk file to the user ).then he can distribute the apk file to all(to unauthorized persons ).how to avoid it.is there any thing to restrict the unauthorized person in using our app,even though he get the apk file . does android market provides the details of the users who has buy the app by paying?
View 14 Replies
View Related
Jul 26, 2010
I am coming from a proffesional environment using Windows Mobile and am in culture shock as i have decided to give the Droid X a shot. I am alarmed at how inefficient the emailing system is. It has taken everything out of me to get the VERY basic functionality of pop accounts. You can only set 1 signature for all emails? You can't compose an email with a font size smaller than 12? The Droid X is an amazing device and should make any young person elated, but to a professional it is proving to be nothing more than an expensive toy. It is too late for me since i have the Droid X already, but i strongly URGE any professionals out there to AVOID Android like the plague if you rely on emails to get your work done on a daily basis. Googles handling of email is embarrassing and inexcusable. Okay my rant is done.I have my phone setup so that i can barely make it by with day-to-day emails (GOD i miss Windows Mobile email! - nothing else) As a professional, consistency is crucial to me. There is a stark contrast to the emails sent from my computer vs emails that i send with the Droid X. When sending from my Droid X, all the phone numbers (my signature) get converted to links which look very tacky and serve no purpose in my environment. i understand, that in some cases, someone may want to use their phone, click on the number and add it to their contacts. In a professional environment this is not necessary and looks terrible. More importantly, it is inconsistant with the emails i send from my pc. Since emails are handled soooo poorly with Android i am guessing i will just have to live with it, but does anyone know how to prevent the phone numbers from becomming links? It is very irritating.
View 8 Replies
View Related
Jul 9, 2009
I would like to create a table to store device settings. The table has three rows: id, parameter_name and parameter_value. The table was created by executing the following query statement: DATABASE_CREATE = "create table DATABASE_TABLE (KEY_ID INTEGER PRIMARY KEY AUTOINCREMENT, KEY_NAME INTEGER not null, VALUE TEXT not null); and then the rows are stored by executing the following method:
private long insertRow(int rowParameter, String rowValue, SQLiteDatabase db){
long res = -1;
ContentValues settingsParameterValues = new ContentValues();
settingsParameterValues.put(KEY_NAME, rowParameter);
settingsParameterValues.put(VALUE, rowValue);...................
The problem with method insertRow() however is that it can't prevent duplicating the entries. Does anyone know how to prevent duplicate entries in this case?
View 4 Replies
View Related
Nov 27, 2009
as there's a GLSurfaceView in use, no other views receive any KeyEvents. MotionEvents however, are still working as expected. Is there a way to prevent GLSurfaceView from swallowing all KeyEvents?
View 4 Replies
View Related
Oct 18, 2010
I use a sqlite database in my project. The stored data in it must not be available for the user to edit. As I've read here I saw that if you have root access you can alter sqlite database. The only solution would be to encrypt database content, but this would be time consuming for device. Any solution to prevent access to database ?
View 1 Replies
View Related
Dec 14, 2009
Why do so many of the applications say they prevent the phone from sleeping? Is this a problem if the applications are left open or a problem with the applications all of the time no mater if they are open or not?
View 4 Replies
View Related
Jul 12, 2009
Is there a way to intercept a certain Toast and prevent it from showing up?
View 2 Replies
View Related