[android-developers] Re: Unit Testing : Who uses it ?

2010-04-21 Thread Warren
Writing unit tests first to define exactly how a program will work is nice if you have the luxury of knowing exactly how the program will work ahead of time! I often have a general structure for a program (game) but I don't have all the little details figured out because things don't always go as

[android-developers] Re: Modify strings.xml dynamically

2010-04-21 Thread raukodraug
Thank you Mark and TreKing for your responses, both were very useful. Now I wont try at all to modify them and the preference activity can do what i need to Thanks a lot =) Gabe -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: How many Android phones have touchscreens?

2010-04-21 Thread Zigurd
All current Android phones have touch-screens. However, Android's UI is designed to be operated using the d-pad, moving a focus and using a select button as well as by touch. I think all the standard apps that are part of most Android phones can work without touch. If, for example, you consider

[android-developers] Re: Could anyone with an HTC Desire/Droid help me

2010-04-21 Thread BobG
I downloaded the update yesterday, and I still got the force close. Sorry!. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] Re: Beginner Question: Is it possible to put each class into it's own java file in Eclispe?

2010-04-21 Thread Bob Kerns
(This may or may not be more information than the OP needed. But there may be confusion there worth clarifying). Actually, Dianne, that's only true of top-level classes with the 'public' modifier. You can have top-level classes that are package- private in the same file -- but no more than one

Re: [android-developers] Re: How many Android phones have touchscreens?

2010-04-21 Thread Dianne Hackborn
I can more strongly say that today, to be able to ship an Android compatible phone (and thus have Market), you need to have a touch screen. If/when at some point in the future devices without touch-screens are considered to be Android compatible, appropriate work for existing third party

Re: [android-developers] Re: Beginner Question: Is it possible to put each class into it's own java file in Eclispe?

2010-04-21 Thread Dianne Hackborn
Ah good point. In fact I have had non-public classes combined in a public class's file. And usually quickly regretted it. :) On Wed, Apr 21, 2010 at 1:26 PM, Bob Kerns r...@acm.org wrote: (This may or may not be more information than the OP needed. But there may be confusion there worth

[android-developers] Re: Android camera problem on HTC Desire

2010-04-21 Thread Bob Kerns
The camera preview API demo crashes on my N1 (2.1-Update 1) as well. I've been meaning to investigate (debugger, bugs database) but haven't gotten around to it yet. On Apr 21, 2:18 am, Jo Vermeulen jo.vermeu...@gmail.com wrote: Yeah, I also noticed that. No idea what the lines about a 'camera

[android-developers] Re: XMPP service, jabber , push notification

2010-04-21 Thread Bob Kerns
Um, why do you assume every Android user has a gmail account? On Apr 21, 1:17 am, SLY sly.andr...@gmail.com wrote: Hi, I am currently working on a project which requires a server to request data from the devices which are currently connected to the server. Meaning, first the server finds out

Re: [android-developers] Broadcast Receivers

2010-04-21 Thread Mark Murphy
pperotti wrote: Hi Everyone, Can anyone give a hint if you know why there are some ACTIONS that do not trigger their associated receivers when they are registered in the manifest while they are received when they are register through registerReceiver() ? Usually, it's for performance

[android-developers] Re: how to use jmdns

2010-04-21 Thread Bob Kerns
Usually exceptions are your clue as to what went wrong. And debuggers are your best tool for understanding what triggered that exception, and where. Since you don't tell us the exception or where, I'm afraid you have all the information you'll need to figure this out -- and we do not. Good luck.

[android-developers] Re: Android on Symbian

2010-04-21 Thread Bob Kerns
Well, you may have found it annoying -- and I'll even allow that perhaps he intended it to be annoying. But it was also the best possible advice. You read information somewhere that is very specific. You are asking the question here -- a group dedicated to an entirely different topic. Asking

[android-developers] Re: Compile and port Android os in MS104-SH4AG board

2010-04-21 Thread Bob Kerns
Well, TARGET_ARCH=sh make doesn't look right! I'm not familiar with that processor, so I don't know what value you should use for TARGET_ARCH. Perhaps the clue is in this phrase: ルネサステクノ ロジ -- but I often find it harder to understand English as katakana than Japanese as kanji! What is ルネサス

[android-developers] Re: Is the WebView getContentHeight() broken in 1.5/1.6?

2010-04-21 Thread Maps.Huge.Info (Maps API Guru)
You might try adding a bogus parameter to the end of the URL, such as a random number or the time, like this: url.htm?x=12345 That will most likely not bollix up the page and make the cache save that as a unique page. -John Coryat Radar Now! What Zip Code? -- You received this message

[android-developers] Live Wallpaper not Showing up on Market for Moto Droid w/ OTA 2.1

2010-04-21 Thread Yakloin
I am pulling out my hair trying to figure out what to do to get my Live Wallpaper to show up on the Android Market for a Moto Droid with the 2.1 OTA update. It shows up and downloads just fine on Nexus One. I can only think that it has something to do with the AndroidManifest.xml file contents.

[android-developers] Re: Is the WebView getContentHeight() broken in 1.5/1.6?

2010-04-21 Thread authoreyes
That is an interesting thought. Although I am using the loadData method with a string each timeThere is no actual url to speak of...I have tried clearing cache/view/etc It's so odd...The view loads the right data, but the height reports the original (even though the size is wildly

[android-developers] Re: Live Wallpaper not Showing up on Market for Moto Droid w/ OTA 2.1

2010-04-21 Thread shaun
And this is the initial release and the version I wanted to use: ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.yakloinmobile.lw.physics android:versionCode=101 android:versionName=1.01 uses-sdk

[android-developers] Re: Is the WebView getContentHeight() broken in 1.5/1.6?

2010-04-21 Thread Maps.Huge.Info (Maps API Guru)
You could also try switching to a method that saves the page to the device and loads it as a URL instead of the direct method that you're using now, that might get around the issue. Have you tried to test it with a 2.0+ emulator? Still a problem? -John Coryat Radar Now! What Zip Code? -- You

[android-developers] Accessing MarketPlace Using Emulator

2010-04-21 Thread Jake Colman
Is there a way to access the MarketPlace while using the Android Emulator? I'd like to download something into my emulated phone. -- Jake Colman | Director, Software Development Principia Partners LLC 101 West Elm Street | Conshohocken | PA 19428 | +1 (610) 755 9770 t: +1 (610) 755 9786 | c:

Re: [android-developers] Accessing MarketPlace Using Emulator

2010-04-21 Thread Mark Murphy
Jake Colman wrote: Is there a way to access the MarketPlace while using the Android Emulator? I'd like to download something into my emulated phone. Not legally. However, the something might be available outside of the Market, particularly if it's a free app. -- Mark Murphy (a Commons Guy)

[android-developers] Re: NJ Court finds Owner-Operator to be Employee for Worker's Compensation Purposes

2010-04-21 Thread Bob Kerns
In case anyone was wondering, this is quite as irrelevant as it seems. No need for others to click the link. On Apr 21, 10:20 am, mc730029 mc730...@gmail.com wrote: 39-2-7290 Chaverri v. Cace Trucking Incorporated, App. Div. (per curiam) (8 pp.) This appeal concerns whether an injury of

[android-developers] Re: DevPhone1 SDK compatibility

2010-04-21 Thread BobG
I have a dev phone 2 with 1.6. My boss has a moto droid with 2.1 (I ASSUMED buying a google dev phone would have the latest rev, but evidently not). You can definitely develop an app for it, just select os revision 1.6 in the new-project-android project dialog. Evidently, the bluetooth is still

[android-developers] CheckedListView sparse boolean array

2010-04-21 Thread raqz
Hi, I am trying to use the android.R.layout.simple_list_item_multiple_choice, with CHOICE_MODE_MULTIPLE. The contents are being displayed all right. Even if I happen to select the items starting from the first item then it works fine. But if in case, I select the last item ONLY, the program

[android-developers] Re: Listview with checkbox

2010-04-21 Thread raqz
Hi, have a look at the below threads as well. http://groups.google.com/group/android-developers/browse_thread/thread/3e6c3c11353f59dc/f9a0c208499cabf6?lnk=gstq=raqz#f9a0c208499cabf6

[android-developers] 14-year-old Android Developer:

2010-04-21 Thread joshbeck
Hello, I'm writing a curriculum this year that is designed to get high- achieving 8th grade students to write and publish Android apps. One of my students broke the $50 this week. Here's an article: http://www.neisd.net/ComRel/News/Krueger_PaidApp_10.htm He's basically spent the last 2 months

[android-developers] Re: Issues with character encoding please help?

2010-04-21 Thread Moto
I guess no one runs into this kind of issues...??? On Apr 21, 7:47 am, Moto medicalsou...@gmail.com wrote: I'm sure I'm doing something wrong!? On Apr 21, 12:09 am, Moto medicalsou...@gmail.com wrote: I get an array of bytes and I convert that to a String in the following way:

Re: [android-developers] Creating folder on emulated sd card.

2010-04-21 Thread nayana urs
hi all am able to upload photos to sdcard and my code is working to edit photos but later am not able to save images in sd card can anyone please help me On Wed, Apr 21, 2010 at 10:21 PM, Jeremiah Sellars sylus.mcf...@gmail.comwrote: Hello everyone, I'm currently only testing things in an

[android-developers] Re: phone-as-client Socket connections time out in 3GS mode, but work fine in wifi

2010-04-21 Thread Carlo
Hi, Any chance you have succeeded with another port than port 80 ? We are also receiving report from user not able to reach our server running on port 8080 from their mobile network, is there any (recommended) list of server port that can be use ? thanks On Mar 20, 11:17 am, Samsyn

[android-developers] Re: CheckedListView sparse boolean array

2010-04-21 Thread raqz
I got the answer for that, we need to increment the for loop till the end of the list that was displayed. the right code would be SparseBooleanArray positions; positions = listView.getCheckedItemPositions(); int j =0; selected = new String[size];

[android-developers] Will 900ms of calcs run faster in another thread?

2010-04-21 Thread BobG
I have this audio analyzer app that fills a buffer with audiorecord, runs it thru a bunch of filters, and plots the filter out as a bunch of vertical bars. I timed the sampling, filtering and drawing with systemTimeMillis and it takes about 100ms,900ms and 50ms. I cant see how putting the calcs in

[android-developers] Re: Will 900ms of calcs run faster in another thread?

2010-04-21 Thread JP
Old VMS guy here. Threads are contained within a single process, i.e. not scheduled separately. Let me point out to things you could check out. First, the NDK could help you on the performance side. Second, if you want to run an activity in a separate process, use the android:process=:activity

[android-developers] Anyone interested in trading and N1 for Droid

2010-04-21 Thread lordjoe
I have my entire family on an ATT family plan with a couple of members using iPhones so I have little desire to switch to Verizon - shoot me an mail smlewis at lordjoe.com - Google sent me a Verizon Droid which -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Bluetooth pairing request

2010-04-21 Thread Nand
Hi, Did you get the solution for your problem? Even I want to do the same. Please reply. Regards, Nand -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] Re: Want to execute arm compiled executable file on Android adb shell

2010-04-21 Thread Parse
Hey. Tim and mah. Thanks for your replies... @Tim: I've used native library using NDK and it's working nice... Thanks for your replies again. On Mar 19, 12:00 am, mah m...@heilpern.com wrote: I believe you're right. On a Nexus One, if I adb shell in and issue the mount command,

[android-developers] Re: change size of controls in a layout

2010-04-21 Thread karteek
If you declared EditText in xml file you can change by EditText android:layout_width=50px android:layout_height=50px /EditText where you can use any nuber instead of 50 On Apr 22, 12:32 am, dillipk codersnet2...@gmail.com wrote: Hi,   How do I change the size of the controls placed

[android-developers] Re: problem displaying music list using custom adapters

2010-04-21 Thread Rahul
I have tried to implement the above by using the following code... But, this too is showing the same... public class MusicListActivity extends Activity { ListHashMapString, String songNodeDet = new ArrayListHashMapString,String(); HashMap?,?[] songNodeWeb; XMLRPCClient

[android-developers] Re: Unit Testing : Who uses it ?

2010-04-21 Thread Bob Kerns
Well, except that you should apply your rule to unit tests, too. I'm not sure why you'd put in weeks of development on a quad tree, and not write tests for it. But if there's a question about whether you want to be spending weeks of development on a quadtree implementation, a simple

[android-developers] Load CSS Styles in a Textview

2010-04-21 Thread And-Rider
Is it possible to display Css style tags in a text view..? The method Html.fromhtml() converts only html tags to a spanned string but not the Css styles -- 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] Re: problem displaying music list using custom adapters

2010-04-21 Thread praj
Hi Rahul, Some things that I have noticed: 1) You have not initialized the SongsList item in the constructor. in the constructor have a ArrayList and initialize it with the value that you have passed (in your case al). 2) in ur main activity u can use a setListAdapter it is very easy to use and

[android-developers] view - parent activity

2010-04-21 Thread Andrei
If I have reference to a view that is on activity How do I get reference to the activity from view reference? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: Activity background processing

2010-04-21 Thread skyhigh
I did finally get the notification icon to successfully return to my activity which started the service with the activity stack intact. In the manifest file I defined a new task affinity that is used for all the activities related to this part of the application. The two activities from the

[android-developers] How to insert a TabHost view inside a ViewFlipper ?

2010-04-21 Thread DMT
Folks, I was wondering if anyone has been able/knows how to include a TabHost view inside a ViewFlipper view... I've tried various ways to do this but keep getting a NulPtr exception whenever the tabhost object is accessed at startup. It looks like Viewflipper does exactly that : flips *view*

[android-developers] Notification when an audio stream is muted

2010-04-21 Thread skyhigh
A while ago I posted a topic in the forum at http://groups.google.com/group/android-developers/browse_thread/thread/a9aab3fff5643eff/4217295b230cc16b?hl=en#4217295b230cc16b titled Google Maps Broadcast Event for audible navigation instructions start and stop? For some reason I am not longer able

[android-developers] Bug in the browser apps

2010-04-21 Thread Dilip.S
Steps: 1.Access to Browser app then go to www.google.com 2.Click input field( click on the search text input feild ) then click aA button inthe sft keyboard to change it to AA button. 3.Input a character C and check the AA button. Actual Result: 3.AA button can not change to aA button

<    1   2