[android-developers] Re: Plzzzzz Help....FileOutputStream creates problem in execution

2009-03-09 Thread Asif k
Hi all, The is working fine if I use this Socket server also as Desktop application. But it creates a problem at FIleOutputStream in the android application. Please reply On Mar 10, 10:13 am, Asif k wrote: > Hi all, > > I am running android server application which is listening to port >

[android-developers] Re: how to implement scrolling text?

2009-03-09 Thread soniya
I am talking about this API Demo: API Demos -> Text -> Marquee I tried selecting the textbut it does not move...not even a millimeter :( Am I missing something?? On Mar 4, 9:28 pm, Romain Guy wrote: > The marquee starts when a TextView gets focused/selected. It is used > throughout the UI

[android-developers] Plzzzzz Help....FileOutputStream creates problem in execution

2009-03-09 Thread Asif k
Hi all, I am running android server application which is listening to port to retreive the file.I want to receive the file sent from Desktop socket client application. To perform this task I used following code as Android socket server. But execution stops infinitely at the bos = new Buffer

[android-developers] GregorianCalendar.getOffset() returning 0

2009-03-09 Thread Farhan
Hello, My timezone is C.S.T. in U.S., so it has a raw offset of -6 from GMT and as of today it should be -5 as DST has started. But both the getRawOffset() and getOffset() methods are returning 0. Can anyone tell me why this is happening and how it can be corrected? Thanks. --~--~-~--~--

[android-developers] 24MB in RAW folder -- when running showing "INSTALL_FAILED_INSUFFICIENT_STORAGE"

2009-03-09 Thread Nithin
Hi, We have 10 mp4 files, total size is about 24MB. We put all in RAW folder and tried to run, but its showing "insufficient storage". What is the solution for this, please guide me in this ?? Whether we can put these files in SDCard or anywhere else ?? Thanks Nithin --~--~-~--~~

[android-developers] Re: maps probelm

2009-03-09 Thread veer reef
On Mon, Mar 9, 2009 at 9:15 PM, karthik wrote: > Hi Karthik , > > Hi, > I followed the procedure for signing up for Map api key as given > in the google documentation > and i got the api key.Then i put the api key in Mapview , i put > the uses library tag in manifest file and INTERNE

[android-developers] How to make MotionEvent Stable

2009-03-09 Thread Nithin
Hi, I am using motionEvent by X and Y co-ordinates, but when the skin changes like from Landscape to Portrait, its not working. So is there any way to make it Stable, like it has to work in all skin ? Thanks Nithin --~--~-~--~~~---~--~~ You received this message b

[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); HttpConnectionParams.setSoTimeout(my_htt

[android-developers] Re: Turning GPS ON/OFF

2009-03-09 Thread Edward Falk
On Mar 9, 1:20 pm, Rudi wrote: > What is the correct way of turning ON/OFF the GPS in Android. I've > found the System.Settings provider, and the LOCATION_PROVIDERS_ALLOWED > setting, but it seems that the rest of the system is not notified I had the exact same question myself. Browsing the s

[android-developers] Re: Android Testing with TMobile G1

2009-03-09 Thread Justin Allen Jaynes
I have connected a G1 to my development laptop and used eclipse just as I would when using the emulator to automatically deploy apk's and run and test them, and have the logcat readout looks just as per with the emulator. There is at least one difference which I noticed. You do NOT have root

[android-developers] error on MediaPlayer

2009-03-09 Thread bely
Hi all, I am writing a player for stream video, here is the player's code (just copy from apidemo): package com.android.playerdemo; import com.android.playerdemo.R; import android.app.Activity; import android.graphics.PixelFormat; import android.media.AudioManager; import android.media.Me

[android-developers] Re: Help using autocomplete in my database.....

2009-03-09 Thread aljo
i already saw that thread but i still can't understand some of the codes... i don't know how to incorporate my database in that code... how can i import my db... public ContactListAdapter(Context context, Cursor c) { super(context, c); Log.d("exp", "**

[android-developers] Re: Audio Volume

2009-03-09 Thread LukeH
I ended up handling the volume button presses myself. The solution I used is documented here: http://stackoverflow.com/questions/628659/how-can-i-manage-audio-volumes-sanely-in-my-android-app On Mar 9, 7:39 pm, strazzere wrote: > Then I'd recommend looking > here:http://sdk.androidin.com/refer

[android-developers] Re: Make a button from an image (PNG)

2009-03-09 Thread xspotlivin
Ok, thanks for the replies. I'm going to describe what I'm trying to do better, because I'm still unsure of the solution, and I could really use some help. I have a clock application (how can you attache an image). For each shaded region I want to place a button on top of it (a different button d

[android-developers] accessing information from browser, in an application

2009-03-09 Thread Shani
I am editing the pre-existing zxing Barcode Reader code so it can voice itself for blind users. I know how to use Text to speech in the app. Right now I am at the step where after the barcode is read, it then opens a webpage in the android browser - it sends the product number to google. What i wa

[android-developers] Application developer wanted for contract work

2009-03-09 Thread AndroidDev
We am looking for a expert Android developer for Android application development. You must have documented experience in following areas: - UI development - file handling - multimedia decoding - authentication We already have our application running on other devices and can provide you with func

[android-developers] open gl es2.0

2009-03-09 Thread meghal shah
Is Android going to support openGL ES 2.0 soon ? The support of openGL ES 1.0 is really good , but when can we expect it support 2.0 version ? As far as i know its not supported on any other platform at the moment. Thanks, Meghal Shah --~--~-~--~~~---~--~~ You r

[android-developers] maps probelm

2009-03-09 Thread karthik
Hi, I followed the procedure for signing up for Map api key as given in the google documentation and i got the api key.Then i put the api key in Mapview , i put the uses library tag in manifest file and INTERNET and ACCESS.COARSE.LCATION permission also in the manifest file but my map

[android-developers] Scroller widget in a WebView

2009-03-09 Thread oyobyaw
Hello, I am trying to implement a custom WebView and override OnTouchEvent() so that a tap near the bottom of the screen would result in the view smoothly scrolling down one ‘page’ (and a tap at the top would result in a smooth upward scroll). I’ve been looking at the Scroller Widget to do the a

[android-developers] Ubuntu Compile/Run Error - Netbeans

2009-03-09 Thread deewiles
I am using Netbeans 6.5 on 8.04. $JAVA_HOME = /usr/lib/jvm/java-1.5.0- sun. When I run the "HelloWorld" Android application I get the following error: init: deps-jar: Compiling 1 source file to /home/cwiles/NetBeansProjects/ AndroidApplication1/build/classes compile: Created dir: /home/cwiles/N

[android-developers] toolchain to build kernel

2009-03-09 Thread Abhijeet
Hello All, I am trying to build a kernel image to run in the emulator and I am following http://honeypod.blogspot.com/2007/12/compile-android-kernel-from-source.html I have downloaded the android source (http://source.android.com/ download) and it has 2 toolchains arm-eabi-4.3.1 and arm-e

[android-developers] emulator on linux in offline mode !!

2009-03-09 Thread dan raaka
The android emulator on Linux doesn't seem to get launched after Runs as->Android Application. The adb is still still running s...@android-desktop:~/cupcake$ ps -A | grep adb 5647 pts/000:01:02 adb s...@android-desktop:~/cupcake$ adb devices List of devices attached emulator-5554offline -

[android-developers] Re: com.google.wireless.gdata

2009-03-09 Thread ifuller1
Hi James, do you have the source for your modified gdatarequest and abstract entity. I'd like to go a tried and tested route or just parse the RSS manually. Am I right in thinking you've successfully connected to a google service? I'm pretty new to Java (c and as3 background) so I hope the questi

[android-developers] maps probelm

2009-03-09 Thread karthik
Hi, --~--~-~--~~~---~--~~ 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] accessing information from browser, in an application

2009-03-09 Thread Shani
I am editing the pre-existing zxing Barcode Reader code so it can voice itself for blind users. I know how to use Text to speech in the app. Right now I am at the step where after the barcode is read, it then opens a webpage in the android browser - it sends the product number to google. What i wa

[android-developers] Android Testing with TMobile G1

2009-03-09 Thread Mike Pastor
Fellow Developers, Has anyone experienced problems with using the TMobile G1 (usa) as a serious Android testing machine? Is it a seamless task to load the G1 phone from your development PC through the USB connection? Are there any special "Developer Mode" settings that have to be made on the

[android-developers] Re: Developer Challenge 2

2009-03-09 Thread Sheenmue
Yeah, it would be appreciated even it there isn't a date, just to know if it has been cancelled or not. On 2 mar, 18:20, Federico C wrote: > hi, > > some news from ADC 2? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[android-developers] determining number of columns by window size

2009-03-09 Thread Jared C. Davis
Hi, I'm generating a TableLayout whose cells are text boxes. I'd ideally like to arrange the data into N columns, where N is the maximum number of columns that will fit in my application's window. Toward this end, is there a way to determine the width of my application's window and the widths o

[android-developers] Re: why returns "Couldn't get connection factory client" when access gmap on emulator

2009-03-09 Thread karthik
even i am getting the same probelm pls someone help shine wrote: > guys: > I guess it is a old issue, and I have googled the related message > in the group, and I think I do not miss anything: > 1. I made the MD5 fingerprint of the SDK debug dertificate by > keytool, >and I applied the maps a

[android-developers] Using ZoomControls with ImageView in Android

2009-03-09 Thread Priyanka G
When I use MapView in place of ImageView, there is no compilation error, but the app never launches on emulator. I followed the example given on android developer website. When I use ImageView, it asks me to cast the ImageView object before getZoomControls(). But it is of no use. Why zoomcontrol

[android-developers] Re: problem downloading Android from windows

2009-03-09 Thread Eric Chan
I am meeting the same problem at ubuntu 9.04:( Any good news? Best Regards Eric Chan On Wed, Nov 5, 2008 at 1:46 AM, dreamerBoy wrote: > > bash-3.2$ ../myRepo/repo init -u git:// > android.git.kernel.org/platform/manifest > .git > Traceback (most recent call last): > File "../myRepo/repo",

[android-developers] Re: Failed to reopen debug port for Selected Client to:

2009-03-09 Thread justin
I'm having the exact same problem. It started today. I could always connect before. Can you be more specific about your solution with your host file? Justin On Mar 5, 1:19 pm, NWallman wrote: > Turns out my hosts file was messed up.  When I fixed that my problem > was resolved. > > On Mar 4,

[android-developers] Re: Audio Volume

2009-03-09 Thread strazzere
Then I'd recommend looking here: http://sdk.androidin.com/reference/android/media/AudioManager.html More specifically; http://sdk.androidin.com/reference/android/media/AudioManager.html#setStreamVolume(int,%20int,%20int) audio.setStreamVolume(AudioManager.STREAM_MUSIC, #); On Mar 9, 10:22 pm,

[android-developers] How to implement fish eye effect

2009-03-09 Thread neuzou
Hi: everyone, I want make a fish eye effect menu (like MAC) on Android, I'm a fresh men, I don't know how to implement it? Anybody can give me some suggestion? Thanks a lot. Regards Dwyane --~--~-~--~~~---~--~~ You received this message because you are subsc

[android-developers] Re: No Latitude in ADP1.1

2009-03-09 Thread Jean-Baptiste Queru
Unlike consumer devices that are designed for specific regions or countries, the Android Dev Phone 1 is a worldwide phone, configured to be identical in all geographies. The Android Dev Phone 1 ships in countries where Google Latitude isn't available, and that currently prevents from enabling Goog

[android-developers] Re: Audio Volume

2009-03-09 Thread LukeH
I'm a developer, I'm looking to change the behavior of my app, not install another app for changing the volume. I need some way to make it so that volume button presses always adjust the music stream volume when my activity is showing whether a sound is playing at the time or not. On Mar 9, 7:16

[android-developers] No Latitude in ADP1.1

2009-03-09 Thread Mark L. Chang
JBQ - any insight into what the policies are @GOOG in determining what gets left out of ADP builds? I can understand the Amazon MP3 stuff, random TMO branding packages, and I can even live with the annoying single-transport IM program. But no Latitude? The Latitude web page (http://www.google.com/

[android-developers] static vs non-static inner classes

2009-03-09 Thread Greg Krimer
Hello, I have been finding it convenient to extend Handler in many of my activities to handle messages specific to the activity. The handler sublass is an inner class of the activity and needs to access its state. I am wondering if there is any performance difference between making the handler su

[android-developers] Re: Audio Volume

2009-03-09 Thread strazzere
Look at some of the applications on the market. Such as Master Volume Controller. You can lower the media volume, and raise your ringer volume. On Mar 9, 9:58 pm, LukeH wrote: > I also have exactly this issue. How can I fix it? Or as they say on > internets, BUMP. > > On Feb 3, 2:28 am, blindfo

[android-developers] no fastboot binary for os x for adp1.1 as per guide

2009-03-09 Thread Mark L. Chang
the adp1 1.1 image is out http://www.htc.com/www/support/android/adp.html woot. radio portion is now installed. having trouble getting the binary fastboot for my mac. the instructions on that page suggest the zip file for fastboot binaries include OS X and Linux binaries. Unfortunately, they only

[android-developers] Re: How to set the permission to open a dev fd?

2009-03-09 Thread luodaliang
hi all, To solve this problem, you can only add "chmod 777 /dev/tty**" to the file init.rc. I hope it help. On 1月14日, 下午7时04分, taosinker wrote: > I can enter SDK inside and build the code under SDK level. But don't > know how to resolve my problem below the SDK level. > > On Jan 14, 2:41 am, Je

[android-developers] Bitmap shift an area of a bitmap over

2009-03-09 Thread William
Example: If I have a bitmap of size 300x300 and want to take an area that is 10x10 located at 0x290 (upper right) of height and width 10x10 of the bitmap and move it to 0x280. so i want to shift the area of the bitmap over much like the java.awt.Graphics.copyArea does. What is the comparable ve

[android-developers] Re: Audio Volume

2009-03-09 Thread LukeH
I also have exactly this issue. How can I fix it? Or as they say on internets, BUMP. On Feb 3, 2:28 am, blindfold wrote: > My app generates and plays sound samples in one second bursts, and > this context sensitivevolumeadjustment keeps flipping between > ringtonevolumeand mediavolumedepending o

[android-developers] Re: Audio Streaming with Media Player

2009-03-09 Thread g1bb
Did you ever figure this out? Does Android even support streaming .asx? Thanks! On Feb 9, 1:33 am, "bubble.vnhan" wrote: > Hello!!! > > this source code is no problem! > but just only Url is  incorrect. >  mp.setDataSource("http://asx.skypro.ch/radio/internet-64/ > drs3.asx"); > you should choi

[android-developers] Re: javax.mail.internet.InternetAddress cannot be found?

2009-03-09 Thread Noam
Where could I download the JAR? --~--~-~--~~~---~--~~ 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: Browser location bar

2009-03-09 Thread Andrew Stadler
Yes, the browser's URL bar, and the bookmark-based suggestions showing below it, were implemented using the Search Manager. On Mon, Mar 9, 2009 at 4:16 PM, Rohit wrote: > > Looks like it is the global search bar... > > Rohit > > > On Mar 9, 4:07 pm, Rohit wrote: >> Is the Browser Location Bar (

[android-developers] Android phone hosts McObject's new DBMS benchmark

2009-03-09 Thread Ted Kenney
Database benchmarks are standard fare on mainframe computers, servers and PCs. With mobile applications managing growing volumes of complex data, is it any wonder the DBMS performance test has now come to smartphones? Software vendor McObject has successfully deployed its TestIndex benchmark appli

[android-developers] Re: Getting Mobile number from phone is not working. PLEASE HELP

2009-03-09 Thread Greg Krimer
Did you add the following permission to your manifest: Can you check the log to see if you have an error? On Mar 9, 8:55 am, c6bro wrote: > Hi, > > I am using the below to get the mobile number of the sim card which is > inserted in the phone however it will not retrieve the number except > r

[android-developers] Re: ADT Layout Editor

2009-03-09 Thread Ralf
The EPL license of the plugin allows you to reuse the code if you use a compatible license for your own project. That being said, the layout editor has not been designed to be re-usable as such. That means the API will surely change and you'd be basing your project on something hard to keep up w

[android-developers] Re: android session veriable

2009-03-09 Thread Greg Krimer
You might consider putting session state into your own application object. Make your own application class by extending android.app.Application and specifying the application class in your manifest. Every activity can access the application object by calling getApplication(). On Mar 9, 9:46 am, z

[android-developers] Re: ADT Layout Editor

2009-03-09 Thread Susan
Thanks for your answer! My first question means If I develop a Eclipse plugin project, can I call ADT layout editor to edit my xml? Are there API documents of ADT layout editor I can find? I want to reuse layout editor , then I don't need to develope visual editor by myself. Is it possible? Th

[android-developers] Re: javax.mail.internet.InternetAddress cannot be found?

2009-03-09 Thread Mark Murphy
Noam wrote: > Could I import the JAR of JavaMail into my Application also? You can try. I had problems the last time I tried, but I didn't try very hard, and presumably the project you cited has it working. You might wish to contact them for advice. -- Mark Murphy (a Commons Guy) http://common

[android-developers] Re: javax.mail.internet.InternetAddress cannot be found?

2009-03-09 Thread Noam
Could I import the JAR of JavaMail into my Application also? --~--~-~--~~~---~--~~ 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 unsub

[android-developers] Re: Help: ADT and Eclipse integration problem (I think)

2009-03-09 Thread Mike Collins
Eclipse can get out of synch with itself. Usually I can get it back together by doing Projects | Clean and forcing everything to rebuild. Also right click on each project and do a Refresh. There is a setting Windows | Preferences | General | Workspace that does refresh and build automatically.

[android-developers] Re: Help using Eclipse to "attach" to a process on the emulator...

2009-03-09 Thread Mike Collins
Thanks, having DDMS as part of the IDE makes a big difference. On Mar 9, 4:02 pm, Xavier Ducrohet wrote: > It looks like you are using the standalone version of DDMS. > > ADT includes DDMS as an eclipse plugin. As soon as you develop for > Android in Eclipse, the DDMS plugin is started. This

[android-developers] Re: How to get a reference to a TabWidget in my java code

2009-03-09 Thread Mark Murphy
Lucius Fox wrote: > Hi, > > In my layout xml, I have: > android:layout_width="fill_parent" > android:layout_height="fill_parent"> > > android:layout_width="fill_parent" > android:layout_height="wrap_content"/> > > > > My question is how can I

[android-developers] Re: javax.mail.internet.InternetAddress cannot be found?

2009-03-09 Thread Mark Murphy
Noam wrote: > If that is so, how is google using it in their program? > > http://code.google.com/p/salesforceandroid/source/browse/trunk/SalesforceAndroid/src/com/android/salesforce/operation/ErrorLogMailSender.java?spec=svn72&r=72 FWIW, I see no evidence that Google is writing that program. Pr

[android-developers] Re: javax.mail.internet.InternetAddress cannot be found?

2009-03-09 Thread Noam
If that is so, how is google using it in their program? http://code.google.com/p/salesforceandroid/source/browse/trunk/SalesforceAndroid/src/com/android/salesforce/operation/ErrorLogMailSender.java?spec=svn72&r=72 --~--~-~--~~~---~--~~ You received this message bec

[android-developers] How to get a reference to a TabWidget in my java code

2009-03-09 Thread Lucius Fox
Hi, In my layout xml, I have: My question is how can I get a reference to TabWidget object. I tried this: mTabWidget = (TabWidget) findViewById(com.android.internal.R.id.tabs); but this won't compile since 'com.android.internal.R is not visible. And then I try change the id to an

[android-developers] Re: Browser location bar

2009-03-09 Thread Rohit
Looks like it is the global search bar... Rohit On Mar 9, 4:07 pm, Rohit wrote: > Is the Browser Location Bar (URL bar) part of the browser app or is it > part of the Global Search Bar? I couldn't really tell by looking at > the code... > > Rohit --~--~-~--~~~---~--

[android-developers] Re: ADT Layout Editor

2009-03-09 Thread Xavier Ducrohet
On Sun, Mar 8, 2009 at 11:32 PM, Susan wrote: > > 1. Can I  call ADT Layout Editor in  my java source file , not by XML > file  "open with" menu ? I'm not sure what you mean by this. > 2. When I click "add" button in the outline view of ADT Layout > Editor , it will show such a list of UI compo

[android-developers] Browser location bar

2009-03-09 Thread Rohit
Is the Browser Location Bar (URL bar) part of the browser app or is it part of the Global Search Bar? I couldn't really tell by looking at the code... Rohit --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android De

[android-developers] Re: Help using Eclipse to "attach" to a process on the emulator...

2009-03-09 Thread Xavier Ducrohet
It looks like you are using the standalone version of DDMS. ADT includes DDMS as an eclipse plugin. As soon as you develop for Android in Eclipse, the DDMS plugin is started. This means it will conflict with the standalone version of DDMS. In Eclipse, go to the menu Window > Open Perspective > D

[android-developers] Re: Software Update Available for the Android Developer Phone

2009-03-09 Thread Sena Gbeckor-Kove
Damn you got there before me. S On 9 Mar 2009, at 23:49, Stoyan Damov wrote: > > I didn't see an announcement on this list, and while I own a G1, I > know many devs asked for this, so "a 1.1 version of Android for the > Android Dev Phone": > > http://android-developers.blogspot.com/2009/03/so

[android-developers] Software Update Available for the Android Developer Phone

2009-03-09 Thread Stoyan Damov
I didn't see an announcement on this list, and while I own a G1, I know many devs asked for this, so "a 1.1 version of Android for the Android Dev Phone": http://android-developers.blogspot.com/2009/03/software-update-available-for-android.html Cheers --~--~-~--~~~-

[android-developers] Re: javax.mail.internet.InternetAddress cannot be found?

2009-03-09 Thread Mark Murphy
Noam wrote: > Could anyone please answer this in a detailed manner? Android does not ship with JavaMail. javax.mail.internet.InternetAddress is a JavaMail class. Ergo, unless you are taking steps to add JavaMail specifically to your project, javax.mail.internet.InternetAddress will not be availab

[android-developers] Re: G1 and Mac

2009-03-09 Thread Alexey
mistyped - just sudo adb devices On Mar 9, 4:19 pm, Alexey wrote: > try sudo adb-devices > > On Mar 7, 9:06 am, radiro wrote: > > > My G1 is not visible to my MacBook, e.g. > > > $ adb devices > > > returns no device at all (USB-Debugging is enabled).  The adb kill- > > server command doesn't h

[android-developers] Re: Help!? Updating our applicatoin on the market deletes the saved SharedPreferences.

2009-03-09 Thread Tyler Ernst
Thanks that defect sounds exactly like what we're experiencing. However we can't reproduce it from just installing from adb only when installing from the market place :( On Mar 9, 1:08 pm, focuser wrote: > Please check outhttp://code.google.com/p/android/issues/detail?id=2066 > > On Mar 9, 12:36

[android-developers] Re: javax.mail.internet.InternetAddress cannot be found?

2009-03-09 Thread Noam
Could anyone please answer this in a detailed manner? Thanks, Noam. --~--~-~--~~~---~--~~ 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

[android-developers] Re: How to layout elements programmically?

2009-03-09 Thread Sundog
addView() is what you're looking for. On Mar 9, 2:51 pm, Lucius Fox wrote: > Fromhttp://d.android.com/guide/topics/ui/declaring-layout.html, it said > "Instantiate layout elements at runtime. Your application can create > View and ViewGroup objects (and manipulate their properties) > programmati

[android-developers] Re: Foreign Keyboards on G1 Dev

2009-03-09 Thread zergio
Julien, I don't think there are "official" ways to unlock local phones. If you are interested in unofficial ways then you may want to check custom images from JesusFreke http://forum.xda-developers.com/showthread.php?t=475381 I have my ADP1 running on his latest image and I am very happy with i

[android-developers] Re: media player problem

2009-03-09 Thread Dave Sparks
Is this on a G1 or on the emulator? On Mar 8, 10:18 pm, manoj wrote: > Hi friends, > > I have developed a video playing application. > > I have a problem playing a video file. > > Actually it plays well (both audio and video are coming). > > But nothing is visible in the following scenario: > >

[android-developers] Re: media player error

2009-03-09 Thread Dave Sparks
We are going to need a lot more detail to help you diagnose the problem. On Mar 8, 10:25 pm, Dilli wrote: > i am also getting the same error > while playing the media file > > E/MemoryHeapBase( 31): mmap(fd=20, size=233472) failed (Invalid > argument) > E/VideoMIO( 31): Error creating frame

[android-developers] Re: MediaRecorder reset() runtime exception

2009-03-09 Thread Dave Sparks
There is a bug in the MediaRecorder and you can only record once per MediaRecorder object. You will need to call release() and then allocate a new MediaRecorder object. This will be fixed in a future release. On Mar 9, 12:40 am, aby wrote: > Hi, > There are always runtime exceptions about reset

[android-developers] Re: Adding features to email client

2009-03-09 Thread Dianne Hackborn
Yes this is correct. On Mon, Mar 9, 2009 at 1:32 PM, My3 wrote: > > First of all thanks for the reply. > > Yeah, I found out that we can modify the Android source code as well > as customize k9 mail client. > > But I also found out that we cant replace/modify existing apps. All we > can do is, w

[android-developers] Re: How to test the earpiece

2009-03-09 Thread Dave Sparks
If your app has the permission "MODIFY_AUDIO_SETTINGS" you can route output to the earpiece using the setRouting API in AudioManager. On Mar 9, 8:15 am, cht wrote: > for the OEM, on the product line,we need to test the earpiece whether > it works well. > so I want to write a application which wi

[android-developers] Re: G1 and Mac

2009-03-09 Thread Alexey
try sudo adb-devices On Mar 7, 9:06 am, radiro wrote: > My G1 is not visible to my MacBook, e.g. > > $ adb devices > > returns no device at all (USB-Debugging is enabled).  The adb kill- > server command doesn't help. > > Note that the G1 is visible when I plug it to my Windows Vista > machine.

[android-developers] How to layout elements programmically?

2009-03-09 Thread Lucius Fox
>From http://d.android.com/guide/topics/ui/declaring-layout.html, it said "Instantiate layout elements at runtime. Your application can create View and ViewGroup objects (and manipulate their properties) programmatically." Can you please tell me how/where I can find example for that? For example

[android-developers] Re: Capturing exceptions on user's phones?

2009-03-09 Thread Mads Kristiansen
Okay, I have started out with a very simple and not at all streamlined implementation. Some documentation and a binary can be found here: http://code.google.com/p/android-remote-stacktrace/ I'll be updating it, as I go along, but if you have anything you want to add, please let me know. The idea

[android-developers] SeekBar does not reach the end

2009-03-09 Thread Kacza
Hello, I have an options panel that allows setting of keyboard sensivity. I use SeekBar to get the sensivity but it never reaches the max end. There is the code: final SeekBar seekBarKeyboardSens = (SeekBar)findViewById (R.id.SeekBarKeyboardSens); seekBarKeyboardSens.setMax(10); seekBarKeyboardS

[android-developers] Re: Adding features to email client

2009-03-09 Thread My3
First of all thanks for the reply. Yeah, I found out that we can modify the Android source code as well as customize k9 mail client. But I also found out that we cant replace/modify existing apps. All we can do is, write an extra client using K9 or modifying the default client's code. And my cus

[android-developers] Re: Foreign Keyboards on G1 Dev

2009-03-09 Thread Julien (JaXX) Banchet
Hi Sergey and Thanks! Yeah, I thought about that, and even getting the keys through OEM channels but living without the warranty... Might have to wait. Couldn't there be a way to officially unlock a locally sold phone's bootloader to make it a Dev version ? I don't mind asking any unofficial wa

[android-developers] Turning GPS ON/OFF

2009-03-09 Thread Rudi
What is the correct way of turning ON/OFF the GPS in Android. I've found the System.Settings provider, and the LOCATION_PROVIDERS_ALLOWED setting, but it seems that the rest of the system is not notified about the change if I set the values. Is there a function that should be called initiate a not

[android-developers] Re: Help!? Updating our applicatoin on the market deletes the saved SharedPreferences.

2009-03-09 Thread focuser
Please check out http://code.google.com/p/android/issues/detail?id=2066 On Mar 9, 12:36 pm, Tyler Ernst wrote: > We have an online multiplayer game that saves some login information > in the SharedPreferences.   Our app is copy protected and everything > was going really well until this weekend

[android-developers] Re: How-To: Get SQLite3 to use /sdcard database?

2009-03-09 Thread wescorp
Try this thread: http://groups.google.com/group/android-developers/browse_thread/thread/87facd5ed49ac4ce/ae97b074d84a51e6 Cheers, Wes On Mar 9, 11:27 am, JLMG wrote: > I've named my android 'Andy'! > > But even using a personal pronoun doesn't seem to help... so... please > help! > > I'd reall

[android-developers] Help!? Updating our applicatoin on the market deletes the saved SharedPreferences.

2009-03-09 Thread Tyler Ernst
We have an online multiplayer game that saves some login information in the SharedPreferences. Our app is copy protected and everything was going really well until this weekend when we released an update for it. It seems that at least some of the people are having their SharedPreferences delete

[android-developers] Re: Foreign Keyboards on G1 Dev

2009-03-09 Thread zergio
Hi Julien, I am not aware of any plans to release Dev Phone for other then US countries. However, I've got an idea how you can use other (French for instance) layout with your Dev 1. I assume French G1 has French version of the /system/usr/keychars/ keypad-v3.kcm.bin keychar map file. If so, then

[android-developers] Re: Performance of multiple threads.

2009-03-09 Thread kbeal10
Thanks Boston, but I'm doing the app in 2D. I would've liked to have done 3D (and probably my prof.) but the added complexity didn't mesh with the time constraints of a college student. On Mar 9, 12:17 pm, Streets Of Boston wrote: > I did the same with my app, The Gube, an OpenGL app. > > It too

[android-developers] Re: Recording Audio

2009-03-09 Thread benmccann
I'm still feeling directionless when it comes to what MediaRecorder.setOutputFile(String path) is expecting. Is it a relative path? Is it a fully qualified path? Must the directory we are recording in already exist, or will MediaRecorder create it for us if it does not exist? What happens if w

[android-developers] Re: Can I initialize an Array list from data specified in xml resource file?

2009-03-09 Thread Videoguy
I have two text fields in each row of ListView. Is it possible to specify both fields in one string array of XML resource? All the examples I have seen map 1dimensional array like above to ListView rows. Can I specify an array of arrays in an xml? I appreciate your help. Videoguy --~--~---

[android-developers] How to update files in compiled .apk

2009-03-09 Thread jz0o0z
Is it possible to update the AndroidManifest.xml or maybe a resource file in an already existing .apk? I'm thinking this can be done using aapt tool but I haven't been able to get it to work. Any ideas? --~--~-~--~~~---~--~~ You received this message because you a

[android-developers] Re: How to hide signal icon and clock icon at status bar?

2009-03-09 Thread Dianne Hackborn
You can't do this, sorry. On Mon, Mar 9, 2009 at 1:02 AM, gavin wrote: > > Hello, > > I want to hide the two icons but not the whole status bar when > user enters my application. After exit my application, the two icons > can be re-displayed. How should I do ? thanks. > > > > -- Dianne Ha

[android-developers] Re: NinePatchDrawable constructor

2009-03-09 Thread Ron
Sorry, the last time I posted I couldn't figure out how to get the logcat text... then I found it was relatively simple. Here is the dump: 03-09 12:29:05.734: INFO/DEBUG(28): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 03-09 12:29:05.734: INFO/DEBUG(28): Build fingerprint: 'a

[android-developers] How-To: Get SQLite3 to use /sdcard database?

2009-03-09 Thread JLMG
I've named my android 'Andy'! But even using a personal pronoun doesn't seem to help... so... please help! I'd really appreciate a pointer to some actual working example code on how to use the Andy-SQLite3 engine on the device to access a db stored on the /sdcard when using Andy-SDK 1.0_r2. Sin

[android-developers] Re: Accessing raw resource files with the filename as a String

2009-03-09 Thread justin
fileList() method of class Context returns an array of strings naming the private files associated with this Context's application package. Then you can use the string array to look for what you need to pass to the methods found in the other replies to this thread. Justin Jaynes On Mar 7, 3:35 

[android-developers] Re: Power Vibration Wanted

2009-03-09 Thread Cian Masterson
This is indeed a developer-only forum, however someone may well be in the mood of writing an app to do what grantlairdjr wants. Is there a "Google app ideas" forum where (s)he could post, or if not does anyone think it would be a good idea to create one? On Mar 7, 3:17 am, Justin Allen Jaynes

[android-developers] How to draw a piece of Bitmap

2009-03-09 Thread Nick
Hello! I'm creating a simple game for Android and faced with a problem: Idea is to have a huge "map" image file and re-draw only small part of it (320*480) depending on user actions. I didn't find a better solution than using "public static Bitmap createBitmap (Bitmap source, int x, int y, int wi

[android-developers] Re: When does the canvas' onDraw function get called?

2009-03-09 Thread mcmc
I think the problem is that the onCreate() is never called. I put a little error message in the onCreate(), and it does not show in the output. Is there a way to draw a canvas without using an onCreate() or an onDraw()? This would be a lot more useful for me... For example, can I do something li

[android-developers] Re: Is there no TCK (Technology Compatibility Kit) on Android????

2009-03-09 Thread Dan Morrill
Hello! We are indeed preparing the compatibility process and program for Android. We'll announce the details of that program when they are finalized; however, there are currently no resources for this. - Dan On Mon, Mar 9, 2009 at 4:42 AM, rookiejava wrote: > > Hi All!!! > > Is there any TCK

[android-developers] Re: (OT) Is the combination of Android Market and Google Checkout a joke?

2009-03-09 Thread Stoyan Damov
Agreed Dan. We already started moving Market-related discussions to android-discuss. Cheers On Mon, Mar 9, 2009 at 6:38 PM, Dan Morrill wrote: > Actually, in this case I'm going to go ahead and request that we move > conversations of this type to android-discuss. > Normally, for our other devel

  1   2   >