Hey... i'm trying to create an activity with the layout structure like this:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TabHost android:id="@+i...
Is froyo kernel audio system based on ASoC?
If it is, why doesn't google provide relavant remarks about that?
I've never seen those things before
Thank you for reading
...
Hey guys,
I've just started with android development and updating the UI is really bugging me :/
This is what I've got working so far -
package projects.Move;
import android.os.Bundle;
import android.view.View;
import android.app.Activity;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint...
How to play a video in android?
where do I put my video file?
thanks for reading.
...
I would like to test my application with new Samsung Galaxy Tab tablet.
What parameter should I set in emulator to emulate this device?
What resolution and density should I set?
How can I indicate that this is large screen device?
What hardware does this tablet support?
What is max heap size?
Which Android version?
...
HI all,
Can we switch of the phone programmatically..?Please let me know how to do this..?
An my second question is..
how to lock and unlock the screen in android?
i am using following snippet but it didnt worked for me..
KeyguardManager keyguardManager = (KeyguardManager) getSystemService(Activity.KEYGUARD_SERVICE);
KeyguardLock lo...
Anybody know how to enable the GPS setting automatic? Seems the
"Toggle Settings" app can handle it, but I want to force open in my app sdk 2.1.
some people said
"Method m =locationManager.getClass().getMethod("updateProviders", new Class[] {});
m.setAccessible(true);
m.invoke(locationManager, new Obje...
Hi,
I am trying to push a videofile onto SDCard . But when I opened SDCARD in FIleExplorer the permission of SDCard is not showing readwrite. How to change SDCard permission to readwrite so that I can push my file into SDCard.
Thanks in Advance.
...
Hi I would like to access the audio that my call manager captures while a call is active.
I would like to access it before it is transmitted to the other party.
Is this possible?
...
I am new to Android development, and I am working on a media player app as a learning experience. I am currently trying to add a menu view that utilizes album art in a gridview. Here is my code:
public class coverMenu extends Activity {
private Cursor audioCursor;
public String artistInput;
private static final String TAG = "coverMe...
I want to play a video from my assets or raw folder in my app in ANDROID
using VideoView I am getting the error as video cannot be played
please anyone give me a solution.
Here is the code I used
VideoView vd = (VideoView)findViewById(R.id.Video);
Uri uri = Uri.parse("android.resource:" + R.raw.video);
MediaCo...
Hi
I am using the CameraDemo code and have added some extra functionality to it. I have calls to getFilesDir() and openFileInputString() in both CameraDemo.java and Preview.java. The Problems window wont let me run because it says that both these are undefined for the type Preview. Running 'clear project' doesn't help. It doesnt objec...
Hi, I am really struggling with linking menus together. The app I want to create os a collection of menus that leads to url links to various sites I plan to open within the application. I have created a list activity menu with 8 options and I have eight classes with further options. My problem is how to link the menus together.
publ...
In the Android Marketplace there are O'reilly programming e'books for $5.99. Has anyone used these, and how do they compare to the dead tree equivalents?
...
Hi There,
I am facing problem in properly converting the video for iphone & Android phones.
I have converted the video to mp4 using following command:
ffmpeg -i Chili.wmv -s 432x320 -b 384k -vcodec libx264 -flags +loop+mv4 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -subq 7 -trellis 1 -refs 5 -bf 0 -flags2 +mixe...
Hi,
I want to save the SMS I have on my old Samsung SGH-D500. Since the software for it doesn't save the time for exported messages, I copied messages to the SIM card and backuped them on Android using the following code:
Cursor c = getContentResolver().query(Uri.parse("content://sms"), null, null, null, null);
startManagingCur...
I'm doing a little research about this subject. It's for my blog. So, I'm looking for some experiences about this.
I have the "user's side" of the story, I think they want it better if it's on Spanish. But, what about the programmers? Do you make your programs multi-language? Why? Why not? Are you ok with paying somebody to translate y...
Hi all,
I think this is weird question , but i do not have any clue to solve it . I want to set ringtone from my code , butt i cannot set it. I saw this questions ..
http://stackoverflow.com/questions/1986756/setting-ringtone-in-android
and
http://stackoverflow.com/questions/1986756/setting-ringtone-in-android
I use this code .
...
<resources>
<drawable name="red">#7f00</drawable>
....
<color name="solid_red">#f00</color>
.....
</resources>
This is some part of the colors.xml from android samples directory.
Now my question is that, what is the difference between defining a color in <drawable> tag and <color> tag ?
...
Hi,
How to show MediaController while playing Audio file. I am creating an instance of MediaController and calling its show() method,but it is not showing .
Can any help me in sorting out this issue?
Thanks In Advance.
...