[android-developers] Re: Maintaining two Eclipse installs with two Android SDKs

2009-05-20 Thread Keith Wiley
Thanks, I'll look into that. Cheers! On May 19, 6:44 pm, Raphael r...@android.com wrote: With Eclipse 3.3, the plugins are installed in the Eclipse directory. With Eclipse 3.4 and P2 there's a common pool of plugin and specific instances per Eclipse directory. The plugins preferences are

[android-developers] Re: java.lang.VerifyError

2009-05-20 Thread Paul Turchenko
I'm having the same problem. There's got to be a better solution then just avoid usages of classes that dalvik fails to load. On May 18, 4:17 pm, Todd Sjolander guyfantas...@gmail.com wrote: That error happens when the dalvik VM loads a class into memory.  If you look into the log, you can

[android-developers] lots of image to be textured on rotating cube opengl es

2009-05-20 Thread xiaofeng
now i have lots of pictures to be textured on a Cube.there are four faces to be textured:the front ,back ,left and right?when the cube rotates 360 then load the next four picture and texture them.the method above have a problem :the convertion of every four pictures is not fluent。I think the

[android-developers] Setup eclipse project for android source

2009-05-20 Thread Daniel Dreiberg
Hi, I am following the following article to setup eclipse project for androi source http://source.android.com/using-eclipse But what should I set my eclipse output folder for my project to be? If I just use the .classpath file as it is in the development/ide directory, eclipse tries to compile

[android-developers] Re: android.util.SparseArray space time complexity properties

2009-05-20 Thread Tjerk Wolterink
I will write some test to check wich one is faster,i understand that the unboxing/boxing is not really fast. Thanks for the info! 2009/5/20 Romain Guy romain...@google.com HashMap can indeed be faster than SparseArray. However, and this is very important, SparseArray does not require

[android-developers] Re: Ideas behind Android's task concept

2009-05-20 Thread Mariano Kamp
Hey Mike, no, this also happens on my G1 ;-( Cheers, Mariano On Sun, May 10, 2009 at 1:36 PM, Mike Hearn mh.in.engl...@gmail.com wrote: If you press back and arrive at the same activity you started on, I think that's a bug that I've only seen when using Eclipse to develop. I think if you

[android-developers] Re: How to solve G1/HTC Magic not recognized by ADB under Windows

2009-05-20 Thread Al Sutton
This doesn't seem to fix the problem I have on Vista 32 bit. This could be related to some undeletable keys in the registry called VID_0BB4PID_0C02 I've tried deleting them and I get and Error while deleting key, I've tried altering the permissions and I get Access is denied (this is when

[android-developers] Re: How to solve G1/HTC Magic not recognized by ADB under Windows

2009-05-20 Thread Al Sutton
For those having trouble deleting keys in vista, you might want to try the tip at; http://forums.techarena.in/vista-help/1075752.htm#post4093603 Al. --- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the

[android-developers] Re: How to solve G1/HTC Magic not recognized by ADB under Windows

2009-05-20 Thread Al Sutton
Although even this didn't fix the problem. I still get Windows was able to successfully install device driver software, but the driver software encountered a problem when it tried to run. The problem code is 10. Raphael, if you want the Check for solutions log file which has all my devices

[android-developers] Re: How to make second DDMS work on the PC which already running a DDMS?

2009-05-20 Thread siddian
Hi, you could try setting up a virtual machine and run a second dev- sys in there... there are quite some VM, but i can recommend vmware player, which Is free. you can find a lot of howtos with Google. Cheers siddian On May 16, 2:33 pm, gan gan_xiao_...@yahoo.com wrote: Hi: Not sure if

[android-developers] Re: Shipping to Hong Kong

2009-05-20 Thread LeanAngel
Com'on anybody? And, if I get it re-directed from another country, is there any chance that it won't work at all? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] debugger not working

2009-05-20 Thread schwiz
Im working on a widget, I'm using eclipse and windows vista 64 bit. I run the app in debug mode and I put a breakpoint on the context.startService line below but the app isn't stopping. My widget is displaying as expected, just showing my frame and some text saying loading. public void

[android-developers] Re: already set uses-sdk but market won't accept

2009-05-20 Thread brian.schimmel
I had similar issues, read all that stuff about positioning it correctly in the XML, and did not work either. Then I upgraded to the newest SDK 1.5_r1 and everything worked. On 7 Mai, 06:05, anuraguni...@yahoo.com anuraguni...@yahoo.com wrote: ok i will try putting right under manifest but

[android-developers] Re: “The application xxxxxxxx (process xxxxxx) has stopped unexpectedly. Please try again .”

2009-05-20 Thread abhinav
Can some one please tell me , how do u read the log file or logs ... which the Log.i methods writes to ? Also , I have used the exact code as documented at Android site for Hello View , to load google.com and load a basic html page created by me . The app does not show any error ,BUT it does not

[android-developers] webview contentwidth

2009-05-20 Thread Bob
Hi, Is there anyway to get the measured width of a webview's rendered html. There is a getContentHeight method that gets the height but there doesn't seem to be a analogous method for widths. Thanks, Bob --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Getting the manifest.xml of applications from the market?

2009-05-20 Thread brian.schim...@googlemail.com
Hi there, is there some way to retrieve the manifest.xml of an application from the market, without installing the application? I think the official Market Application somehow get this file (or at least parts of it) to show needed permissions, etc. before installing. I'd be interested in seeing

[android-developers] Re: youtube on android

2009-05-20 Thread brian.schimmel
Hi Ebin, my reply is a bit late, but maybe it helps you. While Youtube uses a flash player on the web to play its videos, the video itself is encoded with some codec. To play it back in an application, you would not need full flash support (with all that SWF- Vectorgraphics-Actionscript stuff)

[android-developers] Different UI behavoir between Activity and InputMethodService (test code and video provided)

2009-05-20 Thread www.rzr.online.fr
Hi, I came to this issue : I created a layout with only 1 ImageButton and it works as expected when loaded from Activity (using setContentView) : The button is changing background on touch down event (orange) ... But not changing when the same layout is loaded by the InputMethodService (but

[android-developers] Bug with EditText and Linkifycation?

2009-05-20 Thread Marcus
Hi, I have an EditText with linkifycation on. But if the content contains a link and I tap on it or move the cursor in it, I get an IndexOutOfBoundsException. Stacktrace below. I think the problem is the getCapsMode method of TextUtils. They don't check if the offset is below 0. So it crashes

[android-developers] Re: How to determine a resource string is existing or not

2009-05-20 Thread 黃冠宇
Hi Nelissen,Thanks for your response, But when I run this program in eclipse, it can't compilable if R.build.buildid doesn't exist. Is there any solution to solve this problem? thanks! 2009/5/19 Marco Nelissen marc...@android.com getString() will throw NotFoundException if the resource does

[android-developers] Re: Cursor.moveToFirst() is taking up a lot of time

2009-05-20 Thread Sublimity Mobile Software
Thank you for your reply. You where right. The getCount() method takes indeed a lot of time. So i filled another window by using fillWindow() like this: Cursor c = db.query(var1, var2, var3 .); SQLiteCursor liteCursor = (SQLiteCursor) c; CursorWindow cw = new CursorWindow(true);

[android-developers] Re: debugger not working

2009-05-20 Thread l.kuczera
It might be 64bit system case. But check this. By default it should be 8700 port. Switch do DDMS perspective (assuming you're on Ecilpse) try to spot your emulator there. On May 20, 10:13 am, schwiz sch...@gmail.com wrote: Im working on a widget, I'm using eclipse and windows vista 64 bit.  I

[android-developers] Re: Maps with custom tiles

2009-05-20 Thread khose
C'mon there must be a solution:) On 14 mayo, 09:52, khose marcos.hdez@gmail.com wrote: Hi! I've been searching hardly the past two days, looking for a way to implement a map view with custom map tiles. I mean; i have to use maps tiles different than the ones provided by Google Maps.

[android-developers] Wait for activity finishes

2009-05-20 Thread danielececil...@gmail.com
Hi, I have a problem with return value of a method witch launches an Activty. I would like a method witch launches an Activty and witch wait for this Activity being complete before returning a value. I note that , doing nothing special, the calling method achieves its own code before launches

[android-developers] SoundPool in Android 1.5: Still problems

2009-05-20 Thread TjerkW
A lot of developers where using the soundpool in 1.1: http://groups.google.com/group/android-developers/browse_thread/thread/b84abc998ad02aa2/1a92b99355ae623f?lnk=gstq=SoundPool#1a92b99355ae623f

[android-developers] Re: Is there an easy way to make EditText look like TextView but still behave like EditText?

2009-05-20 Thread n5r11
This seems to be working.. android:background=@null removes the background, but the text color stays the same. It takes another explicit android:textColor=@null to fix that. I guess those are the values that are set in the editTextStyle, but not in textViewStyle, so they stay the same after

[android-developers] BroadcastReceivers not receiving PendingIntents

2009-05-20 Thread Alan Jones
Hi All, I've had an issue where no matter how I've tried to set it up I'm finding the BroadcastReceivers aren't receiving any PendingIntents. A look through LogCat confirms that the intents are launched, but they're not being executed. I managed to make a simple(ish) repro case. If you take the

[android-developers] Updating an app make it appear twice !

2009-05-20 Thread e-satis
I made a lot of changes to my app : databases scheme, graphics, code, etc. The biggest is the package name that I renamed to a total different one. The applicatgio got the same name and Id in the manifeste.xml file and the apk got the same name, with the same digital signature. Nevertheless,

[android-developers] Thread.setDefaultUncaughtExceptionHandler usage

2009-05-20 Thread Nik Bhattacharya
I wanted to get your opinions on the usage of Thread.setDefaultUncaughtException. Here is my scenario: I have an activity that starts up a LocalActivityManager, which in turn starts up several Activities and pulls in their decor views and puts them into current activities view. However, there

[android-developers] Pointers towards monitoring of memory usage in Android

2009-05-20 Thread Nik Bhattacharya
I have an application that allows the user to add many bitmap images onto the screen (think of lots of picture frame widgets). If the applications memory is getting close to reaching its 16MB limit, I would like to stop the user from adding more images to the application. The scenario is much

[android-developers] Converting bitmap to grayscale

2009-05-20 Thread moa
I would like to convert a Bitmap to a grayscale array of bytes (one byte per pixel). At the same time I want to just crop at section from the middle. Having looked though the various api's it is not clear to me what the best way would be. The best way I have found in se java is as below;

[android-developers] Re: Windowmanager, problem with progress

2009-05-20 Thread Sikus
I try add activity android:name=.Name android:configChanges=keyboardHidden|orientation and everything works good. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] OpenGL .dae model loader

2009-05-20 Thread loril...@gmail.com
Does anyone know how to load .dae(collada) files in android? --~--~-~--~~~---~--~~ 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

[android-developers] Building Cupcake on Mac deploying on my ADP1

2009-05-20 Thread TAKEphONE
Hi all, I am trying to setup my Mac OSX (Mac Mini) to build and deploy the Cupcake source code and deploy the built images on my ADP1 device. I must admit - I am no Linux guy, so a bit slow on understanding the various instructions. My problem - I was somehow able to get the sources down to my

[android-developers] Re: Building Cupcake on Mac deploying on my ADP1

2009-05-20 Thread David Turner
Hello, On Wed, May 20, 2009 at 2:07 PM, TAKEphONE shimo...@gmail.com wrote: Hi all, I am trying to setup my Mac OSX (Mac Mini) to build and deploy the Cupcake source code and deploy the built images on my ADP1 device. I must admit - I am no Linux guy, so a bit slow on understanding the

[android-developers] ActivityGroup + RelativeLayout problem [urgent]

2009-05-20 Thread Taísa Cristina
Hi all, I have an ActivityGroup with three Activities, A, B and C. I get the three activities views by using View viewA = getLocalActivityManager().startActivity(mActivityAId, mActivityAIntent).getDecorView() (for A, B and C) I need viewA to be aligned to its parent top edge, and viewC to be

[android-developers] Re: Fwd: can't access http://developer.android.com/

2009-05-20 Thread Anonymous Anonymous
Are u from china? use a proxy On Tue, May 19, 2009 at 6:03 PM, show summer showshowsum...@gmail.comwrote: Please give me response! -- Forwarded message -- From: show summer showshowsum...@gmail.com Date: Tue, May 19, 2009 at 6:11 AM Subject: can't access

[android-developers] Re: OpenGL .dae model loader

2009-05-20 Thread nEx.Software
As far as I know, there are no pre-build loaders for collada files, which means you would have to create your own parser to read in and create the models. You may wish to look at the ModelLoader/ ModelRenderer projects at the following google code site http://code.google.com/p/android-gl/ for

[android-developers] Email attachment doesn't send

2009-05-20 Thread Sikus
Hello, I try this code: Intent i= new Intent(android.content.Intent.ACTION_SEND); i.putExtra(android.content.Intent.EXTRA_SUBJECT,this is a test mail); i.putExtra(android.content.Intent.EXTRA_STREAM,Uri.parse(file:// sdcard/dcim/Camera/1233417122606.jpg));

[android-developers] How to redirect audio to bluetooth headset?

2009-05-20 Thread jianwei
Hi all, I met a problem of bluetooth headset. I want to switch audio playing to bluetooth headset when bluetooth headset is paired. I found BluetoothDevice in android sources which can controll bluetooth. However it is not contained in android.jar. So I used AudioManager.setBluetoothScoOn(true),

[android-developers] Re: How to add more words onto Binary Dictionary(main.dict)??

2009-05-20 Thread Atish
thanx for the help but this is USER DICTIONARY(user_dict.db).I want to update the MAIN.dict. It's binary dictionary.Dictionary.cpp reads the words and suggest words and it works through JNI. On May 19, 9:41 pm, Dianne Hackborn hack...@android.com wrote:

[android-developers] Re: Wait for activity finishes

2009-05-20 Thread Streets Of Boston
As far as i know, you can't do this. Maybe you want to implement a modal dialog. Launch a (subclass of) android.app.Dialog instead. However, even when using dialogs by calling yourDialog.show(), the show () call returns immediately. It doesn't wait. It looks like you have to re-write some of

[android-developers] Re: Cursor.moveToFirst() is taking up a lot of time

2009-05-20 Thread Marco Nelissen
If you're sure there is nothing to be gained from optimizing the database itself, then it seems your only option is to not use a database at all. Are you *sure* the database/query can't be further optimized? How much time does your query take anyway? On Wed, May 20, 2009 at 2:17 AM, Sublimity

[android-developers] GlSurfaceView single buffer

2009-05-20 Thread Donald_W
Hello, How can I force GlSurfaceView to use single instead of double buffering? Example code will be greatly appreciated ;) BR, Tomek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: SDK 1.5 breaks our build

2009-05-20 Thread Peter Jeffe
Xavier, thanks for your thoughtful response, and I'm sorry for being so testy, but please understand that this sort of thing can have a big impact on developers. From what you say it sounds like not many others are configuring their projects this way, but for a product that supports multiple

[android-developers] Re: “The application xxxxxxxx (process xxxxxx) has stopped unexpectedly. Please try again .”

2009-05-20 Thread Marco Nelissen
On Wed, May 20, 2009 at 1:37 AM, abhinav gnroses.infla...@gmail.com wrote: Can some one please tell me , how do u read the log file or logs ... which the Log.i methods writes to ? You read the log by connecting your phone to a computer and running 'adb logcat' (or adb shell logcat) from the

[android-developers] Re: Cursor.moveToFirst() is taking up a lot of time

2009-05-20 Thread Marco Nelissen
The first call to moveToNext() is still going to cause getCount() and thus fillWindow() to be called internally, so it won't be any faster. On Wed, May 20, 2009 at 10:58 AM, Streets Of Boston flyingdutc...@gmail.com wrote: In your example, it seems you don't need the getCount() or moveToFirst

[android-developers] Re: How to redirect audio to bluetooth headset?

2009-05-20 Thread Disconnect
FM transmitter can sound half decent, especially compared to very low bitrate mono. On Wed, May 20, 2009 at 12:49 PM, schwiz sch...@gmail.com wrote: Also, I don't see how it could possibly sound worse than using an fm trasmitter which sadly is our only option. On May 20, 11:44 am, schwiz

[android-developers] Re: android system make. error 45

2009-05-20 Thread PeterL
I remove gjdoc from Synaptic Package Manager; then build passed. On Apr 16, 4:20 pm, pcstal...@gmail.com pcstal...@gmail.com wrote: hi there guys. im trying to make the latest android system. ive gotten past quite a few errors on my own. but i have been stoped dead in my tracks here. im

[android-developers] Weird ringtone bug...any solutions??

2009-05-20 Thread tydiz...@gmail.com
I was wondering if anyone knows how to set a ringtone from off the sdcard correctly cause obviously I'm doing it wrong. For some reason, I'll set the ringtone(it's actually picked randomly) as the default ringtone using the RingtoneManager.setActualDefaultRingtoneUri() method. This works, and it

[android-developers] Re: debugger not working

2009-05-20 Thread schwiz
ok in DDMS view it says emulator-5554 is online myAVD[1.5,debug] then all of the threads below it have the debug symbol with an X over them. and the console spits this out [2009-05-20 12:11:22 - ddms]Failed to reopen debug port for Selected Client to: 8700 [2009-05-20 12:11:22 - ddms]Address

[android-developers] How to capture video frames?

2009-05-20 Thread rocio
Hi! I´m trying to capture frames from a video file, but I don´t know how to do it. Are there any classes like FrameGrabbingControl (in JMF) for Android? Is it possible with MediaPlayer and MediaRecorder classes? Thanks. --~--~-~--~~~---~--~~ You received this

[android-developers] How should I use BatteryManager to get battery states?

2009-05-20 Thread Alice
I want to get the battery states by BatteryMangager and BroadReceiver. I can get Intent.ACTION_BATTERY_CHANGED event,but I don’t know how to process other action such as BatteryManager.BATTERY_PLUGGED_AC and so on. Who can give me advice ,thanks a lot. 愿祖国昌盛,愿人民平安! --- 09年5月20日,周三, n5r11

[android-developers] Re: “The application xxxxxxxx (process xxxxxx) has stopped unexpectedly. Please try again .”

2009-05-20 Thread Kasmoori Bindu
Hi, You can try out 'adb logcat' in terminal, to see the logs when emulator is started. Best Regards, Bindu On Wed, May 20, 2009 at 2:07 PM, abhinav gnroses.infla...@gmail.com wrote: Can some one please tell me , how do u read the log file or logs ... which the Log.i methods writes to ?

[android-developers] Web Development on the Android Browser

2009-05-20 Thread Sasha Sklar
Has anyone come across documentation on the specific capabilities of the Android Browser? I'm currently developing websites targeted to next generation devices and I haven't come across a lot besides PPK's work here: http://www.quirksmode.org/m/table.html I'm looking for the equivalent of this

[android-developers] how to capture video frames

2009-05-20 Thread rocio
Hi! I´m an android beginner developer. I´m trying to capture frames from a video file, but I don´t know how to do it. Are there any classes like FrameGrabbingControl (in JMF) for Android? Is it possible with MediaPlayer and MediaRecorder classes? Thank you.

[android-developers] Redirecting to market search URL doesn't work

2009-05-20 Thread orangechicken
To pretty up the URL we have on our site a URL /get/g1. It redirects to our market.android.com/search URL, eg http://market.android.com/search?q=pname:ourappname. However, going to that link in the G1 browser results in a 404 instead of opening the Market to our app. Questions: 1. Is this a

[android-developers] ERROR Error: No resource found that matches the given name (at 'background' with value

2009-05-20 Thread androiddev123
Hi there, Keep getting this same error message in main.xml. ERROR Error: No resource found that matches the given name (at 'background' with value '@drawable/008'). The image is within the drawable file and therefore I don't understand what's wrong Any advice? Regards,

[android-developers] Redirecting to market search URL doesn't work

2009-05-20 Thread orangechicken
To pretty up the URL we have on our site a URL /get/g1. It redirects to our market.android.com/search URL, eg http://market.android.com/search?q=pname:ourappname. However, going to that link in the G1 browser results in a 404 instead of opening the Market to our app. Questions: 1. Is this a

[android-developers] Re: create new home screen

2009-05-20 Thread androiddev123
Hi Mark, Can you provide myself with the entire directory source code for this app? Regards, On May 4, 7:05 pm, Mark Murphy mmur...@commonsware.com wrote: droiddroid wrote: How areaHomeand Sweeter home hijacking the home page?  I have the SDK, but have no idea how to do it. The Android

[android-developers] Working around the zoom out with the MapView

2009-05-20 Thread Issa Fortin
Finding the built-in zoom out very unpleasant to look at, I thought It would be a good idea to make my own. What disturbs me is that we get to see a white background instead of the map while zooming out . I do understand why it has be done that way, it's a waste of executing time as well as

[android-developers] Re: is there a limit on Extras inside an intent (or a bug on putExtra) ?

2009-05-20 Thread Vignesh
Hi, I am struck with an interesting problem. Problem: I create and putExtras into the intent and try to receive on the receiving Activity(getBundle). The Receiving activity receives NULL for some of the Strings that I had put inside the intent On debugging I found, that intent is not

[android-developers] putExtra error on AppWidget

2009-05-20 Thread Israel Ferrer
Hi everyone. I am just making some AppWidget and I want to pass some Strings through UpdateView to an Activity. But the Bundle is null. I try this: -Widget.java Intent defineIntent = new Intent(context, Visor.class); defineIntent.putExtra

[android-developers] SoundPool.play() audio channels swapped on 1.1 emulator ?

2009-05-20 Thread sn
I just found that left/right channels are swapped when calling SoundPool.play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate), running in 1.1 emulator on MacOS. Unfortunately I'm far away from my G1 headset (with proprietary connector) so I can't check if

[android-developers] Listener Service for data sources

2009-05-20 Thread Kasmoori Bindu
Hi All, Iam a beginner in android, just want to develop a service which listens to the database and it should invoke an activity as soon as there is a change. I tried to implement Contacts listener by registering ContentObserver but couldnot see the expected result. Kept log in onChange()

[android-developers] Re: problems with my htc magic

2009-05-20 Thread dj_thossi
Hi, i have the same Problems with the HTC Magic and the Link is broken. can you upload again, please. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Movie.decodeStream(inputstream) is returning null after updating to 1.5 SDK

2009-05-20 Thread Freshman
Hi guys, I am new to Android and i've updated android to 1.5 SDK, together with the ADT. I followed all the instruction properly. Rest of the Projects are working fine. but Movie.decodeStream(inputstream) is giving null. it was working fine with Android 1.1. Could you please suggest me any ways

[android-developers] Re: How to solve G1/HTC Magic not recognized by ADB under Windows

2009-05-20 Thread John Burton
Al Sutton wrote: This doesn't seem to fix the problem I have on Vista 32 bit. I had exactly the same problem on vista, it's not possible to delete the keys. What I did was open the device manager in control panel and then turn on show all devices or something like that. I don't have vista

[android-developers] HttpsUrlConnection Problem

2009-05-20 Thread Binesy
Hi I have been working with the HttpsUrlConnection class and have found an interesting issue, it seems to fail on every other connection. The first request connects to the server successfully but the second one always fails. Any ideas on what i may be doing wrong. Here is my code. Many

[android-developers] Does anyone sucessfully port LTTng to Android?

2009-05-20 Thread Bird
Hi All, I would like to port LTTng to Android. But, I don't know how to port ltt control toolchain. Does anyone have the experience about porting this tool? Very appreciate for your sharing. Best Regards, Elbert --~--~-~--~~~---~--~~ You received this message

[android-developers] Android source code versions

2009-05-20 Thread sandy.andr...@gmail.com
Is android-1.5 and cupcake-1.5 is same? --~--~-~--~~~---~--~~ 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

[android-developers] Bluetooth microphone activation

2009-05-20 Thread sylpheo
Hi ! I have a bluetooth headset that works fine with android 1.5 for listening music or calling people. My problem is that microphone is only active when I call someone, but I would like it to be activated anytime, for dictation. Is there any way to activate bluetooth microphone wih sdk or is

[android-developers] How can i get the string from edittext?

2009-05-20 Thread hencechen...@gmail.com
here is my code,it seems to return false all the time. EditText tv1=(EditText) findViewById(R.id.name); EditText tv2=(EditText) findViewById(R.id.password); if(tv1.getText().toString()==admintv2.getText().toString() ==admin)

[android-developers] Capture video frames

2009-05-20 Thread rocio
Hi, I´m trying to capture frames from a video file, but I don´t know how to do it. Are there any classes like FrameGrabbingControl (in JMF) for Android? Is it possible with MediaPlayer and MediaRecorder classes? Thanks. --~--~-~--~~~---~--~~ You received this

[android-developers] Capture video frames

2009-05-20 Thread rocio
Hello, how can I capture the frames of a video file? Are there any class like FrameGrabbingControl (in JMF) for Android? Is it possible with MediaPlayer and MediaRecorder classes? Any idea will be greatly appreciated. Thanks. --~--~-~--~~~---~--~~ You received

[android-developers] Setting connection priorities using WifiConfiguration.priority

2009-05-20 Thread wefi.andr...@gmail.com
I am trying to to use WiFi API to set priorities to created profiles. I am using the priority field of WifiConfiguration to set this information. I have found out that no matter what priority I set, Android always tries to re-connect to the latest access point that it was connected to. Here is

[android-developers] Help with photo upload api

2009-05-20 Thread Sujay Krishna
Hi there, 'm developing an android app that will enable the usr to upload sync their camera photos their we albums(either picasa or flickr or whatever's feasible)... i tried the gdata lib for java which was a failure... n i tried flickr which gave me a very tedious job

[android-developers] How to crop camera preview?

2009-05-20 Thread Max Salley
I'm writing an app where the user needs to be able to read text in the camera preview. I've got the preview displaying alright, and the camera has plenty of resolution to make out text at the range I want, but the preview shows a scaled down version of the entire image. I would like to get the

[android-developers] Re: I get Unable to resolve static field error

2009-05-20 Thread Dan Griffin
Hello, SDK 1.5 changed the way that 'Java Build Path/Projects' works in the eclipse ADT plugin. (see http://osdir.com/ml/AndroidDevelopers/2009-05/msg00192.html). Previously in eclipse, marking a project to depend on another lead to the compiled .class files from the dependency to be included

[android-developers] Source Codes

2009-05-20 Thread androiddev123
Hi, Are there any sites that provide the source codes for apps? Regards, --~--~-~--~~~---~--~~ 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] Movie.decodeStream(inputstream) is returning NULL after updating to 1.5 SDK

2009-05-20 Thread Freshman
I updated to 1.5 SDK, together with the ADT. I followed all the instruction properly,rest of the Projects are working fine. but Movie.decodeStream(inputstream) is giving NULL. Not only decodeStream() but all the methods of Movie class returning NULL. I checked out the version notes of SDK 1.5 the

[android-developers] zImage and Android for HTC Alpine

2009-05-20 Thread ErrHec
Is anybody ported the Android to HTC Alpine? If so is possible to get the files? Thank you Ali --~--~-~--~~~---~--~~ 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] Re: how to get random access to raw ressource?

2009-05-20 Thread sbw.android
hi, On 19 mai, 18:25, LastQuarter lastquarter0...@gmail.com wrote: I don't know how to get random access to a raw ressource. It is easy to get a FileInputStream from a raw ressource, what about RandomAccessFile? on 1st execution of your app, you may copy your resource to the phone filesystem

[android-developers] Does Android have OMA DM, DLOTA client?

2009-05-20 Thread onceaweek
I'd like to know where Andriod supports OMA DM(Device Mgmt) , OMA DLOTA ( Download Over The Air). IF yes, please let me know which package supports them in Android. IF not, are there alternative mechanisms in Android or any plan to support them later? Thank you in advance.

[android-developers] Re: SoundPool.play() audio channels swapped on 1.1 emulator ?

2009-05-20 Thread sn
I mean that left/right volumes are swapped. I don't know about the channels themselves since I'm using mono files. On May 20, 5:48 pm, sn sylvain.n...@gmail.com wrote: I just found that left/right channels are swapped when calling SoundPool.play(int soundID, float leftVolume, float

[android-developers] Need Major help on this PLEASE

2009-05-20 Thread androiddev123
Hi there, Keep getting this same error message in main.xml. ERROR Error: No resource found that matches the given name (at 'background' with value '@drawable/008'). The image is within the drawable file and therefore I don't understand what's wrong Any advice? Regards,

[android-developers] Re: Cursor.moveToFirst() is taking up a lot of time

2009-05-20 Thread Streets Of Boston
really...? That's surprising. I thought the moveToNext just fetches the rows lazily, fetches them when necessary. On May 20, 2:15 pm, Marco Nelissen marc...@android.com wrote: The first call to moveToNext() is still going to cause getCount() and thus fillWindow() to be called internally, so it

[android-developers] Re: Redirecting to market search URL doesn't work

2009-05-20 Thread mathiastck
2 sounds right. On May 19, 1:38 pm, orangechicken therealdave.my...@gmail.com wrote: To pretty up the URL we have on our site a URL /get/g1. It redirects to our market.android.com/search URL, eghttp://market.android.com/search?q=pname:ourappname. However, going to that link in the G1

[android-developers] Re: Framework support for detecting starting and stopping of activities

2009-05-20 Thread clemsongrad
Dianne, Do you see value in extending existing framework and service to support tracking at activity level and submitting back to the community? Thx! On May 13, 4:53 pm, Dianne Hackborn hack...@android.com wrote: I believe the class is UsageStatsService.  adb shell dumpsys usagestats will

[android-developers] BroadcastReceivers not receiving PendingIntents

2009-05-20 Thread Jason Proctor
a while back i posted an issue i was having when my BroadcastListener was listening for phone state and sending the info over to an Activity which would present UI. but getIntent() in the receiving Activity always brought back the initial one. should i be using something off PendingIntent in

[android-developers] Puzzled by soft keyboard

2009-05-20 Thread blindfold
Hi, I have a regular EditText that nicely pops up the soft keyboard when the hardware keyboard is closed. Entering data also works fine and gets preserved by my app. However, when I try to track individual key presses using the following code, EditText myedit; // Only gets number keys??

[android-developers] Re: Does Android have OMA DM, DLOTA client?

2009-05-20 Thread clemsongrad
My understanding is that there is no OMA DM support. One option suggested in other posts are to look at RedBend and InnoPath for that support. I remember seeing couple of discussions on this group regarding that. Pl search and you should be able to find it. Regardless, i summarized it for

[android-developers] What is the best way to perfrmo a query on a Pepole.

2009-05-20 Thread tom
Hi, I wan to perfrom a query acorrding to a people, meanning that i need to find out evrething there is to find out on a contact acorrding to his Name ? , how can i perfrom a query that shows me all the phone numbers , all the emails etc. ?? Thanks. Tom

[android-developers] Re: How can i get the string from edittext?

2009-05-20 Thread NyquilDotOrg
try: if (tv1.getText().toString().equals(admin) tv2.getText().toString ().equals(admin)) jer On May 20, 2:21 am, hencechen...@gmail.com hencechen...@gmail.com wrote: here is my code,it seems to return false all the time. EditText tv1=(EditText) findViewById(R.id.name);                

[android-developers] Re: Need Major help on this PLEASE

2009-05-20 Thread Ward Willats
At 11:24 AM -0700 5/20/09, androiddev123 wrote: ERROR Error: No resource found that matches the given name (at 'background' with value '@drawable/008'). What is the corresponding file name? 008.png? I've not tried a pure number as a filename, and the resource compiler is fussy about caps

[android-developers] Re: create new home screen

2009-05-20 Thread Romain Guy
It's in the SDK :) On Tue, May 19, 2009 at 2:02 PM, androiddev123 androiddev123ph...@googlemail.com wrote: Hi Mark, Can you provide myself with the entire directory source code for this app? Regards, On May 4, 7:05 pm, Mark Murphy mmur...@commonsware.com wrote: droiddroid wrote: How

[android-developers] Re: How can i get the string from edittext?

2009-05-20 Thread Keith Wiley
Concur, that's a popular beginning Java mistake. Do some google research on Java strings and how == and equals() work. Good luck. On May 20, 11:42 am, NyquilDotOrg jerwar...@gmail.com wrote: try: if (tv1.getText().toString().equals(admin) tv2.getText().toString ().equals(admin)) jer

[android-developers] webKit

2009-05-20 Thread allian...@groupmedianet.com
Hi I am writing an application that involves searching some specific words in binary files stored in my server at the moment I am searching for those words in a very ineficient way (reading the binary files and compare their content with the words that I am looking for), and I wondered whether

[android-developers] Re: Shipping to Hong Kong

2009-05-20 Thread monmonja
Hi LeanAngel, I'm the developer of My Battery Status and i'm currently living in Hong Kong. Basically i got my phone from my sister (in US where she lives). I'm using China Mobile (Peoples) right now and everything seems fine, had my phone since december. You can hook up the APN (for internet)

[android-developers] What's the point of the AudioRecord callback functions?

2009-05-20 Thread Keith Wiley
I think I have a basic AudioRecord app working. I say I think because it's all in the emulator and my desktop doesn't even have a mic plugged in, so my ability to test is severely limited until I get 1.5 on my G1 for hardware/mic testing), but I'm confused about AudioRecord's overall structure.

  1   2   >