[android-developers] Re: How to solve the problem of launch the apps twice or more?

2010-04-21 Thread Kenneth WON
The purpose of this app is to run the service forever until shutdown the phone, and after the user leaves the app and return later, the service will not launch again, means only have one of this service running. Now, the problem is it can't only have one of this service running. Do I need adding

[android-developers] droidfanz.com -- what does it take to get them taken down?

2010-04-21 Thread Edward Falk
Found my paid app on their site. This is hardly a new issue; why are they still in business? -- 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

Re: [android-developers] Iconic list View gets very slow when a service (running music) starts in the background

2010-04-21 Thread Prajakta Shitole
Hi, My list view is slow due to a different reason. It is not due to the service which runs in the background. My list view gets slow due to my logic implementation. The service runs in the background and does not affect the list view which runs on the main UI thread. Thanks, Prajakta On Tue,

[android-developers] Re: Display small portion of HTML file in WebView

2010-04-21 Thread mansur
Thanks for your reply. but we want to display some portion of the html file. the next remaining content should be displayed on click of '' (which is at the bottom of the screen) Its like e book reader where you are reading book page wise. Thanks and Regards, Mansur Agasar On Apr 21, 7:49 am,

[android-developers] Re: MediaRecorder / MediaPlayer simultaneous use?

2010-04-21 Thread ani
I guess the problem is not from the framework side but the problem lies in the fact that your driver will not support this use case of simultaneously recording and playing back. As recording is generally done at 8k and playing back is done at 44.1k. -- You received this message because you are

Re: [android-developers] Re: HTC Desire keyboard problem

2010-04-21 Thread Michael Rueger
On 4/21/2010 7:31 AM, jamesc wrote: The solution is that you shouldn't use onKey() but implement an InputConnection to handle key presses: http://groups.google.com/group/android-developers/browse_thread/thread/c800a10de864780d Just in time :-) Thanks! Michael -- You received this message

[android-developers] how to use jmdns

2010-04-21 Thread Naveen
HI! My goal is to find network printers using jmdns Following is the code I have written which does not work. I am new to all this Pls. help me. What exactly I want to do is to list all printers in list box...Currently I am not filtering printers.. I am always getting exception... Here is my

[android-developers] how to clear default option of an app if it is not present in settings-applications-manage applications

2010-04-21 Thread Amit
Hi All, My question is how to clear default option of an app if it is not present in settings-applications-manage applications. Because I cannot see all the applications there. Thanks in advance. Regards, Amit -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] how to clear default option of an app if it is not present in settings-applications-manage applications

2010-04-21 Thread Sandeep Phansekar
Hi just chech the apps in settings-applications-manage applications menu Filter All Regards Sandeep On Wed, Apr 21, 2010 at 12:33 PM, Amit magic.man.a...@gmail.com wrote: Hi All, My question is how to clear default option of an app if it is not present in settings-applications-manage

[android-developers] Re: 2.1 Bluetooth support still needs work

2010-04-21 Thread Anders Widen
I can connect to my PC and send and receive messages using SPP and a terminal program. But restarting doesn't work and the connect doesn't always work either: 1. Restarting (connecting) the program doesn't work without restarting BT (Closing BTStack fails somewhere) 2. Sometimes when connecting,

[android-developers] ErrorHandler of VideoView component

2010-04-21 Thread Matthias
Hi, I am currently working with a videoview to show live broadcasts. For this I want to adapt the error messages which are shown by the videoview component, when an error occures (connection error, video error etc..). Is it ist possible to register another error handler to a videoview? best

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

2010-04-21 Thread VovaN
Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType(image/*); intent.addCategory(Intent.CATEGORY_OPENABLE); startActivityForResult(intent, SELECT_GALLERY_PICTURE); On Apr 21, 5:33 am, Anurag Singh anusingh...@gmail.com wrote: Hello All I did all my home work regarding

[android-developers] Re: How to get installed app size?

2010-04-21 Thread VovaN
probably, it may help http://developer.android.com/intl/zh-CN/reference/android/content/pm/PackageManager.html On Apr 21, 6:13 am, bright wang wangyl...@gmail.com wrote: Thanks your quickly reply! But i want to get the size by coding. On 4月21日, 上午10时21分, razor950 razor...@gmail.com wrote:

[android-developers] Listview with checkbox

2010-04-21 Thread Er. syed imran ali
hi all, i have problem to get event of list view field when i am adding checkbox in listview. my problem is to get the status of check box form every row of the list view, either it is check or not, according to that i have to do operation. so, if any one know solution or good tutorial then please

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

2010-04-21 Thread SLY
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 connected to the server and then sends an application specific message to the client device which

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

2010-04-21 Thread Josef Pfleger
I am from Austria and have not yet received a phone either. Will be a nice surprise if/when it gets here. On Apr 20, 8:51 pm, Chister Nordvik cnord...@gmail.com wrote: Couldn't agree more. How many people in here have contacted Google, FedEx Brightpoint just because of lack of information from

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

2010-04-21 Thread patbenatar
but in all of the examples I've seen for android all of the methods and classes are all in one big java file Uhh On what sites did you find these examples? On Apr 20, 2:53 pm, ~ TreKing treking...@gmail.com wrote: On Tue, Apr 20, 2010 at 4:41 PM, Binxalot binxa...@gmail.com

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

2010-04-21 Thread Chirayu Dalwadi
I just expected support from community members and not blunt replies from few members, after all community is meant for help and support only. -- 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] Retrieve HOME Contact Number from address book

2010-04-21 Thread mike
hi guys, currently i have a application which will retrieve all the contact details and will display all the available Contact Names in a SimpleCursorAdapter. so once user select a particular name number will be displayed. which works fine. but now i want to display HOME and WORK numbers if

[android-developers] Retrieve HOME Contact Number from address book

2010-04-21 Thread mike
hi guys, currently i have a application which will retrieve all the contact details and will display all the available Contact Names in a SimpleCursorAdapter. so once user select a particular name number will be displayed. which works fine. but now i want to display HOME and WORK numbers if

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

2010-04-21 Thread Max Gilead
Chirayu, these were actually quite good answers. As javame_android mentioned, Android is Linux-based so theoretically you can port it to any device that supports installing 3rd party OS on it as long as kernel is ported to its CPU architecture and you've got necessary drivers. It would be best to

[android-developers] bluetooth - IOException: Connection refused

2010-04-21 Thread Nand
Hi, I'm able to discover devices which r bluetooth ON from my application. But when i try to connect using the Bluetoothsocket's connect() method, I'm getting an IOException: Connection refused. I'm using the following UUID private static final UUID MY_UUID =

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

2010-04-21 Thread Jo Vermeulen
Yeah, I also noticed that. No idea what the lines about a 'camera switch' are about ... I also tried the API demos (one of the samples that came with the Android SDK), and found to my surprise that Google's own camera preview example also crashed on the HTC Desire. Hope it's not a bug in the

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

2010-04-21 Thread angushir...@googlemail.com
Hi all, a simple question from a beginner - how many of Android phones support touchscreen applications? Angus -- 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

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

2010-04-21 Thread Pascal Merle
Today I already received two car docks for the promised N1, but no N1 yet :-) Hopefully it will arrive soon, or at least some status update from Google. Is the Android team on holidays? I wish they will return with some new features soon... -- You received this message because you are

[android-developers] Re: business card design in opn gles

2010-04-21 Thread Lance Nanek
Creating a texture with the whole text for each business card would be slow and take up a lot of texture memory. Instead you should create one texture that has all the characters needed from the font. To draw the whole text for any business card you then, for each character of that text, use a

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

2010-04-21 Thread Sean Hodges
If you are a beginner, you should really be posting to the android-beginners list. I believe all of the current Android phones have touch screens. On Wed, Apr 21, 2010 at 10:24 AM, angushir...@googlemail.com angushir...@yahoo.co.uk wrote: Hi all,        a simple question from a beginner - how

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

2010-04-21 Thread Junda
Im from Singapore and not yet received too. On Apr 21, 4:37 pm, Josef Pfleger green-car...@orange-cactus.org wrote: I am from Austria and have not yet received a phone either. Will be a nice surprise if/when it gets here. On Apr 20, 8:51 pm, Chister Nordvik cnord...@gmail.com wrote:

[android-developers] Re: Swipe to next screen

2010-04-21 Thread Eddie Ringle
Okay, thanks. Just wanted a second opinion. On Apr 20, 3:26 pm, patbenatar patbena...@gmail.com wrote: I would assume this is done by having the Views you'd like the user to be able to switch between with a fling of the finger all contained within one Activity and in that Activity you can

[android-developers] Fwd: Filter for Custom ListView

2010-04-21 Thread pawan nimje
Hi, I am having a custom listview [list with image and 2 textbox] and i want to apply filter for it. desc of cust listview: 1:Image i.e flag of country 2:1st textbox (name of country) 3:2nd textbox (name of continent) so when i write i in a textbox [different from the ones mentioned above]

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

2010-04-21 Thread Ke Wu
Hi all As you know, an app often has some configurations, I need to save these configurations into a file, and in my app I could change these configurations. In other words, I need a file to take all my config data, and in my app, I could read/write this file as I want. I've searched

[android-developers] Re: Selling outside the Android Market-- Use Google Checkout to sell direct from website??? SlideMe.Org??

2010-04-21 Thread Paul
Just to update everyone, I did in fact post my application to SlideME even despite some negative comments here. I emailed with one developer who had a mostly positive experience. Of course I should mention that this developer's name was supplied to me by SlideME, so they probably knew he didn't

[android-developers] Customize Spinner

2010-04-21 Thread Ajay
Hi, I want to customize the spinner behavior a little bit. I want to add a couple of buttons at the end of the drop down menu that is displayed when the user selects the control. Any idea how this could be done? Thank you, AJ -- You received this message because you are subscribed to the

Re: [android-developers] Re: How to solve the problem of launch the apps twice or more?

2010-04-21 Thread Mark Murphy
Kenneth WON wrote: The purpose of this app is to run the service forever until shutdown the phone, and after the user leaves the app and return later, the service will not launch again, means only have one of this service running. Please don't do that. First, it's not possible:

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

2010-04-21 Thread Chirayu Dalwadi
javame_android's reply was perfect. But i was annoyed by Disconnect's reply -- 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

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

2010-04-21 Thread Max Gilead
On 21 April 2010 11:52, Chirayu Dalwadi chirayu.dalw...@gmail.com wrote: javame_android's reply was perfect. But i was annoyed by Disconnect's reply Welcome to the internet ;) You may need to grow a thick skin and keep your head cool if you want to talk on tech forums :) -- You received this

[android-developers] media server interactions

2010-04-21 Thread Uander
Can anybody tell me how media server inetracts with audio flinger and surface flinger works in android ? how media player service intraction happen with opencore ? Thanks : Uander -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Customize Spinner

2010-04-21 Thread Tim
On Apr 21, 11:47 am, Ajay aja...@gmail.com wrote: Hi,    I want to customize the spinner behavior a little bit. I want to add a couple of buttons at the end of the drop down menu that is displayed when the user selects the control. Any idea how this could be done? Thank you, AJ Clone the

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

2010-04-21 Thread Pankaj
Thank you for the reply. I have MS104-SH4AG and MS104-LCD/AUDIO board. Configuration : CPU: sh7764 Product no : R5S77640N300BG Flash rom : 16 MB SD Ram : 64 MB For hardware reference please see below link

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

2010-04-21 Thread Pankaj
Thank you for the reply. I have MS104-SH4AG and MS104-LCD/AUDIO board. Configuration : CPU: sh7764 Product no : R5S77640N300BG Flash rom : 16 MB SD Ram : 64 MB For hardware reference please see below link

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

2010-04-21 Thread Disconnect
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 max.gil...@gmail.com wrote: On 21 April 2010 11:52, Chirayu Dalwadi chirayu.dalw...@gmail.com wrote: javame_android's reply was

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

2010-04-21 Thread Moto
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: blockString = new String(tagBlock); The results are good for english and some other languages but Russian, Spanish,

[android-developers] Re: business card design in opn gles

2010-04-21 Thread tina lincon
taaanx lance but is it possible to superimpose one texture upon another?wat u talkng isnt it concept abt multitexturing On Apr 21, 2:47 pm, Lance Nanek lna...@gmail.com wrote: Creating a texture with the whole text for eachbusinesscardwould be slow and take up a lot of texture memory.

[android-developers] Re: business card design in opn gles

2010-04-21 Thread tina lincon
i mean is it possible to superimpose 1 texture upon another?like d card is 1 rectangleu take anothr small rectangle n texture d photo in it...and anothr rectangle with text textured in it...and we goto superimpose these two tiny rectangles into d big rectangle..so wat i mean to ask is is it

[android-developers] Re: business card design in opn gles

2010-04-21 Thread tina lincon
i mean to ask whether it is possible to superimpose 1 texture upon another..Like here in my application,acc to wat u say,i shud be having a big rectangle and 1 small rectangle with photo textured onto it and another small rectangle with text textured onto it and we need to superimpose dose 2 small

[android-developers] Hi

2010-04-21 Thread subrat kumar panda
Hello all, In Preference i have changed the background color by using the following code: getWindow().setBackgroundDrawableResource(R.drawable.White); getListView().setBackgroundColor(Color.TRANSPARENT);

[android-developers] Re: how to clear default option of an app if it is not present in settings-applications-manage applications

2010-04-21 Thread Amit
Thanks Sandeep, It's working :-) On Apr 21, 12:18 pm, Sandeep Phansekar sandeep.phanse...@gmail.com wrote: Hi just chech the apps in settings-applications-manage applications menu Filter All Regards Sandeep On Wed, Apr 21, 2010 at 12:33 PM, Amit magic.man.a...@gmail.com wrote: Hi

[android-developers] Re: how to add progress bar with media Player??????

2010-04-21 Thread ulqui
hello thx a lot for your example it works perfectly ^^ you save me :p Now i will put also the duration of the track with time it s also a progressbar style or other ? thx alot for your help On 20 avr, 13:17, ulqui habibedday...@yahoo.fr wrote: ok thx a lot for your help I will try

[android-developers] Drawable Setbounds not working

2010-04-21 Thread Ashwini
I am trying to scale a drawable at run time depending on the orientation and and handset dimensions. But this does not seem to take effect. This is done on onPreDraw() of textview. It's a textview having text and images. Works fine on the 2.x handsets but does not work on the 1.6 ones. Any ideas

[android-developers] Re: Customize Spinner

2010-04-21 Thread Ajay
Is there a simpler way or standard widget that I could use? Thank you, AJ On Apr 21, 4:03 pm, Tim tdh...@gmail.com wrote: On Apr 21, 11:47 am, Ajay aja...@gmail.com wrote: Hi,    I want to customize the spinner behavior a little bit. I want to add a couple of buttons at the end of the

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

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

Re: [android-developers] Opaque views

2010-04-21 Thread ~ TreKing
On Tue, Apr 20, 2010 at 11:10 PM, ankita.nhst ankita.kash...@nechclst.inwrote: 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

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.

[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

[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

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

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

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,

[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

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

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

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

[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

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

[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

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 make

[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

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? You

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

[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 dja...@gmail.com wrote: I believe if you use the following method, the back button should dismiss the

[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

[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

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

2010-04-21 Thread ~ TreKing
On Wed, Apr 21, 2010 at 11:55 AM, raukodraug gabriel.martine...@gmail.comwrote: 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

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

2010-04-21 Thread ~ TreKing
On Wed, Apr 21, 2010 at 8:28 AM, dnak newvf91.brjtn579...@gmail.com 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.

[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

[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 mmur...@commonsware.com 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

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

[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

[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

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 sep...@eduneer.com 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] 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] 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] 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

[android-developers] Re: OutOfMemory problem

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

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

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

[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

[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 treking...@gmail.com wrote: On Wed, Apr 21, 2010

[android-developers] Re: How to display Camera

2010-04-21 Thread Will Hester
Anyone? On Apr 19, 3:17 pm, Will Hester whes...@gmail.com 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

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 whes...@gmail.com 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

[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

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

[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

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 codersnet2...@gmail.com wrote: Hi, How do I change the size of the controls placed in a layout? (by any

[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 harvey.a...@gmail.com wrote: Dear Stone,

[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 ongju...@gmail.com wrote: Im from Singapore and not yet received too. On Apr 21, 4:37 pm, Josef Pfleger green-car...@orange-cactus.org wrote: I am from Austria and have not yet

[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

[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 hack...@android.com wrote: Fwiw, there is definitely no clearing of instance variables when onNewIntent() is

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

  1   2   >