0
votes
0answers
16 views
Eclipse doesn't break on ANY handled/unhandled exception
I wanted to see how Eclipse breaks on handled/unhandled exceptions. I added the following lines of code as the first lines in my startup activity to deliberately cause an exception. Eclipse never ...
-4
votes
0answers
26 views
How do I use scrollview?
I am trying to add scrollview to an activity but I have a difficult time doing this. Where exactly do I put ScrollView after dragging it from the palette? How do I add buttons to activity that aren't ...
0
votes
1answer
28 views
Android Java Identify “this.” or child class calling in a parent function
In my parent class :
// ParentActivity.java
@Override
protected void onResume() {
if (this instanceof ParentActivity) connectToGoogleAnalytic("parent");
// do something else
...
-3
votes
1answer
26 views
how can i import an excel file into sqlite android dababase
I have a big excel file containing 4 style sheets. How do I import this file in the SQLite table onCreate method?
if there was a way to do a bulk import for the entire file into the table then that ...
1
vote
0answers
18 views
MediaRecorder start() fail if called too quickly
I am attempting to build a basic camcorder that allows the user to take videos rapidly by touching the screen, this seemed straight forward however the major problem I have run into is that the ...
0
votes
1answer
16 views
Fragment's onCreateView called before onCreateOptionsMenu so i cant expand action view at fragment launch
I have a refresh menu item in action bar.
I can expand action view (== show progress bar in actionbar) like this:
menuItem.setActionView(R.layout.action_view_refresh);
menuItem.expandActionView();
...
0
votes
3answers
50 views
nullpointerexection while executing setVisibility.GONE for radiobuttons
Basically I have singleitemactivity where the information about a single item is displayed after fetching JSON data through URL. I am getting a nullpointerexception (Please view the logcat output) ...
0
votes
0answers
20 views
how to display imagelist with thread on android
I am trying to display different image in imagelist with thread but the result is all image display in my screen with dynamic time :(
please help..how to display image one by one with specific time.
...
0
votes
0answers
9 views
Stacked Bar Chart: Changing the order of the stacked columns for just one of the bars
Consider the "Stacked Sales Bar Chart" sample of achartengine (http://www.achartengine.org/content/demo.html). Now, imagine that in one of the months - say, November, 2007 sold more units than 2008. ...
1
vote
1answer
45 views
Update ListView in fragment
I have a context menu in fragment A which contains DialogFragment. With the help of DialogFragment i'm create playlist which saves in MediaStore.Playlists. In fragment B i'm show ListView with ...
0
votes
0answers
40 views
java.io.IOException: 400 error loading URL
I'm using jsoup to connect a url
the url redirects to another one by 302
I want to get the main url (second one after redirection)
Here is the code:
Connection.Response response = Jsoup
...
1
vote
4answers
40 views
Show Image in Gallery
my Activity has severalImageView items. Additionally I want that the user can click on an image and the gallery app opens it.
Is this possible?
I have a CursorAdapter and I'm using this to set the ...
0
votes
0answers
51 views
listview not working properly [duplicate]
I have developed a app where an item click from gridview details of item stored in databse is retrieved in listview.But the problem is, in listview its overwriting in same row/item please help me come ...
0
votes
1answer
18 views
“sdk platform tools component is missing”
I was following the instructions, word-for-word, as on Android's website: http://developer.android.com/sdk/installing/index.html
I already have Eclipse Juno on which I develop Java applications. ...
2
votes
1answer
41 views
How to delete a line in a .txt file using FileOutputStream?
I need to delete a line from a .txt file stored in the android device's internal storage. I am using
FileOutputStream fos = context.openFileOutput("file.txt", Context.MODE_APPEND);
to open the .txt ...