[android-developers] Re: Transfer file between phone

2009-11-09 Thread Abhi
Hi, I am trying to do a similar thing but not between two phones. I am trying to accomplish wireless printing to my home wireless printer. Could you please guide me through to the initial steps? Thanks, Abhi On Nov 9, 1:50 pm, "Roman ( T-Mobile USA)" wrote: > You can write a ft

[android-developers] Re: Transfer file between phone

2009-11-09 Thread Abhi
identify each other? Thanks, Abhi On Nov 9, 1:59 pm, Abhi wrote: > Hi, > > I am trying to do a similar thing but not between two phones. I am > trying to accomplish wireless printing to my home wireless printer. > Could you please guide me through to the initial steps? >

[android-developers] ImageButton location

2009-11-12 Thread abhi
I am trying to place two ImageButtons on an ImageView. I'm using RelativeLayout (also tried FrameLayout) in the XML file. But this just places the three elements (ImageButtons and ImageView) at location 0,0 at the top left corner even if I specify layout_marginLeft, layout_marginRight etc for the I

[android-developers] Re: ImageButton location

2009-11-12 Thread abhi
Never mind. I got it -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

[android-developers] Inter-activity communication

2009-11-13 Thread abhi
Hi, Currently, I am starting a Child activity from a Parent activity in the following manner: public class Parent extends Activity { private int message; public Parent() { message = 0; } @Override public void onCreate(Bundle savedInst

[android-developers] Sending Image over socket using URI

2009-11-16 Thread Abhi
.. ObjectInputStream ois = new ObjectInputStream (clientSocket.getInputStream()); byte[] buffer = (byte[])ois.readObject(); FileOutputStream fos = new FileOutputStream("C:\\Downloaded\ \picture.jpg"); fos.write(buffer); .... Any help would be appreciated.

[android-developers] how to send image over socket, knowing its URI?

2009-11-16 Thread Abhi
Please help... thanks, Abhi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developer

[android-developers] fwd: get the file path from a URI instance

2009-11-16 Thread Abhi
()); oos.writeObject(buffer); Please help me to move forward. Thanks, Abhi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] Re: fwd: get the file path from a URI instance

2009-11-17 Thread Abhi
FileInputStream(absoluteFilePath); ... and so on Regards, Abhi On Nov 17, 10:06 am, Streets Of Boston wrote: > When using openInputStream on the content-resolver, the returned input- > stream is not as 'flexible' as a FileInputStream. For example, > FileInputStreams can be r

[android-developers] locator app

2009-11-20 Thread Abhi
quickest way to do it? Thanks for any help in this regard. Abhi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] Re: locator app

2009-11-20 Thread Abhi
Hi Tom, I am not sure if I understood your previous post right... Abhi On Nov 20, 2:44 pm, Loki117 wrote: > Yeah epic fail on my behalf that does not work! > > On Nov 20, 1:49 pm, Loki117 wrote: > > > > > Try this. > > > Concat the lat and long values t

[android-developers] Re: locator app

2009-11-30 Thread Abhi
Hi, Is there no one who could help me figure this out, please? Thanks, Abhi On Nov 20, 2:51 pm, Abhi wrote: > Hi Tom, > > I am not sure if I understood your previous post right... > > Abhi > > On Nov 20, 2:44 pm, Loki117 wrote: > > > > > Yeah epic

[android-developers] A question on Gallery

2009-12-03 Thread Abhi
Hi, I am trying to do the following in my app: 1. Open Gallery just the way it is on the phones (picture folders) 2. Select a folder (say for e.g. 'Camera Pictures') 3. Pick an Image and use it in my app (edit, send etc.) I have implemented the Image picking feature as below but it doesn't open

[android-developers] Re: A question on Gallery

2009-12-04 Thread Abhi
This group has been disappointing me last couple of weeks Where are all the experts? C'mon, you can do better than this. Abhi On Dec 3, 4:37 pm, Abhi wrote: > Hi, > > I am trying to do the following in my app: > > 1. Open Gallery just the way it is on the phones (

[android-developers] Re: Easy Eclipse Help?

2009-03-01 Thread abhi
to it and trying again.!! Regards, Abhi On Mar 1, 11:21 pm, Noam wrote: > Anyone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to

[android-developers] Bouncing ListView Effect

2009-08-31 Thread Abhi
Hi, I was interested in making a springy-bouncing effect for ListViews similar to one in iphone. I wanted to make sure about a few things before implementing it. 1). Does Android provide this feature somewhere in the new Donut version thats coming out?(so that i don't have to re-invent the whee

[android-developers] USB Host/Serial Port access

2009-09-02 Thread Abhi
a USB mass storage mode. What I want to know is if after this, I can read data from the frame or send data to it. I want to write an app that pulls data over USB and stores it into the phone memory. Can you guys suggest a way out? Thanks, Abhi --~--~-~--~~~---~--~

[android-developers] Re: Using an Android Phone as a Host Device

2009-09-02 Thread Abhi
share things. I am not a pro developer but I understand the technicalities and have some programming/developing background around embedded systems. Let me know. Thanks, Abhi On Aug 31, 3:37 am, Kit wrote: > Im trying to find out if it is possible to use an Android device (such > as the G

[android-developers] Voice 2 text help

2009-09-08 Thread Abhi
(this, android.R.layout.simple_list_item_1, matches)); I want to use the result to be able to take further action. Thanks, Abhi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Re: Voice 2 text help

2009-09-09 Thread Abhi
Is there no one who could help me on this? Mark Murphy? On Sep 8, 10:15 am, Abhi wrote: > Hi guys, > > I have been trying to develop an app around the voice recognition > functionality of Cupcake. As a sample code, I used the > VoiceRecognition.java project available under A

[android-developers] Re: Voice 2 text help

2009-09-10 Thread Abhi
e On Sep 10, 6:30 am, Lance Nanek wrote: > On Sep 8, 10:15 am, Abhi wrote: > > > I want to know if I can extract the text result on the list view and > > use it as a String further on? The part of code I am refering to is > > below where mList is defined as List

[android-developers] Re: (unofficial) Bluetooth API v. 0.2

2009-09-15 Thread Abhi
Hi Stefano, All I am really knew to this... don;t even know how to add these new libraries into my Cupcake 1.5 to make use of Bluetooth API. Could you please guide me to a basic level of adding libraries and working with it? Thanks, Abhi On Sep 13, 9:44 am, Stefano Sanna wrote: > He

[android-developers] Re: Picture in Picture Implementation

2009-09-17 Thread Abhi
Hi Landy, This is a great concept... I had this in mind too but got busy doing some other app. I will start to work on this app soon Abhi On Sep 7, 12:23 am, Landy wrote: > Hi all, > I am trying to implementPictureinPicture. I used a Frame layout for > two Video View and tried pl

[android-developers] Switch case on String

2009-09-24 Thread Abhi
Can I do a switch(String), case (compare with other string) and how? I am trying to compare string results and perform actions... Thanks, Abhi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] Re: Switch case on String

2009-09-24 Thread Abhi
Ok. Thanks Felipe. I just figured that out. Regards, Abhi On Sep 24, 12:47 pm, Felipe Silveira wrote: > No, you can't. > > In Java we don't have switch with Strings. > > Regards, > > Felipe Silveira > > On Thu, Sep 24, 2009 at 11:56 AM, Abhi wrote:

[android-developers] UPnP

2010-01-19 Thread Abhi
Hi, Does anyone have any idea on implementing UPnP in Android? I am working on a Project for which I need my Android phone to talk to UPnP devices directly. Thanks, Abhi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

[android-developers] "You do not have permission to open this page"

2010-01-19 Thread abhi
I am developing a MySpace app on android and I'm using the sample from OpenSocial java SDK. Using the various OAuth and OpenSocial API's I am getting the log on page for MySpace. However when I log in to my account, I am getting the below message: "You do not have permission to open this page" im

[android-developers] Re: UPnP

2010-01-19 Thread Abhi
Anyone has any clue about this? On Jan 19, 10:01 am, Abhi wrote: > Hi, > > Does anyone have any idea on implementing UPnP in Android? I am > working on a Project for which I need my Android phone to talk to UPnP > devices directly. > > Thanks, > > Abhi -- You receiv

[android-developers] SMS inbox

2010-01-19 Thread abhi
How do I access the SMS inbox in android? I am able to receive new messages. However I could not find a straightforward tutorial on accessing the SMS inbox. I know I have to use content provider. If you know how to use content provider to access SMS inbox, please let me know. Thanks. -- You recei

[android-developers] MMS from/to location?

2010-01-20 Thread abhi
Hi, I am accessing the MMS content provider to get the messages in the MMS inbox. However, among the columns in the MMS inbox, there are no from/ to location. When I saw the MMS protocol (http://74.125.95.132/search? q=cache:uanGCG1YrPcJ:www.miniware.net/docs/OMA-MMS-ENC-V1_2-20050301- A.pdf+multi

[android-developers] Access telephony database table from content provider

2010-01-20 Thread abhi
Hi, I want to access the addr table from the mmssms.db database in the / data/data/com.android.providers.telephony/databases directory on Android emulator/phone. This table contains the phone numbers of SMS/ MMS conversations. However I have not been able to figure out the correct URI for this ta

[android-developers] UPnP

2010-01-21 Thread Abhi
Hi, Need help in understanding how to build UPnP stack in Android? Anyone? Abhi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this g

[android-developers] extract video frames

2010-01-26 Thread Abhi
Hi, I am trying to know if is possible to extract frames from a video at regular intervals? Thanks, Abhishek -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsu

[android-developers] background services

2010-01-28 Thread Abhi
Hi, I have an application with a single activity. When the user taps the screen while on the activity, I want to start the accelerometer in the background (keeping the main activity running) and read values till the User taps at the screen again. I have worked on some basic android programming but

[android-developers] how to use MediaRecorder to record highest quality video?

2010-01-28 Thread Abhi
Hi, Is there a way to get the best quality of video recording possible using MediaRecorder? the camcorder app does a lot better in terms of quality. Any help? Thanks, A -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gro

[android-developers] Re: how to use MediaRecorder to record highest quality video?

2010-01-28 Thread Abhi
Anyone? On Jan 28, 1:33 pm, Abhi wrote: > Hi, > > Is there a way to get the best quality of video recording possible > using MediaRecorder? the camcorder app does a lot better in terms of > quality. > > Any help? > > Thanks, > > A -- You received this message

[android-developers] Re: background services

2010-01-28 Thread Abhi
can anyone point me to a sample code that uses this? On Jan 28, 1:11 pm, Abhi wrote: > Hi, > > I have an application with a single activity. When the user taps the > screen while on the activity, I want to start the accelerometer in the > background (keeping the main activity ru

[android-developers] Re: background services

2010-01-29 Thread Abhi
JFrog, Thanks a ton for that reply. I will try not using a background service, the way you mentioned. Let me see how that goes and post something quick back here. Thanks again. Abhi On Jan 29, 8:49 am, JFrog wrote: > Hey Abhi, > > If what I've understood about dealing with the

[android-developers] Re: how to use MediaRecorder to record highest quality video?

2010-01-29 Thread Abhi
Is rooting the device the only solution? On Jan 28, 2:27 pm, Abhi wrote: > Anyone? > > On Jan 28, 1:33 pm, Abhi wrote: > > > Hi, > > > Is there a way to get the best quality of video recording possible > > using MediaRecorder? the camcorder app does a l

[android-developers] Re: how to use MediaRecorder to record highest quality video?

2010-02-01 Thread Abhi
I am still looking for some help around this topic? Any help would be appreciated. Thanks, Abhi On Jan 29, 1:04 pm, Abhi wrote: > Is rooting the device the only solution? > > On Jan 28, 2:27 pm, Abhi wrote: > > > > > Anyone? > > > On Jan 28, 1:33 pm, Abhi wr

[android-developers] Droid Video Recorder

2010-02-01 Thread Abhi
try using the CAMERA as VideoSource instead of DEFAULT, the app force closes. MediaRecorder.setVideoSource(MediaRecorder.VideoSource.DEFAULT) Am I doing something wrong? Which is the best configuration (encoding options?) to give the best video quality? Thanks, Abhi -- You received this message

[android-developers] Re: Droid Video Recorder

2010-02-02 Thread Abhi
Hi Kevin You sure can record videos at that resolution but only with the in- built camcorder app in Droid. Try writing your own recorder app and you will see the difference. Abhi On Feb 1, 7:20 pm, Kevin Duffey wrote: > I believe the video can be taken up to 640 x 480 at 30fps.. but not s

[android-developers] Re: Droid Video Recorder

2010-02-02 Thread Abhi
that is what it is. It doesn't make sense to me either. There has to be a way around this from Google (if you guys are hearing). Abhi On Feb 2, 10:41 am, Kevin Duffey wrote: > Ahh..interesting. That would REALLY suck if Google/Android is allowed to > access that resolution but o

[android-developers] Re: how to use MediaRecorder to record highest quality video?

2010-02-03 Thread Abhi
Isn't there anyone out there who can tell me not to pursue this with a good reason? I am spending too much of my time figuring this out and if there is some knowledgeable person out there who can give me a straight answer, I would really appreciate it. Thanks, Abhi On Feb 1, 9:12 am,

[android-developers] TimeStamp to record Start and Stop times!

2010-02-03 Thread Abhi
Hi, I have a ACTION_DOWN motion event and I start and stop another activity based on the touch events. At first touch, I want to start the activity and record the time (in nanoseconds) and at the Second touch, I want to stop the activity and record the time again. How do I achieve this? Thanks,

[android-developers] how to stop accelerometer sensor running in background?

2010-02-04 Thread Abhi
() { mSensorManager.unregisterListener(mSensorListener, mySensor); super.onStop(); } Am I doing it wrong? Abhi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To u

[android-developers] Re: how to stop accelerometer sensor running in background?

2010-02-04 Thread Abhi
Also, the app exits only when I press the back button. On Feb 4, 9:14 am, Abhi wrote: > I have an app where the accelerometer runs in the background and > continues to read values from the sensor even after the activity > exits. > > Here is how I am tr

[android-developers] launch activity from on-screen Camera/Capture button?

2010-02-08 Thread Abhi
Hi, Is it possible to start an activity from the built-in Camera app after the user touches the on-screen Capture button? Abhi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

[android-developers] Re: launch activity from on-screen Camera/Capture button?

2010-02-10 Thread Abhi
anyone? On Feb 8, 1:24 pm, Abhi wrote: > Hi, > > Is it possible to start an activity from the built-in Camera app after > the user touches the on-screen Capture button? > > Abhi -- You received this message because you are subscribed to the Google Groups "Android Develo

[android-developers] Re: UPnP

2010-02-11 Thread Abhi
How do I download the stuff from the repository? Abhi On Jan 29, 4:11 am, Zhihong GUO wrote: > Hi skonno, > All of the java code is downloaded, but I can't find a Android project to > run in emulator or on read device > > James > > 'http://sourceforge.net/proj

[android-developers] Re: launch activity from on-screen Camera/Capture button?

2010-02-12 Thread Abhi
ild my own video recorder (which I have before) coz it doesn't do better than 320 x 240. So basically, I want to be able to call the Camera app, and use the camera/video button (on-screen or the hard button) to trigger the accelerometer. Could you help? Abhi On Feb 10, 1:21 pm, Jason Procto

[android-developers] Re: Streaming Sensor Data from Device to a server

2010-02-16 Thread Abhi
i m sure there r many ways to do this... the easiest way i wud do it is through sockets. Having the Client write everything to a file and the server pulling this information every few seconds. Abhi On Feb 16, 8:23 am, Mjdgard wrote: > I would like to continuously send/stream sensor data (

[android-developers] Re: Is it possible to launch an activity on a certain key sequence?

2010-02-18 Thread Abhi
On that note, Can I launch an activity from the called 'Camera App' within my own activity on the press of Capture button? Abhi On Feb 18, 2:13 pm, Mark Murphy wrote: > TreKing wrote: > > I don't know if this will help your situation at all, but note that > > th

[android-developers] Calling activity from inside a thread?

2010-02-18 Thread Abhi
hanks, Abhi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com F

[android-developers] How to save a WiFi connection?

2010-02-23 Thread Abhi
Hi, I have written an app that programmatically scans for open WiFi networks and connects to the one that has been hard-coded in the app code. For e.g., I have a home network, SSID: Abhi and is secured as WPA-Personal with a Passkey. The passkey for the above network has been saved within the App

[android-developers] How to set up a new PC in one easy session

2008-09-25 Thread abhi
Fellow ZDNet blogger Jason Perlow helped a friend and colleague buy a new PC and migrate her data and settings from the old machine (Windows XP) to the new one (Windows Vista). He documents the process in The New Adventures of Christine’s Old PC. I tip my hat to Jason for his dedication to a fr

[android-developers] Activity blocks till service completes

2009-10-11 Thread abhi
Hi, I am starting a service from an activity. Once the services starts, the calling activity loses focus and blocks till the service is completed. Why is this and is there a way around it to return the control to the calling activity while the service runs in the background? Thanks, --~--~-

[android-developers] Re: Activity blocks till service completes

2009-10-12 Thread abhi
; it publishes) happen on the main thread.  If you want to run on another > thread, you'll need to make it yourself. > > On Sat, Oct 10, 2009 at 1:21 AM, abhi wrote: > > > Hi, > > > I am starting a service from an activity. Once the services starts, > > the ca

[android-developers] Re: Activity blocks till service completes

2009-10-12 Thread abhi
ay want to consider just using IntentService to let it take > care of this for you: > > http://developer.android.com/reference/android/app/IntentService.html > > > > On Mon, Oct 12, 2009 at 11:19 AM, abhi wrote: > > > I created a new thread and tried starting the ser

[android-developers] Re: Android 2.0 SDK is here!

2009-10-29 Thread Abhi
repository/repository.xml, reason: Connection timed out: connect". I tried all methods, using Eclipse, using command 'android.bat update sdk' and also directly running 'SDK Setup.exe'. Please help! I need to get this new SDK running ASAP. Thanks, Abhi On Oct 27, 12:45 pm, Xavie

[android-developers] porting native C library to android

2010-03-01 Thread Abhi
Could someone guide me to an online tutorial that explains this really well? Thanks, Abhi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] Re: porting native C library to android

2010-03-01 Thread Abhi
Roger, Thanks a ton. This is good stuff! Abhi On Mar 1, 4:09 pm, Rogério de Souza Moraes wrote: > Hi Abhi, > > there is some incomplete instructions inhttp://android.serverbox.ch/?p=151 > A little more complete is this > pdf:http://www.google.com.br/url?sa=t&source=

[android-developers] Re: porting native C library to android

2010-03-03 Thread Abhi
Roger, Looking for something on installing NDK on Windows. Couldn't find any good tutorial that talks about this from scratch. Come on google, make things easier for us beginners please. Abhi On Mar 1, 4:26 pm, Abhi wrote: > Roger, > > Thanks a ton. This is good stuff! > >

[android-developers] Re: porting native C library to android

2010-03-03 Thread Abhi
- or 64-bit) * Mac OS X 10.4.8 or later (x86 only) * Linux (32- or 64-bit, tested on Linux Ubuntu Dapper Drake) Thanks, Abhi On Mar 3, 11:25 am, Rogério de Souza Moraes wrote: > Hi Abhi, > > I think the SDK and the NDK just can be used in linux or mac. May you > consider instal

[android-developers] Re: porting native C library to android

2010-03-03 Thread Abhi
Roger, No problem. I appreciate your help. Thanks, Abhi On Mar 3, 1:37 pm, Rogério de Souza Moraes wrote: > Abhi, > > my mistake. I was thinking that the NDK had the same restrictions of SDK. I > am modifying the Android SDK by adding some libraries, so I forgot that to > d

[android-developers] Android NDK installation on windows?

2010-03-05 Thread Abhi
Make executable'. What could be the problem? Thanks, Abhi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email t

[android-developers] Android NDK on windows error

2010-03-05 Thread Abhi
application 'hello-jni' build/core/setup-toolchain.mk:20: *** Android NDK: Assertion failure: TARGET_PL ATFORM is not defined. Stop. I get the above error while trying to compile the c files for the sample apps that come with the NDK. Please help Abhi -- You received this messa

[android-developers] Re: Android NDK installation on windows?

2010-03-05 Thread Abhi
e the result of incorrect unzipping of the NDK archive. Please go to the official Android NDK web site and download the appropriate NDK package for your platform (windows). See http://developer.android.com/sdk/index.html ABORTING. Abhi On Mar 5, 10:42 am, Michael MacDonald wrote: > On 03/05/10

[android-developers] Re: reading serial data from the USB port.

2010-03-09 Thread Abhi
http://www.tombom.co.uk/blog/?p=124 maybe this will help you somewhat. Abhi On Mar 8, 10:09 pm, AnthonyB wrote: > I'm working on an undergraduate level senior design project with the > HTC Sprint Hero.  We want to connect a device that constantly sends a > serial string of data

[android-developers] Re: Droid Video Recorder

2010-03-09 Thread Abhi
" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> See if you can help Thanks, Abhi On Mar 6, 7:38 am, Abelardo wrote: > Hi,Abhi > > Could you send me the whole app to fi

[android-developers] Video splitter

2010-03-11 Thread Abhi
I want to create a video splitter that uses the videos that reside on the SD card and lets you split the video and store as separate files on the SD Card. Are there any APIs to enable this or I would need to use something like ffmpeg? Any suggestions? Abhi -- You received this message because

[android-developers] Re: Video splitter

2010-03-11 Thread Abhi
or a video joiner for that matter? Actually, all I need for now is a way to play two video files one after the other using the MediaPlayer class is that possible? Abhi On Mar 11, 1:37 pm, Abhi wrote: > I want to create a video splitter that uses the videos that reside on > the SD card an

[android-developers] Certificates

2010-03-24 Thread ABhi
Hi, I've this doubt regarding the certification authorities that Android phone supports. With my previous experience with J2ME, which states that some of the phones doesn't support thawt, while some other doesn't support verisign and so on. Net, net, there wasn't any certification authority which

[android-developers] Wireshark not showing HTTP packets for emulator

2010-03-24 Thread abhi
Hi, I'm trying to use wireshark to capture some HTTP packets exchanged between the emulator and a website. However, even though I can see the web content on the emulator browser, wireshark does not display any HTTP packets exchanged between the emulator and the website. Why is this? -- You recei

[android-developers] Video player

2010-03-25 Thread Abhi
Hi, I want to create a better video picker for my player. What I am doing today is startActivityForResult( new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Video.Media.INTERNAL_CONTENT_URI),PICK_VIDEO); but this brings up a basic list view. What I am trying to get is something with thu

[android-developers] how to determine length of a video programmatically?

2010-03-26 Thread Abhi
Is there a way to determine the length of a video before playing it? Thanks, Abi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Re: how to determine length of a video programmatically?

2010-03-26 Thread Abhi
6, 1:12 pm, Simone Russo wrote: > Try the MediaPlayer.getDuration() method > Simone > > On Fri, Mar 26, 2010 at 5:58 PM, Abhi wrote: > > Is there a way to determine the length of a video before playing it? > > > Thanks, > > > Abi > > > -- > >

[android-developers] Re: how to determine length of a video programmatically?

2010-03-26 Thread Abhi
Hi, Could anyone tell me how to use getDuration() method for VideoView? I tried using getDuration() much after using setVideoPath() but the result is always the same -1. Abhi On Mar 26, 1:19 pm, Abhi wrote: > I am using VideoView and I tried using getDuration() this way > > * defined

[android-developers] getDuration() in VideoView returns -1 !!!

2010-03-26 Thread Abhi
Hi, Has anyone tried using the getDuration() method in VideoView? It returns a -1 for me always. Is there a way around? Thanks, Abhi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

[android-developers] Re: getDuration() in VideoView returns -1 !!!

2010-03-26 Thread Abhi
The idea was to post the same question with a relevant subject this time... don't think it should annoy you that much On Mar 26, 2:17 pm, Yahel wrote: > Stop posting twice the same question. Wait for an answer in your > original post. > > Yahel > > On Mar 26, 7:06 pm

[android-developers] Re: how to determine length of a video programmatically?

2010-03-26 Thread Abhi
yes there is nothing wrong with the video path and the video plays fine. thanks On Mar 26, 2:18 pm, Yahel wrote: > Have you checked that your setVideoPath returns a correct video path ? > > Can you see the video when calling the start method ? > > Yahel > > On Mar 26,

[android-developers] Adding network presence to ContactsContract

2010-03-26 Thread abhi
Is there a way to add network presence to ContactsContract via a Raw Contacts insert? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, s

[android-developers] Re: left scrollbar

2010-03-29 Thread ABhi
Hi Why don't we have any view that supports both horizontal and vertical scrollbar? What am i supposed to do to show an auditorium layout on Android (which enables user to select particular seat on that auditorium? Regards, Abhishek On Mar 29, 4:36 am, Romain Guy wrote: > Yes. > > On Sun, Mar

[android-developers] Re: Layout with ScrollView and TextView

2010-04-02 Thread ABhi
Hi, If i understood your requirement correctly then your problem can be resolved by 'AndroidsFortune' application's source code. The guys has done wonderful job by having both horizontal and vertical scrolling for the TextView. Hope it helps you. Regards, Abhishek On Apr 2, 2:13 am, andrej sark

[android-developers] Re: Droid Video Recorder

2010-04-05 Thread Abhi
DP, no. I couldn't find anything that would let me record videos at high resolutions. Were you able to figure out? Abhi On Apr 1, 2:24 pm, DP wrote: > Did anyone found a solution to record 720x480 videos yet? > > On Mar 9, 2:39 pm,Abhi wrote: > > > There is a Camc

[android-developers] copy file from sdcard to Android package filesystem (/data/data/packagename/files/) ??/

2010-04-14 Thread Abhi
Hi Is it possible to copy a file located on the sdcard to a package's internal filesytem located at /data/data/packagename/files/ folder? Thanks, Abhi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group

[android-developers] Re: copy file from sdcard to Android package filesystem (/data/data/packagename/files/) ??/

2010-04-14 Thread Abhi
27 am, Mark Murphy wrote: > Abhi wrote: > > Is it possible to copy a file located on the sdcard to a package's > > internal filesytem located at /data/data/packagename/files/ folder? > > Yes, via standard Java I/O. Use getFilesDir() to find out where > /data/data/packagen

[android-developers] problem playing back .mp4

2010-04-23 Thread Abhi
.mp4 and . 3gp. Thanks, Abhi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developer

[android-developers] Re: problem playing back .mp4

2010-04-23 Thread Abhi
CK_VIDEO); The only ones that show up are the .3gp video files located on my sdcard. Abhi On Apr 23, 11:24 am, Mark Murphy wrote: > Abhi wrote: > > I am having trouble playing back a .mp4 video. I can only hear audio > > in the background and the phone hangs until the video (or sho

[android-developers] Re: problem playing back .mp4

2010-04-23 Thread Abhi
Mark What did you mean when you said the videos would work as long as they are properly hinted? Abhi On Apr 23, 11:35 am, Mark Murphy wrote: > Abhi wrote: > > I see the .mp4 video as having a frame rate of 30fps and resolution > > 640 x 480. Is that an issue? > > I have n

[android-developers] preventing orientation change during video playback

2010-04-26 Thread Abhi
hello I am workin on a video player app in which I want only the landscape orientation active coz right now when the user tilts the phone during video runtime, it restarts playback in that orientation. How can I easily avoid this? Thanks, Abhi -- You received this message because you are

[android-developers] Re: preventing orientation change during video playback

2010-04-26 Thread Abhi
Excellent inputs guys... Thanks a ton!! Abhi On Apr 26, 2:51 pm, Prajakta Shitole wrote: > You can also set the screenOrientation to be as "landscape" in your Android > Manifest file for the Activity which has the video player. > > Eg:- > >   android:screenOrienta

[android-developers] Video transition effects during Playback?

2010-04-26 Thread Abhi
Is there an easy way to insert transitional effects during Video playback from the available APIs? Or is this something that would have to be done outside of Android (Native code implementation)? Thanks, Abhi -- You received this message because you are subscribed to the Google Groups "An

[android-developers] FATAL EXCEPTION: Timer-0

2010-08-17 Thread Abhi
) 08-17 23:02:11.680: ERROR/AndroidRuntime(2652): at java.util.Timer $TimerImpl.run(Timer.java:289) 08-17 23:02:11.694: WARN/ActivityManager(1726): Force finishing activity com.trial.video/.PlayVideo Thanks, Abhi -- You received this message because you are subscribed to the Google Groups

[android-developers] Toggle Button state programatically

2010-08-20 Thread Abhi
state to False state, but doesn't go back to True state again unless I touch the button, which is kinda weird. Can someone help me on this? Thanks, Abhi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group

[android-developers] Re: Toggle Button state programatically

2010-08-22 Thread Abhi
Any clue on this anyone? On Aug 20, 10:32 am, Abhi wrote: > Hi > > I am trying to toggle button state programatically. I want to go > between setEnabled(False) and setEnabled(True) for a given duration. I > have a timer and I want to toggle between these states at regular time >

[android-developers] Button State does not toggle automatically!! Help!

2010-08-22 Thread Abhi
so on. But none of them seem to work. Is there any way I can make it toggle programatically and without user intervention through touch? or is it impossible to do it with the VideoView? Thanks, Abhi -- You received this message because you are subscribed to the Google Groups "Android Develop

[android-developers] Re: Button State does not toggle automatically!! Help!

2010-08-23 Thread Abhi
is getting disabled through my program by calling button.setEnabled(false), on the screen, I still see the button as active and only when I touch the screen, the button is seen to be in the inactive state (disabled state with grey color). I hope that solves your confusion? Thanks, Abhi On Aug 2

[android-developers] Re: Button State does not toggle automatically!! Help!

2010-08-23 Thread Abhi
I am calling setEnabled from the UI thread... still the same thing. On Aug 23, 9:09 am, Kostya Vasilyev wrote: > Make sure you're caliling setEnabled from the UI thread. > > -- > Kostya Vasilyev --http://kmansoft.wordpress.com > > 23.08.2010 16:57 пользователь "A

[android-developers] Re: Button State does not toggle automatically!! Help!

2010-08-26 Thread Abhi
t; possible.button.setFocusable(),button.requestFocus(),button.bringToFront() > and so on. But none of > them seem to work. > > Is there any way I can make it toggle programatically and without user > intervention through touch? or is it impossible to do it with the > VideoView? >

  1   2   3   >