Hi,
I just ran into a problem when trying to launch the phone's email app via a button in the options menu because as soon as I click the button in the emulator it causes a force close error. If s.o. help me out here to find the error in my code, that would be great.
This is my java file:
package com.mobilevideoeditor.moved;
im...
Does anyone know the UUID to connect an android 2.2 device to a WiiMote? The wiimote will not pair, as the wiimote does not require a PIN #.
...
I'm looking for an android code example on how I would be able to make my phone listen for a "shake" and then have it trigger webview.reload(); to simply reload the webview on the activity. Anyone have any insight on this topic?
...
I am developing a Music Player and I have a view flipper to control all the artist view, album view, so on and so forth. What I am doing now is that I have list view in each view of the view flipper. However, I do not want to put all my codes inside one activity but rather, to have different activities for each view. Is that possible to ...
The Android doc says "Like activities and the other components, services run in the main thread of the application process."
Is the main thread here the same thing as UI thread?
...
Are onTouch(), onClick(), runOnUiThread() running in the same UI thread sequentially? Or do I have to worry about synchronization issue among them?
Thanks.
...
I'm currently using something like: TextView.SetBackgroundColor(Color.WHITE); in my java code. I'd like to be able to add some transparancy to the textview through the java... This is easy to do in the XML via #AARRGGBB format, but I have not found a way to accomplish this programmatically.
...
I'm attempting to draw in orthographic mode with OpenGL ES, and the point (0,0) is in the lower-left corner of the screen. However, I want to make it be in the upper-left hand corner.
Here's where I'm setting things up in my Android app:
public void onSurfaceChanged(final GL10 gl, final int width, final int height) {
assert gl != ...
I'm unable to record audio:
Having a problem with this.
Error: (in Eclipse) The method setParameters(String) is undefined for the type MediaRecorder.
This is the piece of code which causes the above error
recorder.setParameters(String.format(
"audio-param-sampling-rate=%d", 8000/*mProfile.mAudioSamplingRate*/)...
I'm trying to determine the degree size of the field-of-view of a Droid Incredible smartphone's camera. I need to know this value for an application that I'm developing. Does anyone know how I can find out/calculate it programmatically?
...
Is it possible for a program to mimic the Android Homepage? Can widgets, contacts, and canvases all interact at the appropriate FPS? Is it possible for an app to make calls and IMs? Or are the ISOs used to make the original too different from Java to mimic correctly?
...
Every time the bounds of the mapview change, i want to get them. The only problem is that I cant just listen to an ontouchevent or something similar because the map still doesn't have the new bounds by the time that method is called since it is asynchronous. How can i get this information efficiently and accurately?
...
Is there any resource or does any one know a way to have a bouncing effect on ListView, GridView and ScorllView? The effect is very much like the bouncing effect in iPhone.
...
there are a set of buttons, I want to get the result:
when I click one of them, first I divide them into two parts: the clicked one and the others. try to set different color or alpha value to different them.
give me some advice. thx.
now I use setAlpha, but when I change the value from 0 to 255, it work, but when i change the value f...
I used Toast to make notification, but it seems it will appear even its activity is not in the current screen and some other activity has been started.
I want to check this situation, when the activity is not the current one, I'd not send the Toast notification. But how to do ?
...
I have Tab activity class in which a tab is listing data by ListActivity where I click a item to see the detail of that item and this ListActivity satrt another detail activity and shows the details. When I get back to the previous screen(ListActivity) and I scroll list up and down applications gets crashed
Crash Log is following:
/dal...
Hi ,i want to how to retreive Mp3 file info and i found media store class can be used and any sample codes or suggesstions ,how to retreive infro from media store class will be useful
Regards
Rakesh shankar.P
...
Hi st0le,
By "Program", I mean a desktop front end for installing/uninstalling apps on a phone.Can u please help me out from this? I am not clear what to do ?
Thnx,
Praween
...
Hi i want to display the imageviews one by one that means if image1 is displayed after 2 sec another image is displayed .but i don't want to use threads why because my application is small.I want to use handlers.So give me some suggestions,Thanks in advance
...
Hi i try to add event to google Calendar it gives the error message
07-16 11:56:34.692: ERROR/dalvikvm(749): Could not find method javax.xml.parsers.SAXParserFactory.getSchema, referenced from method com.google.gdata.util.common.xml.parsing.SecureGenericXMLFactory$SecureSAXParserFactory.getSchema
My application add the event in google...