Tagged Questions
Android is Google's software stack for mobile devices. Please use the Android-specific tags such as [android-intent], not [intent]. For non-developer questions, see http://android.stackexchange.com.
0
votes
0answers
6 views
span_exclusive_exclusive spans cannot have
I am creating a listView with 3 textview. One of the textview contains Arabic characters(there are 40 lines that is written in Arabic) so when saving the java file i get an error "some characters ...
0
votes
2answers
28 views
Getting text from edittext and storing it to a string
I am working on application which consists of edittext fields along with checkboxes. If only few of them are selected by the user, then how to get those text values from the fields.
0
votes
0answers
19 views
Why my ListView entry is clickable?
Here is the getView function in my adapter:
public View getView(int position, View convertView, ViewGroup parent) {
final ResultItem item;
final TextView fn;
final View rd;
...
-1
votes
0answers
5 views
Android app is unable to stream a particular shoutcast url
I am creating an on-line radio app in android that streams from the particular shoutcast URL (96.31.83.94:8009/index.html?sid=2). The coding works well for other shoutcast urls whereas the particular ...
0
votes
0answers
4 views
Recording audio streaming in android without microphone
I'm trying to create app that stream radio from internet im using MediaPlayer class for that and its working fine.
i want to add recording function to the app and i use MediaRecorder class for that ...
0
votes
0answers
18 views
layoutParams not changing
I am trying to animate a horizontal list item dismiss
the alpha animation works and the layoutparam values also decrease over time
but for some reason that doesn't change the actual height of the list ...
-2
votes
0answers
21 views
sqlite transactions strange behavior
I've developed an android app for the company I work for. This app at first daily startup, downloads a lot of data and stores them. Everything works pretty well, but I've noticed a very strange ...
1
vote
0answers
12 views
How to clear just the last drawn path not the whole view
I have a view on which I am drawing some text using Path on canvas. Now I need to clear only the last drawn path i.e. drawn without clearing the whole view because I want to further redraw and ...
0
votes
0answers
12 views
Android: Animate Relative layout margin change
RelativLayout.LayoutParams params = (RelativLayout.LayoutParams) view1.getLayoutParams();
params.setMargins(50, 0, 0, 0);
view1.setLayoutParams(params);
The above code is working fine, but i want ...
0
votes
0answers
8 views
how to use the values obtained from onmeasure in a separate thread
i am using this omeasure method to find the width of the vew and it is returning the correct values.
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
parentWidth = ...
0
votes
0answers
17 views
Error ::java.lang.IllegalStateException: Activity has been destroyed ..Fragment
Wat I DID : I have two fragments . Left side list will be displayed .RightSide based on List selected fragment wil be created ..
Expected OutPut : when i click button on right fragment . fragment ...
1
vote
6answers
25 views
Button array onclicklistener
I have set up 10 buttons in xml and added to main activity. I show only 2. All button just change a variable and button colors. Is there a method to group all the button to a single onclicklistener ...
0
votes
1answer
9 views
css class selector in android
Is in android something similar to CSS class? Something like R.id but usable for multiple Views. I would like to hide some group of Views independently on which position in layout tree they are.
0
votes
3answers
13 views
getAllNetworkInfo detect wifi or mobile connection, but never both
I have a function which check network connections using:
ConnectivityManager cm = (ConnectivityManager) getSystemService(CONNECTIVITY_SERVICE);
NetworkInfo[] networkInfos = cm.getAllNetworkInfo();
...
1
vote
1answer
16 views
Set focus to EditText after dismissDialog
I've some depricated code I need to fix.
After a dialog (showdialog) gets dismissed I want an edittext to get focused, text selected and keyboard up. That does not happen with this code.
With this ...