[android-developers] Re: TDD with Android 1.5

2009-04-14 Thread zlu
I found this link: http://developer.android.com/guide/samples/ApiDemos/tests/src/com/example/android/apis/app/LocalServiceTest.html and wrote a very similar test. I tried to run it from Eclipse as android junit test and got this error: The application does not declare uses-library

[android-developers] Re: Playback of dynamic MIDI?

2009-04-14 Thread csvy
Is this possible in the new 1.5 SDK? I've found the JET engine support, but even that appears to require a prewritten file (it doesn't even appear to allow changing the speed/bpm from code). Is there no way to directly send MIDI events to the controller/ sequencer? This is seriously limiting.

[android-developers] Re: TDD with Android 1.5

2009-04-14 Thread Xavier Ducrohet
Looks at the manifest in SDK/platforms/android-1.5/samples/ApiDemos/tests/AndroidManifest.xml Xav On Mon, Apr 13, 2009 at 11:13 PM, zlu zhao.lu...@gmail.com wrote: I found this link:

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-14 Thread Al Sutton
To Xav, Dave, JBQ, Dianne, Romain, and anyone else involved in getting this out there. THANK YOU. You may not literally get a thousand thank yous in your mail box, but it'll probably be said a thousand times in various ways by developers around the world. Al. --- * Written an Android App? -

[android-developers] Re: SDKs comparison with the iPhone

2009-04-14 Thread Al Sutton
In a word; Yes. I'm already updating AndAppStores cupcake SDK page to point to Xaviers previews :) Al. --- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head

[android-developers] Re: How-to start service automatically on system startup and on installation + custom Contacts ContextMenu

2009-04-14 Thread Jonas Petersson
Dianne Hackborn wrote: To amplify -- just starting your service at boot and leaving it running all of the time is NOT recommended. It consumes a lot of resources, if nothing else a whole process sitting there doing nothing (presumably) most of the time, when that memory could be used for

[android-developers] Re: SDKs comparison with the iPhone

2009-04-14 Thread Al Sutton
From http://www.apache.org/foundation/voting.html; Who is permitted to vote is, to some extent, a community-specific thing. However, the basic rule is that only PMC members have binding votes, and all others are either discouraged from voting (to keep the noise down) or else have their votes

[android-developers] Re: calling servlet from application

2009-04-14 Thread Opal
Gr8, thanks for the clues :) On 9 Kwi, 01:03, mark.ka...@gmail.com wrote:   Yes that is a wonderful feature of Android, in that much of the backend functionality is the same as 'regular' java. You can even stream objects back and forth to servlets, no need for chossy xml/soap type web data

[android-developers] Re: using touch screen to draw a straight line

2009-04-14 Thread nEx.Software
You aren't limiting this to ACTION_DOWN and/or ACTION_UP so on every ACTION_MOVE, you are running this code. Probably the reason it crashes. I'd do this: @Override public boolean onTouch(View v, MotionEvent event) { switch (event.getAction()) { case MotionEvent.ACTION_DOWN:

[android-developers] Re: calling servlet from application

2009-04-14 Thread Marco Schmitz
and how do I use authentication (simple http login /pw) and how https / ssl (with my own licence)? using httpclient its quite simple... do I need to set some htttp headers on my own? greetings, darolla 2009/4/14 Opal maciek.op...@gmail.com: Gr8, thanks for the clues :) On 9 Kwi, 01:03,

[android-developers] How the use same instances when launching application twice

2009-04-14 Thread Neo
My app has 4 activities on the stack A-B-C-D (top) If you press home and re-enter the application, another instance of A is started, so the stack is A-B-C-D-A (top). I know this because when I press BACK, A is popped off and I now see D (instead of going to the Home screen). What I want is

[android-developers] Usage of GridView

2009-04-14 Thread Miracle
Hi there, I want to implement UI using GridView to fulfill this case: 1. The items are all in one row and all of them have the same height and width. 2. When click one of the item, the selected item can move up/down vertically. The first is easy to do. My issue is about the second. Do you

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-14 Thread Pd
+1 Al Sutton wrote: To Xav, Dave, JBQ, Dianne, Romain, and anyone else involved in getting this out there. THANK YOU. You may not literally get a thousand thank yous in your mail box, but it'll probably be said a thousand times in various ways by developers around the world. Al. ---

[android-developers] Re: WiFi

2009-04-14 Thread François Guillemé
Actually you can modify wpa_supplicant and add a new driver that simulate WiFi. driver_wired is a good base for that. You also need to add wpa_supplicant and dhcpcd services to init_goldfish.rc. Take a look at ADP to get hints about this part. And then you need to invoke emulator with an

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-14 Thread Gavin Aiken
+1 Thank you guys On Tue, Apr 14, 2009 at 7:58 AM, Pd lotusscr...@gmail.com wrote: +1 Al Sutton wrote: To Xav, Dave, JBQ, Dianne, Romain, and anyone else involved in getting this out there. THANK YOU. You may not literally get a thousand thank yous in your mail box, but it'll

[android-developers] How to scale a Bitmap

2009-04-14 Thread Meryl Silverburgh
Hi, I have constructed a Bitmap object in Java. Can you please tell me how can I scale it (x, y with a different ratio) on android? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: How to scale a Bitmap

2009-04-14 Thread Pd
Have a look at this example. http://www.anddev.org/resize_and_rotate_image_-_example-t621.html Pd Meryl Silverburgh wrote: Hi, I have constructed a Bitmap object in Java. Can you please tell me how can I scale it (x, y with a different ratio) on android? Thank you.

[android-developers] Re: TDD with Android 1.5

2009-04-14 Thread zlu
Thanks for the link. I created a similar manifest file and got this error: [2009-04-14 00:28:22 - followme] Error generating final archive: duplicate entry: AndroidManifest.xml How do you fix that, now that I have 2 manifest files in different locations? On Apr 13, 11:16 pm, Xavier Ducrohet

[android-developers] Re: TDD with Android 1.5

2009-04-14 Thread zlu
Thanks for the link. I created a similar manifest file and got this error: [2009-04-14 00:28:22 - followme] Error generating final archive: duplicate entry: AndroidManifest.xml How do you fix that, now that I have 2 manifest files in different locations? On Apr 13, 11:16 pm, Xavier Ducrohet

[android-developers] Hide elements in Spinner

2009-04-14 Thread arnouf
Hi all, How can I hide some elements present in my spinner, when spinner is already displated ? Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] emulator speed

2009-04-14 Thread admin.androidsl...@googlemail.com
Why is pc android emulator slower than real device but mac iphone emulator faster than real device? I can understand the latter but not the former! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: emulator speed

2009-04-14 Thread Al Sutton
What are the specs of the PC and Mac you're trying it on? Al. --- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road,

[android-developers] Re: Permissions to install other apps...

2009-04-14 Thread tiwana
So i downloaded the system images of cupcake for my emulator , my emulator shows that it is now upgraded to version 1.5 ,i wrote an app which can install other apps, gave this app INSTLL_PACKAGES permission and installed this app in normal /data/app folder. But still when i run this app i get the

[android-developers] Re: Showing/hiding dynamically the title bar

2009-04-14 Thread bonfo
Thanks for the suggestions. I will look at the best solution. --~--~-~--~~~---~--~~ 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: Permissions to install other apps...

2009-04-14 Thread admin.androidsl...@googlemail.com
I don't know the answer to this but it got me thinking that it would not be in Google's interests to allow this behavior otherwise alternative marketplaces could be released to the phone which would compete with the Android's Market. On Apr 14, 9:13 am, tiwana tiwana.birj...@gmail.com wrote:

[android-developers] Re: emulator speed

2009-04-14 Thread admin.androidsl...@googlemail.com
PC is fairly up-to-date spec - AMD Athlon X2 2 GHz, 2 GB's of RAM. Mac I don't have (yet), but I have been trolling on iPhone forums and have heard that iPhone emulator is unrealistically fast. On Apr 14, 9:04 am, Al Sutton a...@funkyandroid.com wrote: What are the specs of the PC and Mac

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-14 Thread Perty
Great news! I had a lot of trouble installing the 1.1r1 Linux version on 64 bit fedora 11 beta (and I think there is the same trouble for fedora 10 and other distros). Is there any chance there will be a 64 bit package for linux? I posted a short tutorial on

[android-developers] hi,how do I get the detail info of Contacts?

2009-04-14 Thread luggie
and witch document I can find the Api? 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@googlegroups.com To unsubscribe from

[android-developers] Re: emulator speed

2009-04-14 Thread walterc
we use emulator in android sdk which emulates the entire hardware stack, down to cpu instructions. iphone sdk uses simulator which does nothing of the sort. On Apr 14, 4:33 pm, admin.androidsl...@googlemail.com admin.androidsl...@googlemail.com wrote: PC is fairly up-to-date spec - AMD Athlon

[android-developers] how do you customize ant build.xml using android 1.5 sdk

2009-04-14 Thread walterc
i created a new project using android create project and it ran just fine. but i'd like to customize the generated build.xml so that it will invoke scalac instead of javac. i saw some comments inside setup task in the build.xml that new rules can be added. how does one go about doing it?

[android-developers] Re: Changing the outgoing call number

2009-04-14 Thread TAKEphONE
Hi, Did you check to see if there are any other extras that may be related ? On Apr 12, 1:34 pm, Seer gilligan.ch...@gmail.com wrote: in the manifest you need the following uses-permission android:name=android.permission.PROCESS_OUTGOING_CALLS / and you need to add a receiver as well  

[android-developers] SDK 1.5 Error

2009-04-14 Thread vinny.s...@gmail.com
Failed to find an AVD compatible with target 'Android 1.5'. Launch aborted. when i'm going to Run the SDk 1.5 Project the Following error is going to get any body knows thiss --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Analog Clock

2009-04-14 Thread vinny.s...@gmail.com
AnalogClock id=@+id/clock1 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_centerHorizontal=true / To Create Analog clock this is the Widget . On Apr 9, 6:01 pm, vinny.s...@gmail.com vinny.s...@gmail.com wrote: Can Anybody Help In Making a

[android-developers] Re: RC33 Network Problem

2009-04-14 Thread Guillaume Perrot
Yeah, the behavior definitely changed in RC33, I am still having difficulties to close a socket while the 3G connectivity has been lost. On 19 fév, 03:52, Gil virgildobjans...@gmail.com wrote: Yes, the phone still has the connection to the router however what matters is the status of the TCP

[android-developers] TCP (XMPP) Keep Alive and T-Mobile

2009-04-14 Thread Guillaume Perrot
Hi, I just wondered which frequency is OK to send whitespace keep alive packets onto a TCP connection to keep it alive on a T-Mobile 3G connectivity (the use case is to maintain an idle XMPP session alive). On SFR in France, we are disconnected if idle for 3 minutes, but I guess T-Mobile's

[android-developers] Re: SDK 1.5 Error

2009-04-14 Thread Al Sutton
Please search the group before reporting problems. This was covered only a few hours ago : http://groups.google.com/group/android-developers/msg/7dbc58ec8fae7520 Al. --- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England

[android-developers] Gridview Control Paging in andriod application

2009-04-14 Thread Anitha
Hi This is anitha. I am new to this group. I Implented the gridview control but i want to implement the paging for the gridview control. Is there possible. If it is possible pls let me know immediately. Thanks in advance. Thanks Regards Anitha.A

[android-developers] Finger gestures with current MBP

2009-04-14 Thread Mariano Kamp
Hi, if you don't have a current MBP you can just move along to the next message - nothing to see here. Now that we have the cupcake preview an old issue comes back. I can test finger gestures with all computers, but my main-machine: a current model MacBook Pro. Did anybody find out how to

[android-developers] Re: Map not Displaying, Just tiles only

2009-04-14 Thread Nithin
Thanks a lot Charlie Collins, What is the mistake I did is, I already have the MAP API key, but in my XML, some letters of the key are missing, After you said, I again checked and found out that. Now perfectly alright. Thanks Nithin On Apr 14, 4:23 pm, Charlie Collins charlie.coll...@gmail.com

[android-developers] Video streaming

2009-04-14 Thread Nithin
Hi to all... Android mobile support the Live video streaming ? Thank You Nithin N V --~--~-~--~~~---~--~~ 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: TDD with Android 1.5

2009-04-14 Thread Gavin Aiken
In my humble setup the test application is separate to the actual application but references it so that the required classes can be used. http://code.google.com/p/miffed/source/browse/#svn/trunk/MiffedTest%3Fstate%3Dclosed As such I can choose to install Miffed (The name of my app) or

[android-developers] Re: Sorry if I've missed this somewhere, but what is the default thread stack size in Android...

2009-04-14 Thread Hans
Is this unanswered because nobody knows or because it's available somewhere obvious and I've somehow missed it? Hans --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] AutoCompleteTextView and SimpleCursorAdapter

2009-04-14 Thread ppmoore
Hello, I am trying to connect a AutoCompleteTextView with a SimpleCursorAdapter, which narrows down the selection of a list of words, when the user starts typing. Following some other posts here, I've come up with the following code, but it doesn't work. I defined a FilterQueryProvider

[android-developers] ListAdapter: View.GONE on some element

2009-04-14 Thread arnouf
Hi all, I've a big issue... In a ListView using a BaseAdpater extension, I would like hide some entries (using View.GONE in my getView method). The line is erase, but i've still grey line between each record. How can I change that? Thanks a lot! Regards

[android-developers] Business search using Android GeoCoder APIs

2009-04-14 Thread Android_Learner
Hi, I am developing a maps application and want to search for business points like pizza hut etc as done by native android maps application. I am using getfromlocationname() API for this purpose. But i am not able to get any result for any business search. But when i search using native maps

[android-developers] Any way to avoid garbage collection on these lines? Bitmap.createBitmap / new Canvas(bitmap)

2009-04-14 Thread admin.androidsl...@googlemail.com
Running these many times in my app loop : Bitmap bitmap = Bitmap.createBitmap(320, 480, Config.RGB_565); Canvas canvas = new Canvas(bitmap); I'm thinking of caching either / both of these objects, but don't want to get out of memory errors either!

[android-developers] SDK 1.5, Unable to load XML wizard

2009-04-14 Thread Al
I'm trying to make a new XML file and have selected New-Android XML File, but each time I get this message: The selected wizard could not be started. Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.editors.wizards.NewXmlFileWizard.

[android-developers] Re: Any way to avoid garbage collection on these lines? Bitmap.createBitmap / new Canvas(bitmap)

2009-04-14 Thread Streets Of Boston
If this bitmap is used for displaying only one item (image), why do you create a new bitmap over and over again? once: mBitmap = Bitmap.createBitmap(320,480,Config.RGB_565); ... ... many times: Canvas canvas = new Canvas(mBitmap); // clear canvas // draw into canvas ... .. On Apr 14, 9:22 am,

[android-developers] Can an event be added to G1 Calendar from any other application?

2009-04-14 Thread Neha
HI, I need to add an event from my Social Networking Client App on G1 to the Calendar present on G1. From what I understand, going through the forums, it seems that the Calendar Service Provider, and Content Resolver needs to be used for this purpose. But the Calendar Service provider is not

[android-developers] Re: Sorry if I've missed this somewhere, but what is the default thread stack size in Android...

2009-04-14 Thread Hans
I have found some extraneous information that suggests that 8kb is the default thread stack size. Is that still the case? Hans --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Business search using Android GeoCoder APIs

2009-04-14 Thread JP
If I am not mistaken, that capability was removed a year ago when m5 came out. There's more folks that could use this as well to at least somewhat recover their efforts here. More details here:

[android-developers] Re: Any way to avoid garbage collection on these lines? Bitmap.createBitmap / new Canvas(bitmap)

2009-04-14 Thread admin.androidsl...@googlemail.com
I'm happy to keep a static or member reference to the Bitmap object for future usage - but I'm worried if that will reduce the amount of memory available to my app? Alex On Apr 14, 2:51 pm, Streets Of Boston flyingdutc...@gmail.com wrote: If this bitmap is used for displaying only one item

[android-developers] Re: Any way to avoid garbage collection on these lines? Bitmap.createBitmap / new Canvas(bitmap)

2009-04-14 Thread Mark Murphy
I'm happy to keep a static or member reference to the Bitmap object for future usage - but I'm worried if that will reduce the amount of memory available to my app? You wrote: Running these many times in my app loop To me, the key word there is many. If really do mean many, then cache the

[android-developers] Re: emulator speed

2009-04-14 Thread quakeboy
I am making a pretty big 2d game (for a mobile) in terms of features and graphics.. All 2d only I dont experience this.. I always find the emulator slightly faster than device.. but my team mates experience what you said.. the difference in my case was the operating system. I use XP and my team

[android-developers] Re: how to re-draw the listview ?

2009-04-14 Thread drasticp
Look at the notifyDataSetChanged() and notifyDataSetInvalidated() methods on your adapter. I'm not sure if this is the most elegant way to get the job done, but they will cause the list to dump any cached views and redraw them. --~--~-~--~~~---~--~~ You received

[android-developers] set activity label in activity code

2009-04-14 Thread zeeshan
Hi Experts, i need to change activity label on the title bar in my code. at the moment i am setting it in manifest as below: activity android:name=.ToDoList android:label=my list intent-filter action android:name=android.intent.action.MAIN /

[android-developers] Re: Any way to avoid garbage collection on these lines? Bitmap.createBitmap / new Canvas(bitmap)

2009-04-14 Thread Streets Of Boston
In one of my apps i have similar concerns. I cache a bunch of bitmaps to improve the user experience (using Map). However, at some point in my app, the app needs the memory (preparing for image-editing on full- sized image). This is what i did: I wrote a class to which bitmap-caches can register

[android-developers] Re: using touch screen to draw a straight line

2009-04-14 Thread Marco Nelissen
On Mon, Apr 13, 2009 at 5:12 PM, gandor gand...@gmail.com wrote: Hi Folks, Want to draw a line when I touch screen at two points. I can see OnTouch been invoked but after than everything breaks looks, the application crashes I am using drawLine in Canvas. Please let me know what I am

[android-developers] Re: One line causing lots of garbage collection. String.format with float. Help?

2009-04-14 Thread Marco Nelissen
When you say that it hasn't improved your garbage collection problem, do you mean that it still GCs 13000 objects every 2 seconds? On Mon, Apr 13, 2009 at 10:42 PM, DavidG dgu...@gmail.com wrote: Thanks for the feedback.. Now I'm trying to use StringBuilder and Formatter, but I just can't

[android-developers] Re: emulator speed

2009-04-14 Thread David Turner
I bet that the real difference is the CPUs being used on these machines rather than the host OS itself. On Tue, Apr 14, 2009 at 4:31 PM, quakeboy prasna...@gmail.com wrote: I am making a pretty big 2d game (for a mobile) in terms of features and graphics.. All 2d only I dont experience

[android-developers] Target 1.1 with early look SDK

2009-04-14 Thread Zach Hobbs
Is it safe to use the 1.5 early look SDK to build production apps for 1.1 targets? I want to start developing a cupcake branch of my software, just wondering if I'll need to switch back to using the stable SDK for production builds... Thanks, Zach

[android-developers] Re: TDD with Android 1.5

2009-04-14 Thread zlu
Gav, Thanks for your reply. I created a separate project for the tests and the duplicated manifest file error is gone. I now have another problem. zlu-macbook:tests zlu$ adb shell am instrument -w zlu.followme/ android.test.InstrumentationTestRunner INSTRUMENTATION_STATUS: Error=Unable to find

[android-developers] Re: Target 1.1 with early look SDK

2009-04-14 Thread David Turner
That's certainly the goal of this preview SDK. The 1.1 system images provided with it are the same ones than those of the official 1.1 Android SDK. Note that networking doesn't work in the emulator if you use 1.1 images with the preview SDK. This is a bug that is currently being addressed (by

[android-developers] su permission denied

2009-04-14 Thread Jon Webb
Any idea why I get permission denied when I run su in adb shell? I've seen multiple posts here claiming all you have to do is run su, but it never works for me. Why? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-14 Thread mobilekid
Just found some of the feauters I've been looking for! Many 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@googlegroups.com

[android-developers] Custom android ANT tasks

2009-04-14 Thread Ward Willats
'Round these parts we don't use Eclipse and heavily customize our build.xml file. The android tool tried to update it and burped out a short, confused file. That's OK. Don't mind doing build.xml by hand and target-ifying it, but I see what look like a whole set of Android-specific ANT

[android-developers] SDK 1.5 and multiple projects in an application

2009-04-14 Thread info.sktechnol...@gmail.com
I have an application with 2 projects. Works fine in SDK1.1 and compliles fine in SDK 1.5. I am still using the 1.1 target. But when I try to run it on the emulator in 1.5 it crashes. Logcat indicates that it cannot find the classes of the second project. Is there something special I need to

[android-developers] Re: emulator speed

2009-04-14 Thread Ivan Soto
Only thing I noticed is that in the emulator everything loads way faster. I'm not sure if disk/ram access speed is emulated. Ivan Soto Fernandez Web Developer http://ivansotof.com On Tue, Apr 14, 2009 at 9:36 AM, David Turner di...@android.com wrote: I bet that the real difference is the

[android-developers] need some help with UI

2009-04-14 Thread Sheepz
Hey all, i hope this forum allowes this... i'm working on a very cool card game to be released soon for android for free! but since i want it to be a success i need some help - specifically with UI it's mostly done, but there are some small annyoances which i'm sure wont be too hard for a person

[android-developers] Parcelables / project.aidl in SDK 1.5

2009-04-14 Thread Zach Hobbs
I'm attempting to get build my project with the early preview SDK, targeting 1.1 and am having problems getting AIDL files to recognize imports for Parcelables. In the previous ADT you could right click on your project, hit Android Tools and have an option something like Generate AIDL for

[android-developers] Re: SDK 1.5, Unable to load XML wizard

2009-04-14 Thread zlu
+1 On Apr 14, 6:43 am, Al alcapw...@googlemail.com wrote: I'm trying to make a new XML file and have selected New-Android XML File, but each time I get this message: The selected wizard could not be started. Plug-in com.android.ide.eclipse.adt was unable to load class

[android-developers] Re: emulator speed

2009-04-14 Thread David Turner
On Tue, Apr 14, 2009 at 6:34 PM, Ivan Soto ivanso...@gmail.com wrote: Only thing I noticed is that in the emulator everything loads way faster. I'm not sure if disk/ram access speed is emulated. not really, but you may experience nasty slowdowns related to the file system if you are on a

[android-developers] Re: emulator speed

2009-04-14 Thread Dianne Hackborn
Also many things are done in the emulator in software (such as window compositing and OpenGL ES) that on the G1 have hardware acceleration. In those cases your x86 is emulating ARM code that is doing the rendering, being performed directly on the hardware accelerator on the G1. On Tue, Apr 14,

[android-developers] Re: su permission denied

2009-04-14 Thread Dianne Hackborn
You can't get root on a regular G1. On Tue, Apr 14, 2009 at 9:30 AM, Jon Webb jonaw...@gmail.com wrote: Any idea why I get permission denied when I run su in adb shell? I've seen multiple posts here claiming all you have to do is run su, but it never works for me. Why? -- Dianne

[android-developers] Re: ListAdapter: View.GONE on some element

2009-04-14 Thread Dianne Hackborn
That is not how ListView is supposed to work. You need to make the actual entry in the adapter disappear. On Tue, Apr 14, 2009 at 6:10 AM, arnouf arnaud.far...@gmail.com wrote: Hi all, I've a big issue... In a ListView using a BaseAdpater extension, I would like hide some entries (using

[android-developers] Re: Business search using Android GeoCoder APIs

2009-04-14 Thread Android_Learner
Hi, Is there any chance to use Google APIs( Http Based) instead of Android APIs for doing business search? or any other 3rd party Http based APIs(Web service) for business search On Apr 14, 6:16 pm, Android_Learner sunil.bha...@aricent.com wrote: Hi, I am developing a maps application and  

[android-developers] How to built a resident app ??

2009-04-14 Thread QQ
I have to built a resident application, but I have no idea to do that If you know how to do, please do me a favor and teaching me. Thank for all... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-14 Thread Tero Saarni
On Apr 14, 2:30 am, Xavier Ducrohet x...@android.com wrote: Hello developers! I'm pleased to announce the release of an early look of the Android 1.5 SDK. More information and download link at:http://android-developers.blogspot.com/2009/04/getting-ready-for-andr... Is ADP1 going to get

[android-developers] How can MapActivity obtain data

2009-04-14 Thread Michel
He guys I have a question, I'm using a TabHost with 3 tabs 1)First view class with textbox and variable 2)Second view class with textbox and variable 3)I launch mapActivity like this for view google map: Intent startMap = new Intent(this, MyMapView.class);

[android-developers] Re: TextView.setText doesn't update

2009-04-14 Thread Peter Carpenter
Hi, I'm not sure which thread timers fire in, but have you tried calling the setText explicitly from the UI thread? final String timeSinceUpdate = tracker.getUpdateAge(); runOnUiThread(new Runnable() { public void run() { mMyTextView .setText(Current location ( + timeSinceUpdate

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-14 Thread Vladimir
Hi Xav. Thanks! But I have questions. How can I build the same version by myself? Is it based on Master branch? Or Cupcake? Is it possible to build the same version for ADP1? I think it would be better to create new branch to avoid issues like 18 march issue. As example release1_5. BR,

[android-developers] Re: Developing absolute layout - no drag drop click drag in eclipse ??

2009-04-14 Thread Boba S
has anyone a solution for this problem? On 26 Mrz., 09:21, quakeboy prasna...@gmail.com wrote: Hi I am developing an application which uses absolute layout with image views. I am not able to click anddragthe images in the layout preview in eclipse. Is there a setting which can enable that ?

[android-developers] How add view in new layer?

2009-04-14 Thread alexander.ku...@gmail.com
I need show ads in application. Ads in my custom view must move from bottom of screen with animation. How can I add my view in bottom of screen as new layer or help me find other method? --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Is this a bug in dvmTrackExternalAllocation()?

2009-04-14 Thread Liangtao
The function doesn't try to do GC whenever externalAllocPossible(hs, n) returns false. How about simply moving this call to the beginning of function static bool externalAlloc(HeapSource *hs, size_t n, bool grow)? And line 1320 of HeapSource.c (function static bool externalAllocPossible(const

[android-developers] create aidl preprocess file for parcelable

2009-04-14 Thread benjamin.lehej...@googlemail.com
Hello android developers, yesterday the early look Android SDK 1.5 has released and i tried to import an old project using eclipse. There are some datatypes which has been made parcelable in order to use the datatypes in the aidl. However setting up eclipse for SDK 1.1 gives me the facility to

[android-developers] Need Help to use webservices APIs for the following scnerio

2009-04-14 Thread faritha
Could you please help me with the sample code for the following scnerio: - I want to load one url but i want to mask all the contents of that url. And i have to provide my text boxes and buttons. - If user clicks My button i have to supply that click action to url button loaded in webview

[android-developers] Editable Spinner - 95% of the way there - But need some backup!!

2009-04-14 Thread Peter Carpenter
Hi all, I've been slugging away at trying to get an editable spinner component working. I've managed to get 95% of the way there but must confess I'm lost as to how the focus/layout system works within android - especially inside of this thing they call an AdapterView... What I have working:

[android-developers] How to use headset button to pick up/hang up a call?

2009-04-14 Thread sein
When I'm testing the functionality of the headset button in a call,it just muted the mic,didn't hang up the call.And if there is no call,when I press the button,there will be a song playing,so I think the keycode is correctly reported.there maybe some code I need to add? Anybody knows how to?

[android-developers] Re: Map not Displaying, Just tiles only

2009-04-14 Thread patrick
Did you add the apiKey in your mapview? On Apr 13, 9:11 pm, Nithin nithin.war...@gmail.com wrote: i did both these already... my i got map API and put all permissions in manifest uses-permission android:name=android.permission.INTERNET/ uses-permission

[android-developers] Can TabHost waiting results from activity?

2009-04-14 Thread Michel
I'm create 3 tab with different activity: mTabHost.addTab(mTabHost.newTabSpec(tab_test1).setIndicator(TAB 1).setContent(new Intent(this, FirstView.class))); how the 3 different activity can exchange data? --~--~-~--~~~---~--~~ You received this message because

[android-developers] 2 times in onCreate method??!!

2009-04-14 Thread arnouf
Hi all, I call an activity from another with startActivity(new Intent(Caller.this, NewActivity.class)); I had a problem with a variable. So, using debug I saw that I pass two times in the onCreate method of NewActivity! I was a little bit surprised.

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-14 Thread Jean-Baptiste Queru
The latest cupcake source drop (done a few hours ago) matches the preview SDK. We're working to tag it. Note that this isn't release 1.5 of Android, it's just a code drop that matches an official preview SDK. It's not going to run on ADP1 as it lacks the proprietary files that are needed for

[android-developers] Re: 2 times in onCreate method??!!

2009-04-14 Thread arnouf
The issue was the event which launched this new Intent. I was catching the onTouch eventin place of onClick (if it was on touch I had to dispatch Action.DOWN and Action.UP :)) it can help others guys...So enjoy! On 14 avr, 20:08, arnouf arnaud.far...@gmail.com wrote: Hi all, I call an

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-14 Thread Lorents
Great news :) Thanks a lot! If I make a new app that use some of the new features in 1.5 will it be possible to make it available on the market for devices with 1.5 installed or higher? If so would it be possible to upload different versions of my app targeting different versions? Best regards

[android-developers] getFromLocationName (with bounding box) not working on Android 1.0

2009-04-14 Thread prabansal
I am doing the following: addressList = gCoder.getFromLocationName(“Idaho”, 5, 39.42, -118.71, 46.81, -111.681); This always returns empty list. While when I try: addressList = gCoder.getFromLocationName(“Idaho”, 5); It works well. Please suggest if there is still a bug with 1.0, and if

[android-developers] Does getFromLocationName (with bounding box) works on 1.0?

2009-04-14 Thread prabansal
Hi I am doing the following: addressList = gCoder.getFromLocationName(“Idaho”, 5, 39.42, -118.71, 46.81, -111.681); This always returns empty list. While when I try: addressList = gCoder.getFromLocationName(“Idaho”, 5); It works well. Please suggest if there is still a bug with 1.0, and if

[android-developers] get indication

2009-04-14 Thread Michel
Is possible get indication by mapView component? thanks Michel --~--~-~--~~~---~--~~ 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-installation failed due to different application signatures

2009-04-14 Thread dycl3
hello: out put by eclipse: [2009-04-14 17:55:39 - MusicBrowserActivity] Uploading MusicBrowserActivity.apk onto device 'emulator-5554' [2009-04-14 17:55:48 - MusicBrowserActivity] Installing MusicBrowserActivity.apk... [2009-04-14 17:56:11 - MusicBrowserActivity] Application already exists.

[android-developers] 4 Track Recorder and Video Player...

2009-04-14 Thread xgilx
These are two things I would love to see on the G1. Anybody on here working on either? This is my first post and first day on here. Graphic designer and all around computer head in Corpus Christi, TX. I play music and think a portable music recorder for the G1 would be amazing. I know the

[android-developers] Re: emulator speed

2009-04-14 Thread a druid
Hi, Just a small newbie question: I understand, that the Android emulator is by definition and scope slower than an I-phone simulator. However: There are apps, which have to run on an emulator in order to emulate hte entire HW. However for a lot of algorithmic / GUI stuff a simulator would be

  1   2   >