[android-developers] Re: Adb remount fails on Android 1.5

2009-05-14 Thread KG
I have figured out a way to do this... First run adb root this will give you root access to G1's file system, then you can execute commands like adb push, adb pull etc --kartic On May 13, 9:41 pm, Kartic karti...@gmail.com wrote: Hi All, I have upgraded my phone's images to Android 1.5

[android-developers] Re: Another AbsoluteLayout deprecation question

2009-05-14 Thread Mark Murphy
I believe I have politely and thoroughly stated my question. Anyone have an answer? Everybody, even to an extent the core Android team folk on this list, is contributing answers on a volunteer basis. Lots of questions get asked here that do not get answered, for any number of reasons. Also,

[android-developers] Re: Another AbsoluteLayout deprecation question

2009-05-14 Thread Romain Guy
Again, AbsoluteLayout was deprecated to encourage developers to use real layout managers. AbsoluteLayout just won't work with other screen resolutions and densities. Like Dianne said, it won't go away but we want you guys to think very hard before using it. It is (most of the time) bad practice

[android-developers] Re: 1.5 api change - broken scrollbar resources

2009-05-14 Thread Romain Guy
The system scrollbar does not have a track anymore. Your code should simply account for that possibility. The framework code does attempt to load a scrollbar track but does not crash if no resource is present. On Wed, May 13, 2009 at 10:36 PM, Peter Carpenter peter.carpen...@skytechnologies.com

[android-developers] Re: DexClassLoader caould not invoke method from another application properly

2009-05-14 Thread Ask
Hi Dianne, Thanks a lot for your suggestion. Problem has been solved as I had passed the Context of the application as an argument of invoked method display(). Regards, Asif On May 14, 10:22 am, Dianne Hackborn hack...@android.com wrote: You seem to be passing in a bad ContextWrapper

[android-developers] Re: dynamically setting drawSelectorOnTop

2009-05-14 Thread Romain Guy
Oops my bad, you were talking about *Spinner*. Spinner does NOT support android:drawSelectorOnTop, so there's no equivalent Java API. Setting this attribute in XML has absolutely no effect (in particular because a Spinner does not have a selector.) On Wed, May 13, 2009 at 7:59 PM, damnesia

[android-developers] Re: 1.5 api change - broken scrollbar resources

2009-05-14 Thread Peter Carpenter
Hi Romain, That makes complete sense. Will make appropriate changes. Cheers, Peter. -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Romain Guy Sent: Thursday, 14 May 2009 4:07 PM To:

[android-developers] Options for synchroinizing data between Android and backend database

2009-05-14 Thread Lonifasiko
Hi all, Wanted to develop a mobile application for Android devices that stores data locally and synchonizes (bidirectionally) local data with a database server every 'N' minutes. That is, instead of building a web application accesible from Android's browser that forces me to be always

[android-developers] UI problem

2009-05-14 Thread Sukitha Udugamasooriya
Hi geniuses, I have few buttons on the content. When I click on one button, 1-- I want to change the text of the button. 2-- Then I want to change the content view. this is my method which executes with the onClick event. private void markUser(int index) {

[android-developers] Re: Another AbsoluteLayout deprecation question

2009-05-14 Thread Keith Wiley
Right, and unlike some of the other posters who seemed to have a slight more agitated tone, I really tried to emphasize that I want to get on board with respect to this particular issue. I'm not complaining about AbsoluteLayout's deprecation at all, I just want to write my code correctly, and if

[android-developers] Re: Polite discussion of lite/trial vs pro distribution

2009-05-14 Thread Mariano Kamp
What's your app? On Wed, May 13, 2009 at 6:53 PM, Sundog sunns...@gmail.com wrote: I think you can make the situation a lot better for yourself by accepting that people generally suck. Sadly, yeah. Any moment now there will be an everything-should-be-free freak here saying that

[android-developers] Android-Calendar, How to get first day of week?

2009-05-14 Thread daehoon
Hi, all There is a string, it's value is 5-14-2009. we know 14 is Wed, so 12 is Monday. This week is begin by 12(Mon.). How to get first day of week, when we know one of the date in the week? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Polite discussion of lite/trial vs pro distribution

2009-05-14 Thread Mariano Kamp
There are lots of free loaders who don't want to pay for anything. And there are lots of people with lots of free time creating free apps, thus reinforcing the mentality of the free loaders. Well, and it didn't help that Google screwed up with the release of paid apps. As you remember developers

[android-developers] [set permission method] except for setting in the AndroidManifest.xml, where I can do?

2009-05-14 Thread Morris
Hi All: Now I want to launch wifi and I implement this function in the phonewindow.java . Due to the phonewindow.java is not a App, it belongs to framework level. So I couldn't find AndroidManifest.xml file to set wifi permission. Whether does anybody know except for AndroidManifest.xml could

[android-developers] Maps with custom tiles

2009-05-14 Thread khose
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. Someone said here that there is a way, but he didn't tell the way to do that. I know that you can

[android-developers] Re: Android-Calendar, How to get first day of week?

2009-05-14 Thread Jeff Sharkey
You're probably looking for something like Time.weekDay, which you can get at through Time.setToNow(): http://d.android.com/reference/android/text/format/Time.html#weekDay From that weekDay, you can also get a localized string through DateUtils.getDayOfWeekString(). Here's a quick example

[android-developers] Re: Force close msg for few seconds when application starts, why?

2009-05-14 Thread dillirao malipeddi
Please go through API demos In that progress bar examples are give and really help full Thank you On Wed, May 13, 2009 at 12:20 PM, sheik sheik...@gmail.com wrote: Thanks...the above refrence and sample code really helped in understanding threads and UI in android... Now i am looking for

[android-developers] Re: ListView filtering with soft keyboard

2009-05-14 Thread Strickidinho
Is there a way to test this behavior in the simulator? I tryed, but nothing happened when I long pressed the menu key. And I want to implement it in a way that no hard keyboard is needed. Is there a way to do this? On 13 Mai, 17:28, Romain Guy romain...@google.com wrote: Long press the menu

[android-developers] Re: Menu on the center of the screen if style inherit from Theme.Dialog

2009-05-14 Thread Adrien Guichard
2009/5/14 andreas andreas.str...@googlemail.com I have the same problem - any solution? Greetings, Andreas AFAIK, no. The same problem occurs with Android Cupcake too. I reply to Android developper ML, because there is no better way to display my app, I would be happy to know how to solve

[android-developers] Re: [set permission method] except for setting in the AndroidManifest.xml, where I can do?

2009-05-14 Thread Dianne Hackborn
Hi, discussion about working on the platform should be in android-porting. (And you can't do this, because PhoneWindow is part of the client-side frameworks, so runs in every application process.) On Thu, May 14, 2009 at 12:34 AM, Morris morrischen.c...@gmail.com wrote: Hi All: Now I want to

[android-developers] How to set two or more List in one layout?

2009-05-14 Thread daehoon
hi all,, I want to set some lists in one layout, but I found it's only recognize the first ListView . anyone help?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: [set permission method] except for setting in the AndroidManifest.xml, where I can do?

2009-05-14 Thread Morris
Hi Diannel: Thanks a lot. Sorry I post in the error place. Could you help me to clarify where I should post about whether there is another method of setting permission? Because my focus is not to port wifi, it's for setting permission method. Thank you very much Morris On 5月14日, 下午4時50分,

[android-developers] Re: UI problem

2009-05-14 Thread Sukitha Udugamasooriya
Yeahh.. I found out.. runOnUiThread() is the solution Thread t = new Thread() { public void run() { f.runOnUiThread(new Runnable() { @Override

[android-developers] Re: How read /data directory ?

2009-05-14 Thread Francesco Pace
Dianne, one question. It's possibile execute DD command from application (Terminal emulator) for copying all internal memory on sdcard? 2009/5/13 Francesco Pace paxa...@gmail.com Ok, thanks for all Dianne, now I try with another way to implement my application. 2009/5/12 Dianne Hackborn

[android-developers] Re: Cannot Retrieve Latitude and Longitude without Internet Connection

2009-05-14 Thread Eddy Leo
Thanks for the reply.. Now I am clear. thanks On May 13, 11:40 am, ellipsoidmob...@googlemail.com ellipsoidmob...@googlemail.com wrote: I believe the NETWORK_PROVIDER does require Internet access, because it sends details about cell towers (and possibly wifi hotspots) within range to a

[android-developers] Re: Polite discussion of lite/trial vs pro distribution

2009-05-14 Thread mirko
Hi Mariano, yes, I know what you mean. I was in the same position and wanted to start before my 'competitors', so I decided to start very early with a free 'beta'. I think this was the right direction because it still the only application for this porpose. I will keep a limited version in the

[android-developers] View object clonning

2009-05-14 Thread Raja Nagendra Kumar
Hi, Is it possible to clone a view. If no, how to support clone of a view in custom views. If yes.. which api should we use. clone method seems to be protected for view. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com --~--~-~--~~~---~--~~ You received

[android-developers] Re: Interrupt testing

2009-05-14 Thread Raja Nagendra Kumar
Any inputs pl.. looking to kill all the application specific background activities and see if my application is behaving propertly. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Why would ScrollView not scroll completely?

2009-05-14 Thread Teo
If i try to scroll everything down completely, through code, it always stops short of the task, something like a few pixels, why would that be? I've tried scrollBy, scrollTo, and also fullScroll (ScrollView.FOCUS_DOWN). Thanks, Teo P.S. Manually i can scroll completely.

[android-developers] gravity vs. layout_gravity? I'm lost.

2009-05-14 Thread Matthias
Hi, I think I've lost enough hair over this, so now I'll ask. What is the difference between those attributes? According to the documentation of R.attr, there isn't any difference (doc text is exactly the same, see http://developer.android.com/reference/android/R.attr.html), but apparently,

[android-developers] Re: Polite discussion of lite/trial vs pro distribution

2009-05-14 Thread Mariano Kamp
On Thu, May 14, 2009 at 1:33 PM, mirko mirkocze...@googlemail.com wrote: If you are interested in a pro license you can have a look at http://groups.google.com/group/android-developers/browse_thread/thread/df5a3a1d08b9ae2f Thanks for the link. P.S. Great little app your NewsRob, I loaded

[android-developers] Many Lists in one Layout ?

2009-05-14 Thread daehoon
hi all,, I want to set some lists in one layout, but I found it's only recognize the first ListView . how to write xml file ? anyone help? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Is it faster to draw directly on a portrait or a landscape layout?

2009-05-14 Thread admin.androidsl...@googlemail.com
Presumably one layout or other must be native to the O/S and the other layout needs an expensive internal rotation + transformation in order to display in correct position. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] SurfaceView very flickery on scrolling images

2009-05-14 Thread admin.androidsl...@googlemail.com
I know we are advised to use SurfaceView to maximise performance etc. but I still get very flickery results on scrolling images. It is particularly noticeable on the edges of the images and I predict my users will complain about this if I release! I have checked memory allocation and there is no

[android-developers] Re: Start a program in background

2009-05-14 Thread jhonny
So, if you discover teach me and if I discover I explain... OK? On 13 maio, 15:12, Mark Murphy mmur...@commonsware.com wrote: I'm trying to do a program...and I wanna know how do I put the program in background!! Look at services. -- Mark Murphy (a Commons Guy)http://commonsware.com

[android-developers] Re: Start a program in background

2009-05-14 Thread jhonny
hahahah sory I didn't understandI'll lock in services thanks On 13 maio, 15:12, Mark Murphy mmur...@commonsware.com wrote: I'm trying to do a program...and I wanna know how do I put the program in background!! Look at services. -- Mark Murphy (a Commons Guy)http://commonsware.com

[android-developers] Re: Video with MediaRecorder

2009-05-14 Thread zeeshan
i am getting ERROR/MediaRecorder(1003): setVideoSource called in an invalid state(4) at this line recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); can you please help me to figure out what is the problem. i am using the same code Anders wrote above On May 7, 11:50 pm, Jason Proctor

[android-developers] Re: Many Lists in one Layout ?

2009-05-14 Thread UBZack
I'm guessing that all of your layouts except one are ending up with a zero width, or zero length. In any case, the simplest way I can think of to put multiple lists in the same layout is to use LinearLayout, and set a pixel height to each list: ?xml version=1.0 encoding=utf-8?

[android-developers] Internet on OMAP ZOOM

2009-05-14 Thread swapnil
Hi all, Can any one tell me that any special procedure we have to follow to use Internet google maps on OMAP ZOOM board. I am working behind Proxy server. Thank you all in advance. Regards; Swapnil Dalal. --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Is it faster to draw directly on a portrait or a landscape layout?

2009-05-14 Thread a druid
The faster orientation will depend on your device. phone A can have native landscape, while phone B can have native portrait. for a given device you should probably look at the display driver to find out which orientation is 'native'. On May 14, 3:29 pm, admin.androidsl...@googlemail.com

[android-developers] Re: Eclipse : Unknown error: SDK is not loaded yet. * upgrade failed *

2009-05-14 Thread Andrew Shomette
Are you still having this problem? Do you get SDK ping errors? If this is the problem, Google engineers have released a new version of their ADT plugin. Install that one. If it is something else, let me know. I can do my best to help you. You might have to go into the options and direct it to

[android-developers] understanding the permission-group tag

2009-05-14 Thread Lutz Schönemann
Hi, I need some help to understand the use of permission-group tag in AndroidManifest files. Is there any need of using permission-group and what benefit offers this grouping? Is there a plus security using it? Does anyone know an example when to use it? Thanks for help Lutz

[android-developers] Re: Android-Calendar, How to get first day of week?

2009-05-14 Thread mirko
I think, the class GregorianCalendar provides all information you are looking for (getFirstDayOfWeek). This class will take care of your locale, because the first day of the week is not the same all over the world. I also use SimpleDateFormat very often to make conversions between String and

[android-developers] Re: Is it faster to draw directly on a portrait or a landscape layout?

2009-05-14 Thread Romain Guy
It doesn't really matter, especially on a G1. The screen orientation is handled at the low level by SurfaceFlinger so the orientation doesn't impact the actual Skia (SGL) drawing commands. The rotation itself is handled by a special hardware chip on G1. On Thu, May 14, 2009 at 6:29 AM,

[android-developers] Re: Eclipse : Unknown error: SDK is not loaded yet. * upgrade failed *

2009-05-14 Thread Streets Of Boston
I had similar issues. I have no idea exactly how i fixed it. At some point i noticed i forgot to set the target for each project i have (target is 1.1 or 1.5) and after setting this, and after re-starting Eclipse, refreshing and rebuilding, the issue was resolved. I don't know if this was *the*

[android-developers] Re: gravity vs. layout_gravity? I'm lost.

2009-05-14 Thread Romain Guy
Hi, Well, first of all RelativeLayout ignores layout_gravity. Then you need to know that gravity means apply gravity to the content of this view whereas layout_gravity means apply gravity to this view within its parent. So on a TextView, gravity will align the text within the bounds of the

[android-developers] Re: UI problem

2009-05-14 Thread Romain Guy
This code is just wrong: you are starting a new thread just to run code back on the UI thread. All your code amounts to doing nothing but run the content of the run() method. Even worse, if holdGame(3000) triggers a thread sleep, you are blocking the UI thread. On Thu, May 14, 2009 at 2:59 AM,

[android-developers] Re: View object clonning

2009-05-14 Thread Romain Guy
Hi, It is not possible. You could do it manually by simply copying your custom attributes and initializing the base class in the exact same way. On Thu, May 14, 2009 at 4:55 AM, Raja Nagendra Kumar nagendra.r...@tejasoft.com wrote: Hi, Is it possible to clone a view. If no, how to support

[android-developers] Re: gravity vs. layout_gravity? I'm lost.

2009-05-14 Thread Streets Of Boston
As a side-note: I think the TextView's (and EditText) 'gravity' should have been called 'alignment'. It's called that way in most UI's. :=) On May 14, 10:54 am, Romain Guy romain...@google.com wrote: Hi, Well, first of all RelativeLayout ignores layout_gravity. Then you need to know that

[android-developers] Re: ListView filtering with soft keyboard

2009-05-14 Thread Romain Guy
The emulator (the simulator is something else) has a hard keyboard, so no you cannot test it. And I want to implement it in a way that no hard keyboard is needed. Is there a way to do this? You could probably do something by forcing the soft keyboard to show up but it would most likely

[android-developers] Re: Another AbsoluteLayout deprecation question

2009-05-14 Thread Romain Guy
if AbsoluteLayout is not the recommended way to place one view at an arbitrary location on top of another view, I was just wondering what *is* the recommended way. Custom layout or FrameLayout.  I was getting confused because some places said FrameLayout and RelativeLayout were the

[android-developers] Re: gravity vs. layout_gravity? I'm lost.

2009-05-14 Thread Romain Guy
It used to be called something like that but we decided to unify the names across all widgets. On Thu, May 14, 2009 at 7:58 AM, Streets Of Boston flyingdutc...@gmail.com wrote: As a side-note: I think the TextView's (and EditText) 'gravity' should have been called 'alignment'. It's called

[android-developers] how can i parse epub file

2009-05-14 Thread zeeshan
Hi, i am wondering if there is any way to parse and display epub file 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] Re: Question: How to guestimate the available bitmap memory on a device

2009-05-14 Thread Streets Of Boston
That's what i do right now. My app does its best to have as much memory as possible before starting to open a big image for editing (i have written a notification-system that caches and other classes can register with. They'll then get notified when bitmap memory is necessary, asking them to free

[android-developers] Re: Android SDK Content Loader gets stuck....

2009-05-14 Thread Raphael
On Fri, May 8, 2009 at 11:11 PM, az9...@gmail.com az9...@gmail.com wrote: After I switched to SDK 1.5,  the Android SDK Content Loader is stuck when Eclipse starts. In my case, it is always stuck at 60%. Interesting. Can you help me debug this? I'd like to understand where it gets stuck.

[android-developers] Re: Installing the USB driver for HTC Magic on Vista

2009-05-14 Thread Raphael
On Sat, May 9, 2009 at 9:21 AM, notthegingeron...@googlemail.com notthegingeron...@googlemail.com wrote: Hi Guys, Does anyone know how to install the usb driver for the HTC magic? Whenever I plug in the phone and select to mount is as a mass storage device, it gets mounted, but no New

[android-developers] Re: How to debug android source code using eclipse?

2009-05-14 Thread Nio
Thanks Keith,but the link can't be open. Could you tell me the steps to getting up? On 5月14日, 上午3时32分, Keith Wiley kbwi...@gmail.com wrote: Both on the emulator and by USB to a physical device. Yes. I can't remember which documents in the dev guide got me up and running. Try this one:

[android-developers] Re: EMMA Code coverage and JUnit

2009-05-14 Thread Felipe Ramos
Hi everyone I discovered a way of getting the android code instrumented, using the full source from google. On the project Android.mk I added the line EMMA_INSTRUMENT:=true and voilá, it instrumented the code. Now I'm facing problems to run the instrumented code. Although emma.jar is inside the

[android-developers] Re: EMMA Code coverage and JUnit

2009-05-14 Thread Felipe Ramos
Hi guys, I don't know if this thread is still active, but I spent some hours trying to make the EMMA instrumented code generation works. I actually came pretty close of getting it, I think. You can use the EMMA_INSTRUMENT:=true on the project Android.mk file to turn on the EMMA instrumentation

[android-developers] Android Power Management

2009-05-14 Thread Prashant Bhujang
Dear All, Android has provided Power management framework for saving batterlife. But this is limited to screen/key lights. I am exploring ways to enhance this scheme for other use cases like camera, media playback by changing CPU frequency. I would like to know what support is available for

[android-developers] Re: Android power-on process

2009-05-14 Thread Tim Bird
On Tue, May 12, 2009 at 11:22 PM, HelloWorld xiaolong_...@yahoo.com.cn wrote: Dear all, I am studying Android power-on routine (including how many processes are launched in system init stage and the launch sequence of them )these days. Would you please point me if there is any document

[android-developers] Prevent clearing Canvas in onDraw() ?

2009-05-14 Thread twan
Good Morning, I'm trying to paint on a Canvas by overriding the onDraw method. That works without problems. But everytime the onDraw method is called for example by calling invalidate() the entire canvas is cleared. If i for example draw a circle when onDraw is called first, this circle is gone

[android-developers] Re: automatic location finder

2009-05-14 Thread Georgy
Hello Zhubham, did you find a solution to your question? I have the same issue. thanks On Apr 18, 6:12 am, Zhubham sahilz...@gmail.com wrote: Hi Experts, I want to integrate an additional automaticlocationfinder functionality in android already existingmapapplication. The idea is to

[android-developers] ListView: Get the Highlighted Item

2009-05-14 Thread Vinicius Santos
Dear all, I'm having trouble to get the index of the active highlighted Item on a List View. Please, help me to get the index of the highlighted item public class HelloForm extends Activity { ListView lv; // my listview /** Called when the activity is first created. */ @Override

[android-developers] Re: User input in an AppWidget?

2009-05-14 Thread pMay
How did they code the Google Search Widget? Is that a hack? On Apr 16, 7:47 am, Jeff Sharkey jshar...@android.com wrote: Jon, you're right, there isn't a direct way of including an EditText into a widget. The major reason for this is we don't have a good way of identifying how that text

[android-developers] How can I get the logging ID gmail

2009-05-14 Thread uooyou
Every G1 user would bind a gmail. I think this gmail can identify a G1 user. But how can I get the gmail ID? thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] How do I add a EditText Field to an AppWidget (RemoteViews)

2009-05-14 Thread pMay
Hello, I am trying to add a EditText Field to an AppWidget. I took the AppWidget example from here: http://developer.android.com/guide/samples/ApiDemos/src/com/example/andr oid/apis/appwidget/index.html and modified it by replacing the TextView with a EditText. It doesnt work... Compiles and

[android-developers] Re: apk manual install problem Failure [-12]

2009-05-14 Thread sujoydas1...@gmail.com
Hi All, I have downloaded a video player app act 1 from the net and tried to install it on emulator and I got the dreaded Failure [-12] message. Now, I don't have any way to ask the developer to get a new build for me. Any idea what can be done regarding this issue? BR, Sujoy On May 12, 11:32 

[android-developers] Sending Email using android app

2009-05-14 Thread Salman Wahid
Hi I am trying to send email using the andriod application I have tried the following code. The problem i am facing is that the email intent is opened but the send to address, subject and body i snot copied to the email intent. and can any one tell what if i want to sent a pic

[android-developers] Location.convert possible bug

2009-05-14 Thread Andrew O.
I'm getting an illegal argument exception when trying to convert a coordinate in degrees:minutes:seconds.decimal format with the minute value is 59 and the seconds is greater than 0. I think the function compares seconds and they must be less than 59, where they should be less than 60. Here is

[android-developers] Unable to open files

2009-05-14 Thread SlumberMachine
No matter what I do I am unable to open a file, either in my app's data directory or on the sdcard and also in a folder on the sdcard. To test I placed a test.txt file in all three directories. Here is the code I've tried: String fname = text.txt;

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

2009-05-14 Thread allian...@groupmedianet.com
yes I have tried all of that, and no success On May 14, 3:47 am, Johnny johnnylee...@gmail.com wrote: Have you tried this:http://developer.android.com/guide/developing/device.html#setting-up? On May 14, 7:25 am, petunio juanjosegilmen...@hotmail.com wrote: Hi everybody I am trying

[android-developers] Re: SDK 1.5: unable to send SMS to another emulator

2009-05-14 Thread Laurie
Same for me. With the 1.5 SDK toolkit, I cannot send or receive SMS/ Calls using TWO EMULATOR INSTANCES on the same development machine. **Simulating incoming calls and SMS messages using the emulator console via telnet works fine. Using DDMS in Eclipse works fine. I am using Windows Vista,

[android-developers] Re: what is tag/branch for SK 1.5_r1

2009-05-14 Thread e21u...@gmail.com
i started issue about it http://code.google.com/p/android/issues/detail?id=2631 it seems nobody knows the answer to seemingly simple question who is biuilding official SDK? how to find that person(s) and/or documentation how they do it? what is truck factor for it?! hopefully not 1 ...

[android-developers] adb install failure with return code -12

2009-05-14 Thread HUANG Quan
hi guys, I just installed android sdk1.5 on a ubuntu 8.04 machine. The IDE is eclipse3.4 with ADT. I created a HelloAndroid project with only the automatically generated code. It compiled successfully and worked on the emulator. But when I tried to install the apk to my G1. It failed with

[android-developers] Re: getting location name from lat, lon

2009-05-14 Thread nishi1607
Hello jj, Is your problem solved? I found that there are apis in android.location to get all. Geocoder class is basically used to give the location based on lat ,long nad viceversa. I am writing a code to get the latitude,longi and then location based on that lat and long. It is wrong

[android-developers] How can I use IM app in 1.5

2009-05-14 Thread AufWiderzhen
Hi, IM app doesn't appeared in cupcake 1.5 I changed the make file, So IM.apk installed. Buf it doean't appeared yet. I think there isn't plugin information about server connection. If I use MSN, how can I set the plugin information. thank you

[android-developers] How to get OpenGLContext class in Android 1.5 SDK

2009-05-14 Thread Himu
How to get OpenGLContext class in Android 1.5 SDK? Is it atall possible. Is there any e-book/open-book for android SDK ? Thanks Himadri Sekhar APT / Kolkata --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: EditText for App.Widget

2009-05-14 Thread pMay
It doesnt work with 1.5? On May 6, 10:32 am, Mr.No f.hi...@arcor.de wrote: Hello, in which Android-SDK version their will be a EditText for the App.Widget? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Android power-on process

2009-05-14 Thread Tim Bird
On Tue, May 12, 2009 at 11:29 PM, Mark Murphy mmur...@commonsware.com wrote: Questions regarding the Android firmware are best asked on a list pertaining to the Android firmware: http://source.android.com/discuss It's not obvious to me which list that would be. The only two that I see that

[android-developers] Question on performance of layout inflater

2009-05-14 Thread Guru
I have question on what is the best approch to take.I have a header view in all my screens of the app. So is it best to have the setContent of the header view and then adding the views by inflating them in the sub-class activity as below Base extends Activity{ private Linearlayout mHeader;

[android-developers] how can the contact be writen to SIM card?

2009-05-14 Thread 蓝思中
Hi guys, I am trying to store a contact in the SIM card, but I found nothing for it in the G1 phone. Then, I assumed that it may be because G1's application doesn't use the API for that storage, so I tried the following code, ContentValues values = new ContentValues(); values.put(

[android-developers] Re: Enabling LOGD messages in Webkit

2009-05-14 Thread Carol
I want to know how to enable log messages in native webkit C++ code too. I tried the steps posted by Anonymous in this discussion (using logcat on my G1 device). I'm able to get logs for some of the webkit files (e.g. webcore\dom\Node.cpp), but unable to get logs for some other files (e.g.

[android-developers] calendar bu g?

2009-05-14 Thread andylau
I am sorry。maybe this bug is found already。 when we long press the none-current month day, then the popup is displayed。 we select the “New event” item to create a new event, then we will find that the time is current month day。 --~--~-~--~~~---~--~~ You received

[android-developers] Re: gravity vs. layout_gravity? I'm lost.

2009-05-14 Thread matthias
Guys, thanks for clearing up! I'll file a bug against the documentation then, because there it says: public static final int gravity Specifies how to place an object, both its x and y axis, within a larger containing object. Which is true for layout_gravity, but not gravity. Apart from that,

[android-developers] Created APNs don't show up in APN list (fw 1.5)

2009-05-14 Thread jappit
Hi, I have a piece of code that creates some APNs with this call: -- getContentResolver().insert(Uri.parse(content://telephony/carriers), apnData); -- The APNs are correctly created both on fw 1.1 and 1.5 (a query correctly returns them) but on fw 1.5 they don't show up in the device APN

[android-developers] Re: Prevent clearing Canvas in onDraw() ?

2009-05-14 Thread ellipsoidmob...@googlemail.com
By overriding onDraw you're taking responsibility for drawing the whole view, so you have to draw everything everytime I don't know the layout of your UI, but possibly you can use a view layout with view subclasses such as ImageView - these will then take care of their own drawing evenrs.

[android-developers] Re: Eclipse : Unknown error: SDK is not loaded yet. * upgrade failed *

2009-05-14 Thread Raphael
Please check: 1- that you put the SDK path in windows preferences android = Note that this pref dialog should list the 3 sdk targets available in 1.5_r1. 2- that you selected the SDK target (1.1 or 1.5) in the properties of your project. R/ On Wed, May 13, 2009 at 8:35 PM, chrispix

[android-developers] Re: ListView filtering with soft keyboard

2009-05-14 Thread Strickidinho
Thanks for the reply. I'll not implement a filte feature on my list. I've found out that there is a bug (Issue 2078) with listview and checkbox items. And until this is fixed the whole thing makes no sense. I hope this bug will be fixed soon. On 14 Mai, 16:58, Romain Guy romain...@google.com

[android-developers] Re: How to debug android source code using eclipse?

2009-05-14 Thread Raphael
2009/5/14 Nio luodali...@gmail.com: Thanks Keith,but the link can't be open. Could you tell me the steps to getting up? Try this one: http://developer.android.com/guide/developing/device.html R/ --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: adb install failure with return code -12

2009-05-14 Thread Raphael
On Wed, May 13, 2009 at 7:55 PM, HUANG Quan huang...@gmail.com wrote: hi guys,    I just installed android sdk1.5 on a ubuntu 8.04 machine. The IDE is eclipse3.4 with ADT.    I created a HelloAndroid project with only the automatically generated code. It compiled successfully and worked on

[android-developers] Re: dynamically setting drawSelectorOnTop

2009-05-14 Thread damnesia
ok. it turns out that the real problem was TableRow.LayoutParams(2, LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT). i changed it to TableRow.LayoutParams(2) and it works as expected. thanks again. On May 13, 11:10 pm, Romain Guy romain...@google.com wrote: Oops my bad, you were talking

[android-developers] Re: Change custom title view of window at run time

2009-05-14 Thread idev
This is what the whole thing looks like. The first time I set title, it works fine (in onCreate). The next time I set it, it works fine (in searchHandler). The third time when I do it (in reloadHandler), the click listeners are not registered and the text in the text view does not change. I had

[android-developers] Re: gravity vs. layout_gravity? I'm lost.

2009-05-14 Thread Dianne Hackborn
On Thu, May 14, 2009 at 9:15 AM, matthias m.kaepp...@googlemail.com wrote: It would be great though if things like these (i.e. that RelativeLayout ignores layout_gravity) would appear somewhere in the documentation. It's not immediately apparent to people why for some layouts the gravity is

[android-developers] Re: User input in an AppWidget?

2009-05-14 Thread Dianne Hackborn
It is still built in to home, like it was in previous versions. (And it does far more than an EditText -- it has a auto complete text view, which is customized for special behavior there.) On Thu, May 14, 2009 at 5:37 AM, pMay eniak.i...@googlemail.com wrote: How did they code the Google

[android-developers] Re: Android Power Management

2009-05-14 Thread Dianne Hackborn
Please ask these questions on android-platform. Also the Android kernel is Linux, so you want to look in to what that does (plus the few specific drivers Android uses with it). On Wed, May 13, 2009 at 10:23 PM, Prashant Bhujang prashant.bhuj...@aricent.com wrote: Dear All, Android has

[android-developers] Re: Unable to open files

2009-05-14 Thread Marco Nelissen
How are you actually trying to open the files, and what is the error/exception you're getting? On Wed, May 13, 2009 at 12:00 PM, SlumberMachine sost...@gmail.com wrote: No matter what I do I am unable to open a file, either in my app's data directory or on the sdcard and also in a folder on

[android-developers] How to select open GL objects from motion event?

2009-05-14 Thread Gerald
Hi, I need to use GLSurfaceView to render some objects, and move or select the objects by finger touch. By overriding the onTouchEvent, I can receive incomming motion events. The motion event contains x and y position in the view, but can't map to open GL 3D world. Is there any way to know which

[android-developers] Re: Is it faster to draw directly on a portrait or a landscape layout?

2009-05-14 Thread a druid
I don't know the actual G1 hardware. On some HW devices however even hardware rotation has its price like - power consumption - memory bandwidth issues If the architecture has shared memory between application processor and display controller, then even HW rotation might have one read and write

[android-developers] Re: How do I add a EditText Field to an AppWidget (RemoteViews)

2009-05-14 Thread Jeff Sharkey
Here's a previous discussion that should answer your question: http://groups.google.com/group/android-developers/browse_thread/thread/a50a2aff0c8c754d/ j On Thu, May 14, 2009 at 5:09 AM, pMay eniak.i...@googlemail.com wrote: Hello, I am trying to add a EditText Field to an AppWidget. I

  1   2   >