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 [Android Enthusiasts](http://android.stackexchange.com)
0
votes
0answers
7 views
ListView Background
I have problem with setting background image for my ListView. In graphical view of activity it's looking good, but on the phone, there is no background at all. It's my activity .xml code :
<?xml ...
0
votes
0answers
5 views
Regarding Notification Sound In Android
In this question,actually i want to change the notification sound.For this i create a custom sound dialog box through which i can change and set the different ringtones.But the problem is that this ...
0
votes
1answer
11 views
ListView in Fragments Null Point Exception
I am trying to populate list in listfragment from mysql database.
But i am getting Null Pointer Exception. I've done the same thing with activity and it is working fine. Please suggest.
Here is my ...
0
votes
1answer
11 views
How do I duplicate “new TextView” and “setId”?
My FragmentActivity loops and creates numerous Fragments, each with `new TextView. After some help, I have this:
FragmentActivity.java
...
@Override
protected void onCreate(Bundle ...
0
votes
0answers
5 views
Is it possible to get Android accelerometer values inside onCreate method?
Is it possible to get Android accelerometer values inside onCreate method? I want it,
so as to make some initializations after reading them. So far, I have registered
a sensor listener to get those ...
1
vote
0answers
6 views
Android Monospace fonts aren't fixed width
I'm writing a custom View for a timer, but I can't get a properly fixed-width font for the numbers in the middle. Here's the relevant code (from two different methods):
mTextPaint = new ...
0
votes
0answers
15 views
What are the best practices for updating sqlite data?
My application does not use internet, though I am using php(json) to get certain data from a local mysql database and parse the JSONObject to Java and save it to sqlite in Android.
I am using this to ...
0
votes
0answers
16 views
Android SDK display images on different devices with different screen resolutions
I have question that is connected to display images on android devices.
I have many png files that I want to display and they have got 1024 x 768 resolution and have text in image. The text in images ...
1
vote
1answer
16 views
how to record video of current screen activity programmatically in android
Is it possible to record screen video of current running activity from same activity ?
I know how to take screenshot of current activity but don't have any idea about taking screen video record. How ...
0
votes
0answers
3 views
Getting m4a\b embedded chpters data using jaudiotagger or etc
I'm creating application for android to listen podcasts\audiobboks in m4a, m4b formats. Is there any way to get mpeg4 chapters data stored in audio headers using jaudiotagger or some other libs. I am ...
-5
votes
3answers
53 views
Find the position in arraylist
I have class name Student.java{ String rollno,String name},
I have created Arraylist of Student class ArrayList aryStd= new ArrayList.
Now I have added two objects of student class in aryStd S1 and ...
0
votes
1answer
12 views
incompatible types well trying to .get in custom adapter (Android)
I have been trying to get a custom adapter working in my first android app.
This is the code from my app:
CustomAdapter class:
class CustomListAdapter extends BaseAdapter {
Context mContext;
...
0
votes
3answers
17 views
Where and how to extend FragmentActivity
I refer to http://developer.android.com/guide/topics/ui/controls/pickers.html trying to create a timepicker.
I follow the instruction and created a class for TimePickerFragment.
import ...
0
votes
0answers
16 views
Align action bar option menu to the right
The default App icon and options menu item appear on the left side of the action bar. I would like the options menu to appear on the right side of the menu bar.
I have used a custom view to display ...
0
votes
3answers
17 views
getFragmentManager with API8
I build my app with API17 as target and minSDK 12
now I have to make the app works on andorid.2.2 (API8) devices I chang the minSDK to 8 and the target SDK to 8 also I fix some errors but I don't know ...