Re: [android-developers] Debug Certificate Expired

2010-05-03 Thread TreKing
On Mon, May 3, 2010 at 2:59 PM, Nmix wrote: > Anyone know what's going on here? http://lmgtfy.com/?q=Debug+Certificate+expired - TreKing - Chicago transit tracking app for Android-powered devices ht

[android-developers] Re: Stopping or Killing a Thread

2010-05-03 Thread Cameron.M.Johnson
Thanks for the reply Jeff. I tried your approach. I set the while loop in the void run() method to false in the surfaceDestroyed() method to stop the thread. I called thread.interrupt and thread.join as well exactly as you described. When I close the program and reopen it, it gives me the FC er

[android-developers] Problem with Saving and opening file on moto-droid

2010-05-03 Thread André
Hello, I have an app that can read and write txt files to the phones sdcard. By using this code for reading files: @Override protected void onListItemClick(ListView l, View v, int position, long id) { super.onListItemClick(l, v, position, id); mFile

Re: [android-developers] Problem with Saving and opening file on moto-droid

2010-05-03 Thread TreKing
On Mon, May 3, 2010 at 3:40 PM, André wrote: > Any suggestions? Define "it does not seem to be working on moto droid". - TreKing - Chicago transit tracking app for Android-powered devices http://sit

[android-developers] Re: Android Debugging Issues

2010-05-03 Thread SeriousCoder
Bob, sorry I think I may have confused you. The debugger doesnt stop at all, I shouldnt have said the debugger doesnt stop at the exact point, which is completely untrue because it doesnt stop at all. Thanks for your detailed email, unfortunately that doesnt solve my problem. On Apr 28, 1:46 am,

[android-developers] Re: Android Debugging Issues

2010-05-03 Thread SeriousCoder
The version of IDE is as follows : Eclipse IDE for Java Developers Build id: 20100218-1602 (c) Copyright Eclipse contributors and others 2000, 2009. All rights reserved. Visit http://eclipse.org/ This product includes software developed by the Apache Software Foundation http://apache.org/ yes

[android-developers] Android custom hardware

2010-05-03 Thread Sri2
Hi all, I need to create a custom phone hardware using android platform that will use minimal functions..I don't need accelerometer, camera even mic and loud speaker. all i need is a SIM card slot and minimal hardware features that will accommodate a custom compiled android platform. I need pointe

[android-developers] Speed issue: content provider vs plain sqlite db

2010-05-03 Thread Moss
Hi there, I have made an app that makes extensive use of an internal sqlite db to save news feeds. Those feeds are parsed from an URL and then cached in the DB so that I'm able to re-add them to a ListView after a onPause()/onResume() pair. It's all quite nice but it takes about 2 or 3 seconds to

[android-developers] Re: [android-porting] Re: Alarm Clock Localization query

2010-05-03 Thread enh
please see my response to this same question on the aforementioned bug. (in future, please raise _new_ bugs for new problems. don't reopen old unrelated bugs.) --elliott On Mon, May 3, 2010 at 14:05, Robert Greenwalt wrote: > It depends alot on what device you're using.  The strings are coming

[android-developers] Droid requires specific permission to read GMail attachments ???

2010-05-03 Thread Kevin Gaudin
Hello, My application, called EmailAlbum, deals with sending and receiveing e- mail attachments (basically archive files). The app runs successfully on most android 1.5+ devices with GMail app installed (including my brand new Nexus One), and now I receive crash reports on opening GMail attachmen

Re: [android-developers] How to create Android library in Eclipse?

2010-05-03 Thread Xavier Ducrohet
If you're code is straight java with no android resources then just create a Java project and reference it by your Android projects. Android libraries allowing you to share (android specific) code and resources between projects is not supported at the moment, but it's coming. Shared libraries are

Re: [android-developers] Droid requires specific permission to read GMail attachments ???

2010-05-03 Thread Mark Murphy
> Hello, > > My application, called EmailAlbum, deals with sending and receiveing e- > mail attachments (basically archive files). > > The app runs successfully on most android 1.5+ devices with GMail app > installed (including my brand new Nexus One), and now I receive crash > reports on opening

RE: [android-developers] Sliding Drawer question

2010-05-03 Thread Tommy
I seem to be running into the same issue here. See I am wondering if the fact that my listview isn't populated at start up if that has something to do with it. It takes a few seconds for the data in the listview to be pulled down and populated. Could this be affected the sliding drawer? If so is th

[android-developers] Re: Nexus One DDMS only two processes

2010-05-03 Thread fadden
On Apr 30, 10:32 pm, John Southworth wrote: > I'm having trouble using the nexus one in DDMS on Fedora 12. It is > detected fine and I can see two processes, cooliris and uploader. > These are the only two that show up. The emulator shows up just fine > and i can debug from there. Does anyone have

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-05-03 Thread Michael Chips
Lucky guys! I'm from Ukraine and can't get even one phone, albeit my game was ADC2 finalist and even had 5k+ downloads in Market before 28th of February.. Damn.. I'm really dissapointed :( Google could send european version of Droid (Milestone) for example.. Agr!!.. -- You received this messag

[android-developers] Re: Problem with Saving and opening file on moto-droid

2010-05-03 Thread André
Sorry, it force closes on reading in a file. And can't write to sdcard on write. On May 3, 10:48 pm, TreKing wrote: > On Mon, May 3, 2010 at 3:40 PM, André wrote: > > Any suggestions? > > Define "it does not seem to be working on moto droid". > >

[android-developers] basic website integration

2010-05-03 Thread charles berman
can someone help to point me into the right direction for a program that i have been trying to plan.. im trying to log into a website, and have found plenty of information to do it, but it seems that once i log into it, i dont get any confirmation. the second task i want to do is to be able to lo

[android-developers] Re: Droid requires specific permission to read GMail attachments ???

2010-05-03 Thread Kevin Gaudin
Thank you for your answer. I understand that the GMail app is not part of the SDK and that it can be more secure to inform the user that an app will be able to read it's mail attachments... But it's quite surprising to learn about this new permission requirement in a crash-report for one specific

Re: [android-developers] Re: Droid requires specific permission to read GMail attachments ???

2010-05-03 Thread Mark Murphy
> But it's quite surprising to learn about this new permission > requirement in a crash-report for one specific device. Developing user- > friendly apps is not possible when the rules change without warning. The rule is: don't try using the Gmail application this way. Again, the Gmail application

[android-developers] Android Pre Compile step just became very slow

2010-05-03 Thread Eric F
Everything has been going fine on my project. But recently after adding some resources (too many into the assets folder). Realizing that, then deleting the files. It seems like the Android Pre Compile step is taking a long time now. I'm not sure if the two things are related, or what's causing the

[android-developers] Re: Droid requires specific permission to read GMail attachments ???

2010-05-03 Thread Kevin Gaudin
I just declared a default view intent-filter for archive mime-types... and this is GMail which is calling my Activity, providing a content:// Uri to the attachment. When I try to open that attachment, I am now asked for a permission... this is quite odd. My code is called the same way by any other

[android-developers] Re: Droid requires specific permission to read GMail attachments ???

2010-05-03 Thread Kevin Gaudin
And NOW, I am forced to include that exotic private READ_GMAIL permission to my Manifest. Kevin On 4 mai, 00:43, Kevin Gaudin wrote: > I just declared a default view intent-filter for archive mime-types... > and this is GMail which is calling my Activity, providing a content:// > Uri to the atta

Re: [android-developers] Re: Droid requires specific permission to read GMail attachments ???

2010-05-03 Thread Mark Murphy
> And NOW, I am forced to include that exotic private READ_GMAIL > permission to my Manifest. Ah. My apologies. Not sure what to tell you about that, other than to perhaps file an issue on b.android.com. > > Kevin > > On 4 mai, 00:43, Kevin Gaudin wrote: >> I just declared a default view intent

Re: [android-developers] Android Pre Compile step just became very slow

2010-05-03 Thread Xavier Ducrohet
If you're using Eclipse, go to the preferences and under Android > Build, set the output to verbose. On Mon, May 3, 2010 at 3:36 PM, Eric F wrote: > Everything has been going fine on my project. But recently after > adding some resources (too many into the assets folder). Realizing > that, then d

[android-developers] Re: Google should prohibit task killers on Android Market

2010-05-03 Thread Albert
As far as I know most task killer apps will kill processes only if you tap on the process itself, so your users are probably killing the process of your widget to then wonder why it has stopped working... -- You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] Re: Google should prohibit task killers on Android Market

2010-05-03 Thread Eric F
The solution here is a change in attitude. I don't use a task killer on my phone, never have. And my phone sports good performance for weeks on end. I do, however, frequently visit manage applications -> running services. And I also uninstall apps that run services that probably shouldn't be. Exa

[android-developers] catching both click and long click on a ListView

2010-05-03 Thread sdphil
I have a ListView in my Activity. I am trying to catch both a click and a long click (which should bring up a context menu). ListView lv = (ListView) findViewById(R.id.MyListView); ... lv.setOnItemClickListener(this); lv.setOnCreateContextMenuListener(this); ... I notice that

[android-developers] Re: No Phone Signal in Emulator (2.1)

2010-05-03 Thread Brion Emde
I'm not sure what you're asking. The developer guide is pretty clear that you can't make or receive phone calls via the emulator, but you can simulate phone calls via the console. What are you talking about? On Apr 30, 7:55 am, Bruno Melo wrote: > Hi there, i'm having problems with the emulator

[android-developers] Re: catching both click and long click on a ListView

2010-05-03 Thread sdphil
oh - by the way, I also tried using registerContextMenu, but that just calls setOnCreateContextMenuListener anyway, so... On May 3, 4:09 pm, sdphil wrote: > I have a ListView in my Activity. > > I am trying to catch both a click and a long click (which should bring > up a context menu). > >     L

[android-developers] Linkify-ed TextView non-linked text disappears on touch

2010-05-03 Thread westmeadboy
I'm not sure if this is by design but... I have a text view (white text on black background) which is linkified. If at least one link is created and the user touches on any non-linked part of the text, then the non-linked part disappears (or turns black, I'm not sure). Is there any way to stop th

[android-developers] Re: Something wrong here, didn't expect com.commonsware.android.rotation.two to be resumed

2010-05-03 Thread Zsolt Vasvari
Yes, this message is always displayed in my app as well. Just ignore it. On May 3, 10:49 pm, Mark Murphy wrote: > Adrian Vintu wrote: > > Hi Mark, > > > Thank you for your answer. Please let me (us) know if you have a > > solution for this. > > The solution appears to be: ignore the message. Oth

[android-developers] Re: trying to write to file and failing

2010-05-03 Thread emada.adame
no, so i did and it crashes on just "String root = Environment.getExternalStorageState();" but thanks for the reply. On Apr 30, 7:29 pm, Matt Hill wrote: > Hi emada.adame. > > Just a thought, but have you tried calling getExternalStorageState() > to see if it recognizes the media on your phone? >

[android-developers] Re: Android Pre Compile step just became very slow

2010-05-03 Thread Eric F
Thanks for your quick response. I like the verbose output. Now that I see the timestamps I guess compile time has only gone from (what used to be build automatically and unnoticed a couple of seconds tops) to a little over a minute isn't in any way outrageous. It just felt like a lot longer. I do s

[android-developers] Re: trying to write to file and failing

2010-05-03 Thread emada.adame
the debugger gives me " ViewRoot.handleMessage(Message) missing " right before it crashes if that helps any..idk... On May 3, 7:03 pm, "emada.adame" wrote: > no, so i did and it crashes on just "String root = > Environment.getExternalStorageState();" but thanks for the reply. > > On Apr 30, 7:29 

[android-developers] My app crashes upon relaunch

2010-05-03 Thread Tomcat
Environment: - Windows XP box - Eclipse with ADT 9.6 - Test Devices: Droid and Eris I am putting the finishing touches on a new game -- my first Android app. The last big problem I am having is as follows. After launching the app from the home screen, using and exiting, *relaunching* the app fro

Re: [android-developers] Re: trying to write to file and failing

2010-05-03 Thread Xavier Ducrohet
Getting the full logcat output might help. Xav On Mon, May 3, 2010 at 5:09 PM, emada.adame wrote: > the debugger gives me " ViewRoot.handleMessage(Message) missing " > right before it crashes if that helps any..idk... > > On May 3, 7:03 pm, "emada.adame" wrote: >> no, so i did and it crashes on

Re: [android-developers] Android custom hardware

2010-05-03 Thread Frank Weiss
Have you checked out beagle board? On May 3, 2010 2:07 PM, "Sri2" wrote: Hi all, I need to create a custom phone hardware using android platform that will use minimal functions..I don't need accelerometer, camera even mic and loud speaker. all i need is a SIM card slot and minimal hardware feat

Re: [android-developers] Re: Something wrong here, didn't expect com.commonsware.android.rotation.two to be resumed

2010-05-03 Thread Dianne Hackborn
Sorry yes the message is just some code in the system that gets out of sync (and at that point is fixing itself). It is nothing to worry about. On Mon, May 3, 2010 at 4:44 PM, Zsolt Vasvari wrote: > Yes, this message is always displayed in my app as well. Just ignore > it. > > On May 3, 10:49

Re: [android-developers] Re: Google should prohibit task killers on Android Market

2010-05-03 Thread Dianne Hackborn
Yep the problem is largely associated with services and not just random processes running. That is why the running services UI was introduced. Not only does it let you see exactly what is doing this (and deal with it), but it is also the first step in making developers more accountable for (and o

[android-developers] Re: RingtoneManager getRingtone sometimes returns null

2010-05-03 Thread yidongsoft
1. Is your ringtone added to the media lib? 2. Is your tingtone too large? Because it will return null while you cropping an image and the size is too large. This is what I guess. Please test it yourself. Another way to find the answer if reading the android source code. On 5月2日, 下午9时50分, Bowz w

[android-developers] Re: Android : List View or Spinner - Need your help guys

2010-05-03 Thread yidongsoft
Customize a listview as: String[] lastName; String[] firstName; int[] ids; ... public object getItem(int position){ return ids[position]; } ... Do you understand me? your request is just a piece of cake. On 5月3日, 上午12时39分, Ramesh Sangili wrote: > Team, > > I would like to know how to display a Li

[android-developers] Re: Sliding Drawer question

2010-05-03 Thread Tommy
I seem to be running into the same issue here. See I am wondering if the fact that my listview isn't populated at start up if that has something to do with it. It takes a few seconds for the data in the listview to be pulled down and populated. Could this be affected the sliding drawer? If so is th

[android-developers] Re: Widget updated without my invoking

2010-05-03 Thread yidongsoft
Can any one help me? I am in help... On 5月3日, 下午4时39分, yidongsoft wrote: > Widget updated without my invoking and text size and colour settings > lost. > > My widget consists of a TextView. I set the text colour and text size > with > > views.setInt(R.id.widgetText, "setTextColor", > getResources

Re: [android-developers] Re: [Help] How to get thumbnail picture from HTC Hero?

2010-05-03 Thread Vincent Tsao
On Mon, May 3, 2010 at 9:55 PM, Streets Of Boston wrote: > "create a thumbnail by myself?" > Yes. > I found that thumbnails are not always generated. > > hi, thanks for your reply "generate thumbnail by myself" this action will cost more time comparing with get thumbnail by using API, i think thi

[android-developers] how to address the error by stack info

2010-05-03 Thread yangm
I meet a system_server crash, from the log , I got these information. How to address the error(which line occur the error) 16:59:51.801 1189 1189 I DEBUG : pid: 1237, tid: 2066 >>> system_server <<< 16:59:51.801 1189 1189 I DEBUG : signal 4 (SIGILL), fault addr 4dd2e928 16:59:51.801 11

[android-developers] Button to act as scrollbar

2010-05-03 Thread cupid062985
Hi Guys, I'm trying to get rid of the usual scrollbar when displaying a list. I want to have a customized scrollbar in the form of an ImageButton. Can you help me on this one? Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] Issue with setBuiltInZoomControls on HTC Incredible

2010-05-03 Thread Felix
I use a WebView to display JPGs to users. The WebView allows me to easily add zooming functionality without having to write the code to actually do it. Anyway, I've been getting a lot of Bug reports from users with an HTC Incredible that the zooming is broken. I bought an HTC Incredible, and teste

[android-developers] Re: [Help] How to get thumbnail picture from HTC Hero?

2010-05-03 Thread Streets Of Boston
I wrote some comments for bug #1480 (under the name flyingdutc...@gmail.com). On May 3, 10:09 pm, Vincent Tsao wrote: > On Mon, May 3, 2010 at 9:55 PM, Streets Of Boston > wrote: > > > "create a thumbnail by myself?" > > Yes. > > I found that thumbnails are not always generated. > > hi, thanks fo

[android-developers] Re: AppWidget retrieving data from another Application

2010-05-03 Thread James W
Ok, I can partially answer my own question, in between posting and getting past the moderators, I worked out that I need a Context to call getContentResolver(), and whilst the AppWidgetProvider is not derived from Context, a Context is passed through to all the AppWidgetProvider calls such as onUpd

[android-developers] Re: Retrieving the Json data into a list view...

2010-05-03 Thread Rahul
Thanks Jose and Brion for ur support. Jose's post worked like a wonder. Got to know what mistakes i made... I m really thankful to you for solving my problems with coding. It will be very helpful for developers, especially for amateurs like me... Thank u very much once again... KUDOS to Android de

Re: [android-developers] Re: Listview background image changes on Scroll?

2010-05-03 Thread dillirao malipeddi
You are right If you are implementing your own list view it will call getView() method for every list item displayed in the visible area. when you scroll down/up same will happen and again it calls the getView(...) method for every getView(..) --> public View getView(int position, View conve

[android-developers] Re: onDraw being called - is that correct?

2010-05-03 Thread Gaurav Vaish
How can I do that? :( My custom view comprises of multiple bitmaps (collage) and some draw- text's -Gaurav On May 3, 2:44 pm, Second Dancer wrote: > Yes, this is the correct behavior. In order to avoid drawing your whole > view, you should define a bitmap to cache your canvas. > > 2010/5/3 G

Re: [android-developers] Re: How to pack a config file into my apk package

2010-05-03 Thread Ke Wu
It's really a good idea, and we are doing thing as this. But you know, our configuration data and application data are so huge that we must write down many code to write them the first time. Anyway, thanks for your idea. 2010/4/22 FrankG > hello kerlw, > > just a idea from my side : > > Why not

[android-developers] Scrolling views

2010-05-03 Thread AusR
Hi, I'm trying to design a type of view but unsure what is possible and the best approach. I'm trying to create a timetable type view with the following properties: 1. Time 'row' across top vertically static and scrollable horizontally 2. Student(or day) 'column' on left side, horizontally stati

[android-developers] SocketTimeoutException: Read Timed Out Occurs Only via Mobile

2010-05-03 Thread Paul Tongyoo
Hi all-- I'm receiving "SocketTimeoutException: Read Timed Out" errors in my client app when attempting to post image data to a central server over HTTPS. What's odd is that I cannot reproduce the error when posting data from my local machine (via the emulator) to the same server. Increasing the

[android-developers] Re: HTTP post to non-standard port over Wifi?

2010-05-03 Thread Vinay S
Hi, Did you look at the router does it allow outgoing TCP traffic to flow through for port 8080? -Vinay On May 3, 3:48 pm, Per wrote: > Hi, > > I have trouble getting http post to work over WiFi. > > The server listens at port 8080, and posting works just fine when > disabling WiFi and just usi

[android-developers] Re: How to create Android library in Eclipse?

2010-05-03 Thread Menion
You say that sharing resources between projects is coming? Hopefully, thx for very, very good info :) On May 3, 11:34 pm, Xavier Ducrohet wrote: > If you're code is straight java with no android resources then just > create a Java project and reference it by your Android projects. > > Android lib

[android-developers] Re: HTTP post to non-standard port over Wifi?

2010-05-03 Thread Per
(blushing) arrgh - should have thought of that. You're right. Wifi access to that ip:port does not work from a PC, either. Sorry for taking up anyone's bandwidth :) /Per On 4 Maj, 07:49, Vinay S wrote: > Hi, > > Did you look at the router does it allow outgoing TCP traffic to flow > through fo

[android-developers] Re: In process communication

2010-05-03 Thread T-Droid
Hi, I solved the problem as spachner mentioned. From my point of view it was easy to understand. About the second solution I still get not the whole idea. If I have a connection between the service and the activity. How do they communicate? Is there an interface between them? @Dianne: Thanks to

[android-developers] Re: In process communication

2010-05-03 Thread T-Droid
Sorry, I was meaning I'm using the solution of Kumar Bibek. The static one. On May 4, 8:34 am, T-Droid wrote: > Hi, > > I solved the problem as spachner mentioned. From my point of view it > was easy to understand. > > About the second solution I still get not the whole idea. If I have a > connec

[android-developers] Dynamic view with two layout

2010-05-03 Thread T-Droid
Hi @all, I wanted to create an activity where the top of the activity is dynamic and depends on a state change of the application (pressing a button). Here is my xml file: http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="fill_parent" an

<    1   2   3