When non-focused EditText clicked, it becomes focused, but cursor does not move to new location. I should click it again to move cursor to a new position.
Q: How can I focus and move cursor with only one click?
...
I am a PHP programmer who is having to do some work in the android development environment. I have 2 books on this and have tried 30 search engine topics and still have not found just a simple example of everything that you need to do to place a working hyperlink in a Java android application.
I just need a very simple but complete ingr...
Hi fellow Android developers,
I have a mind-boggling issue here and googling yield no result.
Basically I have an app which needs to perform a screen lock function at some point (setting FLAG_FULLSCREEN and the relevant settings).
This works on Motorola Droid but not Motorola Milestone XT720. On the Milestone, pressing the home button...
So, I have found a bug in a specific sdk that causes it to fail on some Android phones after re-installing a new version of an app which uses the sdk (via adb install -r, and presumably when a user gets an update that has been pushed to the Android market). Is there any way to force an application's data to automatically be cleared upon ...
Hi!! any pointer would be helpful. I need a font with symbol character set
...
I'm using shape attribute like this:
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"
android:padding="10dp">
<solid
android:color="#FFFFFF" />
<corners
android:bottomRightRadius="15dp"
android:bottomLeftRadius="15dp"
android:to...
HI,
I need to use http post method for web-service in android application .But in android shows error when use this method .How to use this method in application or any other equal method for replacing this http post method.
thanks,
Lakshmanan.
...
Currently I have a cartoon character that takes up almost the full screen of a surfaceview, and my little app is only to animate this 2D character during ontouch event at different coordinates.
What I am doing now is to redraw the whole character every single time, and this way I need to have a specific graphic for every single frame.
...
At Android application, it always extends Activity and the entry is onCreate. So it seems that user has to select application and click to luanch it.(if it is wrong,please advise me. sorry)
So, how to implent a service running on background without user clicking to start application?
...
I am trying to develope an app on canvas ,i am drawing a bitmap on canvas with the help of canvas.drawBitmap().After that i want to convert that canvas into bitmap.
can anyone give me suggession
thanking you in advance
...
I have ArrayList of custom objects that is the data underlying an ArrayAdapter for a ListView.
Sometimes this data is modified in a batch, such as fetching a set of new items from the web. When the data is modified in a batch, should notifyDataSetChanged() be called after every add() to the ArrayList
Some over simplified code:
for(Ob...
I can not create a new project put the name and then I get "An SDK Target must be specified."
...
Hi
I'm doing animation of spinning with different images (like horizontal roulette) one image at a time from left to right over the screen.
At every animation cycle I need to change image to random from the list, so I found if I use repeating animation then setting new ImageResource on onAnimationRepeat of AnimationListener doesn't upd...
I am implementing a saxxml parser , i have successfully parsed it. But i need a feature to be implemented, there shpould be section heading which is a date say oct 26 and the rows in the section should be the feeds of that date. I have successfully implemented it in iphone, but i am very new to android and need help how to add section he...
Hi,
I used the following seek bar for displacing the progress of my audio.
android:padding="7dp"
android:id="@+id/SeekBar01"
android:layout_width="245dip"
android:thumb="@drawable/seekthumb2"
android:progressDrawable="@drawable/seekbar1"
android:layout_height="fill_parent"
android:clickable="false"
android:focusable="false"
a...
There appears to be a bug in startActivity.
By setting activities to be singleTop with different taskAffinity in AndroidManifest.xml and using the Intent.FLAG_ACTIVITY_NEW_TASK when calling startActivity, two activities can be created in two tasks (one activity per task).
Calling startActivity again will return to the first activity/ta...
I'm currently using the following seekbar for showing my audio palying progress, i want to disable thumb movement by user
<Seekbar
android:padding="7dp"
android:id="@+id/SeekBar01"
android:layout_width="245dip"
android:thumb="@drawable/seekthumb2"
android:progressDrawable="@drawable/seekbar1"
android:layout_height="fill_parent"
android:...
Hi
Is there any screen redraw event in android which gets fired when there is any change in phone screen. Actually this event gets fired in Symbian C++. When this event gets fired we can capture the screen shot. Is same functionality available in android too. Please Help
Regards
Gaurav Gupta
...
Is it possible ?
Peer-To-Peer connection via WiFi (same Access Point) , how would multiple devices talk on this layer.
Any API available or sources that can be looked into ?
Thanks
Yogurt
...
i have a textview at the bottom of my screen but when menu clicked, i need to move the textview just above the menu, so that every one can see the textview,now when i clicked menu ,it cover the textview ,any solution for this problem
...