Hello,
I want to use a "Touch Pad" as CLASS_TRACKBALL in a non mobile device.
When I enable this input device as a Trackball, What I have observed is that
When using on home screen, that track-pad is too sensitive, meaning its difficult to focus on to a certain app icon.
When using in Browser application, the track-pad is reasonably...
I am trying to start an activity from the notification bar but it needs to get an int. From activity to activity I would just put an int into the intent but I can't seem to figure out where to add the extra for the notification bar? Is this possible? If not is there a better way to do it?
public void notifyMe() {
int icon = andro...
Hi Hello,
I am Having a table layout in that i am adding table rows dynamically.in that table row i am adding two image views and one text view.how to fix the size of the image displayed in the image view.Please any one can suggest the answer.
If this way is not suitable one for acheiving this task ,Please suggest another ways
...
I have an application where I am listening to all incoming SMS messages and if a message is send through my application, I need to do some task. Now the problem I am facing is with HTC legend running on Android 2.1 Update-1. My code works fine on emulator as well as Motorola Milestone (Android 2.1 Update-1), but same peice of code doesn'...
I've been studying Android Development for the past week or so. The xml stuff is pretty easy to understand. However, I have NO knowledge of java. Whenever the documentation says to do callbacks to the .java file and use oncreate() I get confused and see nothing but errors. Is there an easy way to understand the java stuff? I'm very motiv...
At the moment I need to filter a Cursor/CursorAdapter to only show rows that match a specific condition in the ListView. I don't want to requery the db all the time. I just want to filter the Cursor I got from querying the DB.
I have seen the question: http://stackoverflow.com/questions/3027428
But I don't understand how to do the fil...
I have an application and I am pretty confused to why insertWithOnConflict returns the wrong value continuously.
My code looks like this:
I create the table:
StringBuffer sql = new StringBuffer("CREATE TABLE IF NOT EXISTS " + TABLE_NAME);
sql.append("(_id INTEGER PRIMARY KEY, name VARCHAR CONSTRAINT uk_name UNIQUE, modifiable BOO...
I need to draw a spinning globe using opengl es in android. I think we need to draw a sphere and then apply a texture map on it. If I am correct, we cannot use the utility library glu in Opengl ES for drawing a sphere. I did find some code in objective C, but then I would have to make it work on android.
http://www.iphone4gnew.com/proc...
I implemented the lazy-loading images in my ListView.
I use a AsyncTask to download the image from the internet and bind it to the ImageView in the UIThread.
It's working except that when I scroll the ListView vary fast, the downloaded images sometimes are binded into the wrong items in the list.
I guess the problem is from the reuse o...
hi, i have a EditText in android in which i want the user to enter the text and checks for the condition "BYE"
Code sample:
EditText text = (EditText)findViewById(R.id.EditText01);
String abc= text .getText().toString();
while( !(abc).equals("bye")){
abc = text.getText().toString();//user should enter the text from keyboard and t...
i have this activity that holds 2 intent filters and my problem is not to use this activity for devices 1.6 and before since i wanted them to use the native contacts.
thanks!
...
when i click on edittext, keyboard appears.but the keyboard hides my view.how to resolve this.
is it possible show my view completely when key board appears.
...
Hello :)
I have a little problem... I have made an Android application which extends the webview. The webview Html page with a map on like this: Map example, it was also here I got my inspiration. My onCreate method looks like this:
super.onCreate(savedInstanceState);
//Removes the title bar in the application
reques...
I have a client who has a requirement for a chatting app. This app should make communication possible on Android and Blackberry.
Wonder if this is technically feasible? If yes then how? Any clue?
...
For some reason the android-web-browser produces a duplicate of input type:password fields when the onfocus-event is thrown. It fetches position and size of the HTML-element and renders its own representation of the element. If we change the orientation of the screen on the mobile landscape/portrait, the "copy" of that field will persist...
hi,
I have Activity1 Activity2 Activity3 activities in my application.
now I want to switch from Activity3 to Activity1.
How do I proceed?
Please Help. and also, how to finish an activity from another activity?
any help will be appreciable.
Thanks & Regards
Anup
...
Sorry, but I'm not understand how I can implement DeviceLimiter Interface.
From references:
"It requires that you provide a backend server to manage a users and devices mapping"
This means that I have to implement and use my custom server that match DeviceID?
How I can use this Interface?
Thanks....
...
hi all, it's first time for me I use java
I need to use a stack in android funcions
but if I define the stack out of the function
give me the error (should be parametrized) and the application crashes
public class Televideo extends Activity{
Stack pila = new Stack();
@Override
public void onCreate(Bundle savedInstanceState)...
Hi I am using the EditText in my app.when i enter .(Period ) after then the cursor go to first position in EditText.but i want to display the characters after . when i enter . for this what can i do give me some suggestions. and i want to enter numbers only in EditText if no character is displayed when i type any special character from k...
What is the best way of configuring a widget in android for entering a 4 digit PIN?
Currently I have:
<EditTextPreference
android:title="PIN"
android:summary="Your PIN number"
android:key="password"
android:numeric="integer"
android:maxLength="4"
android:password="true"
/>
This works quite well, but there is no way of c...