android

Android OpenGL help needed.

I've to make a media player in android which uses OpenGl for 3D graphics....These graphics could be the same as used in Windows Media PLayer background etc. I'm new to OpenGL... Can you please suggest some tutorials or the approach that i should follow for the same. .. An example using OpenGL in Android wwould be appreciated.... Than...

How to have a sound consistently looped while button is pressed and stopped on release?

My question is a very simple one i'm sure. It's just I'm not quite sure how to effectively describe what i'm trying to achieve. Anyway to the point, I have a simple button, I know how to "link" a raw sound file to hand make it play. BUT what i want to do is maybe link a 3 second sound to the button and just have it loop while the user ...

Freeing Application resources

Usually resources such as threads, services, memory allocation... are allocated and defined per Activity. Hence, resources will be allocated on Activity.onCreate() and freed on Activity.pause(). This is very well defined. But, suppose my resources are allocated per Application (i.e I define a service which is used by several activities,...

Is Qt framework similar to Titanium?

I came to know that Qt framework can let us develop Applications for Android and iPhone. Have some ever developed applications and submitted the Apps in App store and Android market. Is it similar to Titanium in the way of using same source code base for different platforms. If that is the case, can we use the same code for Nokia Applic...

Is there anyway to intercept javascript triggered URL in webview android?

Is there anyway to intercept javascript triggered URL in a WebView just like normal hrefs using shouldOverrideUrlLoading? ...

How 9patchimage works

Hi, I am working with android's 9 patch image emulator to create 9 patch image.. Can anyone tell me how it actually works? On what basis it Scale the image? What are the parameters it considers to stretch image? Thanks ...

how to give textcolor to textview in class file

I am creating the custom textview i want to give black textcolor to this textview. how can i set textcolor. my code is TextView textview = new TextView(this); textview.setText("Please follow this Description"); setContentView(_textview); when i use textview.setTextColor(Integer.parseInt("#000000")) Thanks in advance ...

Which verisign SSL Certificate should I go with?

I'm looking an option to buy a verisign ssl certificate for my company. previously we were using godaddy but godaddy ssl is not installed on blackberry. we can install manually or programmatically but its a extra over head for users. you can see here what problem we are facing with goddady So now we are moving to verisign ssl certifica...

Android-sharedpreference

Hi I need simple explanation about shared preference in android and preference data ...

Image Annotation

I am working on android image annotation these days.But I have faced a problem.The problem is when I am writing some text on image with a chosen color it works but next time when i changing the text color and trying to write another text on the same image then the previous text will also changed with the new one.please help me. ...

SurfaceView flickering/tearing

Hi Everyone, I'm trying to figure out how to work around my problem. I've read http://groups.google.com/group/android-developers/browse_thread/thread/a2aac88a08cb56c2/b7dff4ba388cd664?lnk=gst&q=SurfaceView#b7dff4ba388cd664 which sort of answers my question but as far as I can tell, it's a sort of "tough luck" answer. So here's my pr...

Signing and publishing Android Application

Hi All, I've got a problem to publish my Android Application. here's what i've done, so I have my application run on development environment (eclipse - testing using device), then i do right click on my project folder - android tools - export signed application package, then i create new key store and add my information there, then i...

Facebook android-accept request

Is there any way that we can accept/ignore a request invitation from facebook android sdk? I only can find how to attend/declined event invitation. /EVENT_ID/attending /EVENT_ID/maybe /EVENT_ID/declined how about the other request, like friend request, or request to join application? Thank you very much. Best Regards, Eve ...

Android Binder Example

I am looking for simple binder IPC example in C/C++. Recently I started reading about the Android Binder basic (http://bharathi.posterous.com/android-binder) and gone thru the code in Android source also. Most of the binder usage part is in C++. Can some one explain why C++ is used instead of C? ...

RSA 1024 and ASE encryption and decryption

Hello. I've seen on this forum that are many professionals that are willing to give a helping hand to beginners like me. I am on my Android beginnings and I am struggling to learn as much as possible. I want to test RSA and ASE encryption and decryption in an android application. I searched around the net but I didn't manage to find ve...

Connecting android emulator in another machine

I need to test my android app 24h day and I have 3 ubuntu boxes to do it. I would like to connect my development system (MOTODEV Studio 1.3) to a Remote Device. Well, the interface ask me about ip for machine and port to connect to. But it doesn't. I found that the adb sever on remote seems not to listen to external ports, only intern...

how to set uniform image hieght and width in webview for android

Hi Friends, i am developing app like USATODAY,i am displaying image in webview one by one few image have same height and width some image have different height and weight,i want to display all images are same height and width in webview..how can i set all images have same height and width in webview.. Thanks all ...

Getting all the columns in Android

Hi, Can anyone please tell me how can I get all the column names used in a database table in Android..? ...

Handling Shake Events in Android (1.5+?)

Hello, Pretty new to Android development here... Is there an example out there of a working app with source that does something when you shake the phone? Is this doable in a background app? Done quite a bit of googling and can't find any good examples; only tutorials with little context. Thanks! ...

[ANDROID] Grid 3*3

Hey, i want to have a grid with 3 columns and 3 rows and an image button in each cell (center of cell) i tried with gridview but i can't fix the number of rows i tried with a tablelayout and 3 tablerows, but i can't change width/height at runtime any idea ? sry for english, i'm french ;) ...