I need to parse a fairly large XML file (varying between about a hundred kilobytes and several hundred kilobytes), which I'm doing using Xml#parse(String, ContentHandler). I'm currently testing this with a 152KB file.
During parsing, I also insert the data in an SQLite database using calls similar to the following: getWritableDatabase()...
ok im trying to make a slider with ability to select 2 points just like selecting a range from the slider, any one did any thing like that
...
I'm trying to render a simple textured quad on Android 2.2 using GLSurfaceView. I'm loading a BMP image (128x128) with BitmapFactory.decodeResource() - this seems to work. But whenever I try to put this bitmap into an OpenGL texture using GLUtils.glTexImage2D I get an OpenGL error: glGetError() returns 1280, GL_INVALID_ENUM. What am I do...
I would like to put a notification with an intent.
My intent is basically action = DEFAULT and category = LAUNCHER in order to bring the activity that was launched into the front.
When the app is not shown, there is no problem, the intent works perfectly and launches the last activity seen but when there is already an activity launched, ...
Hello all,I have made an application based on the android API's remote service application wich uses callbacks to notify the main activity for changes, the app works fine passing just a single int value from the remote service back to the activity.
The problem is that I would like to pass some Strings and not an int back in order to upd...
Hello
In an android application we are receiving a byte64 string.I need to convert these strings to images.
I tried getting it but couldnot find any.
Please let me know your valuable suggestions
Thanks in advance :)
...
Hi all,
What's the difference between file, class and activity in android? Thanx in advance.
...
I lost the .keys.ks file, that I used to sign my Android (on the Market) app. Is there anything I could do? I really hope I won't have to republish the app with a different package name on the Market, because current users won't see my updates. If I recreate it in Eclipse with the same password can I create the same key?
...
I'm going through the Android hello world application examples and have got stuck on the date picker example. I think I have followed the instructions properly but don't understand the following error
DatePickerDialog.OnDateSetListener(){} must implement the inherited abstract method DatePickerDialog.OnDateSetListener.onDateSet
At firs...
Hi,
I am using org.apache.http.*; API's to make HTTP Post Connections over Internet from the Android Application. I added the Internet Permissions in the Manifest file and it works fine. Now i want my application to make the same HTTP requests over WiFi network through which the handset is connected.
Do i need to make code changes to a...
I, i need to create a service that reads sensors, do a fast fourier transform and save the results in to the db, but i need to comunicate 2 values to the service when i start it (how many values to take and a string for the db). How can i comunicate this to the service?
In addition i need to start the service every a time.
Tnk's
Valeri...
I've released an app to the market. It seems to work fine on some devices, and have completely weird behaviour on others. It runs fine in a VM configured to match the setup of these devices.
In general though, given that some phones behave in unexpected ways, is there any other way of getting test data for certain devices without actual...
My UI has an edit control which when invoked (or on an orientation change) can take focus and force the softinput keyboard to be displayed. This is unwanted behaviour.
I have rectified the above with the following line in OnCreate:
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);
However if I do...
Got a trace like this:
java.lang.StackOverflowError
at android.widget.TextView.onMeasure(TextView.java:5160)
at android.view.View.measure(View.java:8172)
at android.widget.TableRow.getColumnsWidths(TableRow.java:308)
at android.widget.TableLayout.findLargestCells(TableLayout.java:497)
at android.widget.TableLayout.measureVertical(TableL...
I want to build my own custom view which should look like the Crysis-GUI.
At first I designed a XML-based Layout and made it visible via the setContentView(int resid)-Method. Worked pretty well.
But now I wan't to go a step further and draw in my Layout. So I created a new Class, let it extend View and overrode the onDraw()-Method. So ...
I have been working on Android for a few months. Now i want to jump to gaming in Android. So are there any resources, ebooks, or tutorial where I can study game development be it 2D or 3D.
Thanks.
...
I have seen apps in the Android Marketplace with regards to an app recording an ongoing phone conversation. I am interested in how this is done. Anyone knows how the call is being recorded?
Is there a way to maybe get an Audio Stream for a call in Android?
Cheers!
...
Hi,
I'd like to know if there is a way to get the elapsed time since the phone was unplugged from AC supply. I know that I can register a receiver to catch battery events - but this just works if my service is running already when the status changes.
In my case I assume that the application is started when the AC supply was already plu...
I have two buttons on a widget that change some items in a widget, if an orientation is changed on a phone, buttons do nothing. I read http://developer.android.com/guide/topics/resources/runtime-changes.html but this is all about activity not widget.
@Override
public void onUpdate(Context context, AppWidgetManager appWidgetManager, ...
I uploaded my app to the market last night, and after an hour or so it showed 107 installs, 88 active, 2 comments. It still says that (12+ hours later), even though when I click comments there are 10+. How often do the statistics update? Is there any way to update them manually?
...