android

Versioning and common code-bases with Eclipse

Hi there, I'd like to bring out an Android app in the near future, so I was wondering how to support a couple of funcitonalities I have got used whilst developing for J2ME and iPhone first the versioning. With J2ME (using NetBeans as IDE) I had the option to auto-increment the softwwares version every time I compiled it. I was wonderin...

JSON Parsing in Android

Hello All! I have searched alot on JSON Parsing in Androi, but couldn't quite convinced. Actually got a brief idea but not so clear yet regarding JSON Parsing. How to implement the JSON Parsing in the Application? Looking for help!!!!! Thanks, david ...

fetch photos from facebook album in android

Hi , m trying fetch all photos from perticular album from facebook in android , i am using facebook android sdk to do the task but the problem is , i don't know what url request is required to access the photos inside album ? ...

HTC Desire specific OpenGL ES 1 frame rate - can't get it right

Hello, I am trying to get a quite simple openGL ES 1 program run a smooth solid 60fps on a couple devices out there, and I get stuck on HTC desire. The phone itself is quick, snappy, powerful, and overall a breeze to use ; however, I can't seem to display anything fullscreen at 60fps with OpenGL. After getting stuck for a long time with...

How to ReadWrite into textfile in android ?

How to read and write strings in text file in android which is kept in raw folder and also how to clear contents of that file in android? I have done this way and my "temp.txt" file is in /raw folder. But i am not getting any output in file. Also I am not getting any error for this. FileOutputStream fos = openFileOutput("temp",...

Parsing the XML Response in an Android Application

Hi all! I want to Parse the XML Response in my Application using a SAX PArser, I don't know how to do that, So Can anybody please giude me to the right path. An example with a little coding or a link will be OK. Thanks, david ...

I'm making an Android IME. How do I add a "Settings" list item in the "Language & Keyboard" settings screen?

... like "Swype settings" in this picture. Been searching for hours on how to do this. Going to go insane. Help appreciated. ...

Recommend a good Android tutorial with Step by Step examples

Can you please share a good Android tutorial with step by step basic programs. ...

Using tabs and periodic updated views

In a previous question i asked how to make one activity to reload/refresh periodically to always present the latest information. Now i have a follow-up question. I changed my app to have 2 tabs. Each tab starts its own activity. The first tab uses the activity described above and after i added the periodic update (using Timer) to that t...

security - Process.execute() on android

Given i have compiled linux exe file in my resources/raw directory. Can i execute it using Process.execute("./resources/raw/filename") or i have to have special permissions (like ROOT or smth) ? ...

Read an audio stream during (GSM) phone call

Hello! Is it possible to read an audio stream during (GSM) phone call? I would like to write an encoding application, and I do not want to go with SIP&VoIP. Thank you. ...

monitoring sendtextMessage

Hi, I have a problem with PendingIntent and BroadcastReceiver. I'm using the send parts in the this sample If I send one SMS everything is fine. The app comes back with a toast "SMS Sent" and "SMS Delivered". But the second SMS both Receivers are called twice, the third SMS the Recievers are called three times and so on... The code: ...

How can i adding image on edittext dynamically?

Hi Friends, I am developing form design for share image through email,so i am developing form for compose mail,i want to display some image in edit text dynamically ,how can i add image in edit text dynamically? ...

Read text file as resource

I am trying to read a file "words.txt" from a resource. It is a very simple, but large (2 MB), text file that I want to read line by line. I have put the file into /res/raw/words.txt, and try to open it with the following code: try { BufferedReader in = new BufferedReader( new InputStreamRead...

Can't see the other fields for adding contacts in android 2.2?

tried to make my own custom account and i do call the native android contacts for me to add a new contact, but it only shows Firstname and lastname fields and other names.. but no number and email etc. i did declare them in the code. thanks! ...

Bluetooth concurrent connections

For a fest at my college, we are planning a quiz contest. For the buzzer round, I was thinking of writing 2 app for android (we have a few handsets), one for the quiz master and the other for the contestants The contestants will be connected to the quiz master through bluetooth. After reading the question, the quiz-master clicks a butt...

Max size of an Android app's in-memory SQLite database?

How large can be the database of my Android app? Is there a limit? For performance reasons, I don't want to store the database on the SD card. ...

Map markers in MapView - scale them in the zoom animation

When the user zooms my MapView, I want the my markers (OverlayItems) to zoom too (during the animation!). After the animation they would return to normal size. This is how markers behave in Google Maps. In MapView, OverlayItems in ItemizedOverlay have always the same size even during the zoom animaion, which looks odd. ...

How to send email from android using java mail

Hi Friends, i want to send email from my application,how can write code for send email from my application,have any setup for email?,anybody knows,please give sample code for me.. Thanks All ...

Wysiwyg component to use inside my Android app?

My Android app lets users write HTML fragments. WYSIWYG would be nice, but is there a WYSIWYG widget available for the Android UI? Or do you know a JavaScript-based WYSIWYG component that works in an Android WebView? Preferably usable in an Open Source app. Ideally Open Source itself. ...