[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 additional

[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 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" gro

[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 w

[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 w

[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, Lo

[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 unsu

[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 wrote: > So i downloaded the syste

[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" wrote: > What are the specs of the PC and Mac you're trying it on?

[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 http://groups.google.com/group/andr

[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 t

[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" wrote: > PC is fairly up-to-date spec - AMD Athlon X2 2 GHz, 2 GB's of RAM. > > Ma

[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 wrote: > in the manifest you need the following > 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 Goog

[android-developers] Re: Analog Clock

2009-04-14 Thread vinny.s...@gmail.com
To Create Analog clock this is the Widget . On Apr 9, 6:01 pm, "vinny.s...@gmail.com" wrote: > Can Anybody Help In Making a Analog Clock in ,java File of > android ... --~--~-~--~~~---~--~~ You received this message because you are subscr

[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 wrote: > Yes, the phone still has the connection to the router however what > matters is the status of the TCP socket which needs end-to-

[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 timeout

[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] Re: Paid App Support for developers from India

2009-04-14 Thread karthikr
Hi, Can you explain me in brief as to what your talking about? Thanks in advance, R.Karthik On Apr 7, 4:18 pm, Keiji Ariyama wrote: > Hi Karthik, > > I am Keiji Ariyama.  I'm Japanese developer. > Do you want to sell your apps to people ofIndia? > > Or you want to make public your apps on And

[android-developers] Re: emulator speed

2009-04-14 Thread David Turner
Does the iPhone emulator runs ARM binaries, if not, it simply is crazy fast because it runs x86 code instead of the stuff that actually goes into a real device. The Android "simulator" build product does the same thing and is very fast (on the other hand everything runs in a single process, so don'

[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] Re: Leaked window in PreferenceActivity

2009-04-14 Thread Sikus
I try add android:configChanges="orientation" to my manifest, but error still show to me. I have progressDialog and when is showing I change orientation and occur eroor "04-14 10:51:36.138: ERROR/ WindowManager(615): Activity cz.prowide.ochodni_rejstrik.Firmy has leaked window com.android.internal

[android-developers] Re: emulator speed

2009-04-14 Thread Al Sutton
I would guess a chunk of the performance difference comes from the fact that the iPhone shares a lot of APIs with Mac OS and as the iPhone emulator only runs on Mac OS they can make calls directly to the OS, whereas the Android emulator runs on a hardware emulator and thus has an extra level of pr

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

2009-04-14 Thread Charlie Collins
I can use maps fine in the emulator. You have the perms right, and you are pulling in the maps application, but you didn't say whether or not you have your key, and are using it in the layout file. You do have the key though right? And in your MapView layout file you have android:apiKey with that

[android-developers] Re: emulator speed

2009-04-14 Thread Al Sutton
iPhone simulator binaries can't be run on an iPod/iPhone so I'm pretty sure it's x86 code being run in some minimal sandbox which controls API usage. Al. --- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England & Wales with the

[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 m

[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 wrote: > I can use maps f

[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 an

[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 MiffedTest.

[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 gro

[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 runQuery(

[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 app

[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. com.android.ide.eclipse.edi

[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, "a

[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 a

[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: http://groups.google.com/group/android-developers/browse_thread/thread/bc1e6e1524dcca5a/0c4d20a769e666e

[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 wrote: > If this bitmap is used for displaying only one item (image), why do > you cre

[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 cac

[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 m

[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 th

[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: i need to change label in my activity code, any solution? --~--~-~--~~~---~--~~ You

[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 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 doing wrong

[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 wrote: > > Thanks for the feedback.. Now I'm trying to use StringBuilder and > Formatter, but I just can't get it to stop d

[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 wrote: > > 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

[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 i

[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 modi

[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 "And

[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 tas

[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 d

[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 wrote: > I bet that the real difference is the CPUs being used on

[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 w

[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 Parce

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

2009-04-14 Thread zlu
+1 On Apr 14, 6:43 am, Al 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 > com.android.ide.eclipse.editors.wizards

[android-developers] Re: emulator speed

2009-04-14 Thread David Turner
On Tue, Apr 14, 2009 at 6:34 PM, Ivan Soto 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 network-based home

[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, 20

[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 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 Hackborn Android f

[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 wrote: > > 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 g

[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 wrote: > Hi, > I am developing a maps application and  want to search for busin

[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 Develo

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

2009-04-14 Thread Tero Saarni
On Apr 14, 2:30 am, Xavier Ducrohet 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 official imag

[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); mTabHost.addTab(mTabHost.newTabSpec("tab

[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 (" + timeSinceUpdat

[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, Vlad

[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 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(con

[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 backgro

[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 wrote: > i did both these already... > > my i got map API and put all permissions in manifest > > > android:name="android.permission.ACCESS_FINE_LOCATION" /> >   > > still its showing his error, what may be the reason.. > > T

[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 becaus

[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. Somebody

[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 that

[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 wrote: > Hi all, > > I call an activity from another w

[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 L

[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 ye

[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 y

[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 u

[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. Att

[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 IPhon

[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 m

[android-developers] Re: run app after installation using PACKAGE_ADDED or other mechanism?

2009-04-14 Thread M. Dodd
All nice and well - if the API for AlarmManager supported persistent alarms. Currently, if you update an application your alarms will go bye bye until the phone reboots - no? Requiring a reboot just to reset a few silly alarms seems quite excessive to me - and definitely prevents us from "taking

[android-developers] Black Screen problem with graphics update using unlockCanvasAndPost()

2009-04-14 Thread Warren
I am working on a game for Android. I'm following the general program layout of Lunar Lander, where a SurfaceView has a worker thread that runs the main game loop. That loop updates the physics and redraws the screen by creating and drawing to a canvas. >From the thread class: public void ru

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

2009-04-14 Thread Per Sandström
Here is another bug in the code: if(i == 0) { static_x = event.getX(); static_y = event.getY(); i = 1; } else { static_x1 = event.getX(); static_y1 = event.getY();

[android-developers] Re: How compile the apk file?

2009-04-14 Thread a druid
On Apr 9, 10:21 am, "kimura...@gmail.com" wrote: > How can i building my application alone, generate the apk file?? > > My source path look like this: >   /packages/inputmethod/pinyinIME/src/***.java >   /packages/inputmethod/pinyinIME/res/ >   /packages/inputmethod/pinyinIME/lib/ >   /packages

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

2009-04-14 Thread Zach Hobbs
Some more info: - I tried creating an aidl file with the same name as the Parcelable class, and I get an error in the console like: / .aidl:1 interface . should be declared in a file called com.aidl. I tried declaring the Parcelable in com.aidl and that didn't work either. - The documentation in

[android-developers] Re: create aidl preprocess file for parcelable

2009-04-14 Thread Zach Hobbs
I'm having the same problem :( http://groups.google.com/group/android-developers/browse_thread/thread/3f0117114ee7c0f8# -Zach On Apr 14, 3:20 am, "benjamin.lehej...@googlemail.com" wrote: > Hello android developers, > > yesterday the early look Android SDK 1.5 has released and i tried to > im

[android-developers] inject long home key press

2009-04-14 Thread Dan Raaka
Is there a keycode to inject long home key press into a device via adb like below ? $ adb shell input keyevent 7# for key '0' -Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

  1   2   >