Hi all,
I have one weird issue. I have developed application (Android 1.5) which does not recreates itself on changing screen orientation (android:configChanges="orientation|keyboardHidden") and do nothing on configChange method (just to forbid recreating activity), but some of my special views lost possibility to handle onClick events, ...
I put a webview in my application to visit a webpage which includes some javascript functions, my purpose is when users click a link in the webpage, it will start a new activity in the application. I've written "webSettings.setJavaScriptEnabled(true);" in my source codes.
It works well in most of the time, however sometimes it doesn't w...
My immediate need is to take a peek at the source for EditTextPreference and see what I need to do to implement support for preferences with more structure. Can I run Git or repo under cygwin perhaps? Is there an easier way?
...
I am developing a set of apps that are distinguished only in certain brandings (think different sports teams); however, I am running into a problem where I am using one Library project for all of the specifically branded apps and want to use the same ContentProvider for all of them. When I created the ContentProvider I declared the AUTHO...
How to run CTS if i have both CTS test suite and SDK install on my windows XP ?
I try batch but not working. please advice. Thanks
...
Android:
i am unable to execute following code
http://code.google.com/p/andriod-mytwitter/source/browse/MyTwitter2/src/com/example/TwitterClient.java?spec=svn37&r=37
gives verifying error at
OAuthSignpostClient client = new OAuthSignpostClient(CONSUMER_KEY, CONSUMER_SECRET, "http://localhost");
Following is the used code
OAuth...
Hello,
In it's simplest explanation, I'm making a really small "interactive movie" app on Android.
In a nut shell, when the app is loaded, it will play a short movie (maybe a few seconds at most @ 12-24fps). I will then have 2 buttons displayed on the screen, and depending on what button is pressed, it I will play another short movi...
Hi,
I created a custom map in Google Maps "My Maps". Now i want to show that map on an android device, but not just opening it as a web page but showing it using MapView or smth similar. I want to be able to center on a place I have marked on the map etc. My custom map is a map containing the location of all gas stations in a city.
Can...
I have started my GPS programmatically by
Intent myIntent = new intent(Settings.ACTION_SECURITY_SETTINGS);
mContext.startActivity(myIntent);
How i will turn Off GPS when i exit from my program...
...
I searching a way how to disable the opening and closing animation of notification bar (status bar). The behavior and animation is hardcoded in StatusBarService. The documentation says that the StatusBarService is "semi-public". What does "semi-public service" mean?
...
Hi,
I'm new in Android development and I've a problem when I create my new activity.
I want to use my activity before start it. For example, I have try it:
MyActivity menu = new MyActivity();
menu.setXmppreception(reception);
Intent intent = new Intent(Screen.this,MyActivity.class);
Screen.this.startActivity(intent);
But, my "menu" ...
Hi,
I have a radio button group in Android which looks something like:
Choose Color:
Red
Blue
Orange
Green
I need to get selected radio button and also its value.
I have 4 radiobuttons in this manner within radiogroup rg
rb1a=(RadioButton)findViewById(R.id.rb1a);
rb1b=(RadioButton)findViewById(R.id.rb1b);
rb1c=(RadioButton)findVi...
using theme or ImageView ?
...
In your answer
http://stackoverflow.com/questions/1617524/writing-a-portable-java-application-using-jogl-and-android-opengl/1627609#1627609
can you please tell me how to automatically work out which platform you are running on.
Thank you very much
...
I've tried to find the NumericUpDown button in Android, but failed. Do you know what the controller is called in Android - please let me know!
<?xml version="1.0" encoding="utf-8"?>
<!--
main.xml
7/22 2010
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layou...
I have a Service that is downloading a file from a server. I warn the user to only download the file over Wireless LAN before the download starts.
My problem is that my download gets stuck if I loose the network connection. Is there a way to listen for changes in network connection or if it is lost entirely?
...
Hi
I am working on a project that uses the Bluetooth HID profile. I understand that the BlueZ stack in android has the HID support but its not extended to app layer by Android Framework.
My main concern is to understand the driver level flow for a Bluetooth HID device.
I would like to add a new HID device driver that can handle the ke...
I am displaying some data in a ScrollView. On activity startup (method onCreate) I fill the ScrollView with data and want to scroll to the bottom.
I tried to use getScrollView().fullScroll(ScrollView.FOCUS_DOWN). This works when I make it as an action on button click but it doesn't work in the onCreate method.
Is there any way how to s...
I have a custom view subclassed from GridView that I use in order to display some custom 3D animation/effect. The way I do this is by overriding dispatchDraw().
Ideally, I'd want to know the current speed of the scrolling when doing the draw. Currently, I use GestureDetector.OnGestureListener and capture onScroll events and this works v...
I have two EditTexts within a LinearLayout.
I want these to take half of the screen width each. I have been playing with layout weight but and layout width to wrap content but the fields resize based on their inputs length.
Any ideas?
...