Re: [android-developers] Playing live stream (RTP) in MediaPlayer

2010-05-05 Thread dillirao malipeddi
did u received OnPrepared callback. Plz write a onErrorcallback and see, if you get error callback. whats video profile and audio profile you are using. use : h263/h264 15fps; 176x144 or 320x240 and use low bit rate , on internet ; if lan, bw is not issu for audio: use aac/ again try low bit

Re: [android-developers] Re: Listview background image changes on Scroll?

2010-05-03 Thread dillirao malipeddi
You are right If you are implementing your own list view it will call getView() method for every list item displayed in the visible area. when you scroll down/up same will happen and again it calls the getView(...) method for every getView(..) -- public View getView(int position, View

Re: [android-developers] TabHost Problem

2010-04-29 Thread dillirao malipeddi
when u click on another tab it pauses the previous activity and starts the new activity with the corresponding tab button save the activity state and values and when resumes the activity fill the saved values, u may implement onSaveInstanceState() to save the values and repopulate when resumes.

Re: [android-developers] Need MMSH Protocol library

2010-04-27 Thread dillirao malipeddi
however, let me tell you, after doing all mms/mmsh.. you get wma streams... where wma codec is not supported by android On Tue, Apr 27, 2010 at 2:33 PM, brian karlo gutierrez brikz...@yahoo.comwrote: Hello everyone, Do you know any way on how to play a stream using mmsh protocol? It

Re: [android-developers] J2ME converting/translation to Android

2010-04-27 Thread dillirao malipeddi
motorola is giving tools for free to convert j2me to android... enjoy On Mon, Apr 26, 2010 at 1:25 AM, ricardocunha ricardocu...@gmail.comwrote: Hi, I want to know if exists a converter for a j2me source-code to android. Listen, it´s not a runner, like a midp runner for android, it ´s a

Re: [android-developers] custom seekbar

2010-04-27 Thread dillirao malipeddi
layer-list xmlns:android=http://schemas.android.com/apk/res/android; item android:id=@android:id/background shape corners android:radius=5dip / gradient android:startColor=#ff9d9e9d android:centerColor=#ff5a5d5a

Re: [android-developers] video conversion from .flv to .mp4

2010-04-27 Thread dillirao malipeddi
ffmpeg -i *input.flv* -f mp4 -vcodec mpeg4 -r 15 -s 320x240 -acodec aac -ac 2 -ab 64 -ar 44100 *output.mp4* On Wed, Mar 24, 2010 at 4:09 PM, Guru gurudut...@gmail.com wrote: I have been trying to convert .flv to .mp4 in the server with ffmpeg ,and stream it through the android browser:-This

Re: [android-developers] Re: How can I use VideoView to streaming without buffering?

2010-04-27 Thread dillirao malipeddi
use low bit rate encoding... so that, even at low bandiwdths it works in the rtsp handshake, make sure, you provide codec params in DESCRIBE request/response.! On Thu, Apr 22, 2010 at 5:20 PM, Chirag chirag_vaish...@hotmail.com wrote: When you want live video streaming, second case is fine.

Re: [android-developers] Re: How can I use VideoView to streaming without buffering?

2010-04-27 Thread dillirao malipeddi
if u r using dss use sdp file with proper params to rtsp client understand the params.. key is encode low bit rate! On Tue, Apr 27, 2010 at 4:41 PM, dillirao malipeddi dillir...@arijasoft.com wrote: use low bit rate encoding... so that, even at low bandiwdths it works in the rtsp handshake

Re: [android-developers] Re: Live stream latency

2010-04-27 Thread dillirao malipeddi
Arijasoft has developed android LiveStreaming SDK for Android. Its able to stream to all RTSP servers and verified with VLC and DSS ( darwin streaming server). you can request the android LiveStreaming SDK . Thanks On Wed, Apr 14, 2010 at 9:39 PM, Android dev gian23...@gmail.com wrote: Until

Re: [android-developers] Streaming video from Android handset - code examples anywhere?

2010-04-27 Thread dillirao malipeddi
Arijasoft has developed android live streaming sdk, which streams from android device to any RTSP server from android device --- rtsp server; Please contact: cont...@arijasoft.com thanks On Tue, Feb 16, 2010 at 11:01 PM, jussi69 jussiniemin...@gmail.com wrote: Hi, I'm in the process of

Re: [android-developers] custom seekbar

2010-04-27 Thread dillirao malipeddi
save this xml in drawable folder and set it as ProgressDrawable to seek bar On Tue, Apr 27, 2010 at 4:27 PM, dillirao malipeddi dillir...@arijasoft.com wrote: layer-list xmlns:android=http://schemas.android.com/apk/res/android; item android:id=@android:id/background shape

Re: [android-developers] I want to get Listview click event

2010-04-04 Thread dillirao malipeddi
implement onScrollListeners public abstract void onScroll (AbsListViewfile:///E:/Development/ANDROID_2_0/android-sdk-windows/docs/reference/android/widget/AbsListView.html view, int firstVisibleItem, int visibleItemCount, int totalItemCount) Since: API Level

Re: [android-developers] Re: Is it possible to use MediaPlayer to play streaming audio?

2010-03-30 Thread dillirao malipeddi
arijasoft has developed android online radio SDK, Capabilities of AOR-SDK 1) Play: a. shoutcast-aac, b. shoutcast-aacp, c.shoutcast-mp3, d. icecast-aac, e. icecast-aacp, f.icecast-mp3; 2) Play: m3u/pls support 3) Player

Re: [android-developers] Re: Getting all of a long string in DDMS?

2010-03-29 Thread dillirao malipeddi
Like int read_cnt = 0; byte[] byteresp = new byte[1024]; int len = responseStream.available(); while(read_cnt len) { int size = len - read_cnt; int nR = responseStream.read(byteresp, 0, (size1024?1024:(int)size));

Re: [android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2010-03-29 Thread dillirao malipeddi
Arijasoft developed android online radio SDK using this AOR SDK you can play shoutcast/icecast ( mp3/aac) radio streams on android for more details look in to http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpThanks On

Re: [android-developers] Re: MediaPlayer -- shoutcast radio streaming creates a lag in playback

2010-03-29 Thread dillirao malipeddi
On Tue, Nov 3, 2009 at 12:49 AM, Vladimir B odess...@gmail.com wrote: Should I use two files and swap between them while playing and downloading? On Nov 1, 2009 10:44 PM, Vladimir odess...@gmail.com wrote: Hello, all! I've been working on an app to stream some radio content. I get the

Re: [android-developers] Re: MediaPlayer -- shoutcast radio streaming creates a lag in playback

2010-03-29 Thread dillirao malipeddi
Arijasoft developed android online radio SDK using this AOR SDK you can play shoutcast/icecast ( mp3/aac) radio streams on android for more details look in to http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpThanks On

Re: [android-developers] Re: MediaPlayer and 1.5 vs 1.6

2010-03-29 Thread dillirao malipeddi
Arijasoft developed android online radio SDK using this AOR SDK you can play shoutcast/icecast ( mp3/aac) radio streams on android for more details look in to http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpThanks On

Re: [android-developers] shoutcast client on android

2010-03-29 Thread dillirao malipeddi
Arijasoft developed android online radio SDK using this AOR SDK you can play shoutcast/icecast ( mp3/aac) radio streams on android for more details look in to http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpThanks On

Re: [android-developers] Re: Retrieving Shoutcast Meta-Data from MediaPlayer not possible. Any alternative ?

2010-03-29 Thread dillirao malipeddi
Arijasoft developed android online radio SDK using this AOR SDK you can play shoutcast/icecast ( mp3/aac) radio streams on android for more details look in to http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpThanks On

Re: [android-developers] Internet radio option and source code

2010-03-29 Thread dillirao malipeddi
Arijasoft developed android online radio SDK using this AOR SDK you can play shoutcast/icecast ( mp3/aac) radio streams on android for more details look in to http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpThanks On

Re: [android-developers] Re: Playing a audio stream not working using MediaPlayer

2010-03-29 Thread dillirao malipeddi
Arijasoft developed android online radio SDK using this AOR SDK you can play shoutcast/icecast ( mp3/aac) radio streams on android for more details look in to http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpThanks On

Re: [android-developers] Re: android 1.5: How do we use the AudioTrack class?

2010-03-29 Thread dillirao malipeddi
Arijasoft developed android online radio SDK using this AOR SDK you can play shoutcast/icecast ( mp3/aac) radio streams on android for more details look in to http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpThanks On

Re: [android-developers] how to Play music from AudioTrack

2010-03-26 Thread dillirao malipeddi
when you set properties explicitly, be sure to set the correctly based on stream... you cant hard code the values.. Stream properties --. track properties... On Mon, Feb 15, 2010 at 4:42 PM, kavitha kavith...@gmail.com wrote: Hi All, I want to play music from online mp3 link. I am reading

Re: [android-developers] Re: how to Play music from AudioTrack

2010-03-26 Thread dillirao malipeddi
Arijasoft has Android online Radio SDK to play online radio streams of mp3/aac. http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpPlease get the SDK from them... and Develop online radio app . On Thu, Mar 18, 2010 at

Re: [android-developers] Re: play audio from a stream in android...

2010-03-26 Thread dillirao malipeddi
Arijasoft has Android online Radio SDK to play online radio streams of mp3/aac. http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpPlease get the SDK from them... and Develop online radio app . On Thu, Feb 11, 2010 at

Re: [android-developers] Regarding web radio channel playing

2010-03-26 Thread dillirao malipeddi
Arijasoft has Android online Radio SDK to play online radio streams of mp3/aac. http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpPlease get the SDK from them... and Develop online radio app . On Wed, Feb 17, 2010 at

Re: [android-developers] cannot select target when creating new project

2010-03-25 Thread dillirao malipeddi
Hi there is no problem with your IDE at all as per your image the TargetName Vendor API level and platform selection box is squeezed set your screen resolution to display complete window (or) make the window bigger by dragging then you will see the platform selections and select build target

Re: [android-developers] Re: help me

2010-02-23 Thread dillirao malipeddi
please write these lines inside button click listener code *not in onCreate()* username = name.getText().toString(); password = pass.getText().toString(); On Fri, Feb 19, 2010 at 2:47 PM, SREEHARI sreehari.madhusooda...@wipro.comwrote: As Darshana said u dint say what is the exact problem.

[android-developers] Re: apk installation on mobilefromLinux machine

2009-09-14 Thread dillirao malipeddi
first check that your device connected to PC correctly by command adb devices it will show the list of devices attached to your PC. On Mon, Sep 14, 2009 at 3:49 PM, André Charles Legendre andre.legen...@gmail.com wrote: Hi I want to install an application apk from a Linux machine to a

[android-developers] Re: A question about mediaplayer could not play rtsp?

2009-09-09 Thread dillirao malipeddi
please start the player on onPreparedListener() On Wed, Sep 9, 2009 at 1:59 PM, yjshi shiyaju...@gmail.com wrote: I create a mplayer to play the rtsp on the emulator . when the mplayer play the http ,it is ok.

[android-developers] Re: how to read values from the server using Http GET method

2009-08-30 Thread dillirao malipeddi
hi here i am sending the simple post method code which connect to the server and read response you can use http get in place of post method may be this will help you code example: private void connectandgetresponse(final String arg_emailsStr) { Runnable ssr = new Runnable() { public void

[android-developers] Re: Create File into Android emulator ??

2009-08-17 Thread dillirao malipeddi
Hi Dany BREARD you have no permissions to access windows file system through emulator if u want to create a file use byte[] decoded = Base64.decode( StringBase64 ); File oText = new File(/sdcard/filename.ext); //or: File oText = new File( File); //FileNotFoundException FileOutputStream

[android-developers] Re: Create File into Android emulator ??

2009-08-17 Thread dillirao malipeddi
and also set permission writeOwnerData On Mon, Aug 17, 2009 at 3:39 PM, dillirao malipeddi dillir...@arijasoft.com wrote: Hi Dany BREARD you have no permissions to access windows file system through emulator if u want to create a file use byte[] decoded = Base64.decode( StringBase64

[android-developers] Re: Andriod applications and obfuscation

2009-07-22 Thread dillirao malipeddi
Yes, i did obfuscation successfully using proguard4.4beta3 it's fine.. working i did based on example .pro files provided On Thu, Jul 23, 2009 at 9:55 AM, Raja Nagendra Kumar nagendra.r...@tejasoft.com wrote: Hi, Is any once successful in using obfuscation of .apk files. Are there

[android-developers] Re: Force close msg for few seconds when application starts, why?

2009-05-14 Thread dillirao malipeddi
for progress bar examples whr i can add it and make it enable wen i am sending data to the internet.. Kindly suggest on it... regards, sheik On May 11, 5:19 pm, dillirao malipeddi dillir...@arijasoft.com wrote: bellow code will connect to the url specified in the start_Download_Content

[android-developers] Re: Seek bar sequence

2009-05-11 Thread dillirao malipeddi
Hi, set the seek bar max size to (totalplaytime/1000) and ever sec try to fill the seek bar you have to write a thread and at every 1 sec intervals you have to get the player cur position and check with the previous position then fill the seekbar. sleep the current thread for 1 sec and after

[android-developers] Re: Debugger Log information on device

2009-05-05 Thread dillirao malipeddi
i want to see the logs of the Android OS source code (which is in c++) On Tue, May 5, 2009 at 3:47 PM, maha lakshmi maha2...@gmail.com wrote: Hi, If you want see the logs from your C++ application, follow these steps. 1. use fprintf(stderr,..._); to print the logs in your source

[android-developers] Re: Debugger Log information on device

2009-05-05 Thread dillirao malipeddi
sorry for disturbing you i cant write fprintf() in java application am i doing in correct way.. On Tue, May 5, 2009 at 3:57 PM, maha lakshmi maha2...@gmail.com wrote: Yes... just try it out... On 5/5/09, dillirao malipeddi dillir...@arijasoft.com wrote: i want to see the logs

[android-developers] Re: expandable list view

2009-04-13 Thread dillirao malipeddi
you can use @Override public void onGroupExpand(int groupPosition) { // TODO Auto-generated method stub super.onGroupExpand(groupPosition); Toast.makeText(ExpandableList1.this, Group Clicked on pos = + groupPosition, Toast.LENGTH_SHORT).show(); } for get selected group position i

[android-developers] Re: Vista does not access G1 memory card

2009-04-02 Thread dillirao malipeddi
When you connect the device to your PC then 1) In the phone notification area it will display connect to USB open the notification and click on mount then it will allow you to access memory card I think it will help you On Thu, Apr 2, 2009 at 3:07 AM, intbt tacbe...@gmail.com wrote: I am

[android-developers] Re: Passing a 2 dimensional array to an Activity

2009-04-01 Thread dillirao malipeddi
you can do in this way also... Use a static two dimensional array in separate class and use it in service and activity On Wed, Apr 1, 2009 at 11:25 AM, Zhubham sahilz...@gmail.com wrote: Hi, I need to pass a 2 dimensional array to an ACTIVITY from a SERVICE. How can I achieve this in

[android-developers] Re: How do I know where my app received an ANR

2009-04-01 Thread dillirao malipeddi
You must not run any complex operations on main thread like i/o , or network operations for those operations use separate thread , otherwise it will cause ANR On Wed, Apr 1, 2009 at 1:32 PM, idev ideveloper...@gmail.com wrote: Hi Is there a way of finding out where my app threw an ANR

[android-developers] Re: Problem on creating Socket

2009-03-24 Thread dillirao malipeddi
int SOCKET_TIMEOUT = 1; //10 sec InetSocketAddress myAddRess = new InetSocketAddress(url_connect,port ); //InetSocketAddress(InetAddress address, int port) try { //1. creating a socket to connect to the server Log.i(connecting to :+url_connect+], at port [+port+]);

[android-developers] Re: jarsigner jar sign apk update

2009-03-17 Thread dillirao malipeddi
when you want to update application in the device it checks for the previous key info with modifications. it wont allow you to sign same application with different signs if you want to use different keys you must change your package name of your application then it wont give error. otherwise it

[android-developers] Re: How the use same instances when launching application twice ?

2009-03-17 Thread dillirao malipeddi
when you create a new intent set flag as your_intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); startActivity(your_intent); On Tue, Mar 17, 2009 at 2:56 PM, Derek cram.de...@gmail.com wrote: Hi, Is it possible to re-use all the instances of Activities and Services when an application

[android-developers] Re: How to read the file in sdcard?

2009-03-16 Thread dillirao malipeddi
if you want to read the file from sdcard by programatically File myfile = new File(/sdcard/sample.xml); or if you want to get the dump the file to your system from command prompt you can use to get the file -- adb pull to insert the file to sdcard -- adb push OR you can do it by open ddms

[android-developers] Re: TextView bug or feature?

2009-03-13 Thread dillirao malipeddi
use yourtextview.setVisibility(View.VISIBLE); //visible yourtextview.setVisibility(View.INVISIBLE); //In visible yourtextview.setVisibility(View.GONE); // removes the view it will work On Fri, Mar 13, 2009 at 4:13 PM, Pd lotusscr...@gmail.com wrote: Just had an odd problem with a TextView.

[android-developers] Re: Force close msg for few seconds when application starts, why?

2009-03-13 Thread dillirao malipeddi
don't do any complex operations like network connection.. etc on main thread for those operations use separate thread if any time taken operations on main thread will cause fource close exception try to keep main thread as simple as possible.. On Fri, Mar 13, 2009 at 5:05 PM, zeeshan

[android-developers] Re: apply color to Button

2009-03-12 Thread dillirao malipeddi
Thank you it works fine now.. On Thu, Mar 12, 2009 at 9:52 PM, Sundog sunns...@gmail.com wrote: Make sure the color you're sending has an alpha component. On Mar 12, 10:17 am, Dilli dilliraomca...@gmail.com wrote: Hi all, I am developing a simple GUI with three buttons i want to

[android-developers] Re: Using custom jar files in Android app?

2009-03-11 Thread dillirao malipeddi
you can create your own jar file by select right click on project of which you want to make jar and select export choose jar under java and select the .java files you want to make a jar and it will create jar for you and you can use that as 3rd party jar On Thu, Mar 12, 2009 at 10:20 AM,

[android-developers] Re: Accessing the internet.

2009-03-09 Thread dillirao malipeddi
public String get_DAtaFromWeb(String url_toconnect)//throws Exception { int connection_Timeout = 1;// 10sec HttpParams my_httpParams = new BasicHttpParams();; HttpConnectionParams.setConnectionTimeout(my_httpParams,connection_Timeout);

[android-developers] Re: How to see image and media files in SDCard from emulator

2009-03-06 Thread dillirao malipeddi
you can browse the sdcard by ddms - device - fileexplore you can push and pull files from that and also browse the files in which folder you placed On Fri, Mar 6, 2009 at 2:47 PM, Nithin nithin.war...@gmail.com wrote: Hi , When we insert images or media files to sdcard, how we can see

[android-developers] Re: Refresh Notification after deleting from user

2009-03-05 Thread dillirao malipeddi
while creating notification set flags as FLAG_NO_CLEAR then the notification remains after user clicks clear notification Notification my_notification = new Notification(R.drawable.iconl, status_text, System.currentTimeMillis()); my_notification .flags = Notification.FLAG_NO_CLEAR; i

[android-developers] Re: MediaPlayer not running - just blank screen

2009-03-05 Thread dillirao malipeddi
did you get any error in ddms logcat ? may be your player gives error while try to play On Thu, Mar 5, 2009 at 3:14 PM, nithin nithin.war...@gmail.com wrote: Thanks for your reply, but still not working.. Now i am trying with this code... import android.app.Activity; import

[android-developers] Re: how to know the status of the MediaPlayer?

2009-03-04 Thread dillirao malipeddi
If you download and play files from net you will get 1) OnPreparedListener() 2) OnBufferU[dateListener() you must start player after you get onPreparedListener otherwise you will get Mediaplayer exception On Wed, Mar 4, 2009 at 9:26 PM, Marco Nelissen marc...@android.com wrote: On Tue,

[android-developers] Re: MediaPlayer not running - just blank screen

2009-03-04 Thread dillirao malipeddi
you must set parameters for playing video see api demos - examples media - video demo player On Thu, Mar 5, 2009 at 1:15 PM, Nithin nithin.war...@gmail.com wrote: hi, I tried a simple mediaplayer application, just to run a .3gp file. First, i put the .3gp file in Raw folder and tried to

[android-developers] Re: Request to device test the Android Application

2009-02-26 Thread dillirao malipeddi
Hi You can use emulator also for GPS by giving latitude and longitude values in ddms Currently i am testing my GPS based application on emulator and they working fine On ddms in right side tabs Emulator Control in that give Latitude and Langitude values of the area and click send button at the

[android-developers] Re: java.net.SocketException: The operation timed out............not behind proxy

2009-02-25 Thread dillirao malipeddi
if you want to set connection time out use bellow code int TIMEOUT_MILLISEC = 1; //=10sec HttpParams my_httpParams = new BasicHttpParams();; HttpConnectionParams.setConnectionTimeout(my_httpParams, TIMEOUT_MILLISEC); //set conn time out HttpConnectionParams.setSoTimeout(my_httpParams,

[android-developers] Re: Need help about Intent

2009-02-24 Thread dillirao malipeddi
suggestions ? Thanks On Feb 24, 10:46 am, dillirao malipeddi dillir...@arijasoft.com wrote: you have to use Bundle your_extras = getIntent.getExtras(); String val = your_extras.getExtras(myval); On Tue, Feb 24, 2009 at 11:08 AM, gganesh ganesh@gmail.com wrote: hi

[android-developers] Re: Need help about Intent

2009-02-24 Thread dillirao malipeddi
(Value_String); you can use fromFirstActivity as from previous activity value On Tue, Feb 24, 2009 at 2:32 PM, dillirao malipeddi dillir...@arijasoft.com wrote: in your first Activity Intent my_intent = new Intent(FirstScreen.this.getApplication(), SecondScreen.class

[android-developers] Re: Start activity within a thread

2009-02-24 Thread dillirao malipeddi
...Is the problem that it is being called from a thread or that there is a progree dialog being showed? or neither? Rohit On Feb 23, 8:06 pm, dillirao malipeddi dillir...@arijasoft.com wrote: you must stop the progress by dialog by dismissdialog() and from your thread you must

[android-developers] Re: Sample Notepadv3 Orientation Bug

2009-02-23 Thread dillirao malipeddi
Hi I think in your notepadv3 solution in editnote.java check for onSavedInstanceState() ie.. when you change the phone mode it will call the onDestroy() of current Activity and again calls the onCreate() so in your activity it will check mRowId value from bundle then it will cause

[android-developers] Re: Start activity within a thread

2009-02-23 Thread dillirao malipeddi
you must stop the progress by dialog by dismissdialog() and from your thread you must use handler to start an activity the right way to start any UI tasks in the thread is by using handlers On Tue, Feb 24, 2009 at 5:46 AM, Rohit mord...@gmail.com wrote: There is an activity that shows a

[android-developers] Re: Regarding application resume

2009-02-23 Thread dillirao malipeddi
try to keep one mediaplayer object ie define a separate class and stroe mediaplayer object as static in that use that object every time and also store the currently playing file name when the your player screeen starts again check for previous file and curent file if they are equal dont start

[android-developers] Re: Need help about Intent

2009-02-23 Thread dillirao malipeddi
you have to use Bundle your_extras = getIntent.getExtras(); String val = your_extras.getExtras(myval); On Tue, Feb 24, 2009 at 11:08 AM, gganesh ganesh@gmail.com wrote: hi friends, i have two classes Screen1 and Screen2 both extends activity i have to pass data from the Screen1 to

[android-developers] Re: how to install .apk to hardware board as app

2009-02-23 Thread dillirao malipeddi
use In Eclips right click on the Apidemos choose android tool - Export Unsigned Application Package and sign the apk file and install it on device http://code.google.com/android/devel/sign-publish.html On Tue, Feb 24, 2009 at 11:49 AM, susanner zsusan...@163.com wrote: I want to install

[android-developers] Re: Yes/No Dialog

2009-02-22 Thread dillirao malipeddi
int DIALOG_YES_NO_MESSAGE = 999; protected Dialog onCreateDialog(int id) { switch (id) { case DIALOG_YES_NO_MESSAGE: return new AlertDialog.Builder(Visited_channels.this) .setTitle(title) .setPositiveButton(OK, new

[android-developers] Re: Starting an Activity by sending an Intent with Extra Data

2009-02-19 Thread dillirao malipeddi
Hi in second secondActivity's onCreate() try Bundle extras = getIntent().getExtras(); int value = extras.getInt(com.foo.bar.android.app.rowid); you can get value of first intent in variable value On Thu, Feb 19, 2009 at 4:52 PM, Graeme graeme.br...@btinternet.com wrote: Hi I

[android-developers] Re: get orientation via SensorListener

2009-02-19 Thread dillirao malipeddi
Hi if you want to display your Activity in only one mode (landscape / portrait) in your androidmanifest.xml file set android:screenOrientation=portrait or android:screenOrientation=landscape like example activity android:name=List14 android:screenOrientation=portrait

[android-developers] Re: Thread stopping

2009-02-18 Thread dillirao malipeddi
Thank you all it's works cool with your Suggestions, it helps a lot. On Wed, Feb 18, 2009 at 9:43 PM, Blake B. bbuckle...@yahoo.com wrote: You don't need to do anything complicated - use Handler.postDelayed (Runnable r, long delayMS) like Stoyan mentioned. Be sure to keep a reference to

[android-developers] Re: failed to install applications on G1 through USB

2009-02-17 Thread dillirao malipeddi
/MyApplication_signed.apk Failure [INSTALL_FAILED_ALREADY_EXISTS] I looked into /data/local/tmp/, but there is no such file existing. Why? Thanks On Feb 16, 10:18 pm, dillirao malipeddi dillir...@arijasoft.com wrote: You must sign your application before install

[android-developers] Re: failed to install applications on G1 through USB

2009-02-17 Thread dillirao malipeddi
/, but there is no such file existing. Why? Thanks On Feb 16, 10:18 pm, dillirao malipeddi dillir...@arijasoft.com wrote: You must sign your application before install it in to device, for signing you can use the tool keytool -- to generate your signing key jarsigner

[android-developers] Re: How to load image (background) on layout

2009-02-17 Thread dillirao malipeddi
in you layout properties set the background image 1) place image you want in drawable folder 2) in layout properties set that image as background image On Tue, Feb 17, 2009 at 4:35 PM, meouui nhattuyen...@gmail.com wrote: I want to load image - background - on layout. I use eclipse tool to

[android-developers] Re: Can Dev Phone bought in US be used in India?

2009-02-17 Thread dillirao malipeddi
Sure you can use the Dev phone 1 (Google) in india Currently i am using Dev phone1 in INDIA -- It works fine On Wed, Feb 18, 2009 at 1:04 AM, swamytk karuppusw...@gmail.com wrote: I am resident of India. But right now i am in US. I am planning to buy a Google Dev Phone 1. I will be using it

[android-developers] Re: failed to install applications on G1 through USB

2009-02-16 Thread dillirao malipeddi
You must sign your application before install it in to device, for signing you can use the tool keytool -- to generate your signing key jarsigner -- to sign your apk file with above generated key On Tue, Feb 17, 2009 at 11:37 AM, Developer shuo.yang.2...@gmail.comwrote: I follow the

[android-developers] Re: How to get the device model in android?

2009-02-12 Thread dillirao malipeddi
Thank you Bill Zimmerly It helped us a lot.. now i am able to see my phone details On Fri, Feb 13, 2009 at 12:13 PM, Bill Zimmerly billzimme...@gmail.comwrote: Manoj. This may help... http://code.google.com/android/reference/android/os/Build.html - Bill -- Dilli Rao. M

[android-developers] Re: Multimedia buffering

2009-02-09 Thread dillirao malipeddi
Based on the API the video should be progressive download and the video quality should be low On Mon, Feb 9, 2009 at 4:38 PM, AliBaba kanul1...@gmail.com wrote: Hi All, I am trying to run the media player from API Demo by specifying the http based url of the video. In specific I want to