[android-developers] Re: Is your Android app on Archos Market ?

2009-11-08 Thread Al Sutton
I welcome Charbax making my posts publicly available so that people can make their own minds up, and I just wish Archos would also allow us to do the same with the emails and documents that back our claims. Please remember, some of my posts on his site have quoted text at the start which and on

[android-developers] AppWidget update best practices

2009-11-08 Thread Nivek
Hi ! In the process of creating an AppWidget which displays data from a remote host, I am looking for documentation about how to manage updates. Are there articles somewhere about how and when querrying remote data is the most appropriate ? I am wondering if we have to explicitely code the

[android-developers] Re: Override Dock Launcher

2009-11-08 Thread Daniel
Nevermind guys, that works fine, I had a typo in my manifest file, the way I posted it above works fine. You can either use DESK_DOCK or CAR_DOCK intents and the phone will ask which action you would like to do, and if you would like to set it to default. On Nov 8, 2:23 am, Daniel

Re: [android-developers] Re: ADC2 Judging App FC

2009-11-08 Thread Marc Lester Tan
Great thanks for the tip Craig, opening the Market will automagically download all the stalled ADC2 entries, though I need to open Downloads section first. Marc On Sun, Nov 8, 2009 at 3:50 PM, CraigsRace craig...@gmail.com wrote: There is a work around. If the app to review doesn't install,

[android-developers] Re: AsyncTask and ProgressDialog

2009-11-08 Thread Lee Jarvis
Well, that's the thing. It's not a progress 'bar' that I can just show/ hide which would seem a lot easier. I'm just using a ProgressDialog that I dismiss in onPostExecute, The code you see above inside of my AsyncTask is what I'm using to show/hide the dialog. I use showDialog () in onPreExecute

[android-developers] Re: Running native executable from java application.

2009-11-08 Thread Mina Shokry
Yes, I can execute it from adb shell, and from terminal emulator application on the phone itself. On Nov 6, 11:40 pm, fadden fad...@android.com wrote: On Nov 5, 1:46 pm, Mina Shokry minasho...@gmail.com wrote: I tried to run chmod 777 on the file and on cache directory containing it and I

Re: [android-developers] Re: motorola cliq sdk 2.0

2009-11-08 Thread Jonas Petersson
nEx.Software wrote: You know, actually, come to think of it... It might only be those evil non-public apis that we all know not to use but still do anyway... I'll have to look and see if anything I have seen was a public api. I know that working with the Contacts is incredibly frustrating, but

[android-developers] Re: Force locale for an application, bug in 2.0?

2009-11-08 Thread Kaj Bjurman
Thanks for the answer. The workaround works, but that does unfortunately mean that users who got Android 2.0 won't be able to use Swedish in the application. Btw. Do you know if I should report the updateConfiguration bug? On 7 Nov, 23:35, Mark Murphy mmur...@commonsware.com wrote: Kaj Bjurman

[android-developers] Re: Is your Android app on Archos Market ?

2009-11-08 Thread arnouf
Hi, I launch this topic and apparently there is animation :) First I'm a simple developer. My goal is to publish my apps everywhere to have a lot of users and fans. I don't care if Archos takes my apps from slideme or another website. If a specific website, sharing apps, doesn't agree with the

[android-developers] change the height of a view on runtime

2009-11-08 Thread Wouter Vegter
Hello, I have defined a view with id view01 in my xml layout file. I want to change the height of this view on runtime. At first I wanted to do it with a single click on the view, but I wasn't able to do that properly, hence the onClickListener interface. After that i tried to change the height

[android-developers] Re: ADC2 Judging App FC

2009-11-08 Thread gjs
On g1 I get just FC's even after opening market On Nov 8, 7:51 pm, Marc Lester Tan mail...@gmail.com wrote: Great thanks for the tip Craig, opening the Market will automagically download all the stalled ADC2 entries, though I neteed to open Downloads section first. Marc On Sun, Nov 8,

[android-developers] What changed need to made to add a font.ttf file ?

2009-11-08 Thread GPU
Hi , What changed need to made to add a font.ttf file ? SKfontHost.cpp loadfonts() changes not reflecting in system/fonts/ Is their anything else to change ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: Wallpaper

2009-11-08 Thread Zhihong GUO
make the question clear, how can I add images to the wallpaper gallery? 2009/11/7 Zhihong GUO gzhh...@gmail.com But where is the wallpaper gallery locate. It seems that only one image in /data/data/ com.android.settings/files/wallpaper 2009/2/12 Rohit mord...@gmail.com Talking to myself

Re: [android-developers] AppWidget update best practices

2009-11-08 Thread Mark Murphy
Nivek wrote: I am wondering if we have to explicitely code the remote querries in a separate thread, or even do it in a separate service, to avoid freezes of the home screen (this happens a lot on my htc magic).

Re: [android-developers] Re: Force locale for an application, bug in 2.0?

2009-11-08 Thread Mark Murphy
Kaj Bjurman wrote: Thanks for the answer. The workaround works, but that does unfortunately mean that users who got Android 2.0 won't be able to use Swedish in the application. Btw. Do you know if I should report the updateConfiguration bug? Not sure. I wasn't aware that the technique your

[android-developers] Permission to use bindAppWidgetId()

2009-11-08 Thread Kerr
Well, Why we want use bindAppWidgetId()? Generally, when you want to add some widgets on desktop(Launcher), you just could longClick and select widget you want. But if you want create some default widgets on desktop, you must need to use bindAppWidgetId(), the woking flow is like this 1, widget

[android-developers] Re: AppWidget update best practices

2009-11-08 Thread Nivek
Thanks a lot, this is exactly what I was looking for. I try this right now ! Kevin On 8 nov, 14:26, Mark Murphy mmur...@commonsware.com wrote: Nivek wrote: I am wondering if we have to explicitely code the remote querries in a separate thread, or even do it in a separate service, to avoid

[android-developers] Problems with Widget

2009-11-08 Thread guruk
Hi There, I have 4 Widgets 2 collected in / small widgets - works both fine 2 collected in / big widgets - here one works and the other crash its strange because the second widget from the big widget is so similar build that i dont find an error. Finaly it causes MyDays to crash often when the

[android-developers] Re: Is your Android app on Archos Market ?

2009-11-08 Thread JP
On Nov 7, 11:25 pm, Fred Grott(Android Expert, http://mobilebytes.wordpress.com) fred.gr...@gmail.com wrote: Charbox your slander definition seems to be somewhat unique and different. Agreed. His coordinate system for slander and disparage could use some calibration, it seems. -- You

Re: [android-developers] Problems with Widget

2009-11-08 Thread Mark Murphy
guruk wrote: Hi There, I have 4 Widgets 2 collected in / small widgets - works both fine 2 collected in / big widgets - here one works and the other crash its strange because the second widget from the big widget is so similar build that i dont find an error. Finaly it causes MyDays to

[android-developers] Re: BroadcastReceiver for incoming Gmail?

2009-11-08 Thread moneytoo
Gmail does not broadcast any intent on incoming e-mail. In other thread there is a post of a Adnroid developer talking about currently not planning adding this feature. On Nov 7, 11:06 pm, gnugu rho...@gmail.com wrote: Hello, Does anybody know how to setup BroadcastReceiver's action and intent-

[android-developers] Re: BroadcastReceiver for incoming Gmail?

2009-11-08 Thread moneytoo
http://code.google.com/p/android/issues/detail?id=3668 On Nov 7, 11:06 pm, gnugu rho...@gmail.com wrote: Hello, Does anybody know how to setup BroadcastReceiver's action and intent- filter so it can be invoked when Gmail is received? I thing CubeWorks does it, so it's not entirely

[android-developers] Re: Problems with Widget

2009-11-08 Thread guruk
thanks yes.. nearly at the same time u wrote me i found the same... its obm = Bitmap.createBitmap(ob.getWidth(), ob.getHeight(), ob.getConfig()); but what is different here since 1.5 because there it worked? chris On 8 Nov., 17:23, Mark Murphy mmur...@commonsware.com wrote:

Re: [android-developers] Re: Problems with Widget

2009-11-08 Thread Mark Murphy
guruk wrote: thanks yes.. nearly at the same time u wrote me i found the same... its obm = Bitmap.createBitmap(ob.getWidth(), ob.getHeight(), ob.getConfig()); but what is different here since 1.5 because there it worked? ob.getConfig() is returning null, presumably. You are

[android-developers] How to programmatically disable the soft keyboard?

2009-11-08 Thread Flying Coder
My app has a simple number pad dialog for entering data into an EditText. I want to use that instead of the soft keyboard. How can I keep the soft keyboard from displaying when a user clicks on the EditText? I really don't wan to go the thru the hassle of developing a full blown InputMethod

[android-developers] Debugging

2009-11-08 Thread bnovc
I have mostly been avoiding debugging when I can because of these two problems, so hopefully someone here has suggestions to avoid them: 1. It seems that I have to build the SDK (`make sdk`) and copy it off to a directory for Eclipse to use almost every time I want to debug. I haven't followed

[android-developers] Make two buttons the same width?

2009-11-08 Thread Mark Wyszomierski
Hi, Is there any style I can set which will make a set of buttons the same width (without specifying an explicit size in pixels)? For example: Layout Button EditText Button /Layout is there a way to make the two buttons the same width, even though they may have different text? Right now

Re: [android-developers] Make two buttons the same width?

2009-11-08 Thread Mark Murphy
Mark Wyszomierski wrote: Is there any style I can set which will make a set of buttons the same width (without specifying an explicit size in pixels)? For example: Layout Button EditText Button /Layout is there a way to make the two buttons the same width, even though they may

Re: [android-developers] Preference and type

2009-11-08 Thread Bob Cai
Done! Although there's no INT type Preference. Here's the way to make sure that the input for EditTextPreference is a number. EditText etText = (EditText)((EditTextPreference)findPreference(NUM_TEXT)).getEditText(); etText.setKeyListener(DigitsKeyListener.getInstance()); On Sat, Nov 7, 2009 at

Re: [android-developers] change the height of a view on runtime

2009-11-08 Thread Romain Guy
theView.getLayoutParams().height = theNewHeight; theView.requestLayout(); :) On Sun, Nov 8, 2009 at 3:45 AM, Wouter Vegter wouterveg...@gmail.com wrote: Hello, I have defined a view with id view01 in my xml layout file. I want to change the height of this view on runtime. At first I wanted

[android-developers] Can not find my own App in Android Application with G!

2009-11-08 Thread androidDeveloper
Is there a reason why I do not find my own app on Android Market with my G1? The G1 is registered to my Google account, that I used to submit the APP. I too have a Samsung Galaxy, which is registered to another Google account, and with that I found my app! Does anyone know why this is? -- You

[android-developers] Re: AsyncTask and ProgressDialog

2009-11-08 Thread Streets Of Boston
If you do showDialog(dialogId) and dismissDialog(dailogId), Android actively manages the showing and hiding of the dialog on configuration changes. E.g. if you called showDialog(id) and your rotate your screen, Android will make sure that the dialog is shown again when the activity is recreated

[android-developers] Problems updating my app on Android Market and switching to copy protection

2009-11-08 Thread androidDeveloper
I have uploaded an update for my app on Android Market. And at the same time I have enabled the copy protection of the app. When I downloaded my the update, there was an exception and the app crashed. I had to reinstall it. After reinstall it worked fine... Exception was: W/zipro ( 1103):

[android-developers] Re: Layout animation, clipping to parent

2009-11-08 Thread RalphLeon
Anyone? This seems to be the case with all layout animations, not just Gallery's. On Oct 29, 10:54 am, RalphLeon rgoo...@gmail.com wrote: So, if you have a layout animation attached to a gallery with the views coming from _outside_ of the parent (a translation animation): how do we get the

[android-developers] Re: The application android has stopped unexpectedly

2009-11-08 Thread Maxood
I have spotted where i was wrong and there was insufficient data...right! My app is running just fine on the emulator. Now i need to deploy my app on the device and need to know whether i have to deploy/install the SQLite db file along with my app. Please note that i haven't got any database file

[android-developers] Re: Can not find my own App in Android Application with G!

2009-11-08 Thread Maps.Huge.Info (Maps API Guru)
I'm just guessing here, but if your app is a paid app then you're not allowed to download your own app for some odd reason (it's in the terms), so if you used the same Google account to upload the app as your G1 has, you shouldn't be able to see it on that device. -John Coryat Radar Now! What

Re: [android-developers] Re: The application android has stopped unexpectedly

2009-11-08 Thread Mark Murphy
Maxood wrote: I have spotted where i was wrong and there was insufficient data...right! My app is running just fine on the emulator. Now i need to deploy my app on the device and need to know whether i have to deploy/install the SQLite db file along with my app. From the standpoint of

Re: [android-developers] Re: Layout animation, clipping to parent

2009-11-08 Thread Romain Guy
Call setClipChildren() on both the gallery and its parent. On Sun, Nov 8, 2009 at 10:05 AM, RalphLeon rgoo...@gmail.com wrote: Anyone? This seems to be the case with all layout animations, not just Gallery's. On Oct 29, 10:54 am, RalphLeon rgoo...@gmail.com wrote: So, if you have a layout

[android-developers] Re: SQLite OnUpdate() Help!?

2009-11-08 Thread Moto
No one had to do a database update? On Nov 7, 11:50 pm, Moto medicalsou...@gmail.com wrote: Anyone help?  I really need to get a release out and this is what's holding me down :( Thanks! On Nov 7, 4:05 pm, Moto medicalsou...@gmail.com wrote: Sounds like a hackable idea...  But maybe

[android-developers] Re: Problems updating my app on Android Market and switching to copy protection

2009-11-08 Thread RichardC
Looks like there are some bugs outstanding: http://code.google.com/p/android/issues/detail?id=2047 http://code.google.com/p/android/issues/detail?id=2263 Also if you search this group for copy protection there are people reporting/discussing issues regarding changing the copy protection setting

Re: [android-developers] Re: SQLite OnUpdate() Help!?

2009-11-08 Thread Mark Murphy
Moto wrote: No one had to do a database update? Database updates work just fine, at least as of Android 1.5, when I last tried them. To see a database update in action, visit: http://commonsware.com/AndTutorials Scroll down, click on the Source Code link, and grab the ZIP file for the answers

[android-developers] Re: The application android has stopped unexpectedly

2009-11-08 Thread Maxood
When i create a new AVD, as i am developing on Android 1.6 so i selected API level 4 for Target. Now for the SD Card, do i have to provide the file size or should i browse the file location and provide the path in the second option? And what about Skin and Hardware? Should i leave them as they are

Re: [android-developers] Re: SQLite OnUpdate() Help!?

2009-11-08 Thread Dianne Hackborn
Here's another example, the system settings provider:

[android-developers] Re: ADC2 Judging App FC

2009-11-08 Thread String
In fairness, the ADC2 app does say to use the Market if you're having trouble installing. BTW, Craig, congrats getting to Round 2! H2H Racing definitely deserves it, it's a great game. String On Nov 8, 7:50 am, CraigsRace craig...@gmail.com wrote: There is a work around.  If the app to review

[android-developers] Re: Problems with Widget

2009-11-08 Thread guruk
thx... hmmm strange, just because it was working fine can u just see an significant error of mine in the following function?? still researching :) public static Bitmap CNewBitmap(Resources resources, int color) { Log.d(test, updatewidget CNewBitmap 1); ob =

Re: [android-developers] Permission to use bindAppWidgetId()

2009-11-08 Thread Dianne Hackborn
This is deliberately not available to applications. If you want to add a widget, you need to launch the selector UI for the user to pick the widget which will then take care of the bind. Widgets can expose a lot of private data of all types, so it is not safe to allow an application to

Re: [android-developers] Re: Wallpaper

2009-11-08 Thread Dianne Hackborn
You can't, these are just the default images that are built into the platform. You can make your own wallpaper picker that the user can go through instead of the built-in one (or the image picker that is also available to them). On Sun, Nov 8, 2009 at 5:13 AM, Zhihong GUO gzhh...@gmail.com

[android-developers] Re: Problems with Widget

2009-11-08 Thread guruk
checked with the log.d I get: ob.getWidth == 18 ob.getHeight == 18 ob.getConfig == NULL h and now? :) -- 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] Re: Problems with Widget

2009-11-08 Thread guruk
ok, looks i solved it with: obm = Bitmap.createBitmap(ob.getWidth(), ob.getHeight(), Bitmap.Config.ARGB_); :) if u have a more professional solution let me know greets chris -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Problems with Widget

2009-11-08 Thread String
Nope, that looks right. If appropriate, you could use a different bitmap config, but ARGB_ should cover all contingencies. String On Nov 8, 7:45 pm, guruk ilovesi...@gmail.com wrote: ok, looks i solved it with:                 obm = Bitmap.createBitmap(ob.getWidth(), ob.getHeight(),

[android-developers] Re: BroadcastReceiver for incoming Gmail?

2009-11-08 Thread gnugu
Thanks moneytoo for your answer. How does Google themselves put the notification on the status bar then? I'm sure there is something. Is there a way to catch the intents flying around? To sniff it out? On Nov 8, 7:56 am, moneytoo m...@seznam.cz wrote:

[android-developers] Re: Problems with Widget

2009-11-08 Thread guruk
last and final :) ok it looks fine.. no force close etc. but in my sdk 2.0 it looks the Widget does come not updated when i force it from my app. I was reading somewhere there is a bug in sdk 2.0 emulator... can someone confirm that ? I will try now to install on my mobile with 1.6 and see what

Re: [android-developers] Re: The application android has stopped unexpectedly

2009-11-08 Thread Mark Murphy
Maxood wrote: Now for the SD Card, do i have to provide the file size or should i browse the file location and provide the path in the second option? That is up to you. Unless you have an existing SD card image to work with, the former option is probably simplest. And what about Skin and

[android-developers] Re: ADC2 Judging App FC

2009-11-08 Thread Pieter
I have had trouble with the FC's also, but opening the market didn't cut it for me. Rebooting the phone did however! On Nov 8, 8:33 pm, String sterling.ud...@googlemail.com wrote: In fairness, the ADC2 app does say to use the Market if you're having trouble installing. BTW, Craig, congrats

[android-developers] downgrade donut to cupcake?

2009-11-08 Thread Bob
Hi, Does anyone know how to change a build from donut back down to cupcake? I tried changing the release target minsdkversion back to 3 but it still would only launch in the donut rather than cupcake emulators and showed the Android 1.6 rather than Android 1.5. Thanks, Bob -- You received this

[android-developers] Re: Debugging

2009-11-08 Thread fadden
On Nov 8, 8:13 am, bnovc m.bn...@gmail.com wrote: 2. How can I debug without using Eclipse? I would really like to be able to use something like gdb/jdb. - Launch the stand-alone version of DDMS. (Just type ddms with the SDK tools in your path.) - Select the app you want to debug; this makes

[android-developers] OpenGL ES works fine on Emulator but on HTC Hero 1.5 it does not render vertices

2009-11-08 Thread Mika
Hello everyone. Running into REALLY interesting problems with OpenGL ES. Basically when I start my program in 1.5 or 1.6 emulator, it works just fine but on HTC Hero 1.5 it does not. The problem is that the vertices are not being rendered but the gl.glClear() command is working just fine. I

[android-developers] Re: Running native executable from java application.

2009-11-08 Thread fadden
On Nov 8, 2:01 am, Mina Shokry minasho...@gmail.com wrote: Yes, I can execute it from adb shell, and from terminal emulator application on the phone itself. Only other thing I can think of is that it's trying to execute the wrong thing (e.g. a directory). If the (unedited) path shown in the

[android-developers] Re: downgrade donut to cupcake?

2009-11-08 Thread Lance Nanek
Right click on the project in Eclipse, select Properties, Select Android in the area on the left of the dialog that comes up, then check the built target you want. On Nov 8, 3:55 pm, Bob bshumsk...@yahoo.com wrote: Hi, Does anyone know how to change a build from donut back down to cupcake? I

[android-developers] opengl crash after pause/unpause app

2009-11-08 Thread Illidane
Hello! I'm writing my opengl native game. Menu is using android api, game field using native lib ( c++ and opengl ). All in one activity ( different views ). If I press Back or Home button ( without overriting onKeyDown() ) all is fine: game just quit to desktop and when I again running, it saving

[android-developers] Re: SQLite OnUpdate() Help!?

2009-11-08 Thread Moto
Great!! Thanks guys I really appreciate this! This links are exactly what I needed! Moto! :) On Nov 8, 2:32 pm, Dianne Hackborn hack...@android.com wrote: Here's another example, the system settings provider:

[android-developers] Hide an app from Droid

2009-11-08 Thread admin.androidsl...@googlemail.com
Was given advice to hide app from Droid (build:5) until fully compatible by doing this in androidmanifest : uses-sdk android:maxSdkVersion=4 / However the android:maxSdkVersion tag is only available if compiling using sdk 1.6. I heard that compiling using 1.6 will hide my app from users who are

Re: [android-developers] Make two buttons the same width?

2009-11-08 Thread Jason Van Anden
You want to avoid setting specific pixel dimensions especially because of the various screen dimensions you may encounter. I think this layout will help get you where you need to go. It is a preliminary layout for a listview with three equally spaced buttons at the bottom (plugits for a soon to

Re: [android-developers] Hide an app from Droid

2009-11-08 Thread Mark Murphy
admin.androidsl...@googlemail.com wrote: I heard that compiling using 1.6 will hide my app from users who are still on 1.5 (still a few i can see). What you compile with (i.e., what version of the Android build chain you are using) has nothing to do with what can and cannot be run on devices.

Re: [android-developers] Make two buttons the same width?

2009-11-08 Thread Jason Van Anden
Followup from last post! I set the TableLayout visibility to gone because I toggle it on/off depending on how this layout is used. You will DEFINITELY want to set it to visible to see what is going on! I was just imagining the frustration I might encounter trying this example and over looking

[android-developers] ADB working with HTC Droid Eris?

2009-11-08 Thread drasticp
I'm trying to debug apps with the new HTC Droid Eris and ADB doesn't seem to recognize the device. I have the latest SDK installed with Usb Driver Package, Revsion 2 downloaded through the Android SDK and AVD Manager. When the device is connected, it recognizes new hardware and I point it to the

[android-developers] Re: Make two buttons the same width?

2009-11-08 Thread Mark Wyszomierski
Excellent, thanks guys! On Nov 8, 5:33 pm, Jason Van Anden jason.van.an...@gmail.com wrote: Followup from last post!  I set the TableLayout visibility to gone because I toggle it on/off depending on how this layout is used.  You will DEFINITELY want to set it to visible to see what is going

[android-developers] LinearLayout stack overflow, fails on 1.5, ok on 1.6?

2009-11-08 Thread Mark Wyszomierski
Hi, I'm trying to make a horizontal layout with two TextViews, one should take up 40% of available width, the other 60%. This works unless the text is longer than available space, then a stack overflow exception is thrown. Pasting this into an empty 1.5 project xml file should cause it (though

Re: [android-developers] LinearLayout stack overflow, fails on 1.5, ok on 1.6?

2009-11-08 Thread Romain Guy
That would be expected on 1.5 if you have too many views in your UI. On Sun, Nov 8, 2009 at 4:00 PM, Mark Wyszomierski mar...@gmail.com wrote: Hi, I'm trying to make a horizontal layout with two TextViews, one should take up 40% of available width, the other 60%. This works unless the text

Re: [android-developers] LinearLayout stack overflow, fails on 1.5, ok on 1.6?

2009-11-08 Thread Mark Murphy
Mark Wyszomierski wrote: I'm trying to make a horizontal layout with two TextViews, one should take up 40% of available width, the other 60%. This works unless the text is longer than available space, then a stack overflow exception is thrown. Pasting this into an empty 1.5 project xml file

[android-developers] Re: OpenGL ES works fine on Emulator but on HTC Hero 1.5 it does not render vertices

2009-11-08 Thread Robert Green
I had a problem with Ortho on my phone vs on the emulator at one point as well. Could you post more of your GL initialization code? My problem was something dumb like I was calling orthox using actual screen dimensions when I needed to either use fixed point there or use orthof. On Nov 8, 3:34 

[android-developers] Re: opengl crash after pause/unpause app

2009-11-08 Thread Robert Green
1) Don't override home. That key should always work to get the user back home. 2) Make sure you're overriding onPause and onResume in your activity and you have those calling pause and resume in GL. Normally I'd say just have it call that on your GLSurfaceView but I'm not sure how the

Re: [android-developers] Re: Make two buttons the same width?

2009-11-08 Thread Jason Van Anden
One last thing ... just in case someone stumbles upon this and wants to use it as an example because of the listview ... You will need to remove the layout_above attribute in the listview element and use this instead: android:layout_alignParentTop=true Otherwise, if you have a short list it will

Re: [android-developers] LinearLayout stack overflow, fails on 1.5, ok on 1.6?

2009-11-08 Thread Romain Guy
weightSum has been in the SDK since 1.0. On Sun, Nov 8, 2009 at 4:03 PM, Mark Murphy mmur...@commonsware.com wrote: Mark Wyszomierski wrote: I'm trying to make a horizontal layout with two TextViews, one should take up 40% of available width, the other 60%. This works unless the text is

Re: [android-developers] LinearLayout stack overflow, fails on 1.5, ok on 1.6?

2009-11-08 Thread Mark Murphy
Romain Guy wrote: weightSum has been in the SDK since 1.0. For whatever reason, that attribute does not show up in the documentation for LinearLayout. It does show up in the documentation for R.styleable. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy

[android-developers] Re: GPS low signal

2009-11-08 Thread miguel
Thank you very much! I finally managed to solve the problem today =) Actually what was wrong was my code but now its solved... I managed to find out the problem by walking outdoor with the laptop on and the debugger attached to the mobile device xD It was kinda funny :) Thanks again! On 8 nov,

Re: [android-developers] Re: Wallpaper

2009-11-08 Thread Zhihong GUO
In fact, providing multiple wallpaper picker will makes the customers puzzled. It is not good user experience. On Hero or Click, there are HTC's wallpaper picker, Google's wallpaper picker and may be 3rd party's picker. That is a disaster for user experience. 2009/11/9 Dianne Hackborn

[android-developers] How to monitor all notifications

2009-11-08 Thread James Wang
Hi, Android supplies standard ways to monitor cell phone status. And is there any way to monitor notifications from unknown softwares? Best regards. James -- 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] Migrating Google Accounts from 1.x to 2.0

2009-11-08 Thread JP
Introduced in 2.0, the SDK offers AccountManager to access accounts. For all who jumped the gun using the method described in this thread:

[android-developers] emulator's WVGA854 memory size?

2009-11-08 Thread knavewave
Just started testing support for multiple screen sizes via emulator, and noticed that I am getting these lovely 'bitmap size exceeds VM budget' crashes when flipping the orientation. Since all of this works on m G1 (my test is to do 25 quick orientation flips), I am growing suspicious that the

Re: [android-developers] Get phone's username

2009-11-08 Thread dan raaka
http://groups.google.com/group/android-developers/browse_thread/thread/7a6bf77910ca31e0/b3bdcb7a82d20a17?lnk=gstq=+tut+%28sdk+1.5%29+get+google+account+of+user+++ -Dan On Sat, Nov 7, 2009 at 3:09 AM, jonne jonne.z...@gmail.com wrote: Dear Android developers, In my Android application I'd

Re: [android-developers] emulator's WVGA854 memory size?

2009-11-08 Thread dan raaka
what doer your emulator hw.ramSize say? -Dan On Sun, Nov 8, 2009 at 6:36 PM, knavewave knavew...@gmail.com wrote: Just started testing support for multiple screen sizes via emulator, and noticed that I am getting these lovely 'bitmap size exceeds VM budget' crashes when flipping the

[android-developers] Re: emulator's WVGA854 memory size?

2009-11-08 Thread knavewave
How do I check? I am being lazy and using whatever the GUI utility gives me (It only asks for screen size when creating an device). Checking the details (again via GUI), I only see 'hw.lcd.density: 240'. Thanks, Richard On Nov 8, 6:47 pm, dan raaka danra...@gmail.com wrote: what doer your

[android-developers] Re: Calling a URL from Android phone

2009-11-08 Thread moazzamk
Try this: http://moazzam-khan.com/blog/?p=482 - Moazzam http://moazzam-khan.com/ On Nov 5, 11:44 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: In general I would first check whether you can connect to a server which is on your local LAN. For example setup Apache and see

Re: [android-developers] ADB working with HTC Droid Eris?

2009-11-08 Thread Brian Conrad
drasticp wrote: I'm trying to debug apps with the new HTC Droid Eris and ADB doesn't seem to recognize the device. I have the latest SDK installed with Usb Driver Package, Revsion 2 downloaded through the Android SDK and AVD Manager. When the device is connected, it recognizes new hardware

[android-developers] Re: How to detect the Widget is active in the current panel?

2009-11-08 Thread Jimmy Huang
Does anyone can help me? On Nov 6, 3:22 pm, Jimmy Huang huan...@gmail.com wrote: Hi All, Does anyone know how to detect the Widget in home screen is active in the currentpanel? As you know, some device has manypaneli.e (HTC Hero has 7panel), eachpanelcan put some widgets on the home

Re: [android-developers] Re: How to detect the Widget is active in the current panel?

2009-11-08 Thread Romain Guy
There's no way of knowing that. On Sun, Nov 8, 2009 at 7:17 PM, Jimmy Huang huan...@gmail.com wrote: Does anyone can help me? On Nov 6, 3:22 pm, Jimmy Huang huan...@gmail.com wrote: Hi All, Does anyone know how to detect the Widget in home screen is active in the currentpanel? As you

Re: [android-developers] Re: emulator's WVGA854 memory size?

2009-11-08 Thread Romain Guy
Devices running in WVGA (at least, devices in WVGA and with a high density display) offer more memory to each process. Droid for instance allows up to 24 MB per process. On Sun, Nov 8, 2009 at 6:59 PM, knavewave knavew...@gmail.com wrote: How do I check? I am being lazy and using whatever the

[android-developers] App Market Question

2009-11-08 Thread Ravi
I upgraded my apps to 1.6 so (minsdk 4) which mean's I am ruling out all 1.5 devices (Android Eiris for VZ) is that correct ? Also is there a way to limit my apps to 1.X only ? I want to release 2.0 with different code set ? Thanks in advance. -- You received this message because you are

[android-developers] Re: App Market Question

2009-11-08 Thread Maps.Huge.Info (Maps API Guru)
http://groups.google.com/group/android-developers/browse_thread/thread/5143e0b6db57b1d0?hl=en# Seek and ye shall find... -- 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: App Market Question

2009-11-08 Thread Ravi
I feel extremely stupid - thanks for pointing :) On Nov 8, 10:24 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: http://groups.google.com/group/android-developers/browse_thread/threa... Seek and ye shall find... -- You received this message because you are subscribed to the Google

[android-developers] Can someone with a Motorola Droid call AccountManager.getAccounts() please?

2009-11-08 Thread Micah
In Android 2.0 there is a new android.accounts.AccountManager class has a function getAccounts() see: http://developer.android.com/reference/android/accounts/AccountManager.html#getAccounts() Unfortunately, as most of you know the SDK doesn't come with any of the Google Apps that utilize the

[android-developers] Re: How to store Images in sqlite database using android? How to retrieve images from sqlite database

2009-11-08 Thread Jett
Save as Blob in table byte[] b=xxxCursor.getBlob(xxx) Bitmap bitmap = BitmapFactory.decodeByteArray(b, 0, b.length); On 11月4日, 下午1時40分, devi devi.n...@gmail.com wrote: hi!            I want to store Images(using insert statement) in sqlite database retrive that image from database and

[android-developers] how to implement orbital menu in android

2009-11-08 Thread r3
Hi, i want to implement orbital menu in my application. Can any one share the logic for its implementation. Thanks, R3 -- 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: Calling a URL from Android phone

2009-11-08 Thread Miguel Paraz
On Oct 26, 2:18 am, David Kebo davidk...@gmail.com wrote: I am calling a URL from the Android phone This URL is supposed to move a camera connected on the same network Here is the code for the URL: url = new URL(http://10.0.1.90/axis-cgi/com/ptz.cgi? camera=1move=home); URLConnection

[android-developers] Need help : JSR s supported in Android

2009-11-08 Thread Latha Shivanna
Hii All What are all the JSR s supported in Android? Is JSR 226 supported? Can anybody please let me know this. Thanks a lot Latha -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Need help : JSR s supported in Android

2009-11-08 Thread Romain Guy
JSR 226 is not supported. On Sun, Nov 8, 2009 at 10:39 PM, Latha Shivanna latha...@gmail.com wrote: Hii All What are all the JSR s supported in Android? Is JSR 226 supported? Can anybody please let me know this. Thanks a lot Latha -- You received this message because you are

[android-developers] Re: how to implement orbital menu in android

2009-11-08 Thread Lance Nanek
You mean like a circle of options around a center point? The ColorPickerDialog is sort of like that: http://developer.android.com/intl/fr/guide/samples/ApiDemos/src/com/example/android/apis/graphics/ColorPickerDialog.html Although I guess it is a continuous gradient of options rather than

[android-developers] Re: Error after installing 1.6 on DEV PHONE

2009-11-08 Thread Eric Wong (hdmp4.com)
For those still looking for answer. Read this http://groups.google.com/group/Android-DevPhone-Updating/browse_thread/thread/5b7c52f40d91d2ef/e5b77b8a919d59dd Eric On Nov 4, 9:12 pm, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: Is there a way to fix this without doing a wipe? (I just

[android-developers] Moving objects by touch..

2009-11-08 Thread David Orriss Jr
I see plenty of apps that do this.. and I've been looking through various source examples (and a few from commonsware, too) but I can't see a real solid example of touching a 'panel' with say a graphic in it while my finger is held down move it on the screen until I release my finger. I also am

  1   2   >