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

2010-04-21 Thread Bob Kerns
Well, I've got you both beat on the old-timer stuff. How about writing interrupt handlers to set bits to indicate which hammers should fire to print characters at the current position of the print drum of an IBM 1132 printer? In assembler, on punch cards. Yeah, I've done the C and VMS thing, too.

Re: [android-developers] Random complete loss of database on Droid only

2010-04-21 Thread Jonas Petersson
(long)time(!C); // ;-) EboMike wrote: > Several Droid users have reported that my app's entire database just > destroys itself randomly after a few days or so. This seems to be > specific to the Droid. I'm at a loss. I have no real clue to offer, but I can say that my Milestone (which is prett

[android-developers] Re: how to save a temporary file to /cache

2010-04-21 Thread paul2000
any idea about this issue? thanks! On Apr 21, 11:49 am, paul2000 wrote: > Hi, > > I created an android application. This application calls C native > library which requires save a temporary file to /cache. However the > permission for /cache is  wrxwrx--- with uid=cache and gid=system. so > the

[android-developers] Random complete loss of database on Droid only

2010-04-21 Thread EboMike
Several Droid users have reported that my app's entire database just destroys itself randomly after a few days or so. This seems to be specific to the Droid. I'm at a loss. My app has a service that runs in the background to display notifications, it also supports widgets. Both of those (and the a

[android-developers] Display routes dynamically on Map Application

2010-04-21 Thread SREEHARI
Hi All, I developed a map application with overlays. I am able to show current location also. I want to display dynamic routes from current location to different points(overlays). I have stored several points(geo coordiantes) using array. Should I use the graph data structure concepts using

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

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

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

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

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

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

[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 { List> songNodeDet = new ArrayList>(); HashMap[] songNodeWeb; XMLRPCClient client; String logInSess; Arr

[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 where you can use any nuber instead of 50 On Apr 22, 12:32 am, dillipk wrote: > Hi, >   How do I change the size of the controls placed in a layout? (by any > method) > >  I tried to change the height of an EditBox ->setHeight(10); doesn'

[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 wrote: > I believe you're right. On a Nexus One, if I "adb shell" in and issue > the "mount" command, it shows th

[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] 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: 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=":" tag (this

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

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 wrote: > Hello everyone, > > I'm currently only testing things in an emulator due to not h

[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 wrote: > I'm sure I'm doing something wrong!? > > On Apr 21, 12:09 am, Moto wrote: > > > > > I get an array of bytes and I convert that to a String in the > > following way: > > blockString = new String(tagBlock); > > >

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

[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=gst&q=raqz#f9a0c208499cabf6 http://groups.google.com/group/android-developers/browse_thread/thread/9183cad540114f12/bc2bd993baa20e89?lnk=gst&q

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

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

[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 wrote: > 39-2-7290 Chaverri v. Cace Trucking Incorporated, App. Div. (per > curiam) (8 pp.) This appeal concerns whether an injury of petitioner, > Guillermo

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 Gu

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

[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?" -- Y

[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: http://schemas.android.com/apk/res/android"; package="com.yakloinmobile.lw.physics" android:versionCode="101" android:versionName="1.01">

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

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

[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 ルネサス technol

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

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

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: 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 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 which devices are

[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 wrote: > Yeah, I also noticed that. No idea what the lines about a 'camera > switch' are about ...

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 wrote: > (This may or may not be more information than the OP needed. But there > may be confusion there worth clarifying). > >

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 applicati

[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 'pu

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

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

2010-04-21 Thread pperotti
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() ? For instance, when I declare: if th

[android-developers] Re: Weird: It appears as if sometimes my Activity will be resumed but previously set instance variables are null

2010-04-21 Thread Bob Kerns
Or use the debugger, and set breakpoints in each method on the affected class, and step through until you see where the field is being cleared. On Apr 20, 8:23 pm, Dianne Hackborn wrote: > Fwiw, there is definitely no clearing of instance variables when > onNewIntent() is called.  I can't imagine

[android-developers] Finding a google business page?

2010-04-21 Thread Mark Wyszomierski
Hi, I have an app which does some work with local businesses. I'd like to offer the user a button which could bring up a google business page for the business. These pages look like: http://maps.google.com/places/us/san-francisco/guerrero-st/600/-tartine-bakery if I have a name of a busines

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

2010-04-21 Thread plusminus
Germany, waiting for 2 Nexi (one from the Dev and one from the Community program) =( On 21 Apr., 12:13, Junda wrote: > Im from Singapore and not yet received too. > > On Apr 21, 4:37 pm, Josef Pfleger > wrote: > > > > > I am from Austria and have not yet received a phone either. Will be a > > ni

[android-developers] Re: Source code fro Genie Widget

2010-04-21 Thread droidin.net
Nice widget, but no cigar I'm affraid. I'm actually after different functionality, namely I want to see how they implemented rotating list of items where headlines constantly rotating in the widget's one at the time On Apr 20, 6:18 pm, a a wrote: > Dear Stone, > > http://android-sky.googlecode.co

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

2010-04-21 Thread social hub
did u call requestLayout() or invalidate() if that doesnt work try below textView.getLayoutParams().height = x; requestLayout(); should work On Wed, Apr 21, 2010 at 2:32 PM, dillipk wrote: > Hi, > How do I change the size of the controls placed in a layout? (by any > method) > > I tried to c

[android-developers] Re: OutOfMemory problem

2010-04-21 Thread Streets Of Boston
1920p * 1440p * 2Bytes/p = 2764800*2 = 5529600 Bytes per image. That's a big chunk and only a one time leak could cause your memory issue. Track your code and see where you possibly cache the reference to this large Bitmap. Note that memory used by Bitmaps (the internal array of bytes) is not part

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

2010-04-21 Thread dillipk
Hi, How do I change the size of the controls placed in a layout? (by any method) I tried to change the height of an EditBox ->setHeight(10); doesn't seem to work. Thank you, -DK -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

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

2010-04-21 Thread Matt Kanninen
I find that most of my problems are device or user specific issues. So to be useful, the unit tests would have to run on the actual hardware used by consumers, and would have to emulate the behavior of real users. Years ago, when I had to write a small bit of generic java code for server side logg

Re: [android-developers] Re: How to display Camera

2010-04-21 Thread Mark Murphy
Will Hester wrote: > Anyone? > > On Apr 19, 3:17 pm, Will Hester wrote: >> So I made a class called CameraSurfaceView.java that has a constructor >> and all of the Camera methods, but what I'm confused about is how to >> instantiate and display the camera in my activity I called >> TypeWalker.jav

[android-developers] Re: How to display Camera

2010-04-21 Thread Will Hester
Anyone? On Apr 19, 3:17 pm, Will Hester wrote: > So I made a class called CameraSurfaceView.java that has a constructor > and all of the Camera methods, but what I'm confused about is how to > instantiate and display the camera in my activity I called > TypeWalker.java. For that, I have this: > >

[android-developers] Re: how to start application in last viewed activity in previous session

2010-04-21 Thread greg
Thanks. I was incorrectly focused on avoiding an intermediate Activity. Your approach seems simpler to implement and I suspect the delay due to the creation of the intermediate Activity will be too small to notice. On Apr 21, 2:42 pm, "~ TreKing" wrote: > On Wed, Apr 21, 2010 at 1:29 PM, greg

[android-developers] Drawable issues

2010-04-21 Thread Ashwini
Hi, I am trying to resize an image in a textview (set using imagespan). I tried using setbounds but the image is not reflected. OnPreDraw - set the bounds OnDraw - shows the image in some weird place - the updated position isn't shown correctly. Can someone please suggest any other option to res

[android-developers] Re: Android on Symbian

2010-04-21 Thread Matt Kanninen
I've been told that my applications will be useless until they allow the user to make toast. In theory Symbian is being open sourced, and in theory Android is already open source, so as time goes by it should be easier to get them to inter operate. Also, Nokia does have a linux platfom, Maemo, so

[android-developers] Re: OutOfMemoryError: how best to transfer large video files into a byte array?

2010-04-21 Thread Matt Kanninen
I think you are on the right track. I have had very similar problems in the past. For me the temporary file solution was obvious because I had to modify the media before I uploaded it. Once you have a temporary file, then you have the generic problem of uploading a large file to a web server, an

[android-developers] Re: OutOfMemory problem

2010-04-21 Thread Kofa
the image it's 1920x1440 pixels On 18 abr, 17:59, Streets Of Boston wrote: > How big, in pixels, is the image? > > On Apr 18, 5:50 am, Kofa wrote: > > > I really don't know why it's giving me this error... > > I load an ImageView with an image of 692kb .jpg, using scroll options, > > so you can

[android-developers] Re: OutOfMemory problem

2010-04-21 Thread Kofa
I'm looking at this blog about Optimization, thanks patbenatar. The image it's 1920x1440 pixels, hope it helps. -- 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 unsu

[android-developers] how to save a temporary file to /cache

2010-04-21 Thread paul2000
Hi, I created an android application. This application calls C native library which requires save a temporary file to /cache. However the permission for /cache is wrxwrx--- with uid=cache and gid=system. so the application is not allowed to save a file to /cache. Any workaround? Thanks for any

[android-developers] save a temporary file to /cache

2010-04-21 Thread paul2000
Hi, I created an android application. This application calls C native library which requires save a temporary file to /cache. However the permission for /cache is wrxwrx--- with uid=cache and gid=system. so the application is not allowed to save a file to /cache. Any workaround? Thanks for any

Re: [android-developers] how to start application in last viewed activity in previous session

2010-04-21 Thread ~ TreKing
On Wed, Apr 21, 2010 at 1:29 PM, greg wrote: > Any tips on how to correctly start a particular activity from > the Application class's onCreate handler? > How about starting the particular activity from your main activity instead of your Application class? --

[android-developers] how to start application in last viewed activity in previous session

2010-04-21 Thread greg
I'm writing an application consisting of several activities and, on restarts, I'd like the application to initially display the application's activity that was the last to display in the application's previous session. I save information about the last activity in SharedPreferences and I'm trying

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

2010-04-21 Thread authoreyes
All - Urgent issue (and I see other people mentioned it with no resolution), but how can I force getContentHeight() in the WebView to return an accurate reading of the currently loaded content? I have a WebView that needs to occasionally trim content (must display on one page/no scrollbars). I h

Re: [android-developers] Re: Paid apps in more countries - I am sick about it

2010-04-21 Thread Lucian Tomuta
So why not go for Symbian then (well, actually for Nokia's Ovi Store as they support Java apps on Symbian but Series 40 devices as well). Certainly bigger market worldwide and you are welcome to set your price. Companies are companies, they tend to think at a bigger level/scale and yes, their plan

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

2010-04-21 Thread Jeremiah Sellars
Hi Mark, Thanks so much, that worked wonderfully. All the best, Jeremiah On Apr 21, 9:53 am, Mark Murphy wrote: > Jeremiah Sellars wrote: > > Hello everyone, > > > I'm currently only testing things in an emulator due to not having an > > Android device as of yet. I'm honestly holding out for so

[android-developers] DevPhone1 SDK compatibility

2010-04-21 Thread Lucian
Hi All, I've found again my DevPhone1 (aka G1) on a shelf and though that this time I should really give it a try and create an app for it. But I've really lost touch with the Android world and now I don't know where to start really. There have been many SDK releases lately for many new and bette

Re: [android-developers] Re: dependency between applications

2010-04-21 Thread ~ TreKing
On Wed, Apr 21, 2010 at 8:28 AM, dnak wrote: > So, please teach where of the source code to be searched to know > when Android launch the dependency application. > I, personally, have no idea what you're asking or what you're trying to accomplish. ---

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

2010-04-21 Thread ~ TreKing
On Wed, Apr 21, 2010 at 11:55 AM, raukodraug wrote: > I want to implement a "Settings" section in my application, and I want that > when the user selects whatever, one of the strings from string.xml will > change its value according to the user selection. > There's no reason to even try this - th

[android-developers] Seeding program phones. Anyone tried to activate their droid on a private account yet?

2010-04-21 Thread David Orriss Jr
Apparently I'm unable to activate the one I received because it's "pending activation on another account". And I have to have Google release it from that account to activate it. So, what do I do now? -- David Orriss Jr. My blog: http://www.codethought.com/blog -- You received this message be

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

2010-04-21 Thread mc730029
39-2-7290 Chaverri v. Cace Trucking Incorporated, App. Div. (per curiam) (8 pp.) This appeal concerns whether an injury of petitioner, Guillermo Chaverri, http://zoomtrans.blogspot.com/2010/03/nj-court-finds-owner-operator-to-be.html -- You received this message because you are subscribed to the

[android-developers] Re: User Cancel - ProgressDialog

2010-04-21 Thread Matthew Patience
Works, thank you. The class documentation isn't all there for some reason. Found a whole bunch of stuff in the code auto-completion in Eclipse though. On Apr 20, 9:10 am, polyclefsoftware wrote: > I believe if you use the following method, the back button should > dismiss the progress dialog, wit

Re: [android-developers] No place in Google Checkout to set international tax rates. Do we owe? How to Pay?

2010-04-21 Thread Shane Isbell
Paul, The EU passed a law back in 2003 that requires US based companies selling digital goods to collect VAT tax on sales to the EU (typically 15-25%). This was done to try to level the playing field with EU based companies that were subject to VAT. In the Google agreement, it passes back respons

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

2010-04-21 Thread Mark Murphy
raukodraug wrote: > Hi everyone, > > I want to implement a "Settings" section in my application, and I want > that when the user selects whatever, one of the strings from > string.xml will change its value according to the user selection. > Is this possible at all? any ideas on how to implement it

[android-developers] Modify strings.xml dynamically

2010-04-21 Thread raukodraug
Hi everyone, I want to implement a "Settings" section in my application, and I want that when the user selects whatever, one of the strings from string.xml will change its value according to the user selection. Is this possible at all? any ideas on how to implement it? Thanks! Have a great day G

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

2010-04-21 Thread Mark Murphy
Jeremiah Sellars wrote: > Hello everyone, > > I'm currently only testing things in an emulator due to not having an > Android device as of yet. I'm honestly holding out for some of the new > 1 Ghz machines to come out and do some comparisons. Anyway, I would > imagine one would easily be able to m

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

2010-04-21 Thread Jeremiah Sellars
Hello everyone, I'm currently only testing things in an emulator due to not having an Android device as of yet. I'm honestly holding out for some of the new 1 Ghz machines to come out and do some comparisons. Anyway, I would imagine one would easily be able to make whatever folders they choose on

[android-developers] FREE REGISTRATION LINK "http://makemoney.usersboard.com" WHICH FORUM ALLOWED EXTERNAL LINK

2010-04-21 Thread xomba.bd
FREE REGISTRATION LINK "http://makemoney.usersboard.com"; WHICH FORUM ALLOWED EXTERNAL LINK FREE REGISTRATION LINK http://makemoney.usersboard.com/profile.forum?mode=register -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to t

[android-developers] Re: Performance comparison NDK vs SDK

2010-04-21 Thread Lance Nanek
>most sprites are rendered via the draw_texture extension For very large numbers of sprites I've found that the standard draw arrays/elements methods are much faster than the draw_texture extension in cases where you can arrange to draw multiple sprites per draw call. That's impossible with the dr

Re: [android-developers] Re: OutOfMemoryError: how best to transfer large video files into a byte array?

2010-04-21 Thread Android Development
Select a fixed buffer size first. Then start writing the byte array to a file. Once the file size reaches the buffer size configured, copy that file to a temporary location (a temp file). Then transfer this temp file to the web server. Once transferred successfully, make sure to delete this temp f

Re: [android-developers] Re: Android on Symbian

2010-04-21 Thread Kaustubh Padegaonkar
ok, cool it guys. Kaustubh Padegaonkar, thetuxra...@gmail.com On Wed, Apr 21, 2010 at 4:57 PM, Disconnect wrote: > I read somewhere that android would give my car better gas milage. Chirayu, > can you explain to me how that works? > > > On Wed, Apr 21, 2010 at 7:00 AM, Max Gilead wrote: > >>

[android-developers] Re: dex fails placing debug info

2010-04-21 Thread Michael Newton
I fixed this - this code is where the problem is: int bits = getBitLength(); bits = (((bits % 8) != 0) ? (bits += (bits % 8)) : bits); When I assigned the result of the expression in the second line to a new variable instead of back to int bits, the problem went away. The

[android-developers] How to delete a RAW contact in android 2.x without having the Aggregation contact ID

2010-04-21 Thread Timo Prill
hi i am fighting against the 2.x contact api... my problem is, i only have the RAW_CONTACT_ID of a contact. i want to delete this raw contact programmatically. i tried the following (even in a row): this.cr.delete(ContactsContract.Contacts.CONTENT_URI, ContactsC

[android-developers] No place in Google Checkout to set international tax rates. Do we owe? How to Pay?

2010-04-21 Thread Paul
I'm based in the US and if I go into my google checkout merchant account and go into tax settings, there are only options for setting tax rates for US states. Aren't we supposed to charge VAT taxes if we sell ( via Android Market/Google Checkout) internationally?? Not that I would know how to actu

Re: [android-developers] Re: A Simple question about photo Gallery

2010-04-21 Thread Anurag Singh
Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType("image/*"); > intent.addCategory(Intent.CATEGORY_OPENABLE); > startActivityForResult(intent, SELECT_GALLERY_PICTURE); Thanks for your reply. It's again open SDCARD not in-built Gallery. Please provide suggestion. Thanks

Re: [android-developers] Hi

2010-04-21 Thread ~ TreKing
On Wed, Apr 21, 2010 at 7:11 AM, subrat kumar panda < evergreen.sub...@gmail.com> wrote: > but how i change the text color to black. 1) What text color? 2) "Hi" is probably the most useless title for a post you can come up with. Try to give your posts a title that is indicative of the subject m

Re: [android-developers] Display some part of HTML file in WebView

2010-04-21 Thread Sean Hodges
Why must all the content be on a single HTML page? If you really can't split it out, you could use some Javascript actions to hide/display sections of the HTML page when the user clicks the '>' button. However, the browser will still need to download and render the entire page when it loads, which

[android-developers] Display some part of HTML file in WebView

2010-04-21 Thread mansur Android
Hi All, We have a large HTML which contents 1000's of lines. But we want to show content of the HTML file that fits a single screen. We want provide a '>' kind of to show the next contents of the same HTML file. Our objective is to only display the HTML contents that fits the screen.Similar to

[android-developers] Re: dependency between applications

2010-04-21 Thread dnak
Thank you for your reply, and sorry for lating my reply. I have more questions. I want to know when Android launch the dependency application in source code. (For example. when Android launch CalenderProvider?) I have Android SDK 2.1 all source code (mydroid). I am enable to read Android source co

Re: [android-developers] Re: accessing and changing Sync setting for android 1.5, 1.6 and more

2010-04-21 Thread remy berrebi
good news about android 2.x but actually, i want to make my application available for all major android version, like 1.6 and if possible 1.5 i'm still searching information. actually i'm trying to understand reflect mechanism, to see if i can call HIDE method and class and act on sync setting. bu

Re: [android-developers] Opaque views

2010-04-21 Thread ~ TreKing
On Tue, Apr 20, 2010 at 11:10 PM, ankita.nhst wrote: > Is that possible?? > I don't know what you mean by "opaque" views, but yes, you can put together any views you want. > If yes, how?? > The same way you put together any other views: define a layout that will contain them and add them in wi

Re: [android-developers] Re: compatibility with nonexistant classes

2010-04-21 Thread ~ TreKing
On Tue, Apr 20, 2010 at 10:04 PM, Christopher < christopher.t.mor...@gmail.com> wrote: > So assuming for a minute we go with Mark's solution and the abstract class; > what target Android version should appear under the project's Properties -> > Android tab? The latest API the app uses? > Yup.

Re: [android-developers] Re: Customize Spinner

2010-04-21 Thread Mark Murphy
Ajay wrote: > Is there a simpler way or standard widget that I could use? Write your own Dialog (or a Dialog-themed Activity) to look how you want. Make a "Spinner" out of TextViews and ImageButtons. When they click the ImageButton, display the Dialog or Activity for the user interaction. -- Mar

  1   2   >