[android-developers] Re: Donut WVGA supporting apps

2009-09-16 Thread Romain Guy
Just compile ApiDemos from the Donut SDK. On Tue, Sep 15, 2009 at 10:17 PM, dan raaka danra...@gmail.com wrote: So, does Donut has an updated APIdemos ? I would have been helpful is the SDK image had APIDemos in it .. Do I just need to take the cupcake ApiDemos and install it on Donut ..

[android-developers] Re: Probing for an already set Alarm?

2009-09-16 Thread Beth
All you need to do is to set different request codes in your pending intent parameters to avoid this situation: The setting of this new alarm, and the throwing out of the existing alarm is what I want to avoid. A correction to one line of code would let you use the alarm manager (sorry if my

[android-developers] Re: Emulator: LogCat Errors for Donut 1.6 Release

2009-09-16 Thread Romain Guy
You can ignore these. On Tue, Sep 15, 2009 at 9:30 PM, kk kkru...@gmail.com wrote: Hi All, The following errors occurred during startup of Android 1.6 SDK Release Emulator: What do the following errors mean? Can these errors be ignored? Emulator Details: Target: Google APIs (API

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

2009-09-16 Thread Romain Guy
Guys, is there any particular reason for you not to include sources in 1.6 as well? Sources are available at source.android.com. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support.

[android-developers] Re: Deep sleep behaviour

2009-09-16 Thread Zhihong GUO
Hi Murphy, Thanks for the reply. Will the data connection over 3G/GPRS keep alive when the CPU sleep? Will the CPU be waked up when there is data transmition on the data connection? James 2009/9/16 Mark Murphy mmur...@commonsware.com Yusuf Saib (T-Mobile USA) wrote: Activity.onDestroy()

[android-developers] Re: Probing for an already set Alarm?

2009-09-16 Thread Dianne Hackborn
Hey I've been working on the next thing for months now. As good as shipped! ;) On Tue, Sep 15, 2009 at 10:31 PM, Walles johan.wal...@gmail.com wrote: The race is on then, we'll see who's the first to market! Cheers :-) / J On 16 Sep, 06:44, Dianne Hackborn hack...@android.com wrote: Um,

[android-developers] Help on configuring the Video display

2009-09-16 Thread Pras
Hi, I using the Android code on my target. The normal menu display as well as picture viewing is in landscape mode but when i playback video file it switches to the portrait view by default. Kindly let me know if i need to configure it in the Surface Flinger (eg in the Layer buffer) or anywhere

[android-developers] Re: scrollbarSize problem

2009-09-16 Thread Konstantin Burov
I tried to modify the fancy scrollbar API demo: ScrollView xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=wrap_content android:scrollbarTrackVertical=@drawable/ scrollbar_vertical_track

[android-developers] Re: Will beginTransaction() decease file reading times?

2009-09-16 Thread Alex Tang
I have found the result. When adding beginTransaction. insert() delete () and update() will be added to this transaction also, which means putting many sql statements into one transaction will save time. On Sep 16, 12:42 pm, Alex Tang tangli1987...@gmail.com wrote: For

[android-developers] Re: Release screen on wake lock problem

2009-09-16 Thread Lee
At the risk of being harshly rebuked by Dianne for spreading infected memes... If you turn the screen on and the user touches it at some point, then the device will stay properly 'on'. Otherwise, when you release the wakelock the device goes back to sleep. The 'ON_AFTER_RELEASE' flag, is

[android-developers] Re: How are SMS and MMS save on android phone

2009-09-16 Thread Alex Tang
I think address is enough. On Sep 16, 1:41 pm, hap 497 hap...@gmail.com wrote: THank you. Sms has a column PERSON_ID which saves the person ID of the sender, but why there is such equivalent column in MMS table?         /**          * The person ID of the sender          * PType: INTEGER

[android-developers] Re: How are SMS and MMS save on android phone

2009-09-16 Thread Alex Tang
According to MmsProvider.java, I find table addr stores address for mms, which has contact_id column On Sep 16, 1:41 pm, hap 497 hap...@gmail.com wrote: THank you. Sms has a column PERSON_ID which saves the person ID of the sender, but why there is such equivalent column in MMS table?      

[android-developers] Re: Can I use android.provider.Telephony?

2009-09-16 Thread Alex Tang
I think you can try in real device and test whether current sdk support the api in your app. On Sep 16, 1:02 pm, Pentiumao pentiu...@gmail.com wrote: Thank you Roman, I will find some other solution. On Sep 15, 11:58 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote:

[android-developers] DDMS GPS triggers exactly once

2009-09-16 Thread BJP
I'm having a problem where I am able to update the location in the Android Emulator from the Eclipse DDMS exactly once per time an activity is loaded, but no more. I discovered the problem in my application where Activity2 (which accesses the GPS) is started by Activity1 (which doesn't do

[android-developers] Re: DDMS GPS triggers exactly once

2009-09-16 Thread BJP
Update: Google hasn't bothered to fix this open issue from April: http://code.google.com/p/android/issues/detail?id=2545 The workaround may be found in Comment 38. --Ben On Sep 16, 12:34 am, BJP bjpcalt...@gmail.com wrote: I'm having a problem where I am able to update the location in the

[android-developers] Re: Android/Donut TTS - does it work in the emulator?

2009-09-16 Thread Siri Appaneni
Hi, I tried using TTS with Android and could not get it working.If someone got Text to speech working on Android do let me know too. Thanks Siri On Sep 16, 5:20 am, roschler robert.osch...@gmail.com wrote: Hello, Has anybody here downloaded and played with the new Android/Donut build which

[android-developers] singleTask really always at the root of activity stack?

2009-09-16 Thread RickardF
Hi all, In the documentation (http://developer.android.com/guide/topics/ manifest/activity-element.html#lmode) it is stated that an activity with launchMode=singleTask is always at the root of the sctivity stack. However, when I run my singleTask activity for a few scenarios and monitors

[android-developers] Re: My Tracks GPX?

2009-09-16 Thread BJP
Update: Google has not responded to this open issue from April: http://code.google.com/p/android/issues/detail?id=2528 Furthermore, this Topograpfix sample GPX cannot be loaded either: http://www.topografix.com/fells_loop.gpx --Ben On Sep 15, 8:28 pm, BJP bjpcalt...@gmail.com wrote: I'm

[android-developers] Re: Problem in horizontal scroll in android

2009-09-16 Thread murali raju
Place a HorizontalScrollView with in an ScrollView or vice versa in the .xml file you will get both scrollbars. On Wed, Sep 9, 2009 at 8:56 PM, mudit mudit.a...@gmail.com wrote: hello... i am using a table layout in a screen. i need to have both horizontal and vertical scrolls. By default

[android-developers] Disable WebKit JavaScript security for XMLHttpRequest

2009-09-16 Thread Miguel Paraz
Hi, Is there any way to disable the WebKit JavaScript security for XMLHttpRequest? I need an HTML file in the local assets to access remote URLs for AJAX style calls. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

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

2009-09-16 Thread blindfold
OK, I've now also inquired with TTS-for-Android at http://groups.google.com/group/tts-for-android/ how one should best transition from using Google's TTS-for-Android library to using Google's android.speech.tts in SDK 1.6 r1. Right now there seems to be zero public information about this for

[android-developers] Text Width Measurement in case of LayoutParams.WRAP_CONTENT

2009-09-16 Thread GPU
Hi , Anybody know in which class the text will be measured and aligned in case of LayoutParams.WRAP_CONTENT is set. While displaying Arabic text (Text Length in less than screen width), its aligned in twolines --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Android/Donut TTS - does it work in the emulator?

2009-09-16 Thread Mark Murphy
Siri Appaneni wrote: Hi, I tried using TTS with Android and could not get it working.If someone got Text to speech working on Android do let me know too. Quoting from a message you hopefully received on this list: A last minute mix-up had us upload the wrong SDK packages :( The only

[android-developers] Re: How To Programmatically Turn On/Off WIFI?

2009-09-16 Thread MrChaz
Add uses-permission android:name=android.permission.CHANGE_WIFI_STATE/ uses-permission uses-permission android:name=android.permission.ACCESS_WIFI_STATE/ uses-permission to the manifest file On Sep 16, 4:36 am, !oEL runzhou...@gmail.com wrote: Hi, Second question of the day, how do I

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

2009-09-16 Thread Jonas Petersson
Jonas Petersson wrote: windstorm wrote: Anybody tried to use this API on Hero? Yes, a friend of mine claims that it works in his Hero (in Sweden). I specifically asked him to verify this for Stefano so I would tend to trust him. Ops, I just got word back from my tester and he had indeed

[android-developers] Adding contacts via Intent

2009-09-16 Thread Dmitry Zelenetskiy
Hello! I am trying to add new contact using intent: Intent addPersonIntent = new Intent(Intent.ACTION_INSERT_OR_EDIT); addPersonIntent.putExtra(Insert.NAME, John Smith); addPersonIntent.setType(Contacts.People.DISPLAY_NAME); addPersonIntent.putExtra(Insert.PHONE, Uri.decode(806547850012));

[android-developers] Re: Deep sleep behaviour

2009-09-16 Thread Mark Murphy
Zhihong GUO wrote: Will the data connection over 3G/GPRS keep alive when the CPU sleep? Ms. Hackborn said it did elsewhere in this thread. I have not tested the theory personally. Will the CPU be waked up when there is data transmition on the data connection? Yes, though I suspect that you

[android-developers] Re: Adding contacts via Intent

2009-09-16 Thread Alex Tang
Do you add permission for adding phones? On Sep 16, 5:19 pm, Dmitry Zelenetskiy www.dzgr...@gmail.com wrote: Hello! I am trying to add new contact using intent: Intent addPersonIntent = new Intent(Intent.ACTION_INSERT_OR_EDIT); addPersonIntent.putExtra(Insert.NAME, John Smith);

[android-developers] Quick Text to Speech example

2009-09-16 Thread MrChaz
Saw a couple of posts from people looking for info on the new text to speech library so I had a whirl at getting it running. Seems to work without any kind of permissions or anything - took about 5 minutes, I must say I'm really impressed! I'm sure this probably isn't best practice but it works

[android-developers] Re: Feature request/query: Possible to read Java properties format files for i18n strings?

2009-09-16 Thread michael.maguire
Added as feature request: http://code.google.com/p/android/issues/detail?id=3908 On Sep 14, 4:48 pm, michael.maguire michael.magu...@gmail.com wrote: Dear Android Developers, I have an application which we are writing to be both a MIDP application using LWUIT as well as an Android

[android-developers] Re: How can I extends InputMethodService and using its feature without setting system keyboard??

2009-09-16 Thread HandsomeboyIT
Thanks Dianne Hackborn. can you explain more about the way of using the raw keyboard view classes? I just want to send some key event to my app but don't want to implement another keyboard. I don't know how to do this. On Sep 16, 11:42 am, Dianne Hackborn hack...@android.com wrote: You can't,

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

2009-09-16 Thread Al Sutton
Thanks for getting this out the door before donut device release dates start circulating and coming towards us. I've updated the pages at AndAppStore to point developers trying to access the open source repo SDKs we made available at the Google pages so (hopefully) any 1.6 SDK questions from now

[android-developers] android application enable handset

2009-09-16 Thread Ajaz Ahmed
Hi, Can any one send me the list of android application enable handset, where i can install my android application? want to know about company,model ?? Regards! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Viewing Requests Made by Another App

2009-09-16 Thread Feras
Is it possible to view what requests are made to external sites/ servers by an app? Basically I'd kind of like to throw an application (I did not make) into a debugging type thing to see what requests (to where and what data) it makes. This is to kind of ensure a third party app does what it is

[android-developers] Re: Viewing Requests Made by Another App

2009-09-16 Thread Mark Murphy
Feras wrote: Is it possible to view what requests are made to external sites/ servers by an app? Basically I'd kind of like to throw an application (I did not make) into a debugging type thing to see what requests (to where and what data) it makes. This is to kind of ensure a third party app

[android-developers] Help: I can't click on an Animated View

2009-09-16 Thread Romano
Hi All, I need your help to solve an issue with the Animations in Android. I have a TextView on which I set an onClickListener. I assign a Traslate Animation to this TextView, so that it moves from position A to position B in the screen. The Animation works as expected. My problem is due to

[android-developers] How use root permission

2009-09-16 Thread Francesco Pace
Hi guys, I'm working on a G1 rooted. I have to implement program that execute Root explorer. I have write this code : Process p; try { p = Runtime.getRuntime().exec(su); // OK DataOutputStream os = new DataOutputStream(p.getOutputStream());

[android-developers] Re: Remote Process Question

2009-09-16 Thread for android
Thanks.I was able to solve the problem.It would be useful if this piece of information is documented in the Process and Thread section of Application Fundamentals. On Wed, Sep 16, 2009 at 10:17 AM, Dianne Hackborn hack...@android.comwrote: Well there is a limit of 16 active threads calling into

[android-developers] Re: Make a call without dial in background

2009-09-16 Thread Efor18
Thanks for your reply Mark, But I do this, and when a want to make a call, start the dial app. I want to make a call with my own app, not with the dial app. But I dont know how to make this. I think that is impossible. On Sep 15, 4:20 pm, Mark Murphy mmur...@commonsware.com wrote: Is

[android-developers] Re: Make a call without dial in background

2009-09-16 Thread Mark Murphy
Efor18 wrote: Thanks for your reply Mark, But I do this, and when a want to make a call, start the dial app. I want to make a call with my own app, not with the dial app. But I dont know how to make this. As I wrote: Use the ACTION_CALL Intent. You will need the associated permission

[android-developers] Do we get any event in the Activity when the activity gets re-sized?

2009-09-16 Thread AJ
Do we get any event in the Activity when the activity gets resized? like when Virtual keyboard appears on the screen. Thanks, AJ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Make a call without dial in background

2009-09-16 Thread Efor18
Thanks Mark, And is possible to stop a call, for example, 10 second after the call start? Thanks a lot for your support. On Sep 16, 11:59 am, Mark Murphy mmur...@commonsware.com wrote: Efor18 wrote: Thanks for your reply Mark, But I do this, and when a want to make a call, start the

[android-developers] Re: Make a call without dial in background

2009-09-16 Thread Mark Murphy
Efor18 wrote: And is possible to stop a call, for example, 10 second after the call start? I am not aware of a way to do that through the SDK. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki.andmob.org/hado

[android-developers] Re: Relative Layout XML attributes have no obvious programmatic equivalent.

2009-09-16 Thread ayanir
Hello again, I just wanted to add that the layout.xml: RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=wrap_content android:layout_height=wrap_content com.example.RPCPlayerInfoTitle

[android-developers] Re: Probing for an already set Alarm?

2009-09-16 Thread Walles
Let's say I change my code to: Pseudo code for the UI: 1. Set an updating alarm in 15s, request INITIAL. 2. Show UI based on existing data. Pseudo code for the sampler: 0. If INITIAL, and we have samples in the database, return without doing anything. 1. Take a sample and store it in a

[android-developers] Re: About Services

2009-09-16 Thread Shrenik Vikam
is any other way like 1) to kill the phone service 2) to simulate the press/KeyEvent.ACTION_DOWN on KEYCODE_ENDCALL or any other way by using ndk api On Sep 11, 10:35 pm, Dianne Hackborn hack...@android.com wrote: Sorry, no. On Fri, Sep 11, 2009 at 12:55 AM, Shrenik Vikam

[android-developers] Re: which sites have tutorials for Android?

2009-09-16 Thread Gulfam
Hi Marks, you can learn all the things from here. http://developer.android.com/index.html Gulfam On Sep 11, 4:28 am, Jeff j...@trackaroo.com wrote: Anddev is pretty good. http://www.anddev.org/index.php?c=2 On Sep 10, 1:25 pm, marks markshen2...@gmail.com wrote: Please post some

[android-developers] Parser XML return table

2009-09-16 Thread sweet
Hello I'm new to android dev and I'd like to make a Parser xml which return a table of string, i've try to find a tuto in the net but without success. I know i should use SAX parser but i don't understand his working if anybody can explain to me it will be very nice or if anybody know a tutorial

[android-developers] Sending email with Apache commons

2009-09-16 Thread Isuru danagalle
Hi All, I am trying a simple send mail application using apache commons library.Here is the code. The email sending code is working fine in a standalone application.However when I try to run it as android application it gave following error message. trouble processing

[android-developers] mmap fails

2009-09-16 Thread Arun Raghavendra Murthy
Hi, I have created a simple driver to implement mmap and an application program to uses the sys call mmap and tries writ/read data. The mmaped area is the RAM.(I am working on beagle board) This works fine when I execute my application program through the shell/console but fails (with the

[android-developers] Re: mmap fails

2009-09-16 Thread Mark Murphy
Arun Raghavendra Murthy wrote: Hi, I have created a simple driver to implement mmap and an application program to uses the sys call mmap and tries writ/read data. The mmaped area is the RAM.(I am working on beagle board) You may be better served asking your question on the

[android-developers] Re: tabs iphone style

2009-09-16 Thread Wouter
I have tried this but without success! The example on anddev.org is taken from http://code.google.com/p/undroid/source/browse/trunk/src/com/bitsetters/undroid/common/Footer.java i have tried that example because they also work with different activities per tab, but I got nullpointerexception in

[android-developers] Re: tabs iphone style

2009-09-16 Thread Wouter
I see that there are android apps with this style of tabs: http://www.mobilecrunch.com/wp-content/uploads/2009/02/myspace-android.gif It must be possible.. On 16 sep, 14:32, Wouter wouterg...@gmail.com wrote: I have tried this but without success! The example on anddev.org is taken

[android-developers] Re: android application enable handset

2009-09-16 Thread Zeeshan Muhammad
i am also looking for the answer. On Wed, Sep 16, 2009 at 11:11 AM, Ajaz Ahmed ajazahme...@gmail.com wrote: Hi, Can any one send me the list of android application enable handset, where i can install my android application? want to know about company,model ?? Regards!

[android-developers] Re: WebKit capabilities

2009-09-16 Thread Markus Junginger
I am also very interested in some Android specific documentation for Android's WebKit. Just read a post from January that touch events are not supported in JavaScript, which are available on the iPhone. What about, for example, orientation events? Anyway, a clear reference for WebKits' (Chrome's)

[android-developers] Emulator won't finish booting...

2009-09-16 Thread furby
I had the 1.5 android emulator starting from Eclipse perfectly nicely until yesterday when it suddenly won't finish booting. I haven't installed anything new (Running it on Windows Vista - i know, uck, but I'm waiting for Win 7 to hurry up), haven't even changed the java code I am trying to

[android-developers] ScreenDensity for WVGA in Donut Emulator

2009-09-16 Thread xinit
Hello Something looks wrong to me. I select, WVGA emulator, Then code that uses the DisplayMetric class I return the following values Density: 1 Width In Pixels: 320 Width in Pixels: 520 XDY: 160 XDX: 160 This is not what I would expect. A WVGA device should be 800x420. My second

[android-developers] Issue of selection 3D vertex (gluUnProject)

2009-09-16 Thread Gameboy
I try to select 3D vertex (1, 1, 1) from 2D screen, basic thought is get near and far points with gluUnproject, then use line through these two points to intersect selection point, but seems has problem with test code. float[] win= new float[3] ; float[] world = new float[3] ; 1)

[android-developers] Re: tabs iphone style

2009-09-16 Thread nEx.Software
I have done custom tabs in my application (BarTor) using a modified version of the TabHost and TabActivity that i got from the Android Open Source Project. Granted, I leave the tabs at the top, but there is nothing really stopping me from putting them at the bottom or the the sides... I'd suggest

[android-developers] Re: WebKit capabilities

2009-09-16 Thread AJ
Hi David, I am also interested in Android Browser/WebKit's specific documentation. Here is the url which has some UML diagrams of android Browser/WebKit. http://www.anddev.org/viewtopic.php?p=25111 You can have a look. It may be helpful to you. Anyway if you have such links then please share

[android-developers] Re: tabs iphone style

2009-09-16 Thread Wouter
Hey, I am using tabs also now because the example didn't worked for me.. You can see my application: http://i29.tinypic.com/254wjtg.png (dont mind the images in the tabs, have to replace them ;) ) But when i click on a item in my list i open an activity FilmDetail but here the tabs are not

[android-developers] Re: Emulator won't finish booting...

2009-09-16 Thread AJ
Hi furby, Are you starting the emulator with -avd option. If not then create an avd and start the emulator with -avd option. See the following link for more details. http://developer.android.com/guide/developing/tools/avd.html Thanks, AJ On Sep 16, 6:03 pm, furby wookie...@gmail.com wrote:

[android-developers] Re: Emulator won't finish booting...

2009-09-16 Thread furby
I actually am starting it using Eclipse... Really, just running the project. (I have to admit, I am rather new at Android development). I created an AVD earlier (While I was attempting to use Netbeans to develop Android apps - it didn't work out very well)... I am just wondering - how can it

[android-developers] Running big chunks of SQL

2009-09-16 Thread David Given
I want to initialise my database on app startup from a file containing quite a lot of SQL. I can't find any way of executing multiple statements at once. SQLiteDatabase.execSQL() is restricted to running *one* statement at a time. I know the SQLite library is capable of doing this; is there

[android-developers] Re: Emulator won't finish booting...

2009-09-16 Thread Mark Murphy
furby wrote: I actually am starting it using Eclipse... Really, just running the project. (I have to admit, I am rather new at Android development). I created an AVD earlier (While I was attempting to use Netbeans to develop Android apps - it didn't work out very well)... I am just

[android-developers] Re: Emulator won't finish booting...

2009-09-16 Thread Timothy Collins
I'll take that under consideration... That might be a very good point. On Wed, Sep 16, 2009 at 9:40 AM, Mark Murphy mmur...@commonsware.comwrote: furby wrote: I actually am starting it using Eclipse... Really, just running the project. (I have to admit, I am rather new at Android

[android-developers] Re: Running big chunks of SQL

2009-09-16 Thread Mark Murphy
David Given wrote: I want to initialise my database on app startup from a file containing quite a lot of SQL. I can't find any way of executing multiple statements at once. SQLiteDatabase.execSQL() is restricted to running *one* statement at a time. I know the SQLite library is capable

[android-developers] Re: Disable WebKit JavaScript security for XMLHttpRequest

2009-09-16 Thread AJ
I am also looking the answer for this. Thank, AJ On Sep 16, 1:36 pm, Miguel Paraz mpa...@gmail.com wrote: Hi, Is there any way to disable the WebKit JavaScript security for XMLHttpRequest? I need an HTML file in the local assets to access remote URLs for AJAX style calls. Thanks.

[android-developers] Re: Emulator won't finish booting...

2009-09-16 Thread JoaJP
In my experience (all the way from m3), the emulator isn't quite as stable as one would expect... although it's improved considerably. Before you go out and buy new equipment, try to delete the emulator's data image. If the emulator doesn't find it, it creates a fresh one, so all you really lose

[android-developers] Re: Emulator won't finish booting...

2009-09-16 Thread Timothy Collins
Hmmm - I will try that. My machine isn't exactly the most powerful piece of equipment ever created... But all I am running is Eclipse and the emulator (And, of course, the JDK that underlies Eclipse). And it was working quite nicely before this... I suspect it might be a corrupted data file, but

[android-developers] Re: Issue of selection 3D vertex (gluUnProject)

2009-09-16 Thread Great
I use perspective projection, and parallel projection looks well. So my question exactly is how to scale unproject result to real word coordinate (1, 1, 1) when using perspective projection? 2009/9/16 Gameboy r59...@gmail.com I try to select 3D vertex (1, 1, 1) from 2D screen, basic thought

[android-developers] Drawing Simple lines

2009-09-16 Thread pro
Hi All, I've the following code I'm trying to run on emulator ( v 1.5 of OS), but it seems like I can't use the whole canvas!!! Here is the code fragment - Paint p = new Paint(); p.setColor(Color.GREEN); //p.setStyle(Paint.Style.STROKE);

[android-developers] Re: ScreenDensity for WVGA in Donut Emulator

2009-09-16 Thread lilbyrdie
Hi, WVGA should be 800x480 pixel resolution. I would hope that the emulators would all draw pixel-to-pixel on whatever screen you're running on. That means they would all technically get the same pixel density -- the host machines. However, the idea is the simulate hardware that is of a

[android-developers] Re: ScreenDensity for WVGA in Donut Emulator

2009-09-16 Thread Romain Guy
I also noticed that the physical size of the WVGA is far bigger than that of the HVGA. That's normal. On your monitor, pixels have a fixed size. The more pixels you have... You can ask the emulator to simulate the real physical size of a device though (see the -scale flag.) Considerting that

[android-developers] Using listPreferredItemHeight in an ExpandableListView

2009-09-16 Thread Felix Oghina
I was using a simple ListView, and this simple TextView as items in that list: TextView xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=?android:attr/listPreferredItemHeight

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

2009-09-16 Thread gjs
Hi, Could you please explain this a bit more - Does that mean that TTS won't work with the SDK files here - http://developer.android.com/sdk/1.6_r1/index.html PlatformPackage SizeMD5 Checksum Windows android-sdk-windows-1.6_r1.zip 260529085 bytes

[android-developers] Use old progressbar style with Donut

2009-09-16 Thread Al
Is there any way to use the old progress bar (from 1.5) in Donut? Thanks. --~--~-~--~~~---~--~~ 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: Emulator won't finish booting...

2009-09-16 Thread Nmix
This has happened to me a few times. When it does, the AVD seems to be permanently broken, or at least I have yet to figure out how to fix it. If you monitor logcat, it always freezes at the following point (assuming it's the same problem you're seeing): ... 07-15 02:13:41.373:

[android-developers] How to connect to SQLite DB in Emulator ?

2009-09-16 Thread mac-systems
Hello, i try to connect to the Android Emulator from my Eclipse via JDBC. Anyone can point me how to do that ? thx, Jens --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Emulator won't finish booting...

2009-09-16 Thread Timothy Collins
Stupid question (And this really exposes how new I am to Android development so treat me like an imbecile) : How do you delete the AVD and recreate it from Eclipse? (I am somewhat new to Eclipse as well - I have used Aptana for years - which is a derivative of it - but this is the first time I

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

2009-09-16 Thread Xavier Ducrohet
I've replaced the files at http://developer.android.com/sdk/1.6_r1/index.html (By the way, the size/checksum indicated on this page were always the one of the proper files, so if anyone had checked they should have realized the archives where wrong). To make sure you are running the system image

[android-developers] Re: Use old progressbar style with Donut

2009-09-16 Thread Romain Guy
No :) On Wed, Sep 16, 2009 at 8:21 AM, Al alcapw...@googlemail.com wrote: Is there any way to use the old progress bar (from 1.5) in Donut? Thanks. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to

[android-developers] Re: AVD for Motorola Cliq?

2009-09-16 Thread Steve
On Sep 11, 2:27 pm, Carl Whalley carl.whal...@googlemail.com wrote: Ok, sorry for posting before I read the link - the DPAD does adjust as you'd expect and it is explained further at the page Anna pointed to.. I'm not seeing this. What I see on the Cliq emulator is that when you've got the

[android-developers] Re: ScreenDensity for WVGA in Donut Emulator

2009-09-16 Thread Xavier Ducrohet
On Wed, Sep 16, 2009 at 6:05 AM, xinit gerard.pa...@gmail.com wrote: Hello Something looks wrong to me. I select, WVGA emulator, Then code that uses the DisplayMetric class I return the following values Density: 1 Width In Pixels: 320 Width in Pixels: 520 XDY: 160 XDX: 160 This is

[android-developers] Re: Emulator won't finish booting...

2009-09-16 Thread Walter
I have the same problem too. Usually It will be fine after I closed Pidgin, Google Talk and restart the emulator. if not, restart the computer and try again. On Sep 16, 7:03 am, furby wookie...@gmail.com wrote: I had the 1.5 android emulator starting from Eclipse perfectly nicely until

[android-developers] Re: Emulator won't finish booting...

2009-09-16 Thread Dexter's Brain
I also have the same problem sometimes. I just close the emulator and restart it. That usually solves the problem On Sep 16, 9:06 pm, Walter androidremotecont...@gmail.com wrote: I have the same problem too. Usually It will be fine after I closed Pidgin, Google Talk and restart the emulator.

[android-developers] Re: Emulator won't finish booting...

2009-09-16 Thread Timothy Collins
I tried that... with no good results On Wed, Sep 16, 2009 at 12:14 PM, Dexter's Brain coomar@gmail.comwrote: I also have the same problem sometimes. I just close the emulator and restart it. That usually solves the problem On Sep 16, 9:06 pm, Walter androidremotecont...@gmail.com

[android-developers] Donut upgrade and ADC2

2009-09-16 Thread nuno
Hi all, Great that the SDK is released. My question is: - Will Donut be dumped on the phones before or after the user testing of the ADC apps finish? Because I can see that some apps may crash and be penalise without any of the developers fault. Cheers,

[android-developers] Re: Donut upgrade and ADC2

2009-09-16 Thread Robert Green
I was wondering the same thing. On Sep 16, 11:21 am, nuno nba...@gmail.com wrote: Hi all, Great that the SDK is released. My question is: - Will Donut be dumped on the phones before or after the user testing of the ADC apps finish? Because I can see that some apps may crash and be

[android-developers] Re: 1.6 SDK Arrow keys (dpad/trackball) dir not changing with orientation?

2009-09-16 Thread Robert Green
Surely I'm not the only one that has noticed this? On Sep 16, 12:44 am, Robert Green rbgrn@gmail.com wrote: Just started testing my games in 1.6 and the first thing I notice is that on the landscape ones, the dpad up/down/left/right orientation doesn't switch 90 degrees like it did on all

[android-developers] Re: Countries for selling priced applications in Android Market

2009-09-16 Thread monsoon
FYI I joined up to Android Market the other day (10th Sep 2009), and also could not get past the 'Location' drop-down menu (and, it was only encountered 'after' paying up the membership) - but I did notice that in the locations list of countries there-in, that can currently buy- and-sell at that

[android-developers] Re: 1.6 SDK Arrow keys (dpad/trackball) dir not changing with orientation?

2009-09-16 Thread Romain Guy
The device trackball/dpad will still change with orientation (right becomes up on landscape, etc..), right? Yes. At least it does on real devices. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide

[android-developers] Re: About Services

2009-09-16 Thread Dianne Hackborn
Again, sorry, no. On Wed, Sep 16, 2009 at 4:47 AM, Shrenik Vikam shre...@ruby-solutions.comwrote: is any other way like 1) to kill the phone service 2) to simulate the press/KeyEvent.ACTION_DOWN on KEYCODE_ENDCALL or any other way by using ndk api On Sep 11, 10:35 pm, Dianne Hackborn

[android-developers] Re: Probing for an already set Alarm?

2009-09-16 Thread Dianne Hackborn
You have to be receiving BOOT_COMPLETED to get your initial alarm. When you get BOOT_COMPLETED, you know that you are at the initial boot of the system. You can set up for whatever initial behavior you want at that point. Also, you could simply have some persistent data about the alarms you have

[android-developers] Re: Do we get any event in the Activity when the activity gets re-sized?

2009-09-16 Thread Dianne Hackborn
Activities don't get sized, windows do. The window associated with your activity will be resized if it is in resize mode. On Wed, Sep 16, 2009 at 4:21 AM, AJ ajeet.invinci...@gmail.com wrote: Do we get any event in the Activity when the activity gets resized? like when Virtual keyboard

[android-developers] Re: Help: I can't click on an Animated View

2009-09-16 Thread Dianne Hackborn
That is how animations are supposed to work -- they are just a change in visuals. You should typically move your view to its new position as part of a layout, and at that point supply an animation to animate it from the old to new position. On Wed, Sep 16, 2009 at 3:20 AM, Romano

[android-developers] Re: Issue of selection 3D vertex (gluUnProject)

2009-09-16 Thread Robert Green
You need to cast a ray from that 2D point in the viewport through the center of the frustum and do a collision check on the bounds of your clickable objects. The highest Z object in camera-space would be the closest. On Sep 16, 9:52 am, Great r59...@gmail.com wrote: I use perspective

[android-developers] Re: How can I extends InputMethodService and using its feature without setting system keyboard??

2009-09-16 Thread Dianne Hackborn
Er you use it the same way as you would if using it in an input method. It's a view, you put it in your UI in some way, give it the information about the key layout, get the callbacks as it is pressed, and do the appropriate thing. Just like when implementing an IME. On Wed, Sep 16, 2009 at

[android-developers] Re: singleTask really always at the root of activity stack?

2009-09-16 Thread Dianne Hackborn
Very much by definition, a single ask activity is always at the root of a stack. Anyone who launches that activity is forced to launch a new task, so the activity can't be anything but the start of a new task. I don't know enough about what you are doing or seeing to help any more, but there

[android-developers] Re: 1.6 SDK Arrow keys (dpad/trackball) dir not changing with orientation?

2009-09-16 Thread Robert Green
Is this a bug or do you think it was intentional? It's just strange because I'm hitting left/right to go up/down in menus when in landscape. I guess that's not a huge deal but it's really disorienting when trying to develop and test games :/ On Sep 16, 11:28 am, Romain Guy romain...@google.com

  1   2   3   >