Hi,
I have bought myself a Zephyr HxM BT device and I am trying to listen to its messages in a simple application.
I have paired the Device to my HTC Legend and I can establish a connection
but everytime I call the read() or available() method on my InputStream I get a NullPointerException.
Has anyone succeed in getting information off...
I came across a mobile application which performs voice and video quality test to give a measure of the quality of voice/video experience over an IP connection. The test calculates the values of Jitter, Packet loss etc. for the remote stream.
I am curious to know how this is being done? What would it take to write such an Mobile applica...
Hello,
I am playing around a bit with peer-to-peer communication with android devices.
I have written a basic program that creates a listening ServerSocket on each phone using the application. Using the application you can also connect to other devices that is listening, by connecting to the remote ServerSocket. Nothing strange about t...
Hi all!
I've been working on this few days ago, but I need some guide here (I'm newbie to Android programming).
In Api Demos there are 3 examples explaining how to fill a ExpandableList with data, one with arrays, other with List and the third with 2 cursors.
So, suppose I want to have for example 3 categories: Video, Audio and Images...
Hi!
I am a new Java programmer. I want to learn how to develop Android applications.
If someone could name the best IDE, books and websites from where I can learn, it would really help a lot.
...
Hi!
I've been trying to connect two Android devices (2.1) via TCP sockets.
The vital part of the code:
Server:
ServerSocket serverSocket = new ServerSocket(SERVERPORT);
Client:
Socket socket = new Socket(serverAddr, SERVERPORT);
The weird thing is I can make it work if the client is an emulator, but the same code fails if running bot...
I'm implementing the onBackPressed() method in my activity. It's crucial to my app that I have this functionality. But, the control never enters this function. It enters onPause() instead, when I press the back button.
But the problem is I can't have the same logic in onPause() because when I call another activity, the current activity ...
I am working on an Android application which is supposed to play videos over HTTP on Android devices. Before we setup a server to host the video files just wanted a few things clarified:
As per the developer documentation, Android supports .mp4 and .3gp container formats for video. If we use H.263(video) - AAC LC (Audio) audio-video cod...
The side bar in eclipse shows a red cross on the title of my project folder but there are no such signs in the directories below it in hierarchy. In which particular file does error exist? How can I know that?
Error log shows: Current file is not a match for the given config.
...
0
in my case i hav to navigate frm 1 screen to nthr aftr the timer is completed ... i hav 2 classes named test.java and test2.java!! inside Test.java class i hav created a class named Timer and in that in onFinish() method wen i write
startActivity(new Intent(this,Test2.class)); finish();
eclipse shows an error "The constructor Intent...
i want to dispaly text views n other stuff on 1 screen and when ny1 of those is selected i want to go another screen which already has textviews and radiobuttons on it???
how do i do that???
...
I want to display images inside single select when it appears inside dialog.
How can I do it?
...
Hello,
I am using official android facebook SDK (downloaded from here: http://github.com/facebook/facebook-android-sdk).
When the program reaches the line Facebook facebook = new Facebook(); i get
"java.lang.NoClassDefFoundError: com.facebook.android.Facebook".
I created a facebook project from sources downloaded and in my project I ...
Hello,
I have a question related to Java in my android application.
I have a list with some Belgian cities with accentued ( is that the right english word?) characters: (Liège,Quiévrain,Franière, etc.) and I would like to transform these special characters to compare with a list containing the same names in upper case, but without thes...
friends,
i am trying to check internetconnectivity in android and using following code
final ConnectivityManager conn_manager = (ConnectivityManager)
this.getSystemService(Context.CONNECTIVITY_SERVICE);
final NetworkInfo network_info = conn_manager.getActiveNetworkInfo();
if ( network_info != null...
I'd like to add a context menu on an entire Android WebView. I have the following code:
registerForContextMenu(findViewById(R.id.webview));
...
public void onCreateContextMenu (ContextMenu menu, View v, ContextMenuInfo menuInfo) {
super.onCreateContextMenu(menu, v, menuInfo);
if (v.getId() == R.id.webview) {
//displa...
Hello
Found a way to set scroll bar drawable from XML file:
android:scrollbarThumbVertical="@drawable/scroll_bar_back"
but can't find how to set(change) it from program code.
Can anyone tell if it's possible? and how it should be changed?
...
I got two kind of lists on 4 different views. All lists are clickable and starts an activity to read the clicked record.
One is just a listview populated from the DB and works fine. The second is also a listview populated from a DB but has a addHeaderView. This makes the list forget where it was when you return from the listview's inten...
I am new to Android development.
I have a requirement to record video through front and back cameras of android device. The default Android simulator doesn't support this video recording.
Please tell me how to run and test the video recording. Tell me if there are any simulators available.
Thank you!
...
i want to call a new activity from within an inner class which is defined in d class which extends Activity....
the piece of written in one of the methods of that Inner class is::
Intent intent = new Intent(this, Test2.class);
startActivity(intent);
Test2 is placed inside the same package as my main clas is placed and eclipse is...