Hi,
When I first load my app, I get to load the webview. But when I push the back button and "finish" the activity(I know this doesn't really kill it) and navigate to other apps and come back to my first app; it never loads again.
Any idea what could be going wrong?
My Bad, I wasn't returning the WebView object in the super class if...
I've been trying to reboot (WinXP) all evening, and Emacs (Win32, v23.something, not important) isn't starting... sometimes... it's locked on mount.exe (loads up some cygin things during launch), I finally notice. Can't kill mount.exe via ProcessExplorer, either. Killing Emacs kills emacs, and leaves the child process still hanging aroun...
I'm running into an issue with my program when trying to crop an image selected by the user from their gallery. The issue so far only appears when running on a Droid X, as running on the original moto Droid works fine.
Basically the issue occurs as the cropping intent is being run. Once the user crops the photo and clicks the save butt...
I have a scene that contains a bunch of objects, for example lets say it's a simple grid of tiles. So there's a main "border" object, and then (rows x columns) cells.
For simplicity, assume each cell is a simple four-segment line consisting of a four-node GL_LINE_LOOP.
Currently, my frame rate is awefull, and it seems to sit in all th...
This is a weird one. I am seeing this crash report on some devices:
android.content.ActivityNotFoundException:
No Activity found to handle Intent {
act=android.intent.action.PICK dat=content://com.android.contacts/contacts }
The intent that generates this error is:
Intent intent = new Intent(Intent.ACTION_PICK, People.CONTENT...
How can I set max width of horizontal LinearLayout? So if the contents is short (say, some text), the layout shrinks and if the contents is longer - it will not expand more than some max width value.
I prefer doing it at the XML level.
Pls let me know if my question is not clear enough.
Thanks in advance
...
Hi,
I have a TextWatcher set on an EditText that changes the input type after a user types a number followed by a space.
If the user types two numbers the input type switches and accepts the next character, but if the user types only one number and presses space the input type still changes but it won't accept the first character the ...
I couldn't even find a developer site for Samsung. Is it possible to get a galaxy emulator? I do not want a skin; I want the full emulation including the Samsung TouchWiz.
...
I have numerous activites in my Android app., and most should contain the same, relatively complex set of UI widgets on the screen's top area (lets say that its a kind of toolbar that you can find on most screens).
Right now, every screen's layout contains the markup for this toolbar, along with its logic inside every Activity's source,...
I am getting the following error when loading TTS on some devices (I don't know what they are because this is coming from a remote stacktrace from clients).
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.droidprofessor.android.mmm/com.droidprofessor.android.mmm.ActivityGame}: android.content.ActivityNotFoundExcep...
In Java, is it possible to associate some object (i.e. a String) with a function to be called ?
I have two similar menus and both have a onClickListener with some code like this:
if (item.id==0) {
doSomeFunction(argument);
}
else if (item.id==1) {
doSomeOtherFunction();
}
else if (item.id==2) {
doStuff(arg2);
}
else {
}
I would j...
I have an Activity that will query a RESTful API every x seconds (polls using a handler). The results of the GET are used to update a ListView. This is done using an AsyncTask.
I want to put a Notification in the Notification bar when certain criteria are met in the new data. Everything I have read up to this point has suggested that...
For some reason the onPageFinished is firing before the WebView has finished loading - I can't figure out why...
public class WebViewClientTest extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layo...
Is it possible to find the modified versions of //android/framework/base/core/res/res/values/styles.xml that phone manufactures provide (HTC Sense, Motorola Motoblur, Samsung TouchWiz, etc)? We have a partner developing an android app for us so I do not know how they implemented it, but we have seen issues on the Sense and Motoblur with...
When a user clicks in an input field or textarea, the application zooms in.
Is there a simple way to disable it?
Currently have the meta tag:
meta name="viewport" content="width=device-width; height=device-height; initial-scale=1.0; maximum-scale=1.0; user-scalable=no; target-densityDpi=device-dpi;"
Everything looks great till I look a...
Is there a performance impact, especially with regard to battery performance, if we switch from the default black theme of android to white or another colour?
...
Why do I kee[ getting null errors at setOnClickListener?
R.layout.dataentry is the ContentView. It has the addRecord (a button) and it loads and displays fine.
It looks as though R.id.addRecord gets an ID when I look in the debugger).
I'm sure it has something to do with the ContentView not being loaded correctly resulting in a null poi...
Hai dude,
I developed an application which intially displayed Games Listview , suppose if the user clicks the football elemnet in that games listview, then the football listview opens ,in that if user selected the particular player listview, then it is displayed, my problem is i want 2 know which listview is in active.
Can any ...
I am checking to see if my app has a network connection:
public boolean isOnline(){
ConnectivityManager conMgr = (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);
if ( conMgr.getNetworkInfo(0).getState() == NetworkInfo.State.CONNECTED
|| conMgr.getNetworkInfo(1).getState() == NetworkInf...
I'm pretty new to android development and I'm looking for a means of including calendar in my Android application, but I'm striking out pretty bad when googling.
a) Is there any way to use a default calendar kind of view in my application? (would be ideal since the UI would be familiar)
b) Failing at a built-in option, are there any ...