[android-developers] Re: maps not getting displayed

2009-01-29 Thread JS
did you get the maps api key? On Jan 28, 10:49 pm, sankalp sankalp.ya...@gmail.com wrote: hi group i was making a location based service applictaion but i was not getting maps rendered in to my mapview . i checked the ddms log i saw an error in mapactivty tags couldnt get connection

[android-developers] Re: Failed to upload myapp.apk on 'HT841GZ03224': Too many open files

2009-01-29 Thread Stoyan Damov
I don't know the reason for this particular error message, but I strongly advise you to always uninstall your app before reinstalling, otherwise you'll run out of device memory and would have to do the double shutdown or battery pull trick to get it back. Cheers On Wed, Jan 28, 2009 at 9:22 PM,

[android-developers] Re: Is SDK(r2) support camera capture from desktop devices * (webcams etc). ?

2009-01-29 Thread blindfold
Maybe try http://www.tomgibara.com/android/camera-source On Jan 29, 6:59 am, jj jagtap...@gmail.com wrote: Actually I am working on emulator, dont have android phone, I am developing app of capture image using camera and use that in my appl. Thank you.

[android-developers] Video resolution support

2009-01-29 Thread Raghu D K
Hello All, What are the video resolutions supported by the PV codecs in the opencore module? Is there a manual or guide describing this? Warm Regards, Raghu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] MyLocation blinking dot

2009-01-29 Thread JS
I like the blinking blue dot with the surrounding disc showing the accuracy. How do I implement such a dot in my custom Canvas? I know I can subclass MyLocationOverlay class, but I need to draw the dot using my own data, etc. Thanks! --~--~-~--~~~---~--~~ You

[android-developers] Finding the data directory of an application

2009-01-29 Thread info.sktechnol...@gmail.com
Is there a preferred way to find the data directory of an application, other than starting with android.os.Environment.getDataDirectory() and appending /data/ and the package name? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Porting JavaME Midlet to android.

2009-01-29 Thread sblantipodi
I'll simply abandon this unuseful platform :) Android serves only to create other fragmentation... On Jan 28, 7:49 pm, Noonien Soong nooniensoong2...@gmail.com wrote: You will be able to use java code that does not access any of the J2ME APis. You will have to recode most of the

[android-developers] Exporting 3D model from Maya/Blender, what format to use it with android?

2009-01-29 Thread sblantipodi
As subject... I want to export my 3D model from Maya/Blender and I want to render it using android... In what format I need to export my 3D model? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] How do you pass a Bundle to an activity on an instrumentation test case?

2009-01-29 Thread J . Pablo Fernández
Hello, When implementing an ActivityInstrumentationTestCase, how do you start the activity with a Bundle of saved state? Thanks. -- J. Pablo Fernández pup...@pupeno.com (http://pupeno.com) --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Porting JavaME Midlet to android.

2009-01-29 Thread Daniel Janev
Hi Guys, I hope that in the next android release the DexFile (something like class loader) will work without any hacks. Having this feature will allow anyone to implement the MIDP/CLDC APIs over Android ones. Also having a simple backend system, which converts the Java classes into

[android-developers] Re: Finding the data directory of an application

2009-01-29 Thread Chander Pechetty
you can use the second one in your activity. 1. getFilesDir().getAbsolutePath() 2. getFilesDir().getParentFile() Check the javadocs for ContextWrapper On Jan 29, 2:13 pm, info.sktechnol...@gmail.com info.sktechnol...@gmail.com wrote: Is there a preferred way to find the data directory of an

[android-developers] Re: Exporting 3D model from Maya/Blender, what format to use it with android?

2009-01-29 Thread suhas gavas
U can use ms3d model and can use NEHE tutorial (lesson 31) On Thu, Jan 29, 2009 at 3:00 PM, sblantipodi perini.dav...@dpsoftware.orgwrote: As subject... I want to export my 3D model from Maya/Blender and I want to render it using android... In what format I need to export my 3D model?

[android-developers] Re: Porting JavaME Midlet to android.

2009-01-29 Thread tauntz
You may want to take a look at MicroEmulator or J2ME runner. They are both projects aimed at running J2ME applications on Android without any (significant) rewrite. http://microemu.blogspot.com/2008/11/running-java-me-applications-on-android.html and http://www.netmite.com/android/index.html

[android-developers] Re: How to receive connectivity change notifications?

2009-01-29 Thread Kuba Lipiński
I'm answering myself: So actually it works well. I was expecting the broadcast to be sent more frequently, but it looks like my G1 is keeping the connection open all the time. The easiest way to test the broadcast is to go to settings and switch to 2G and back to 3G. The event is fired. Cheers,

[android-developers] Re: maps not getting displayed

2009-01-29 Thread Charlie Collins
Exactly as RS stated, that error happens when the key isn't found, or isn't correct. Make sure you have a key, and it's in the right place, and so on: http://code.google.com/android/toolbox/apis/mapkey.html On Jan 29, 1:49 am, sankalp sankalp.ya...@gmail.com wrote: hi group i was making a

[android-developers] what is maximum height and width of image which can display?

2009-01-29 Thread jj
what is maximum height and width of image which can display? When I try for 1000px height and 1000pix width it work, but for beyond it, it gives exception, appl force close. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: DEVICE_POWER permission denied for using goToSleep

2009-01-29 Thread Phill Midwinter
Is it set in the androidmanifest? 2009/1/29 mnj manojgopa...@gmail.com Hi, I wanted to use the funcion goToSleep() in PowerManager Class to force the device to sleep. But I'm getting an exception and the application crashes when I call this function. I already have added the DEVICE_POWER

[android-developers] Re: Gesture detection

2009-01-29 Thread Phill Midwinter
I checked the API, you're right there's no OnUp()... but couldn't you use OnFling() which would return when the motion is complete? onFling(MotionEventhttp://code.google.com/android/reference/android/view/MotionEvent.htmle1,

[android-developers] ListView w/ImageView - memory utilisation

2009-01-29 Thread AusR
Hi, I am displaying a listview where the view used for each row includes an ImageView and TextView, with the image displayed dependant on the contents of the TextView. the images are at this testing phase pngs approx 600bytes each, dimensions of max 100x35 px. I have noticed on both a large

[android-developers] Re: Applications copy protection

2009-01-29 Thread Robin Bad
Thank you for your answers! --~--~-~--~~~---~--~~ 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: Reg playing youtube video in android

2009-01-29 Thread Harishkumar V
Dave, I tried to play via mediaplayer example given in the sdk with the YouTube video url (http://in.youtube.com/watch?v=l43Bbn2Xpwk), In mediaplayer_video.java file, path=http://in.youtube.com/watch?v=l43Bbn2Xpwk; it failed to play. Any modifications to be done in the mediaplayer to stream

[android-developers] Re: MyLocation blinking dot

2009-01-29 Thread Faber Fedor
On Thu, Jan 29, 2009 at 3:52 AM, JS yevm...@gmail.com wrote: I like the blinking blue dot with the surrounding disc showing the accuracy. How do I implement such a dot in my custom Canvas? I know I can subclass MyLocationOverlay class, but I need to draw the dot using my own data, etc.

[android-developers] Re: Not able to build Browser Source Code on android-sdk-windows-1.0_r1

2009-01-29 Thread Jean-Baptiste Queru
The browser is not currently buildable with the SDK as it uses private APIs. Note that it also uses system permissions, so it can't be run on a stock G1. JBQ On Wed, Jan 28, 2009 at 10:45 PM, Pratap ajit@gmail.com wrote: Hi All I am trying to build the Browser source code downloaded

[android-developers] Re: Finding the data directory of an application

2009-01-29 Thread Mark Murphy
info.sktechnol...@gmail.com wrote: Is there a preferred way to find the data directory of an application, other than starting with android.os.Environment.getDataDirectory() and appending /data/ and the package name? Context#getFilesDir(). Bear in mind that Activity and Service are subclasses

[android-developers] Re: ListView w/ImageView - memory utilisation

2009-01-29 Thread Mark Murphy
AusR wrote: I am displaying a listview where the view used for each row includes an ImageView and TextView, with the image displayed dependant on the contents of the TextView. the images are at this testing phase pngs approx 600bytes each, dimensions of max 100x35 px. I have noticed on

[android-developers] what is maximum height and width of image which can display?

2009-01-29 Thread jj
what is maximum height and width of image which can display? When I try for 1000px height and 1000pix width it work, but for beyond it, it gives exception, appl force close. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] what is maximum height and width of image which can display?

2009-01-29 Thread jj
what is maximum height and width of image which can display? When I try for 1000px height and 1000pix width it work, but for beyond it, it gives exception, appl force close. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: what is maximum height and width of image which can display?

2009-01-29 Thread Stoyan Damov
Why would you want to draw a 1000x1000 image on 480x320 screen? On Thu, Jan 29, 2009 at 2:05 PM, jj jagtap...@gmail.com wrote: what is maximum height and width of image which can display? When I try for 1000px height and 1000pix width it work, but for beyond it, it gives exception, appl

[android-developers] OutOfMemoryError when scrolling ListView

2009-01-29 Thread muckwarrior
I'm having problems with ListViews in my application. I thought everything was fine until I noticed that if I scrolled up and down through the list quickly a number of times, sooner or later the app would crash with an OutOfMemoryError. When I searched for the error I noticed a number of posts

[android-developers] Re: Gesture detection

2009-01-29 Thread Moto
I currently use onFling() but this isn't called all the time. You can have onScroll() event happening without onFling() action following... That's from my experience... I assume onFling() is how fast you do a swipe. So because onFling() isn't called all the time my code doesn't do what it

[android-developers] Help needed regarding Maps application in Emulator

2009-01-29 Thread swapnil . dalal
Hello all, Can any one tell me how can I use the Maps application present on the Emulator? Do I have to do any settings before using that? If I want to use or load Actual map by that application what all things I have to do? Regards; Swapnil Dalal

[android-developers] Re: what is maximum height and width of image which can display?

2009-01-29 Thread Phill Midwinter
I suppose for something like the camera gallery, so you can view your photos at full res? 2009/1/29 Stoyan Damov stoyan.da...@gmail.com Why would you want to draw a 1000x1000 image on 480x320 screen? On Thu, Jan 29, 2009 at 2:05 PM, jj jagtap...@gmail.com wrote: what is maximum height

[android-developers] Re: orange in R.color ?

2009-01-29 Thread Chander Pechetty
android:background=@android:drawable/list_selector_background and use it as indicated by Dianne above... Cheers Chander --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Gesture detection

2009-01-29 Thread Phill Midwinter
AH That makes much more sense now. So, if OnFling isn't called, then you'd want to use onSingleTapUphttp://code.google.com/android/reference/android/view/GestureDetector.OnGestureListener.html#onSingleTapUp%28android.view.MotionEvent%29

[android-developers] Translators for German, Polish and Spanish

2009-01-29 Thread wescorp
Trafficman Maps is in need of translators for German, Polish and Spanish for Trafficman Maps 1.0. Attribution as translator is offered as compensation for use of your translation. If interested, please email. Cheers, Wes --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Reg playing youtube video in android

2009-01-29 Thread kolby
Dave, you can play youtube video by launching a View intent with the youtube video page url right now on the device (no cupcake or developer key required). It will launch the youtube player. The problem is, it doesn't work in the emulator, since there's no youtube app. Michael On Jan 28, 3:37 

[android-developers] Re: Translators for German, Polish and Spanish

2009-01-29 Thread Peli
Hi Wes, We could offer German, and have Polish and Spanish translators in our team. Is there a language you could offer in return? Have you thought about using Launchpad for your translations? Please visit our developer's forum so that we can discuss the details:

[android-developers] Re: Reg playing youtube video in android

2009-01-29 Thread Marco Nelissen
On Thu, Jan 29, 2009 at 4:47 AM, Harishkumar V harishpres...@gmail.comwrote: Dave, I tried to play via mediaplayer example given in the sdk with the YouTube video url (http://in.youtube.com/watch?v=l43Bbn2Xpwk), That's not the URL of a video, it's the URL of a webpage which has a flash

[android-developers] Re: what is maximum height and width of image which can display?

2009-01-29 Thread Stoyan Damov
I still don't get it. The viewport is 480x320. Imagine if you are trying to play Quake or Unreal Tournament and the game tries to draw the entire level, even though only a tiny part of it is visible. On Thu, Jan 29, 2009 at 4:39 PM, Phill Midwinter ph...@grantmidwinter.com wrote: I suppose for

[android-developers] Re: what is maximum height and width of image which can display?

2009-01-29 Thread Phill Midwinter
That's a Z buffer. A correct comparison would be running a game in 1280x1024 but only having an 800x600 capable screen... in which case the game wouldn't display. This is simply a 2d image, why not load it all into memory if you're going to be dragging it around? 2009/1/29 Stoyan Damov

[android-developers] Re: OutOfMemoryError when scrolling ListView

2009-01-29 Thread muckwarrior
Never mind, I've managed to solve the problem myself with a hint from the other similar thread that I didn't see before posting. For anyone that encounters the same problem, I fixed it by using convertView as explained here http://androidguys.com/?p=635 On Jan 29, 2:23 pm, muckwarrior

[android-developers] Re: MyLocation blinking dot

2009-01-29 Thread JS
Faber, won't that just draw a simple circle? What about making the dot blink like the default Google Maps on android? Thanks On Jan 29, 5:01 am, Faber Fedor faberfe...@gmail.com wrote: On Thu, Jan 29, 2009 at 3:52 AM, JS yevm...@gmail.com wrote: I like the blinking blue dot with the

[android-developers] Re: MapsApplication missing from source code?

2009-01-29 Thread Ludwig
The people from AndNav have put together an open source map application, which you can find at http://code.google.com/p/osmdroid/. HTH Ludwig 2009/1/29 Dianne Hackborn hack...@android.com I don't think anyone will have time to put together such a thing. There is lots of sample code showing

[android-developers] Re: MyLocation blinking dot

2009-01-29 Thread Faber Fedor
On Thu, Jan 29, 2009 at 11:09 AM, JS yevm...@gmail.com wrote: Faber, won't that just draw a simple circle? Yes. It was a simple example. You can put whatever drawing functionality in there that you want. What about making the dot blink like the default Google Maps on android? I

[android-developers] VGA Out (for external monitor/projector)

2009-01-29 Thread Pastymage
http://www.bhphotovideo.com/c/product/586388-REG/3M_MPRO110_MPRO110_MICRO_PROFESSIONAL_PROJECTOR.html/BI/1239/kw/3MMPRO110 + Dev Phone 1 How? -Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Why Android?

2009-01-29 Thread Jon Smith
Thank you all very much for the information, It has all been of great benefit. If any one has any information to add, good or bad, please feel free to do so here or to email me directly. Thanks again Jon On Jan 22, 3:54 pm, Massimo Carli maxcarl...@gmail.com wrote: Hi all, I have experience

[android-developers] Re: Why Android?

2009-01-29 Thread Jon Smith
Thank you all very much for the information, It has all been of great benefit. If any one has any information to add, good or bad, please feel free to do so here or to email me directly. Thanks again Jon On Jan 22, 3:54 pm, Massimo Carli maxcarl...@gmail.com wrote: Hi all, I have experience

[android-developers] Re: Why Android?

2009-01-29 Thread Jon Smith
Thank you all very much for the information, It has all been of great benefit. If any one has any information to add, good or bad, please feel free to do so here or to email me directly. Thanks again Jon On Jan 22, 3:54 pm, Massimo Carli maxcarl...@gmail.com wrote: Hi all, I have experience

[android-developers] How to extract an image from a video

2009-01-29 Thread Raghu
Hi, I want to get thumbnail from a video. So I need to extract first frame in the video. Please let me know how can I do that in Android. Thanks in Advance, Raghu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] ListView with the CheckBoxPreference look

2009-01-29 Thread Dan Dromereschi
Hello, I am trying to build a ListView that contains items that look exactly like the CheckBoxPreference, an android.R.id.text1, an android.R.id.text2 and a checkbox. I am using a SimpleAdapter and I manage to either have only text1 and the checkbox, or text1 and text2, but never all the 3 of

[android-developers] Install Android on PC possible?

2009-01-29 Thread Zi Yong Chua
Hi guys, I am trying to install Android as a separate OS running on top of my Windows 7/Ubuntu for development, not just running the emulator. May I know if it is possible and did anyone managed to do it? Cheers Zi Yong --~--~-~--~~~---~--~~ You received this

[android-developers] Audio chat

2009-01-29 Thread gunar
Hi! I have a question? Can someone give me a direction where to look to make an audio chat application? I saw some threads related to audio streaming, also other related to audio recording/playing. How to setup a RTP/RTCP/RTSP session between two Android clients? Best regards! Adrian

[android-developers] Sending Multipart SMS

2009-01-29 Thread Chethan
Hi, I am trying to send a multipart SMS using the following code. While the SMS is being split into multiple parts and sent across, in the receiver, I am seeing some junk characters (as if i am reading a binary file). Obviously, I am not doing something correct. Can someone (plusminus ) help?

[android-developers] Android File System Build Error

2009-01-29 Thread igal_ch
Hi, I started to work with the latest Android version for OMAP3430 (Zoom1) platform by getting sources via repo sync. The u-boot and kernel images were built successfully but file system build encountered the issue for vendor/ti/ldp1/buildspec.mk.default configuration (copied to buildspec.mk)

[android-developers] opengl gc

2009-01-29 Thread Steven Lagerweij
I've been playing with OpenGL but am unable to get a steady framerate due to GC. When rendering 100 tiles each frame (in ortho mode), the GC needs to recover ~22000 objects every 3 seconds or so. Each collection is taking around 110 ms. Of course this means quite a framerate dip. ...

[android-developers] Pre populating emulator with sms message

2009-01-29 Thread reyjexter
Hi, I'm developing an application that makes use of sms. How can I pre populate the emulator when it starts so I can try reading its content? -rey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: maps not getting displayed

2009-01-29 Thread merouz
1. Get The map key : please see ref:http://code.google.com/android/ reference/com/google/android/maps/MapView.html, there are two thing that you should follow for using MapView 2. when using the MapActivity, insert his code : uses-library android:name=com.google.android.maps / , see ref :

[android-developers] Android 1.5 Cupcake

2009-01-29 Thread Koffi
I got Cupcake images from http://nullwire.com/try_out_cupcake_yourself followed the instructions, it worked fined in the beginning, I realized Maps was no longer the home screen and API Demos and Maps were missing from applications screen too and with 1.5 I can now access SD Card phone storage

[android-developers] Add new contacts directly in My Contacts.

2009-01-29 Thread DarkJJ
Hi all. I want to create a new contact in the group My Contacts, with name and number phone like data. I only have seen this example that how must i do this: http://code.google.com/intl/es-ES/android/devel/data/contentproviders.html But in this example, the new contacts are added in the list

[android-developers] Re: How to enable / disable Bluetooth

2009-01-29 Thread moose
use the getString or the putString method instead and then convert to a boolean or integer. I am having a problem myself. doing a getstring of this property always returns 1 whether the blue tooth is on or not. Anybody else see this behavoir? Anyone have a solution to finding out if the

[android-developers] Re: android.provider.Settings.System

2009-01-29 Thread moose
use the getString and putString method instead. below is my code, but I am having a problem that it always returns 1 (enabled) whether or not the bluetooth is on... String bluetoothEn = android.provider.Settings.System.getString(getContentResolver(),

[android-developers] HTML links in a TextView inside a ListView

2009-01-29 Thread Steve
I've got a ListView where each item in the list is contains several controls. One of the items is a checkbox, and I can check/uncheck it without problems. The other items are some TextViews and a WebView. I've got autoLink turned on and linksClickable turned on, but I can't get links to fire up

[android-developers] Re: Android 1.5 Cupcake

2009-01-29 Thread Marco Nelissen
Did you try asking whoever it was that created the image that is not working? On Thu, Jan 29, 2009 at 12:23 AM, Koffi kakib...@gmail.com wrote: I got Cupcake images from http://nullwire.com/try_out_cupcake_yourself followed the instructions, it worked fined in the beginning, I realized

[android-developers] Generating Touch screen events from remote host PC

2009-01-29 Thread newra...@gmail.com
I would like to inject the touch events from remote host PC. Is there any way to achieve that? I am sorry if the question asked before. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: HTML links in a TextView inside a ListView

2009-01-29 Thread Phill Midwinter
android:autoLink=web - just to be sure, i'm going to try it within a listview now 2009/1/29 Steve bigadventu...@gmail.com I've got a ListView where each item in the list is contains several controls. One of the items is a checkbox, and I can check/uncheck it without problems. The other

[android-developers] Re: Why Android?

2009-01-29 Thread cindy
Does someone has iphone development experience? Can you share your experience of developing iphone application? On Jan 29, 8:44 am, Jon Smith work.jonsm...@googlemail.com wrote: Thank you all very much for the information, It has all been of great benefit. If any one has any information to

[android-developers] how to add scroll bar to linearlayout

2009-01-29 Thread cindy
I have build a UI using linearlayout. It displays fine if phone is in vertical position. But when I switch my phone to horizontal position. Some content is not displayed. Is there anyway to add a scroll bar to linear layout? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: ListView with the CheckBoxPreference look

2009-01-29 Thread James Yum
Hi Dan, Can you post some code? Cheers, James On Thu, Jan 29, 2009 at 6:31 AM, Dan Dromereschi dandromeres...@gmail.comwrote: Hello, I am trying to build a ListView that contains items that look exactly like the CheckBoxPreference, an android.R.id.text1, an android.R.id.text2 and a

[android-developers] Re: how to add scroll bar to linearlayout

2009-01-29 Thread James Yum
Hi Cindy, You can try wrapping it in a ScrollView, Cheers, James On Thu, Jan 29, 2009 at 10:15 AM, cindy ypu01...@yahoo.com wrote: I have build a UI using linearlayout. It displays fine if phone is in vertical position. But when I switch my phone to horizontal position. Some content is not

[android-developers] WebView.loadData does not always work quite right

2009-01-29 Thread Mark Nuetzmann
I have a simple webview client that gets the content from a url and loads it into the WebView. When the activity starts and the first data is loaded into the WebView it works beautifully. I can click the href of the image returned in the url data and the WebView launches the browser just fine.

[android-developers] Re: Reg playing youtube video in android

2009-01-29 Thread Dave Sparks
Interesting, I didn't know that made it to the 1.0 release. Thanks! On Jan 29, 6:48 am, kolby kolbys...@gmail.com wrote: Dave, you can play youtube video by launching a View intent with the youtube video page url right now on the device (no cupcake or developer key required). It will launch

[android-developers] Re: For launching a camera from appl which action requires?

2009-01-29 Thread James Yum
Hi, The bitmap is returned in the extras bundle, e.g.: Bundle extras = intent.getExtras(); Bitmap bitmap = (Bitmap) extras.get(data) ; However, be aware that the quality of the image cannot be specified at this time, but should be fixed in the future:

[android-developers] Re: what is maximum height and width of image which can display?

2009-01-29 Thread Dave Sparks
The application heap is limited to 16MB. For RGB565, that's a max of 8M pixels, not including the heap that the app uses for other objects. Chances are, you are probably decoding from a JPEG, so you need room for both the compressed and uncompressed version. On Jan 29, 7:41 am, Phill Midwinter

[android-developers] Re: How to extract an image from a video

2009-01-29 Thread Dave Sparks
This is not possible with the 1.0 SDK. This feature will be available in the Cupcake release. On Jan 28, 11:16 pm, Raghu gragh...@gmail.com wrote: Hi,       I want to get thumbnail from a video. So I need to extract first frame in the video. Please let me know how can I do that in Android.

[android-developers] Re: Audio chat

2009-01-29 Thread Marco Nelissen
You can't do that using the SDK at the moment. You might be able to hack something together using native code, but you'd either have to use AMR or provide your own encoder, and you'd also have to write your own rtsp or http server or other communications protocol. That's probably beyond the scope

[android-developers] Re: Audio chat

2009-01-29 Thread Dave Sparks
This is not really possible with 1.0 SDK. Someone has done a walkie- talkie like program that records audio to a file and then streams it, but not real-time audio. The Cupcake release will add the capability to stream audio from the mic into a Java app and stream audio from a Java app to the

[android-developers] Re: Video resolution support

2009-01-29 Thread Dave Sparks
I don't know that there are any specific restrictions on the video resolution for the software codecs. It's really a matter of whether the CPU has adequate cycles to decode it in real-time. Some of the codecs are hardware accelerated and they do have restrictions about frame size, bit-rate, and

[android-developers] Re: Android File System Build Error

2009-01-29 Thread Dianne Hackborn
Hi, questions about working with the open source project should be in the associated groups, such as android-platform or android-porting. On Thu, Jan 29, 2009 at 8:30 AM, igal_ch iga...@gmail.com wrote: Hi, I started to work with the latest Android version for OMAP3430 (Zoom1) platform by

[android-developers] Is it possible to run ADB shell command from inside an Android app

2009-01-29 Thread Anshul
I am trying to run an ADB shell command from inside an android app using the JAVA's Runtime.getRunTime.exec API. I am getting an error ERROR/ProcessManager(1041): Error running adb: Permission denied. Wanted to check if there is any permission that I need to request to get it working or that

[android-developers] Re: Wrong resultCode when sending email?

2009-01-29 Thread Noonien Soong
Thank you for pointing that out. So I get RESULT_CANCELED when the activity actually send something. I guess its no big deal, but why not have a different return type for an intent that doesn't return anything? like RESULT_NONE, RESULT_DEFAULT or RESULT_VOID. When I saw the return type, it was

[android-developers] Re: Is it possible to run ADB shell command from inside an Android app

2009-01-29 Thread hmmm
I don't know the answer but interested why would you want to do that? - Original Message - From: Anshul aaj...@gmail.com To: Android Developers android-developers@googlegroups.com Sent: Thursday, January 29, 2009 10:33 PM Subject: [android-developers] Is it possible to run ADB shell

[android-developers] Re: Is it possible to run ADB shell command from inside an Android app

2009-01-29 Thread Bill Napier
There are a couple problems here. 1. The phone doesn't have the adb command installed on it and doesn't need it. adb shell is only to be able to run shell commands from a computer on the phone. 2. Permission denied is the default (confusing and buggy) error code returned when you try and

[android-developers] Re: SAXParser getting stuck on certain characters

2009-01-29 Thread 3D
Thank you both for your responses! I think I will try just removing these characters. On Jan 28, 9:14 am, Brad Gies rbg...@gmail.com wrote: Well.  the best thing to do would be to escape those characters at the server that sends the document, but if that is not possible then you could

[android-developers] MediaPlayer seeking back

2009-01-29 Thread ed
I've been using androids MediaPlayer to stream from an http url and have a question about seeking. Currently, our urls expire after they have been used once or a certain time out has expired to dissuade scraping content. Now, this obviously makes progressive streaming past the buffer impossible

[android-developers] Re: Why Android?

2009-01-29 Thread Julio Barros
I have some experience with the iPhone and am just starting to get my head around android. I'm not sure what aspect/comparison you are most interested in. The first most obvious difference is Java vs Objective- C. I had done a lot of Java before I started on the iPhone. If you have

[android-developers] Putting App for Testing on My Dev Phone

2009-01-29 Thread John Miller-George
I have gotten through signing up as an Android developer, joined Android Market, and recieved and activated my Android Developer Phone. I have my first draft application running in the emulator. The documentation suggests testing it throughly on the device, however, I don't want to put it up

[android-developers] Disable Auto Rotate?

2009-01-29 Thread dorkinator
Hi, I'm fairly new to android development - I'm having trouble finding documentation on how to disable the accelerometer/auto-rotate feature for an app (i.e. when you turn the phone, everything 'corrects' changing the layout). Is it possible to disable in the emulator?

[android-developers] GPS coords to screen coords

2009-01-29 Thread João Oliveirinha
Hi, I searched this mailing list to know the anwser for this but I cant find it. I dont want to use a MapActivity/MapView.. I just want to draw gps traces on a blank background so I cant use getProjection() from MapView. How can I do this in a simple way? Thanks and sorry for my poor english.

[android-developers] Re: Putting App for Testing on My Dev Phone

2009-01-29 Thread Mark K
You can use adb (Android Debug Bridge) to install applications onto your phone. ie 'adb install c:\myproject\myapp.apk'. You should familiarize yourself with the Android command line tools such as adb and ddms, and not just rely on Eclipse. Don't forget to add the /tools directory to your PATH.

[android-developers] Re: Disable Auto Rotate?

2009-01-29 Thread Dianne Hackborn
Use android:screenOrientation on your activity: http://code.google.com/android/reference/android/R.styleable.html#AndroidManifestActivity_screenOrientation Fwiw, sensor-based rotation is not currently enabled by default so you should never be seeing it unless your app specifically does it for

[android-developers] Re: Video and Audio format Supported by Android

2009-01-29 Thread Eric
Hi Dave, Please update us when the new pages are up.and where. Thanks Eric Portable Electronics Ltd www.hdmp4.com On Jan 29, 7:38 am, Dave Sparks davidspa...@android.com wrote: We are getting ready to post some new pages in the SDK area that will cover this information. If you can't

[android-developers] Re: Is it possible to run ADB shell command from inside an Android app

2009-01-29 Thread Dianne Hackborn
Also please note that shell commands are NOT part of the SDK. If you rely on them in your app, expect to break in the future. On Thu, Jan 29, 2009 at 12:42 PM, Bill Napier nap...@google.com wrote: There are a couple problems here. 1. The phone doesn't have the adb command installed on it

[android-developers] Re: Sending a message from Service to Activity

2009-01-29 Thread Noonien Soong
A couple of questions... See below: On Dec 19 2008, 8:46 pm, Dianne Hackborn hack...@android.com wrote: Yes, there are a number of options: (1) In your activity use registerReceiver() for your own custom action (scoped to your package), and broadcast to that from the service.  We aware that

[android-developers] Re: Need help in running the android junit test case for andriod APIDemo in eclipse

2009-01-29 Thread Diego Torres Milano
This may help you http://dtmilano.blogspot.com/2008/11/android-testing-on-android-platf.html On Jan 29, 1:55 am, ying...@gmail.com ying...@gmail.com wrote: Hi, I am trying to run Junit test case for the android APIDemo project under eclipse. I create an eclipse project from the APIDemo

[android-developers] Re: Putting App for Testing on My Dev Phone

2009-01-29 Thread Faber Fedor
On Thu, Jan 29, 2009 at 4:13 PM, John Miller-George john.l.millergeo...@gmail.com wrote: 2) Is there a way to push my app onto my developer phone without using Android Market? Yep. Just plug it into your desktop and run your app! If so, would somebody please point this newbie to the

[android-developers] Re: Want to have amr file still getting 3gp

2009-01-29 Thread AlexeyMot
The recorder uses MediaRecorder.setOutputFormat (MediaRecorder.OutputFormat.THREE_GPP). On Jan 29, 11:45 pm, hmmm akul...@mail.ru wrote: Hi, I want to record and AMR file using the standard Sound Recorder application. So I use Intent.ACTION_GET_CONTENT_TYPE and use

[android-developers] Re: Sending a message from Service to Activity

2009-01-29 Thread Dianne Hackborn
On Thu, Jan 29, 2009 at 3:07 PM, Noonien Soong nooniensoong2...@gmail.comwrote: ...and give it to the service. - How do I give it to the service?. with intent.putExtra ? Since PendingIntent is a Parcelable? Yes the normal ways you would talk with a service -- you can put it in the Intent if

[android-developers] Re: Maps and API Demos

2009-01-29 Thread Jean-Baptiste Queru
Questions about working with cupcake (from which there currently exists no official SDK) should be on the android-platform mailing list. Anyway, the answer is you can't. JBQ On Thu, Jan 29, 2009 at 3:35 PM, Koffi kakib...@gmail.com wrote: How do I get Maps and API Demos back in Cupcake? Is

[android-developers] Re: Want to have amr file still getting 3gp

2009-01-29 Thread hmmm
I know that and in my case the format is set to RAW_AMR. As I said I invoke Sound Recorder passing Intent.setType(audio/arm) so it results in the Sound Recorder setting OutputFormat.RAW_ARM It creates a file with the arm extension yet the content of the file is 3gp. Is it so by design? -

[android-developers] how to implement scrolling text?

2009-01-29 Thread Rodrigo
HI, What is the best way to implement scrolling text (with behavior similar to that of HTML tag 'marquee')?? I've been trying to do this using TextViews + Animations but I'm having troubles primarily because of sizing issues. If my text is long enough that it exceeds the screen width, it won't

  1   2   >