Invoked device native player to play audio file, it opens android native player on top of the application but when selecting to back out or return to the application, device automatically stops playing the current media.
Sample code:
Intent intent = new Intent();
intent.setAction(android.content.Intent.ACTION_VIEW);
intent.setDataAndTy...
Hi guys
i want to have some knowledge on porting android on linux devices. I am a web and android developer but now i want to port android on some hardware which you could suggest is easy for the beginners to start with.
I don't feel like buying a mobile phone this time i want to make a mobile phone :)
Please help me achieve this goal.
...
Hi Folks,
In General, Android runs the each App as a seperate process in Dalvik Vm. I got this from the Doc. But i can not understand what is the main reason to go to Dalvik VM for Android. What are the Advantages it has than Java VM. Share your Knowledge. It helps.
Thanks in Advance.
...
I have a TableLayout defined in my xml with three columns and four rows plus a heading row.
Each column contains a TextView.
<TableLayout
android:id="@+id/inventory"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:stretchColumns="*"
<TableRow>
<TextView
android:...
I am facing the problem in licensing of my old published paid apps. Basically i have paid app which is published by version code 1. I implemented the license code on it, it working fine to me. Licensing server giving the response or allow that you can use it. But once i changed version code from 1 to 2 in manifest file, then licensing se...
Hello,
I am looking for a way to play a live video stream on android.
At this moment I publish webcam from Flash application to Red5 and transcode it there into the second live stream using Ffmpeg.
How can I play the second stream on Android ? I tried to transcode the stream into mp4 file, and hint it with MP4Box, but it doesn't work b...
According to my application i create the database with two tables. when i inserting the data in 1 table then it runs correctly after that when i save data in the second table then it gives the exception of illegal state exception (database cannot be open). Please give me the solution.
...
Hi,
I have multiple applications that share certain data through preferences. Each app sets its preferences through a PreferenceActitivity (from xml). Two questions:
How do I use/edit preferences created by one app in another app. If I figure out how to create MODE_WORLD_WRITEABLE preferences using PreferenceActivity that will solve t...
private class Task_xmlparse extends AsyncTask {
private final ProgressDialog dialog = new ProgressDialog(BlackSheepimage.this);
protected void onPreExecute() {
this.dialog.setMessage("Loading...");
this.dialog.setCancelable(false);
this.dialog.show();
}
@Override
protec...
As the title says, I cannot get padding around the text.
Here's my xml:
<style name="StandardButton" parent="@android:style/Widget.Button">
<item name="android:background">@drawable/nine_patch_3</item>
<item name="android:textColor">@color/white</item>
<item name="android:textStyle">bold</item>
<item name="android:paddi...
I'm interested in fleshing out an idea for a Android phone app, and I'm wondering if this is possible. So I would have the app running in the background on Phone A, then when it finds another Android phone B, it saves certain information like time, GPS location, just state variables.
But if the other phone is also running the same app, ...
Hi Folks,
Is there any possible way to install Android Emulator itself on the windows. I would need that for the Testing purpose? Any Idea?
Please Note: I dont want to install whole sdk. i just want install the Emulater itself. that emulator is just like that a phone for the testing purpose.
Thanks in Advance
...
Hi,
Is there a way to send an SMS from te DDMS in Eclipse to my Android phone. The emulator control is disabled when I'm running my physical phone. I can only sent a SMS to the emulator.
...
Hi, I have 2 quiet big Animations each 50pics a 20kb
Both defined as Animations .xml
One I let start from the beginning and the second after a button click.
//Start immediatly
imgView.setBackgroundResource(R.layout.anim1);
rocketAnimation = (AnimationDrawable) imgView.getBackground();
//Start after button click
img...
Hi
I am new to android programming, but I am trying to learn. I have written some code that takes in some parameters through a "normal" view with checkboxes and textviews. Then I use this information to generate a lot of numbers that I want to display in a listview. I have managed to create a listview when I press a run button, but how ...
I am going to use openGLES for 3d graphics. so i wat to install android NDK . can anyone help me to sort out ?
...
java.lang.IOException, path to file cannot be created. my catch is working by dont know why is isnt being created?
Im not sure why im getting this error, i assumed the setOutputFile() would create the file ..
any help appreciated, as there are a few errors in DDMS
this is my viderecorder class:
package com.sg86.quickrecord;
import j...
There are several threads already on how to make custom layouts in the notification bar. The problem is I must be missing something simple.
I have a custom_notification_layout.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fi...
Hello,
I am first time implementing Google Map in Android and troubling to show "View Controller" in Android.
Let me clear about my problem: I want to display the "View Controller" which shows different view button, such as Satellite, street View, Hybrid, etc. So how do i show the "View controller" in Google map with Android.
Hope you...
I'm starting to use RelativeLayout more and more but there are some things I keep running into.
Say I have a status textview that I want top and center. Then I have a bunch of other objects below it like images and a table layout.
I want the stuff below the status text view to respect the status textview's personal space and not draw...