[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

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

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] 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: 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: 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

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

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] 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

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

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

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] 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: 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

[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

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

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

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

[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

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

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] 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

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

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

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] 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

[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

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

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] 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

[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

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

Re: [android-developers] View files within package data

2010-05-03 Thread TreKing
On Sun, May 2, 2010 at 5:13 PM, Irshad A. Q. wrote: > I've searched and searched for this but have not found anything of use any > help will be greatly appreciated. > Did you search the documentation? http://developer.android.com/intl/fr/reference/android/content/Context.html#getFilesDir()

[android-developers] Re: Multitouch API question

2010-05-03 Thread Robert Green
FYI - Multitouch is not unusable. It just has limitations you should be aware of. The new phones (Incredible and Evo) are much better with it. If you want to see a working multitouch example used in a game, I just launched a game called Antigen the other day. If you are running 2.0+, you'll get

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

2010-05-03 Thread TreKing
On Sun, May 2, 2010 at 11:39 AM, Ramesh Sangili wrote: > How to do it? The specifics will largely depend on which you choose, but in either case you can create a list of custom objects which contain the ID, first name, and last name and set that as the data for the adapter of either control. Bo

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

2010-05-03 Thread Robert Green
Task killers are the only way I can get a mostly lag-free experience playing games. It's surprising how loaded up with services a phone gets when you install even a moderate amount of useful tools. You can see an obvious difference even on a nexus one when you cut out some of the tasks you don't

[android-developers] Re: Enabling Pattern lock without a set pattern

2010-05-03 Thread kec6227
On May 1, 7:44 pm, "Alex S." wrote: > Hey. > > I get a "forgotpattern" Button when i try > To enter too much wrong ones. > Though im on a desire. > Not sure if its a Sense feature. > > Greets > Hmm well I am supposing that the user has never SET a pattern (in settings > locations and security > s

[android-developers] Debug Certificate Expired

2010-05-03 Thread Nmix
I got a surprise today when I edited the source for a project in Eclipse, for an existing Android app. Here is the console message: [timestamp - project] Error generating final archive: Debug certificate expired on 30/04/10 2:13 PM! Anyone know what's going on here? As a precaution, I've already

Re: [android-developers] Update/alter Android Preferences dynamicaly

2010-05-03 Thread TreKing
On Sat, May 1, 2010 at 4:28 PM, Lars Nielsen Lind wrote: > Is it in anyway possible to write to, during runtime programmatically, the > XML files placed in the /res directory - and if - how do we do that? > Nope. All /res/ content is read-only. > Is it possible - programmatically - to create a

[android-developers] Re: How to bring activity to front?

2010-05-03 Thread jotobjects
What are you trying to accomplish? Do you expect to make the Activity disappear and the prior one to appear as if you pressed the BACK key? I think that is an incorrect understanding. what parameter do you pass to moveTaskToBack and what is the return value of the call? On May 2, 9:23 pm, jpatha

Re: [android-developers] finish an activity not started from current activity

2010-05-03 Thread TreKing
On Sat, May 1, 2010 at 10:45 AM, fabricio wrote: > This action will result in an Intent being received by a BroadcastReceiver, > defined in my application. > Finally, this BroadcastReceiver will start an activity ("activity 2") to > deal with this intent. > Why not just start the second activity

Re: [android-developers] save (complex?) application state to bundle

2010-05-03 Thread TreKing
On Fri, Apr 30, 2010 at 11:33 AM, blew wrote: > Unfortunately it appears that we can't serialize bitmaps and considering > they're a part of my "creature" I can't seem to see a workaround. > You don't have to serialize out every single part of an object - only those parts which contain it's curr

[android-developers] Re: How to connect with MS SQL to android

2010-05-03 Thread jotobjects
It depends on how you want to connect. Since JDBC is part of the Android SDK you should be able to drop jdbc driver jar for MS-SQL into you app and do it that way. If you want your app to use a web service interface as suggested by the previous response then you are not really connecting to MS-SQL

[android-developers] Re: TTS through blue tooth

2010-05-03 Thread EdKawas
I think that I found the answer here: http://groups.google.com/group/android-developers/msg/fe645e11234091c1 But I would like to confirm whether or not I can hear audio through a non a2dp headset. I can talk/listen through it for calls, so why cant I also listen through it at other times? Thanks

Re: [android-developers] ubuntu 10.04 emulator not launching

2010-05-03 Thread Greg Donald
On Mon, May 3, 2010 at 2:30 AM, riazrahaman wrote: > Was not able to launch the emulator on Ubuntu 10.04. > > Is this a known issue with the 10.04 Lucid lynx ubuntu? Works fine for me. Just tested, all mine work. -- Greg Donald destiney.com | gregdonald.com -- You received this message beca

[android-developers] Re: Development and debugging tools

2010-05-03 Thread brucko
Hi Sandy, I'm bit of an amatuer, and other people here know a lot more about this than I do. Have a look at this blog... http://ttlnews.blogspot.com/2010/01/attacking-memory-problems-on-android.html It will help you with some of the automated heap dump stuff I think you are looking for. I had a

Re: [android-developers] Very simple problem (probably)

2010-05-03 Thread TreKing
On Mon, May 3, 2010 at 2:06 PM, Tom3030 wrote: > Do I have to do some fancy threading to update the UI or what? > Basically? Yup. The gist of it is this: setText does just that - sets the text to be used on the view - it doesn't actually do any drawing. That happens later on in the main thread,

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

2010-05-03 Thread Greg Donald
On Mon, May 3, 2010 at 1:59 PM, gcstang wrote: > Way too extreme, without the Task Killers battery life on most phones > would be horrible and the speed even on some phones such as the Droid > would slow down too much waiting for background tasks to die on their > own. Not to mention Sprint is ac

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

2010-05-03 Thread Rootko
Got mine today, my girlfriend pick it for me, cause I had to travel for business trip, damn... Anyway my location - Presov, Slovakia -- 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@goo

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

2010-05-03 Thread TreKing
2010/4/30 Tomáš Hubálek > people either don't know what exactly task killers do and how they work or > just don't read doc. > Or they're just flipping stupid. I read the comments on one app I use once and one poster said something to the effect: "stops working every time I run task killer" atta

[android-developers] Re: How to connect with MS SQL to android

2010-05-03 Thread Brion Emde
Your SQL database is running on a remote server. You need to build a web-service, an application that turns queries via Http GET requests, and updates via Http POST, PUT and DELETE requests, into operations on your database. It is probably built right into your SQLServer and uses XML or JSON or bo

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

2010-05-03 Thread Rafał Grzybowski
I'm working on two android applications and would like to share some code between them. My guess is I need to create Java library and put all the required code there. But I don't know: - what kind of project create for the library in Eclipse, - does the shared library can contain Android resour

[android-developers] Re: draw a 2d marker on a openGL scene

2010-05-03 Thread Robert Green
If you want the 2D objects to have depth, you'll want to use billboarded quads. You may want to look around to find a better implementation but here's a tutorial - http://www.lighthouse3d.com/opengl/billboarding/ On May 3, 8:47 am, Paolo wrote: > Hi guys! > > I've a problem and I'm not able to

[android-developers] Re: TextView cuts off part of an initial capital "J"

2010-05-03 Thread bwin
OK, here you go: http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > On May 3, 11:55 am, Anurag Singh wrote: > Paste your xml file. > > - Anurag Singh > > > > On Mon, May 3, 2010 a

[android-developers] Very simple problem (probably)

2010-05-03 Thread Tom3030
Hi All, This is probably going to be extremely simplistic, but I have an activity that does some work and is supposed to update the text view to let the user know where the process is at (some sort of progress indicator basically). But for some reason none of my textview updates make it to the scr

[android-developers] Re: Multitouch API question

2010-05-03 Thread Rafał Grzybowski
Thank you. On 1 Maj, 14:12, Yahel wrote: > Hi, > > You should try to search the group for "multitouch broken" and you'll > find three or four threads around the fact that on Android, multitouch > is unusable. > > Seems to be because of the cheap hardware used in htc and motorola > phones, not the

[android-developers] Re: ButtonDown and ButtonUp events for Android buttons?

2010-05-03 Thread brucko
Have you tried an OnTouchListener? This will send you motion events which you can check for ACTION_DOWN and ACTION_UP -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com

Re: [android-developers] troubles reading other apps config files

2010-05-03 Thread TreKing
On Fri, Apr 30, 2010 at 4:42 AM, Aivlis wrote: > I have to access to the data folder of other applications from my > application to read configuration's file and so on > No, you don't. > Can you suggest me how to solve this problem? > You don't. This is not allowed, and for good reason. Why,

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

2010-05-03 Thread gcstang
Way too extreme, without the Task Killers battery life on most phones would be horrible and the speed even on some phones such as the Droid would slow down too much waiting for background tasks to die on their own. Although I understand your frustration there has to be a better resolution for now

Re: [android-developers] TextView cuts off part of an initial capital "J"

2010-05-03 Thread Anurag Singh
Paste your xml file. - Anurag Singh On Mon, May 3, 2010 at 11:59 PM, bwin wrote: > I'm having a problem with TextView and would appreciate some help > finding out what I might be doing wrong. (Or if this is in fact an > Android problem, a workaround :-) > > If the first letter of text in a Tex

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

2010-05-03 Thread nexbug
Too extreme :-) On Apr 30, 1:56 am, Tomáš Hubálek wrote: > Hello, > > I'm on developer of Digital World Clock Widget > (http://www.appbrain.com/app/net.hubalek.android.worldclock). > > I'm receiving a few emails per week with complain that my widget > stopped working. In all cases when we do i

Re: [android-developers] Keep Camera App running continuously

2010-05-03 Thread Anurag Singh
there should be some option in setting like all other phones. - Anurag Singh On Mon, May 3, 2010 at 4:49 AM, Sundar wrote: > Hello Developers, > > I would like to run the Android Camera application from my development > board for about 2 hours continuously. > > I want to disable the phone lock

Re: [android-developers] How to access the internet in emulator?

2010-05-03 Thread Anurag Singh
set permission for internet in your manifest file. http://developer.android.com/reference/android/Manifest.permission.html#INTERNET> " /> - Anurag Singh On Sat, May 1, 2010 at 6:11 PM, bhuether wrote: > I juust installed the SDK and then added the 1.6 component. THen I > created an AVD. WHen

[android-developers] HTC Legend suffering Standby on Death (SOD)

2010-05-03 Thread jefferymiow
hi, i having my 1st Android phone (HTC Legend), but my set suffering Standby on Death (SOD), not sure if the right term. When it on standby, I not able to wake the phone; only way to remove the battery and on the phone again. However, during in 'freeze' mode, try calling the phone; won't ring but

[android-developers] webview with remote xml and local html

2010-05-03 Thread biqut2
I am working on an idea for a program but am new to android development. I've went through the webview section of the resources and have a small app that downloads an xml page and displays it for me. What I really would like is to have it download the xml page and then use a locally stored template

[android-developers] TextView cuts off part of an initial capital "J"

2010-05-03 Thread bwin
I'm having a problem with TextView and would appreciate some help finding out what I might be doing wrong. (Or if this is in fact an Android problem, a workaround :-) If the first letter of text in a TextView is capital "J", the first pixel or two are cut off so that the "J" starts looking a bit

[android-developers] Getting error: Conversion to Dalvik format failed - building Android App

2010-05-03 Thread Rupesh
I am building an app on android and running into an error and while searching on net, came across your posting on this and changed the eclipse.ini to increase Xms and Xmx params but still this error does not go away. I am using Eclipse IDE for Java with Andrioid SDK 2.1 on Mac OS. Please help or p

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

2010-05-03 Thread Oscar
Yes...Got my Nexus One today!! (Sweden) On Apr 30, 8:17 pm, MrChaz wrote: > You just need a 2pin to 3pin converter and the charger will work just > fine in the UK :D > > On Apr 30, 4:15 pm, feilfly wrote: > > > > > finally, I received it. But the charger is EU standard not UK > > standard :-( >

[android-developers] How to get & use widgets in eclipse android emulator?

2010-05-03 Thread doug
Hello, I have an HTC Hero running Android (v1.5). I would like to retrieve some of the widgets from the phone so that I can install them on the eclipse android emulator. Using an android explorer app I'm able to see both the device and SD card filesystem. I found the HTC pre- installed widgets (I

[android-developers] Test Plan for Multiple Screen Support

2010-05-03 Thread Stan
I'm getting close to releasing my first Android Application, and I'd like to make it compatible with all current APIs and screens. I've developed it using my own phone (which is Android 1.6 HVGA), and I set up the following 9 Emulators to hopefully test all other devices: - Android

[android-developers] Being added to a company email server - can it be done!?

2010-05-03 Thread Tiffany
My IT folks tell me I can't hook my Droid into the company email server that they are using. I was told I should just get a Blackberry. I know this is not the case because at my old job I was able to access my company email and calendar with my Droid. Can you give me some advice that I can pass

  1   2   3   >