[android-developers] the android's built in video player, supports which file format

2009-01-12 Thread jalandar
the android's built in video player, supports which file format. Or there is no built in video player for video playing --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] email client of emulator ( second sdk release) not working

2009-01-12 Thread jalandar
email client of my emulator (sdk r2) is not working, account is not getting created. what the reason behind this. How to use email client appl for emulator. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Dev

[android-developers] Re: Error to open image fiile using OI File Manager

2009-01-12 Thread jalandar
And when I try to send Image using OI File manager, it gives error of "The application messaging (process com.android.mms) has stopped unexpectedly stopped plz try again" anybody have a solution. --~--~-~--~~~---~--~~ You received this message because you are subs

[android-developers] Continuing topic " Bind to a remote service"

2009-01-12 Thread rktb
Hi, I could not find "Reply" on the post: http://groups.google.com/group/android-developers/browse_thread/thread/77e670f746c33fd9?hl=en. So, creating a new post. Based on Dianne's example, I am able to start a remote service and also call "bindService". Now, when I am trying to call a method, I

[android-developers] Error to open image fiile using OI File Manager

2009-01-12 Thread jalandar
When trying to open the .png image by using OI File Manager, it gives error "The application camera (process com.android.camera ) has stopped unexpectedly stopped plz try again" --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] How to use email client of emulator of android sdk second release, for OI Notepad for transferring note

2009-01-12 Thread jalandar
How to use email client of emulator of android sdk second release, for OI Notepad for transferring note. (For second release email client is coming with emulator) I tried but it is not working it display the toast "No application available for sending" --~--~-~--~~~---~

[android-developers] Re: TOUCH_UP/TOUCH_MOVE/TOUCH_CANCEL don't when overriding a SurfaceView?

2009-01-12 Thread Dianne Hackborn
That would happen if you aren't returning true from your method. On Mon, Jan 12, 2009 at 7:53 PM, bwilliam...@gmail.com < bwilliam...@gmail.com> wrote: > > Hi, > > I just started trying to add (extremely simple) recognition of a > single gesture to my app. My current layout is a FrameLayout, whi

[android-developers] Re: How to avoid my application to launch a new another instance?

2009-01-12 Thread Dianne Hackborn
singleTask will. That is one of the big reasons I would push you to use that instead of singleInstance. singleInstance is very rarely what you want. On Mon, Jan 12, 2009 at 10:48 PM, lin lin wrote: > After added the singleInstance mode. all of A,B,C are singleInstance, not > Hackbod said the a

[android-developers] Re: ArrayAdapter / spinner help

2009-01-12 Thread Josh
This is still eluding me. here is the log. 01-12 22:53:58.836: DEBUG/AndroidRuntime(446): Shutting down VM 01-12 22:53:58.836: WARN/dalvikvm(446): threadid=3: thread exiting with uncaught exception (group=0x40010e28) 01-12 22:53:58.912: ERROR/AndroidRuntime(446): Uncaught handler: thread main exi

[android-developers] Re: How to Use Google Accounts in Android Application

2009-01-12 Thread jeffkyjin
Thanks, I am still researching it On Jan 10, 1:21 am, "Fred Grott(shareme)" wrote: > I am researching the same issues... > > I think I have my research bookmarked at my del.icio.us account..its > on left middle link bar right hand side of my blog.. > > http://www.jroller.com/sahreme > > At t

[android-developers] Re: How to avoid my application to launch a new another instance?

2009-01-12 Thread lin lin
After added the singleInstance mode. all of A,B,C are singleInstance, not Hackbod said the application limited only run one activity. But the question is: singleInstance and singleTask mode will not auto return the last activity page. This means if I launch A from home by MAIN/LAUNCHER and A start

[android-developers] AndroidSavvy.com

2009-01-12 Thread Bob
Hey folks, I've been working with Android and using a G1 for a while now and have collected tons of links, feeds, twitter streams, and other info. I created AndroidSavvy.com as a way to share it all with the community! Check it out and give me feedback if you find it useful (or not). There's ton

[android-developers] Re: Validation of the phone number:

2009-01-12 Thread sheik
Hi, i dont think their is any api in android to check the validity of a contact number as 3 digit number is a valid and so as the 15 digit number to add to the contacts. But i think one has to write own set of classes or methods inorder to check the validity and thus store in the contact list.

[android-developers] Re: Trouble with TabActivity

2009-01-12 Thread Sergey Ten
Timothy, Here onCreate is declared as protected method, not public in 1.0_r2. For instance, here is how onCreate is implemented by ActivityGroup (which is a parent class for TabActivity): @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstan

[android-developers] Display problem 2

2009-01-12 Thread ipeg . student
Hello!!! surfaceView is not working. But thanks for reply. Am facing the same problem still now. I want to display the specific list of string.ma again posting the code. ///

[android-developers] Validation of the phone number:

2009-01-12 Thread Manjunatha M (ಮಂಜುನಾಥ ಎಂ)
Hi all, I am writing an application, which actually tries to insert a number into the contacts. Before inserting, I need to check for the validity of the phone number. Does android provide any API to pass this value and check if the phone number is valid or not? Regards, Manjunatha --~--~---

[android-developers] Re: I want to catch BroadCast

2009-01-12 Thread syuta
hi Dianne Hackborn. I understood. thanks a lot! Dianne Hackborn > Please read the Intent docs. You need to specify an intent-filter > that matches the intent being broadcast. For example, PACKAGE_ADDED > broadcast has the scheme "package:". Also, a number of the actions > you have here ar

[android-developers] Re: Utterly simple app keeps giving me "ActivityManager: [1] Killed"

2009-01-12 Thread Droid Rage
Resolved the issue. Thanks for getting me on the right track. It was a problem with the AndroidManifest.xml On Jan 12, 1:06 pm, "Dianne Hackborn" wrote: > Your main activity appears to be private (not exported). Do you have an > android:exported="false" line on it? > --~--~-~--~~-

[android-developers] Re: Is Selector.close() blocking or not?

2009-01-12 Thread wopeipeipei
I gave it a try on a Desktop PC with SUN JDK and Harmony JDK, seems with SUN JDK, Selector.close() will never block while with Harmony JDK, if another thread is being blocked on Selector.select(), Selector.close will block until select() returns. Is this a bug with Harmony JDK or not? On Jan 12,

[android-developers] TOUCH_UP/TOUCH_MOVE/TOUCH_CANCEL don't when overriding a SurfaceView?

2009-01-12 Thread bwilliam...@gmail.com
Hi, I just started trying to add (extremely simple) recognition of a single gesture to my app. My current layout is a FrameLayout, which contains as direct children a class that extends SurfaceView and an AbsoluteLayout (which are siblings of each other and both fill their parent - SurfaceView a

[android-developers] Re: I really, really, need help with the android emulator sensors, HELP PLEASE!

2009-01-12 Thread Fred Grott(shareme)
HardwareTest permission not set right.. should be uses-permission android.name=android.permission.HARDWARE_TEST On Jan 12, 9:30 pm, flashpro wrote: > OK, here is my manifest file. Below that is the Logcat data: > > > http://schemas.android.com/apk/res/android"; > package="com.android.bouncingb

[android-developers] Re: I really, really, need help with the android emulator sensors, HELP PLEASE!

2009-01-12 Thread flashpro
OK, here is my manifest file. Below that is the Logcat data: http://schemas.android.com/apk/res/android"; package="com.android.bouncingball" android:versionCode="11" android:versionName="1.3.3">

[android-developers] Re: TabHost crash in setup

2009-01-12 Thread Mark Murphy
Patrick wrote: > To say that TabHost not working without deriving from TabActivity is > not a bug is a bit strange. Buttons do not require the activity to > derive from ButtonActivity to not crash, do they? You have a preconceived notion of how tabs should work, and Android's tabs may not meet th

[android-developers] I (again) really, need help with security and permissions. This is driving me crazy!!!

2009-01-12 Thread flashpro
So i wanted to enable sensor input in the android emulator. Apparently it is a permission i need to enable. It looks to be HARDWARE_TEST. That looks to be the permission i should enable. However, when i enable it, i get a SecurityException. How do i grant my app the permission? Please HELP! --~--~

[android-developers] Trouble with TabActivity

2009-01-12 Thread Timothy DeWees
Hello, I'm trying to use a TabActivity class to tab-ify my application. I've found some walkthroughs online but I think they are a little dated. I want to use Activities inside the tab and just re-use the activities I wrote in the current version. It's telling me that there is no onCreate meth

[android-developers] Re: How to avoid my application to launch a new another instance?

2009-01-12 Thread Dianne Hackborn
Please don't use singleInstance, use singleTask instead. Be sure to read the referenced Application Model doc and have a good understanding of the repercussions of what you are doing. In particular note this in the doc: "The singleInstance launch mode is even more specialized, and should only be

[android-developers] Re: Large amounts of data and app responsiveness

2009-01-12 Thread Michael MacDonald
Try not posting a runnable on the receiving thread if one is already queued? Al wrote: > Hi all, > in my irc app, I'm trying to improve the responsiveness when it has to > deal with a lot of data at a single time. > > At the moment, once the data is append()-ed to the textview, I post a > delayed

[android-developers] Re: Common code with Eclipse

2009-01-12 Thread John Spurlock
Why not keep your shared code in a separate eclipse project using the android template, and use a direct project reference in eclipse ("projects" tab when configuring build path). You can always disable the android builders and remove the xml/dirs in the shared code lib. This is what I've settled

[android-developers] Re: I really, really, need help with the android emulator sensors, HELP PLEASE!

2009-01-12 Thread flashpro
That makes sense. However, my emulator gives me a permission denied error when i ad HARDWARE_TEST permission. Any suggestions? Thanks again for your help! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Develo

[android-developers] Re: I really, really, need help with the android emulator sensors, HELP PLEASE!

2009-01-12 Thread flashpro
Thanks i've looked into that. However, i'm actually creating an app like that one, so i want to know how to enable the receiving of events in android. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] Re: How to avoid my application to launch a new another instance?

2009-01-12 Thread John Spurlock
Use android:launchMode="singleInstance" on your Activity element in the manifest. http://code.google.com/android/reference/android/R.styleable.html#AndroidManifestActivity_launchMode On Jan 10, 8:22 am, "ocs...@gmail.com" wrote: > I have an application with activity A, B, C. A is MAIN/LAUNCHER

[android-developers] Re: GREF count increases with multi threading

2009-01-12 Thread A T
It showed the GREF count going all over the place. It would increase as the activity paused and resumed. It would go from 99 to 201 to 301 alll the way up to 801 or higher sometimes. The more I paused it (just by going to a different app) and returned (using the back button) the higher it went. I c

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Justin (Google Employee)
Well, I don't think this is really a "bug" in the traditional sense, but an adverse interaction between two pieces of code. The phone should checkpoint the filesystem when it goes to sleep, just in case. The filesystem should probably also not worry about cleanup on checkpointed filesystem, becaus

[android-developers] Re: Large amounts of data and app responsiveness

2009-01-12 Thread Romain Guy
Don't use a delayed Runnable, just post the Runnable. That will queue it the events queue. On Mon, Jan 12, 2009 at 5:07 PM, Al wrote: > > Hi all, > in my irc app, I'm trying to improve the responsiveness when it has to > deal with a lot of data at a single time. > > At the moment, once the data

[android-developers] Large amounts of data and app responsiveness

2009-01-12 Thread Al
Hi all, in my irc app, I'm trying to improve the responsiveness when it has to deal with a lot of data at a single time. At the moment, once the data is append()-ed to the textview, I post a delayed runnable (100ms delay) back to the UI thread to make it scroll right down to the bottom. Unfortuna

[android-developers] Re: 诚邀Androi d开发者加入团队!

2009-01-12 Thread 心蓝
感谢你的注册,如果有意向可以联系我,mail:kyowxf2...@gmail.com 2009/1/12 roland > 注册看看. :) > > On 12 jan, 02:49, SinFrancis wrote: > > Android是强大的,未来的电脑和手机融合领军者! > > 现在希望更多人支持Android的事业! > > > > 我们诚邀您的加入! > > 我们立足于Android平台,致力于Android平台软件的研发,Android平台的娱乐资源的收集! > > 如果你对Android充满信心,你对自己充满信心,请加入我们! > > > > 团队软件开发简

[android-developers] Re: GREF count increases with multi threading

2009-01-12 Thread fadden
On Jan 12, 12:43 pm, somecs wrote: > This issue inevitably ends up crashing my program if I cause the > update process to run more than 3 or 4 times in a row (which is > definitely a possibility with normal use by the unsuspecting user), so > it is unacceptable. Of course, it's unacceptable no ma

[android-developers] Re: Problematic Android heap management remaining cause of crashes

2009-01-12 Thread fadden
On Jan 12, 2:50 pm, blindfold wrote: > "ERROR/dalvikvm-heap(10734): 518400-byte external allocation too large > for this process" > > even though my app's own heap use has never grown above 5 MB as seen > from looking at its DDMS view. Makes no sense to me since there should > be over 10 MB left,

[android-developers] Re: JNI - FindClass() returns null

2009-01-12 Thread fadden
On Jan 9, 2:00 pm, "redlight9...@gmail.com" wrote: > i am trying to make callbacks to my android application from a native > C thread using JNI.  however when i call FindClass it returns a NULL > value.   i need to get the jclass value returned by FindClass() to > call GetStaticMethoID to make ca

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Stoyan Damov
On Tue, Jan 13, 2009 at 2:25 AM, Justin (Google Employee) wrote: > > Yes, your understanding is correct. Yes, you will need to unlock the > screen and wait for the home scree to appear before shutting the phone > down the second time. Shutting the phone down is better than pulling > the battery.

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Justin (Google Employee)
Yes, your understanding is correct. Yes, you will need to unlock the screen and wait for the home scree to appear before shutting the phone down the second time. Shutting the phone down is better than pulling the battery. Cheers, Justin Android Team @ Google On Jan 12, 4:22 pm, "Stoyan Damov" w

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Stoyan Damov
On Tue, Jan 13, 2009 at 1:46 AM, Justin (Google Employee) wrote: > > Here is some more information on what's happening. There is a problem > in yaffs2 where unlinked files are not removed from a check-pointed > filesystem. Whenever Android sleeps, it check-points the filesystem. > When you uninst

[android-developers] Re: TabHost crash in setup

2009-01-12 Thread Patrick
To say that TabHost not working without deriving from TabActivity is not a bug is a bit strange. Buttons do not require the activity to derive from ButtonActivity to not crash, do they? And it's not lilke a car not working without fuel. It's more like a car not working because there are other cars

[android-developers] Re: Bug - my ("desktop") screen won't scroll sideways

2009-01-12 Thread Stoyan Damov
On Tue, Jan 13, 2009 at 2:07 AM, Jamie wrote: > >> I scrolled my screen so I can see the left side of the screen, played >> with the device a bit (say 10 mins) and wanted to go back to the >> central view - I couldn't scroll - not 1 inch, not 1 mm, neither to >> the left, nor to the right. >> Luc

[android-developers] Re: I really, really, need help with the android emulator sensors, HELP PLEASE!

2009-01-12 Thread Fred Grott(shareme)
Androidmainifest.xml user permissions..just go through that drop down list until you find it.. On Jan 12, 5:32 pm, flashpro wrote: > How do you enable or start the emulator sensor service? I am trying > to test out the orientation sensor, but i get an error saying "could > not enable sensor

[android-developers] Re: Bug - my ("desktop") screen won't scroll sideways

2009-01-12 Thread Jamie
> I scrolled my screen so I can see the left side of the screen, played > with the device a bit (say 10 mins) and wanted to go back to the > central view - I couldn't scroll - not 1 inch, not 1 mm, neither to > the left, nor to the right. > Luckily, after I restarted the phone I am now able to scr

[android-developers] Re: service-activity question

2009-01-12 Thread Dianne Hackborn
Yes, all of the components of your app share data in the same place of the filesystem, regardless of the process they run in, so any changes you make there will be seen by all of them. Of course you have to be careful if you have multiple processes modifying the same file that they don't step on e

[android-developers] Re: When to put a service into a separate process?

2009-01-12 Thread Dianne Hackborn
If your service only need to do work every 30 minutes, then it shouldn't be left running all the time, just run based on scheduling an alarm. Given that, most of the time while your application is in the background there is no service running in it so the system is free to kill the process and eve

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Justin (Google Employee)
Here is some more information on what's happening. There is a problem in yaffs2 where unlinked files are not removed from a check-pointed filesystem. Whenever Android sleeps, it check-points the filesystem. When you uninstall an app the files are unlinked. If the device then goes to sleep before t

[android-developers] Re: I really, really, need help with the android emulator sensors, HELP PLEASE!

2009-01-12 Thread Stoyan Damov
Take a look at http://code.google.com/p/openintents/wiki/SensorSimulator On Tue, Jan 13, 2009 at 1:32 AM, flashpro wrote: > > How do you enable or start the emulator sensor service? I am trying > to test out the orientation sensor, but i get an error saying "could > not enable sensor 1" > I know

[android-developers] Re: customize tab indicator

2009-01-12 Thread skink
On 12 Sty, 20:18, "Evgeny V" wrote: > TabHost myTabHost = getTabHost(); > > tabHost.addTab(tabHost.newTabSpec("myTab") > > .setIndicator(res.getString(R.string.*myTitle*), > > res.getDrawable(R.drawable.*myIcon*)) > > Thanks > yes, i know how to set text/icon, but i want to set *entire* backgr

[android-developers] Re: Using G1 as modem

2009-01-12 Thread rgielen
If ou are happy enough to hhave root access, you might want to check out this one: http://www.gotontheinter.net/content/second-g1-story-proper-bluetooth-tethering-how-short - Rene On Jan 8, 1:15 pm, Tee wrote: > Hi Marco, or anyone that has successfully used g1 as modem give me a > shout and he

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Greg White
On Mon, Jan 12, 2009 at 4:54 PM, Joel Knighton wrote: > Okay, someone who can replicate this problem, can you perform a "cat > /proc/yaffs" and then post the output here. Curious to see the YAFFS > debugging info. > > I don't have the output handy, but I went from ~12K unlinked files to ~2K. This

[android-developers] Defining list content in xml

2009-01-12 Thread Nospin
Hi All, I've created an activity which displays a list using the efficient adapter approach described in the ApiDemos (List14). Each cell in the list displays an image and a label, which are set during the adapters getView method. What options are available for defining the contents of this lis

[android-developers] I really, really, need help with the android emulator sensors, HELP PLEASE!

2009-01-12 Thread flashpro
How do you enable or start the emulator sensor service? I am trying to test out the orientation sensor, but i get an error saying "could not enable sensor 1" I know that android disables sensors by default, but how do i enable them? I would really appreciate it if someone could give me some help.

[android-developers] Re: onListItemClick won't fire.

2009-01-12 Thread Kev
No easy solution, its been addressed already in the list. Have a look at: http://groups.google.com/group/android-developers/browse_thread/thread/1fde30269b97f998/8f982b5c68febcf5 Rgds, Kevin. On Jan 5, 8:01 am, chrispix wrote: > This is what I am trying to accomplish. > - Display List from Dat

[android-developers] Re: JNI - FindClass() returns null

2009-01-12 Thread Dave Sparks
Of the top of my head, I think you need to createThreadEtc with the flag to indicate that your thread will call into Java. On Jan 9, 2:00 pm, "redlight9...@gmail.com" wrote: > i am trying to make callbacks to my android application from a native > C thread using JNI. however when i call FindCla

[android-developers] Re: What's slow on Android?

2009-01-12 Thread Stoyan Damov
On Tue, Jan 13, 2009 at 12:38 AM, Tomei Ningen wrote: > > Thanks Stoyan, > > For 1, faster GC, is this related to stuttering in animation due to GC. Is it > possible to avoid them by calling System.gc() directly (such as when you > change between different game levels). Actually it's not. In m

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

2009-01-12 Thread Alexey
Loty could you give an example how lyaouts look for that ? On Jan 12, 4:31 pm, loty wrote: > I installedScoreboard(nice app BTW) and I don't think it's dragging > anything. I think it just uses gestures to initiate view flips with > scroll left/scroll right animations between views. That's what

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Joel Knighton
Beautiful. It does appear to be nUnlinkedFiles in userdata causing the problem after continual uninstall/reinstall (my phone is at 30k after infrequent installations, I notice yours is at 5k after a fresh install/battery trick). Working on a shell script that could potentially remedy this problem

[android-developers] Re: Problematic Android heap management remaining cause of crashes

2009-01-12 Thread blindfold
Haven't heard anything. Some of my earlier problems were caused by using a ListView created in another Activity. I use a ListView instead of the regular Menu because Menu unfortunately lacks a focus listener as needed to create a speaking main menu for blind users. However, a quick succession of k

[android-developers] Re: WebView loadData and XML Parsing Question

2009-01-12 Thread Mark Murphy
Ryan wrote: > Wow.. thanks Mark, that fixed it! I'm guessing it was the first suggestion, not the other two. > Do you know why that works, seems an odd way to get it to work?? It is definitely odd. However, it seems to cure a lot of ills, ills that I presume come from some issues with the imple

[android-developers] Re: Long click in ListActivity

2009-01-12 Thread loty
If you mean how to add context menu to your list - this is how you do it in your OnCreate add registerForContextMenu(getListView()); and then overwrite 2 methods and then overwrite 2 methods @Override public boolean onContextItemSelected(MenuItem item) {

[android-developers] Re: What's slow on Android?

2009-01-12 Thread Tomei Ningen
Thanks Stoyan, For 1, faster GC, is this related to stuttering in animation due to GC. Is it possible to avoid them by calling System.gc() directly (such as when you change between different game levels). For 2, are you writing intensive computation in your app? Do you want to have just a few

[android-developers] Re: What's slow on Android?

2009-01-12 Thread stoyan . damov
I'd iike to see: 1. Faster GC 2. JIT - if you could jit an entire app the first time it's started (or better yet - installed) 3. Implement/fix SoundPool On 1/13/09, Tomei Ningen wrote: > > Hello Android developers, > > We are building an Android-based device, and would like to know what we > sh

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

2009-01-12 Thread loty
I installed Scoreboard (nice app BTW) and I don't think it's dragging anything. I think it just uses gestures to initiate view flips with scroll left/scroll right animations between views. That's what I'm doing in one of my apps and it looks pretty similar to scoreboard. On Jan 12, 5:13 pm, Alexe

[android-developers] Re: WebView loadData and XML Parsing Question

2009-01-12 Thread Ryan
Wow.. thanks Mark, that fixed it! Do you know why that works, seems an odd way to get it to work?? On Jan 12, 10:10 pm, Mark Murphy wrote: > Ryan wrote: > > Actually, I think I am confusing the issue. I just tried the following > > code inside my WebView:- > > > final String mimeType = "text/ht

[android-developers] What's slow on Android?

2009-01-12 Thread Tomei Ningen
Hello Android developers, We are building an Android-based device, and would like to know what we should try to improve in terms of performance. If you can have just 3 things be much faster, what will they be? please be specific (instead of "graphics is too slow", something like "drawing

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

2009-01-12 Thread Alexey
UI looks like a home workspace. It support ability to flip/drag to the next view. So for example willl have NHL games schedule for today. And if you move screen side wise you'll see a schedule for tomorrow/ yesterday ( and it goes on and on ). If i take a home screen as an approach i'm kind of get

[android-developers] Re: WebView loadData and XML Parsing Question

2009-01-12 Thread Mark Murphy
Ryan wrote: > Actually, I think I am confusing the issue. I just tried the following > code inside my WebView:- > > final String mimeType = "text/html"; > final String encoding = "utf-8"; > html = "Tonight's weather in LondonA few evening > showers Min 6C(43F )Probability of rain: 89%Minimum > Te

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Stoyan Damov
On Tue, Jan 13, 2009 at 12:05 AM, Disconnect wrote: > Why not? Its available to anyone with a g1 these days (if you are willing to > wipe out your data, which it sounds like you have to do occasionally anyway) > > http://tinyurl.com/g1rc30 > > On Mon, Jan 12, 2009 at 5:00 PM, Stoyan Damov > wrot

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Stoyan Damov
Find it below, I'll do it again when the memory drops so you can compare: YAFFS built:Oct 6 2008 14:13:20 $Id$ $Id$ Device 0 "system" startBlock. 0 endBlock... 539 totalBytesPerChunk. 2048 nDataBytesPerChunk. 2048 chunkGroupBits. 0 chunkGroupSize. 1 nErasedBlocks.. 9

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Disconnect
Why not? Its available to anyone with a g1 these days (if you are willing to wipe out your data, which it sounds like you have to do occasionally anyway) *http://tinyurl.com/g1rc30* On Mon, Jan 12, 2009 at 5:00 PM, Stoyan Damov wrote: > > I guess by "you" you don't mean me - I don't have root ac

[android-developers] Re: WebView loadData and XML Parsing Question

2009-01-12 Thread Ryan
Actually, I think I am confusing the issue. I just tried the following code inside my WebView:- final String mimeType = "text/html"; final String encoding = "utf-8"; html = "Tonight's weather in LondonA few evening showers Min 6C(43F )Probability of rain: 89%Minimum Temperature: 6C(43F )Wind forc

[android-developers] Bug - my ("desktop") screen won't scroll sideways

2009-01-12 Thread Stoyan Damov
I scrolled my screen so I can see the left side of the screen, played with the device a bit (say 10 mins) and wanted to go back to the central view - I couldn't scroll - not 1 inch, not 1 mm, neither to the left, nor to the right. Luckily, after I restarted the phone I am now able to scroll as usu

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Joel Knighton
Just anybody. If you'd like, you could still do the first one for me and help out a bit. On Mon, Jan 12, 2009 at 4:00 PM, Stoyan Damov wrote: > > I guess by "you" you don't mean me - I don't have root access. BTW, I > just found another bug, which is very weird but I'll send it in a new > post.

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

2009-01-12 Thread Mark Murphy
Alexey wrote: > Mark do you think that kind of thing can be archived with view > flipper ? Well, I do not have Scoreboard installed, so I do not know exactly what the Scoreboard UI looks like. However, ViewFlipper only shows one view at a time, and I am not aware that it supports dragging. So, m

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Stoyan Damov
I guess by "you" you don't mean me - I don't have root access. BTW, I just found another bug, which is very weird but I'll send it in a new post. On Mon, Jan 12, 2009 at 11:58 PM, Joel Knighton wrote: > In fact, if you have root access, a "$su #echo all > /proc/yaffs #cat > /proc/yaffs" would be

[android-developers] Re: WebView loadData and XML Parsing Question

2009-01-12 Thread Ryan
Thanks for your reply Fred. The debug log shows the follwing line for getting the text out with the xpp.next() function. 01-12 21:53:48.705: INFO/System.out(549): Text Tonight's weather in LondonA few evening showers Min 6C(43F ) Probability of rain: 89%Minimum Temperature: 6C(43F )Wind force Bea

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Joel Knighton
In fact, if you have root access, a "$su #echo all > /proc/yaffs #cat /proc/yaffs" would be optimal. This should give a fair amount of debugging info for system, userdata, and cache. If you post that up here, I should be able to give it a shot. On Mon, Jan 12, 2009 at 3:54 PM, Joel Knighton wrot

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Joel Knighton
Okay, someone who can replicate this problem, can you perform a "cat /proc/yaffs" and then post the output here. Curious to see the YAFFS debugging info. On Mon, Jan 12, 2009 at 3:45 PM, Jean-Baptiste Queru wrote: > > When I tried to reproduce it a few months ago I think that I was able > to re

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

2009-01-12 Thread Alexey
Mark do you think that kind of thing can be archived with view flipper ? On Jan 8, 10:08 pm, Alexey wrote: > Well they definitely doing something else for scoreboard since you're > able to see next/previous view while dragging. > > On Jan 7, 6:49 pm, Mark Murphy wrote: > > > madcoder wrote: > >

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Jean-Baptiste Queru
When I tried to reproduce it a few months ago I think that I was able to reproduce it without such a shortcut, but I might be wrong. JBQ On Mon, Jan 12, 2009 at 1:42 PM, Stoyan Damov wrote: > > You might want to check whether this is related to having a shortcut > of the app on the home screen.

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Stoyan Damov
You might want to check whether this is related to having a shortcut of the app on the home screen. I have a hunch it is. Cheers On Mon, Jan 12, 2009 at 11:39 PM, Jean-Baptiste Queru wrote: > > There is a bug somewhere (it's assigned to me for investigation) where > the system process keeps apk

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Jean-Baptiste Queru
There is a bug somewhere (it's assigned to me for investigation) where the system process keeps apk files open after they get unlinked in some scenario close to what you mention (install, launch, uninstall), which can then trigger the yaffs2 leak bug. JBQ On Mon, Jan 12, 2009 at 1:35 PM, Stoyan

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Stoyan Damov
Thanks. A little bit more info about that bug - I *am* experiencing it again. It *is* related to re-installs of one and the same application over and over again. I reinstalled my app maybe ~20 times today and slowly my ~70 went to 63 MB. My app is 2MB so I have to have ~68MB but I don't. I notice

[android-developers] Re: WebView loadData and XML Parsing Question

2009-01-12 Thread Fred Grott(shareme)
Ryan launch app run using debugger in Eclipse and post the debug log.. Several of us are developing apps using Webview, I am and several others so the better feedback we can give each other via this list and others helps lift all our webview skills at once :) On Jan 12, 3:19 pm, Ryan wrote: >

[android-developers] Re: When is (or isn't) instance state restored ?

2009-01-12 Thread Justin (Google Employee)
There is no way to do this. When you press back, your instance of the application is over, therefore there is no instance state to save. Perhaps you are saving something in instance state that doesn't really belong there? Persistent state and instance state are two different things. Data that need

[android-developers] Animate an AlertDialog

2009-01-12 Thread Tom Medhurst
I have an AlertDialog box instance I created from AlertDialog.Builder and I want to animate it with a anim/appear1.xml file I created earlier. Normally I would initialize the animation using AnimationUtils.loadAnimation, but I am having a problem applying this animation to the AlertDialog. To ge

[android-developers] Email attachment not being sent

2009-01-12 Thread Marklar
Hello, I've been trying to send a file as an email attachment. My program creates the file (a .csv file), and attempts to send it using a mail client, like the gmail client. I have gotten as far as Gmail opening up with the correct Subject and what appears to be the file attached to it but when I

[android-developers] GREF count increases with multi threading

2009-01-12 Thread somecs
I have looked as hard as I could to find past posts on this topic, but nothing I found seems to be able to help... So... I have one additional thread running in my activity. This thread's job is to scan a content provider and check the entries to see if they need updating. It is running a method

[android-developers] Long click in ListActivity

2009-01-12 Thread J . Pablo Fernández
Hello, Any ideas how to implement long click on the items of a ListActivity that is build using a ListAdapter and no layout, just the built in. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Develo

[android-developers] Re: Is it possible to replace or extend the dialer application ?

2009-01-12 Thread A T
You'll notice that a different intent is fired when the calls ends. filter for it and make it default as well. (use the log of course). On Mon, Jan 12, 2009 at 2:12 PM, shimo...@gmail.com wrote: > > Hi, > > Did that, and it seems to work, but - > > Whenever the device is in the built-in dialer ap

[android-developers] Re: Utterly simple app keeps giving me "ActivityManager: [1] Killed"

2009-01-12 Thread Droid Rage
If you're referring to my AndroidManifest.xml file, it looks like this: http://schemas.android.com/apk/res/android"; package="com.mypackage.testsuite.MyApp"> For the life of me, I can't figure

[android-developers] WebView loadData and XML Parsing Question

2009-01-12 Thread Ryan
Hi, When I use the WebView.loadData function from a sring returned from XMLPullParser.nextText, the WebView always displays the following error message:- Web page not available The Web page at data:text/html;utf-8... might be temporarily down.. However, if I hard code the same text into the lo

[android-developers] Re: customize tab indicator

2009-01-12 Thread Evgeny V
TabHost myTabHost = getTabHost(); tabHost.addTab(tabHost.newTabSpec("myTab") .setIndicator(res.getString(R.string.*myTitle*), res.getDrawable(R.drawable.*myIcon*)) .setContent(*new* Intent(*this*, MyImplementation.*class*))); You can check also the APIDemos example Thanks On Mon, Jan 12, 2009 a

[android-developers] Re: When to put a service into a separate process?

2009-01-12 Thread Mark Murphy
iliketolearn wrote: > Otherwise, if I put > the service in the same process as the rest of my application, the > system would need to keep this massive process (containing various > views, activities, and a service) around continuously - something very > inefficient. Only if you're holding onto

[android-developers] When to put a service into a separate process?

2009-01-12 Thread iliketolearn
At one of the Android Google IO sessions, Dan Morrill mentioned that it would be rare to need to do so, without providing much more info. Also, the posts from Google/Android employees in this forum don't recommend doing this either, often citing "overhead." The official android documentation doesn

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Jean-Baptiste Queru
Second hand information about the battery trick: yaffs2 has some sanity-checking code that can detect and recover from unlinked files, but that code is only run when the filesystem wasn't cleanly unmounted. JBQ On Mon, Jan 12, 2009 at 1:02 PM, Stoyan Damov wrote: > > On Mon, Jan 12, 2009 at 10:

Re: BUG, TERRIBLE BUG!!! Re: [android-developers] Re: HELP! (was Re: Low on space)

2009-01-12 Thread Stoyan Damov
On Mon, Jan 12, 2009 at 10:55 PM, Dianne Hackborn wrote: > > Another place to look -- there is a filesystem bug that can sometimes happen > where unlinked files are not recovered. Here is the comment from an > engineer who knows more about it: > > "They can easily tell by looking at the number o

  1   2   3   >