[android-developers] How to pass data when switching between activities in an application

2009-01-07 Thread Asif k
Hi all, In an application I am switching between HomeApp.java activity to ListApp.java activity using following code : Intent filelist = new Intent(this, ListApp.class); startActivity(filelist); Other than just switching , how can I pass some data( e.g. String name, In

[android-developers] Re: Dalvik spends 7.4% of its time garbage collecting, Android UI spends 7.4% of its time unresponsive

2009-01-07 Thread Andrew Stadler
This is a great topic, but is probably more suited to android-platform. On Wed, Jan 7, 2009 at 11:05 PM, __ wrote: > > With the phone sitting *idle*, Dalvik GCs every 3.5sec on average. A > GC usually takes ~260ms. That means that a whole 7.4% of the time it > is garbage collecting (albe

[android-developers] Re: how to enable internet access in emulator v1.0

2009-01-07 Thread sheik
Hi all, Now i am able to access internet in the emulator.. just needed to change the insert command99 to 111 adb.exe shell sqlite3 /data/data/com.google.android.providers.settings/ databases/ settings.db "INSERT INTO system VALUES (111,'http_proxy','ipaddress:portno');" But still their is a

[android-developers] Dalvik spends 7.4% of its time garbage collecting, Android UI spends 7.4% of its time unresponsive

2009-01-07 Thread ______
With the phone sitting *idle*, Dalvik GCs every 3.5sec on average. A GC usually takes ~260ms. That means that a whole 7.4% of the time it is garbage collecting (albeit for only a quarter of a second each time). *7.4% of the time* the UI is completely unresponsive (and this percentage increases

[android-developers] Re: Where could I get an ADT 0.9.0?

2009-01-07 Thread yukinoba
Hi, Wah Sorry for late reply to your problem. First, you have to confirm the eclipse version you downloaded is "the latest version" and "has PDE feature" (the feature list could be found in the Eclipse website). For better insurance, you shall download the "full package Eclipse". Second, the bu

android-developers@googlegroups.com

2009-01-07 Thread Steve
That would explain why my 2G reception is so lousy!! Thanks for the tip. On Jan 5, 12:23 pm, Waldoh wrote: > "According a report from OFB's Timothy Butler, AT&T has been boosting > its 3G coverage and signal strength over the last few months; however, > the upgrade is at the expense of its 2G c

[android-developers] Re: set up a redirection from A:localhost: to B:10.0.2.15:

2009-01-07 Thread Sanak
Hi, I am doing porting activity for TCP/IP and UDP related stuff (Upnp). It is working very fine with Linux platform. I am using a tool named as 'device sniffer' to identify Machine IP,name, data,packet,etc. When I was running my application through emulator, In host machine this tool shows emu

[android-developers] Re: How to use observer pattern in Andorid/ or other method to improve UI response

2009-01-07 Thread A R
Hi Cindy, You can implement the same observer pattern. Create a delegate interface, pass the reference to the thread and once work is done let the thread do the call backs. Skeleton below might help (note code below will not compile) interface callback { workSuccess(); //pass params based on y

[android-developers] Re: Uninstalling application breaks gmail preview on G1

2009-01-07 Thread Andrew Stadler
Tyler, Any time you see a problem like this (where an application "stopped unexpectedly") the most useful thing you can do is monitor the log output (using "adb logcat"), capture the stack trace of the actual crash, and share that. Otherwise there's just no telling what is going wrong. --Andy

[android-developers] Re: stopSelf() question

2009-01-07 Thread jsm
I did try to look at that file, but I am not able to understand its content. Any pointers or document on analyzing the anr trace files. On Jan 7, 10:55 pm, Al wrote: > During ANR, a stack trace is written to /data/anr/, I've found that > file to very helpful to track down the cause. Search you

[android-developers] Re: How to change view for activities??

2009-01-07 Thread Wesley
hi, I tried... but got nullPointerException when I call removeView()... did I miss out something??? and how to setContentView() without given any parent??? any example??? sorry for any inconvenient... and thanks for reply... wesley. On Thu, Jan 8, 2009 at 10:17 AM, Mark Murphy wrote: > > We

[android-developers] Re: missing javax audio?

2009-01-07 Thread Wesley
are u means that they not going to support TTS and STT in android??? wesley. On Thu, Jan 8, 2009 at 10:50 AM, Dave Sparks wrote: > > There is no plan to support javax.sound. I guess I need to writeup a > media FAQ because this question gets asked repeatedly. > > Cupcake has support for streamin

[android-developers] Re: G1 activation problem

2009-01-07 Thread Joel Knighton
@subclubharri: http://mail.google.com/mail/?shva=1#search/at%26t/11e218cf339f5196 The settings that Jackson Miller posted there worked for me with an AT&T sim card with unlimited PDA data plan. Have you tried them exactly as they are there? On Wed, Jan 7, 2009 at 12:58 PM, subclubharri wrote: >

[android-developers] Re: Secrity with SlideMe

2009-01-07 Thread Shane Isbell
On Wed, Jan 7, 2009 at 8:04 PM, Joel Knighton wrote: > As Dianne mentioned, PacMan doesn't work. You actually can't seem to > download it on the ADP1 anyway. However, I could retrieve the .apk of other > applications downloaded from the Android Market. Cool. Thanks. --~--~-~--~~---

[android-developers] Re: Secrity with SlideMe

2009-01-07 Thread Joel Knighton
As Dianne mentioned, PacMan doesn't work. You actually can't seem to download it on the ADP1 anyway. However, I could retrieve the .apk of other applications downloaded from the Android Market. On Wed, Jan 7, 2009 at 8:15 PM, Shane Isbell wrote: > Hi Joel, > > Can you download PacMan from the

[android-developers] Re: Secrity with SlideMe

2009-01-07 Thread Dianne Hackborn
Try this with anything besides PacMan. :} (PacMan is hopefully the only thing in the world that will install in /data/app-private instead of /data/app.) On Wed, Jan 7, 2009 at 6:15 PM, Shane Isbell wrote: > Hi Joel, > > Can you download PacMan from the Android Market? Then type: "adb pull > /da

[android-developers] Re: Port my iPhone game

2009-01-07 Thread jtaylor
If that was in the Top 5, I would do the whole thing in Java. - Juan T. On Jan 6, 6:19 pm, Steve wrote: > Hi there, > > I'm part of a team of developers that have recently released an iPhone/ > iPodTouch game via Apple's AppStore (reasonably known as in > 500,000 > downloads in < month, ~50,0

[android-developers] Re: JNI

2009-01-07 Thread Dave Sparks
You can download the Android source code from source.android.com and build your JNI libraries against the gcc toolchain for testing. On Jan 5, 5:19 pm, blues wrote: > I have read all the post about JNI. And I know JNI is not offcially > supported and google is working on the native SDK and I hav

[android-developers] Re: Need to display Video from encoded Video frame data

2009-01-07 Thread Dave Sparks
You can convert the raw YUV to RGB and draw it on the surface yourself. There is no API to send encoded frames directly to an decoder and have them displayed and there are no plans to support this. On Jan 6, 4:34 am, iblues wrote: > Hi all, > > In my application development, there is a requireme

[android-developers] Re: How play audio raw-data on speakerphone?

2009-01-07 Thread Dave Sparks
There is no API for this. On Jan 6, 7:30 am, Skywalker wrote: > I need to play incoming audio data (raw) on phone speaker (not through > back dynamic). > I have not found any API for this. :( > Help, please... --~--~-~--~~~---~--~~ You received this message becaus

[android-developers] Re: Resizing camera preview dimensions

2009-01-07 Thread Dave Sparks
The G1 camera driver currently ignores the preview size and forces it to 320 x 240. On Jan 6, 11:19 am, Omar wrote: > You can do: > > Camera.Parameters p = c.getParameters(); > p.setPreviewSize(width, height); > c.setParameters(p); > > before you d

[android-developers] Re: imeem and buffering audio with MediaPlayer

2009-01-07 Thread Dave Sparks
That refers to the AudioTrack and AudioRecord interfaces which allow for things like recording from the microphone and generating raw audio in the application to be streamed to the audio output. It does not include a byte stream interface to the MediaPlayer, for example. I don't see that those ch

[android-developers] Re: Got exception while playing a media file

2009-01-07 Thread Dave Sparks
I'll be the first to admit that our error reporting is bad right now. Most likely is that it's unsupported file format or the file itself is corrupt. On Jan 7, 2:59 am, manoj wrote: > Hello friends, > > I am trying to play some media files which are located in SDCard. > > While playing I got th

[android-developers] Re: How do you create an MMS message with audio attachment?

2009-01-07 Thread Dave Sparks
I believe this was deliberately left out of the code for 1.0. I'm not aware of any plans to add it in Cupcake. I suggest you file a feature request. On Jan 7, 7:09 am, "Blake B." wrote: > I'll ping the group one last time. Can anyone confirm that this is > not possible? > > I looked at the late

[android-developers] Re: missing javax audio?

2009-01-07 Thread Dave Sparks
There is no plan to support javax.sound. I guess I need to writeup a media FAQ because this question gets asked repeatedly. Cupcake has support for streaming PCM audio in and out of Java. It also supports static buffers, i.e. load a buffer with sound data and trigger (one-shot) or loop. Both stat

[android-developers] Re: How to change view for activities??

2009-01-07 Thread Mark Murphy
Wesley wrote: >> removeView() is on ViewGroup, IIRC. > oic.. > >> It sounds like you are calling setContentView(), supplying it a View >> that is already tied to your existing content view. > yup... any idea I can change the View that is already tied with existing > content view?? possible??? I

[android-developers] Re: Secrity with SlideMe

2009-01-07 Thread Shane Isbell
Hi Joel, Can you download PacMan from the Android Market? Then type: "adb pull /data/app-private/com.NamcoNetworks.PacMan.apk" See if you can grab that guy off. Or if anyone else with a dev phone, if they have time. Thanks, Shane On Wed, Jan 7, 2009 at 3:16 PM, Joel Knighton wrote: > Shane, Alt

[android-developers] Re: Port my iPhone game

2009-01-07 Thread Margaret
where can we see these games as you written. mawei...@gmail.com 13585201588 2009/1/8 Steff : > > Apple should release an iPhone with an Android platform. Guess > not :-( > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[android-developers] how uses-permission works

2009-01-07 Thread shine
I am puzzled by permission usage, I do not know how an applicaiton check a request from other apps by permission, for example, it seems any applicaion can use call function if he declare in his andriodmanifest.xml, and not other permission check. is my understanding right? if right, this permiss

[android-developers] Re: http-proxy does not work on emulator when i use the build of master branch with cupcake changes

2009-01-07 Thread freepine
Below is the output with debug proxy, but it does work when I insert my proxy setting in the settings db directly. Anything missed from my steps? Thanks. D:\Android\android-sdk-windows-1.0_r1\tools>emulator.exe -http-proxy wwwgate0-ch .mot.com:1080 -debug proxy proxy_http_setup: creating http prox

[android-developers] Re: How to change view for activities??

2009-01-07 Thread Wesley
hi, > removeView() is on ViewGroup, IIRC. oic.. > It sounds like you are calling setContentView(), supplying it a View > that is already tied to your existing content view. yup... any idea I can change the View that is already tied with existing content view?? possible??? thanks for the reply.

[android-developers] Re: Slide Views ( like Google Scoreboard app )

2009-01-07 Thread Emmanuel
The homeScreen slide view source is there : http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/com/android/internal/widget/SlidingDrawer.java Quite a big thing, but already done ! Emmanuel http://androidblogger.blogspot.com/ On Jan 7, 6:52 pm, Al wrote: > I'd lik

[android-developers] Re: http-proxy does not work on emulator when i use the build of master branch with cupcake changes

2009-01-07 Thread David Turner
hello, can you give me the output of using the -debug-proxy option when starting the emulator ? On Wed, Jan 7, 2009 at 2:34 AM, Li Wei (Vincent) wrote: > > Hi, > I made a full build of the latest master branch(including cupcake > changes), and then "make sdk" and run emulator with -http-proxy o

[android-developers] Re: http-proxy does not work on emulator when i use the build of master branch with cupcake changes

2009-01-07 Thread freepine
My emulator failed to browse web pages with -http-proxy option too, but it works with below steps. Maybe you can also have a try: #cd /data/data/com.android.providers.settings/databases #sqlite3 settings.db Sqlite>INSERT INTO system VALUES(111,'http_proxy',':'); Sqlite>.quit Then restart the emula

[android-developers] Re: missing javax audio?

2009-01-07 Thread Dianne Hackborn
On Sat, Nov 22, 2008 at 2:30 PM, E wrote: > I appreciate the "so help and send patches!" request, and I'm glad the > codebase is open. However, for a product which is being sold on a > production device, it smacks as a cheap way to get free coders for a > REALLY BIG company. To be clear: Google

[android-developers] Re: missing javax audio?

2009-01-07 Thread Dianne Hackborn
>From a very quick glance at PortAudio, it looks like it is an abstraction layer to provide a common audio API across a variety of platforms? If so, it doesn't really address the issue here, that the Android platform isn't yet providing the features you want. A lot of the issues in doing this rev

[android-developers] Re: onActivityResult returns RESULT_CANCELED immediately :(

2009-01-07 Thread Dianne Hackborn
This generally happens when the new activity is being launched into a different task than the initial activity. Make sure your first activity does not have the launch mode singleInstance, the second doesn't have the launch mode singleTask or singleInstance, you don't use the NEW_TASK intent flag w

[android-developers] Re: Help How to lazy load images

2009-01-07 Thread Jamie
what about putting each download in its own thread?? doesnt this speed things up on the processing side?? Download is still limited to connection speeds, but you should be able to use a Runnable() in threads to process each one individually. On Jan 7, 7:55 am, Mike Reed wrote: > We don't supp

[android-developers] onActivityResult returns RESULT_CANCELED immediately :(

2009-01-07 Thread Stoyan Damov
Hi again guys, I'm trying to launch a sub-activity from my "main" activity and although the sub-activity does launch (and it's view gets shown), the parent activity's onActivityResults always gets called back with a result of RESULT_CANCELED immediately after I call startActivityForResult (and th

[android-developers] Re: Slide Views ( like Google Scoreboard app )

2009-01-07 Thread Mark Murphy
madcoder wrote: > I would LOVE to see an example of this... Your wish is my command! *clap, clap* http://androidguys.com/?p=654 Note that this was written for the M5 SDK and therefore may require some minor modifications to work on the current SDK. Also, forgive the formatting issues, as the

[android-developers] Re: Slide Views ( like Google Scoreboard app )

2009-01-07 Thread madcoder
I would LOVE to see an example of this... On Jan 8, 4:55 am, loty wrote: > One easy way to implement it is with ViewFlipper. You can add in and > out animations and create your views on the fly > > On Jan 7, 12:52 pm, Al wrote: > > > I'd like to know this also. RomainGuy described the Home scre

[android-developers] Re: Secrity with SlideMe

2009-01-07 Thread Joel Knighton
Shane, Although I had not yet attempted to do so, it looks as if your question was already answered. If you need any more information about application installation on the ADP1, feel free to email me personally or post to the list. On Wed, Jan 7, 2009 at 5:08 PM, Dianne Hackborn wrote: > A thir

[android-developers] Re: Installing a signed release apk over USB

2009-01-07 Thread Xavier Ducrohet
On Wed, Jan 7, 2009 at 9:53 AM, Al Sutton wrote: > > My mistake. Dianne is completely correct. > > I'd (wrongly) assumed that as eclipse can run apps on the G1 without > explicitly going through a signing process adb could do the same. To be clear, Eclipse cannot run apps on the G1 without signi

[android-developers] Re: Native client for android?

2009-01-07 Thread Dianne Hackborn
Well it boils down to there being no need for this on Android. :) The reason for not supporting native code is not related to security in any form (as the security doc says, all security is enforced at the kernel level), it is an issue of compatibility across platform releases and taking into acco

[android-developers] Re: Include/insert existing layout in an other layout ?

2009-01-07 Thread Romain Guy
You would have to do this from code. Such a feature is planned but at the moment you can only "override" the layout attributes and the id attribute. On Wed, Jan 7, 2009 at 3:06 PM, Rohit wrote: > > Is there a way to modify/pass values to properties in the layout that > you are including? > > For

[android-developers] Re: Secrity with SlideMe

2009-01-07 Thread Dianne Hackborn
A third party application installed on even a locked G1 can be retrieved from it with a simple "adb pull" (you just need to know its package name) or programmatically by retrieving its information from the PackageManager and opening and reading the .apk file path it tells you. On Wed, Jan 7, 2009

[android-developers] Re: Include/insert existing layout in an other layout ?

2009-01-07 Thread Rohit
Is there a way to modify/pass values to properties in the layout that you are including? For example, if the layout that I am including has a background image, then how can I pass a different image for that background each time I include the layout? Can I do something of the sort : If not t

[android-developers] Re: Get reference to "parent" window from TabHost Activity

2009-01-07 Thread mscwd01
Is this at least possible? I may have to find a workaround... On Jan 7, 12:25 am, mscwd01 wrote: > I have an Activity which has a TabHost, lets call this the "parent" > Activity. Within the TabHost are two tabs whose content, are > themselves, Activities, lets call them "child" Activities. > > T

[android-developers] Re: How to remove an overlay from the map

2009-01-07 Thread mscwd01
Try: map.getOverlays().clear() and then call: map.invalidate() (or map.postInvalidate() from a nin UI thread) Hope that helps. On Jan 7, 2:56 pm, Sudha wrote: > hi > I have drawn the map and the overlay on it > But how to remove the added overlays.. > I tried to > refresh the map. > I am del

[android-developers] Re: AlertDialog.Buillder

2009-01-07 Thread Jason Parekh
There's a setItems that takes a CharSequence[], so convert your ArrayList to CharSequence[]. jason On Tue, Jan 6, 2009 at 6:30 PM, intbt wrote: > > I need to setItems from a generated ArrayList. > > Eclipse gives me an error that the setItems must be a int source. I > have made it work with a s

[android-developers] Uninstalling application breaks gmail preview on G1

2009-01-07 Thread Tyler Ernst
We are working on an application to view documents for Android. So our main Activity registers an intent filter to be the default viewer for that document type. Below is an example of how we register a filter. After installing our application you can select "Preview" in gmail with a documen

[android-developers] Re: Creating Context Menus

2009-01-07 Thread Jason Parekh
You could use AlertDialog to show a dialog similar to the ones shown by the context menu. Check out API Demos > App > Dialog > List dialog. jason On Wed, Jan 7, 2009 at 5:03 PM, Dan wrote: > > Hi, > > I was wondering if there was a way to create a context menu (or any > menu for that matter)

[android-developers] Re: TextView Widget - OnResume

2009-01-07 Thread Dan
My apologies for just now getting back to this. I did find my problem and it was a coding error on my part. When my activity was stopped, I was not terminating my background thread properly so when I reentered my activity things were getting hosed. It was definitely a coding error that I eventuall

[android-developers] Re: Secrity with SlideMe

2009-01-07 Thread Shane Isbell
Hi Joel, Are you able to pull the applications that have been installed through Android Market off of the device on the dev phone? SAM is using the system installer, so it will be the same as Android Market. We are limiting paid purchases to just the device. Secure for G1, but interesting to see

[android-developers] Creating Context Menus

2009-01-07 Thread Dan
Hi, I was wondering if there was a way to create a context menu (or any menu for that matter) in response to something like a button click versus hooking into the phone's menu press or a push and hold event? I need to be able to create a context menu and show that menu when the user clicks on a b

[android-developers] Re: Slide Views ( like Google Scoreboard app )

2009-01-07 Thread loty
One easy way to implement it is with ViewFlipper. You can add in and out animations and create your views on the fly On Jan 7, 12:52 pm, Al wrote: > I'd like to know this also. RomainGuy described the Home screen design > as using Cell Layouts and using Scroller methods to scroll left/right, > b

[android-developers] Re: ANR after service has been stopped.

2009-01-07 Thread Al
Check the stack trace in /data/anr which should have been written when an app stops responding. (Check logcat for the "writing to / data/." message) On Jan 7, 7:46 pm, devileper wrote: > I'm receiving an Application Not Responding error for a service that > has stopped.  How is this possible

[android-developers] Re: missing javax audio?

2009-01-07 Thread Pv
Any update on anyone getting javax.sound.sampled (or something similar) working? Pv On Nov 23 2008, 12:49 am, MichaelEGR wrote: > Greets...  Wow.. good thread and discussion thus far. Best and most > recent audio thread I've seen. > > I am an audio/graphics professional and my first project, fo

[android-developers] Re: View/layout designer/editor

2009-01-07 Thread Stoyan Damov
On Wed, Jan 7, 2009 at 11:02 PM, Mark Murphy wrote: > > Stoyan Damov wrote: >> Does anyone recall the name of that app? > > You might be thinking of DroidDraw: > > http://www.droiddraw.org/ That's it! > > However, I believe work was suspended on it back in mid-2008, so it > would generate layou

[android-developers] Re: Android Marketplace?

2009-01-07 Thread Stoyan Damov
On Mon, Jan 5, 2009 at 11:10 AM, eags wrote: > > - I've heard that people who are unlocking their G1 phones to use on > ATT can't access the marketplace. I've used Marketplace without any problem on my unlocked G1 in Bulgaria! ;) Cheers --~--~-~--~~~---~--~~ You

[android-developers] Re: View/layout designer/editor

2009-01-07 Thread Mark Murphy
Stoyan Damov wrote: > Does anyone recall the name of that app? You might be thinking of DroidDraw: http://www.droiddraw.org/ However, I believe work was suspended on it back in mid-2008, so it would generate layouts for the older M5 SDK. That's not a show-stopper, but it would take some twiddli

[android-developers] Re: Secrity with SlideMe

2009-01-07 Thread Joel Knighton
What's this about Android Market not being available on developer phones? Based on the developer phone sitting next to me, I'm going to have to say that's just not true. Android Market is definitely available on developer phones. On Wed, Jan 7, 2009 at 2:31 PM, Michael MacDonald wrote: > > I b

[android-developers] View/layout designer/editor

2009-01-07 Thread Stoyan Damov
Guys, I'm losing my mind here. I can bet my @#$ that someone has developed an alternative editor for views/layouts but Google hates me today. Does anyone recall the name of that app? Thanks! Cheers, Stoyan --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Flaky network connections

2009-01-07 Thread chris
Hi I have the same problem. I noticed that i have this problem when i'm debugging and that the device is connected via USB . when i disconnect the cable , i still have this behaviour until i stop and start the wifi. after restarting the wifi , connections are fine. Chris On 25 nov 2008, 16:49,

[android-developers] Re: Secrity with SlideMe

2009-01-07 Thread Michael MacDonald
I believe applications are written to a directory on the phone that is not visible to normal users (via unix permissions). If you have a developer phone (which gives you root access) you could access it. I think that's oneof the reasons Android Market is not available on the developer phones. I

[android-developers] Re: Can't get keyboard events: "no keyboard for id 0"

2009-01-07 Thread LeegleechN
I've resolved the problem. We had called setFocusable(true) on the popup window and the main view, and requested focus, but omitted setFocusableInTouchMode(true). I still don't know where the key events were being dispatched to before (nowhere?), but at least this annoying problem has been resolve

[android-developers] Re: Help - Android Market Suspe nds My “Blog App”!

2009-01-07 Thread Shane Isbell
The should let people know the reason for rejecting upfront (as I assume they always have a reason) rather than having developers crawl through the agreements guessing. Shane On Wed, Jan 7, 2009 at 11:50 AM, Nathan Freitas wrote: > > Got a response this morning... basically, they said I put it i

[android-developers] Re: Help - Android Market Suspe nds My “Blog App”!

2009-01-07 Thread Nathan Freitas
Got a response this morning... basically, they said I put it in the wrong category. It should be in "Demo" not "Reference". Seems like they should have a less heavy handed way of telling me that. I am happy to make the change, but now I have to re-uploaded my app as a whole new listing, right? Hmm

[android-developers] ANR after service has been stopped.

2009-01-07 Thread devileper
I'm receiving an Application Not Responding error for a service that has stopped. How is this possible? Any ideas would be helpful. 01-07 11:15:38.401: INFO/ActivityManager(51): Stopping service: com.test/.service.TestService 01-07 11:16:09.974: WARN/ActivityManager(51): Timeout executing servi

[android-developers] Re: Sharing a map api key during development

2009-01-07 Thread Xavier Ducrohet
Setting the custom keystore path in ADT should work. If it doesn't, you can just have your team mates copy your debug.keystore in their default location. As for giving development builds to clients, this should not be a problem, as long as they realize that the signing key is temporary and they w

[android-developers] Re: WebView does not load the url

2009-01-07 Thread Eugene
Thanks! That helped. Does WebView have similar restrictions regarding password-protected websites? Where, in general, should I look for what may be preventing the page from being loaded? Does WV post error messages in some log? --~--~-~--~~~---~--~~ You received th

[android-developers] Re: Port my iPhone game

2009-01-07 Thread Steff
Apple should release an iPhone with an Android platform. Guess not :-( --~--~-~--~~~---~--~~ 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@googlegroup

android-developers@googlegroups.com

2009-01-07 Thread shyamal
The T-Mobile 3G service runs in a different band (1700/2100, UMTS Band IV) than AT&T 3G (850/1900, Band V, if I recall correctly) so I would be surprised if you could get 3G service from AT&T with the G1 that runs on the T-Mobile network. It seems that each phone supports the most commonly used Eu

[android-developers] Secrity with SlideMe

2009-01-07 Thread Steff
Hi I am thing about releasing my application on SlideMe. I have talked to someone with SlideMe, and they tell me that priced application is just installed on the device itself. I asked them how they prevent people from just copying the application to another phone - for instance using some filebr

[android-developers] Re: Native client for android?

2009-01-07 Thread Quartz
Sorry about implying another sand-box. What I meant was migrating the concept of native-client and providing an equivalent "language", if you will, that isn't running through a VM. I guess I was trying suggest a environment similar to what is provided by dalvik minus the VM. But I understand and a

[android-developers] Re: Native client for android?

2009-01-07 Thread Dianne Hackborn
On Wed, Jan 7, 2009 at 10:00 AM, Quartz wrote: > currently supported and I am sure ARM would be, eventually, but it > would seem to me that having a sand-boxed native code environment > would be beneficial too. Android already does native sandboxing, as described in the security model doc. Tha

[android-developers] Re: Can't get keyboard events: "no keyboard for id 0"

2009-01-07 Thread Dianne Hackborn
No ideas, it works fine as far as I know in other places. Keep in mind that a pop-up is a window, and events are dispatched directly to a window, so you will see events either in the pop-up view hierarchy and not in the activity/main window or the other way around, not both, depending on whether y

[android-developers] Re: Native client for android?

2009-01-07 Thread Quartz
Thanks Dianne, I am not sure if I agree with "no purpose". I understand only x86 is currently supported and I am sure ARM would be, eventually, but it would seem to me that having a sand-boxed native code environment would be beneficial too. I understand the kernel is currently providing sand-box

[android-developers] Re: stopSelf() question

2009-01-07 Thread Al
During ANR, a stack trace is written to /data/anr/, I've found that file to very helpful to track down the cause. Search your package name in the file to see what was going on at the time inside your app. On Jan 6, 8:36 pm, "Dianne Hackborn" wrote: > Look at what your main thread is doing when t

[android-developers] Re: Installing a signed release apk over USB

2009-01-07 Thread Al Sutton
My mistake. Dianne is completely correct. I'd (wrongly) assumed that as eclipse can run apps on the G1 without explicitly going through a signing process adb could do the same. Al. Dianne Hackborn wrote: > On Wed, Jan 7, 2009 at 3:35 AM, Al Sutton > wrote: > >

[android-developers] Re: Slide Views ( like Google Scoreboard app )

2009-01-07 Thread Al
I'd like to know this also. RomainGuy described the Home screen design as using Cell Layouts and using Scroller methods to scroll left/right, but the UI in Scoreboard seems much more advanced (not limited to 3 screens, there can potentially be hundreds of screens). On Jan 6, 5:33 pm, "avolo...@gm

[android-developers] Re: How to register a ContentProvider

2009-01-07 Thread Dianne Hackborn
It is backwards, android:name is the class name (like all of the other manifest components). The android:authorities is one or more URI authorities for the name of your content provider... which means it should NOT be anything like "com.google.*" since that namespace is owned by Google. On Wed,

[android-developers] Re: Installing a signed release apk over USB

2009-01-07 Thread Dianne Hackborn
On Wed, Jan 7, 2009 at 3:35 AM, Al Sutton wrote: > "adb install" allows you to get away with some things that the non-adb > install methods wont (e.g. signing of apps). The adb install command certainly shouldn't let you avoid signing your app; a .apk is fundamentally not valid if it is not sig

[android-developers] Re: where can I find the source code for G1 phone's contact application

2009-01-07 Thread Al
The source code is available here: http://android.git.kernel.org/?p=platform/packages/apps/Contacts.git;a=tree On Jan 7, 6:54 am, cindy wrote: > G1 phone has a default application called "contact". Where can I find > the source code for that? > > Thanks! > > Cindy --~--~-~--~~---

[android-developers] Re: Native client for android?

2009-01-07 Thread Dianne Hackborn
There would be no purpose to Native Client for Android applications, since the Android system already creats rigid sandboxes between application processes. Also Native Client is currently experimental, and only works on x86, so it wouldn't be too usable for Android at this point anyway. On Wed, J

[android-developers] Re: Conditional Button in Layout

2009-01-07 Thread loty
Sorry previous post got away from me :) use button.setVisibility(View.GONE) to hide it use button.setVisibility(View.VISIBLE) to show it again On Jan 7, 12:30 pm, loty wrote: > Sure just use button.setVisibility(View.GONE) to hide it and > > On Jan 5, 7:50 pm, Lance wrote: > > > Hi All, > > >

[android-developers] Re: Conditional Button in Layout

2009-01-07 Thread loty
Sure just use button.setVisibility(View.GONE) to hide it and On Jan 5, 7:50 pm, Lance wrote: > Hi All, > > I'm wondering if there is a way to make a button show based on a > condition, i.e. if var1 == var2 show button. > Thanks in advance. > > -Lance --~--~-~--~~~---~

[android-developers] Re: how to reference a string resource from within another string resource

2009-01-07 Thread Stjepan Rajko
On Wed, Jan 7, 2009 at 6:05 AM, Mark Murphy wrote: > > Stjepan Rajko wrote: >> Is it possible to reference a string resource from another string >> resource? I am trying to do something like: >> >> My App >> Welcome to @string/app_name > > This is not supported, AFAIK. You would need to assemble

[android-developers] Native client for android?

2009-01-07 Thread Quartz
Hi, I was wondering if "Native client": http://code.google.com/p/nativeclient/ was being considered for the android platform. The dalvik vm's performance is hindering me relative the application I am writing (I still think it is a cool vm though because I use it for other non- performance apps).

[android-developers] Re: WebView loadUrl using Post Method

2009-01-07 Thread Jakob Sachse
i think the second approach is the way to go here: looking at the docs i found : public void loadData(String data, String mimeType, String encoding) , which will most likely take my markup as first parameter. i'll see and keep this thread updated. On 7 Jan., 16:54, Jakob Sachse wrote: > or coul

[android-developers] Re: WebView loadUrl using Post Method

2009-01-07 Thread Jakob Sachse
or could i possibly load the content outside the webview by using commons http client, and let the returned markup be rendered by the webview? On 7 Jan., 16:51, Jakob Sachse wrote: > hey, > > is there a way of loading an URL with the POST Method instead of GET? > I have a very long xml String th

[android-developers] WebView loadUrl using Post Method

2009-01-07 Thread Jakob Sachse
hey, is there a way of loading an URL with the POST Method instead of GET? I have a very long xml String that I need to deliver to a .JSP , GET Parameters don't allow the needed parameter length. I am looking for something like: mWebView.loadUrl("http://foo.bar/my.jsp","POST",params); --~--~

[android-developers] Re: Skia Graphics Library

2009-01-07 Thread Mike Reed
Agreed. Skia is not offered as a lib/sharedlib inside android, as its api is not guaranteed to be stable over time. See code.google.com/p/skia for the active trunk. On Wed, Jan 7, 2009 at 8:31 AM, David Turner wrote: > forget about using Skia headers for deployed projects. they are not part of >

[android-developers] How to register a ContentProvider

2009-01-07 Thread inder
I followed the instructions at http://code.google.com/android/devel/data/contentproviders.html and also followed the NotesPad sample for creating my ContentProvider. However, I can not figure out where exactly the NotePadProvider class is registered to be the ContentProvider for the specified Con

[android-developers] Re: Installing a signed release apk over USB

2009-01-07 Thread Al Sutton
Have you got the mime type correct? See http://andappstore.com/AndroidPhoneApplications/publishing.jsp for some tips. Al. Sudha Gupta wrote: > Hello, > > I have developed a signed app, i want to test this app in G1 on device > anywhere. > i have uploaded this app on the web server. when I am

[android-developers] Re: How do you create an MMS message with audio attachment?

2009-01-07 Thread Blake B.
I'll ping the group one last time. Can anyone confirm that this is not possible? I looked at the latest com.android.mms.ui.ComposeMessageActivity in the main code branch now (I believe this includes the Cupcake updates), and it still appears the handleSendIntent() intent method is assuming that

[android-developers] Re: Help - Android Market Suspe nds My “Blog App”!

2009-01-07 Thread Nathan Freitas
Funny that they wouldn't check if those were actual links to APKs or checkout forms. Is the review process that dumb/automated? Thanks for the feedback! +n On Jan 7, 8:24 am, "Shane Isbell" wrote: > My guess is it was this page:http://openideals.com/what-im-known-for/They > may have thought y

Re: Fw: [android-developers] Re: Android and bluetooth

2009-01-07 Thread Qwavel
On Jan 7, 3:20 am, Nick Pelly wrote: > On Tue, Jan 6, 2009 at 8:44 PM, Qwavel wrote: > > > Hi Dianne, > > > Thanks for your response.  I'd like to address some of your points. > > > > users should not worry about the apps they install doing unexpected > > > harmful things > > > I believe that l

[android-developers] Re: Installing a signed release apk over USB

2009-01-07 Thread Sudha Gupta
Hello, I have developed a signed app, i want to test this app in G1 on device anywhere. i have uploaded this app on the web server. when I am downloading this app on the G1, its not giving error on download but when i am installing it, its giving error application install unsucessful. plz tell me

[android-developers] Re: file system change notification

2009-01-07 Thread Ludwig
android.os.Environment.getExternalStorageDirectory() Ludwig 2009/1/7 pradeep > > Your suggestion works:) Thanks for your reply. > could you please let me know how I can retrieve the path to SD card? > > On Jan 7, 1:22 pm, "Dianne Hackborn" wrote: > > Er... this is not windows, you should use '

  1   2   3   >