[android-developers] Re: Is it possible to start an application programmatically?

2009-03-26 Thread Dianne Hackborn
Just use startActivity(), possibly with the NEW_TASK flag. You can look at the home screen sample code in the SDK for an example. On Wed, Mar 25, 2009 at 10:45 PM, Joseph Teo josephteo2...@gmail.comwrote: Hi there... I know u can start a program using the adb shell... BUT I am trying to

[android-developers] Re: Is it possible to start an application programmatically?

2009-03-26 Thread Joseph Teo
ah ok... cool... Many thanks Dianne! :) On Thu, Mar 26, 2009 at 2:02 PM, Dianne Hackborn hack...@android.comwrote: Just use startActivity(), possibly with the NEW_TASK flag. You can look at the home screen sample code in the SDK for an example. On Wed, Mar 25, 2009 at 10:45 PM, Joseph Teo

[android-developers] Re: Singleton in different service which share same process

2009-03-26 Thread Jove
got the some clues, if I add com.example.base into BOOTCLASSPATH , it resolved. but every process will map my jar, does we have better solution? On Mar 26, 11:45 am, Jove jove.c...@gmail.com wrote: Maps of my process, it's strange. com.example.base.jar is mapped twice. :( 41036000-41037000

[android-developers] Hide a progressbar?

2009-03-26 Thread idev
Hi I have added an indeterminate progress bar to my view and I want it to be displayed when the user clicks a button. The problem is as soon as the activity is loaded and the intent displayed, the progress bar is also displayed. I have used the setProgressBarVisibility(true); statement in the

[android-developers] Re: Hide a progressbar?

2009-03-26 Thread for android
in the onCreate set the Progresbar visibilty ProgressBar.setVisibilty(View.INVISIBLE) On Thu, Mar 26, 2009 at 12:34 PM, idev ideveloper...@gmail.com wrote: Hi I have added an indeterminate progress bar to my view and I want it to be displayed when the user clicks a button. The problem is

[android-developers] Re: Hide a progressbar?

2009-03-26 Thread iDeveloper
Thanks :) On 26-Mar-09, at 12:43 PM, for android wrote: in the onCreate set the Progresbar visibilty ProgressBar.setVisibilty(View.INVISIBLE) On Thu, Mar 26, 2009 at 12:34 PM, idev ideveloper...@gmail.com wrote: Hi I have added an indeterminate progress bar to my view and I want it

[android-developers] Developing absolute layout - no drag drop click drag in eclipse ??

2009-03-26 Thread quakeboy
Hi I am developing an application which uses absolute layout with image views. I am not able to click and drag the images in the layout preview in eclipse. Is there a setting which can enable that ? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: written file not found

2009-03-26 Thread Mak
Probably, that is because they cannot browse /data due to security restrictions. What permissions do i need to see all files on the device? tools like ASTRO have -i hope so- the permissions for reading all self written files on my device. maybe my application has not enough permissions? i

[android-developers] Re: contacting commenters?

2009-03-26 Thread Mariano Kamp
No, unfortunately it is a one way communication. Hopefully that will change in the future. I think this topic is excessively discussed on the android-discuss mailing list. Maybe you should post follow-ups there. On Thu, Mar 26, 2009 at 5:34 AM, Bob bshumsk...@yahoo.com wrote: Hi, Is there

[android-developers] Re: Shutdown notification?

2009-03-26 Thread Cyril Jaquier
I would like to perform a task just before the phone is shut down. I thought that Application#onTerminate would be called but that does not seem to be the case. Is there a broadcast intent when the phone is going to shutdown? If not, how to run a task just before the phone is turned off?

[android-developers] Re: SMS encoding?? how can i receive Chinese SMS???

2009-03-26 Thread Jove Chia
does it related to encoding or font? how you can send sms by eclipse? 2009/3/26 SinFrancis kyowxf2...@gmail.com I wanna receive Chinese SMS , i use eclipse send Chinese SMS to emulator, but the message all like this ?, if the English SMS, not prob. I wanna know the encoding of SMS

[android-developers] new soft keyboard

2009-03-26 Thread stefoid
Hi. Is it possible to replace the soft keyboard by writing just an Activity, or is it hardwired into the framework? I probably think the latter from looking at various stuff, but I thought Id double check. thanks --~--~-~--~~~---~--~~ You received this message

[android-developers] branchs in android

2009-03-26 Thread a...@tw
while I dig in the cupcake branch? I founf there are other branches, for example donut, master, cdma- import. Where I can find more detail information about these branchs? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Screen Orientation.

2009-03-26 Thread Amir Alagic
int orientation = getResources().getConfiguration().orientation On Mar 25, 8:12 am, Dianne Hackborn hack...@android.com wrote: Sorry I made a mistake, use getResources().getConfiguration(). On Tue, Mar 24, 2009 at 10:43 PM, for android forandr...@gmail.com wrote: Does that mean from

[android-developers] Re: branchs in android

2009-03-26 Thread Rajesh S
Find it here: http://groups.google.com/group/android-platform/browse_thread/thread/ebd5800764427d70 Cheers, Rajesh.S On Mar 26, 8:44 am, a...@tw schosnab...@gmail.com wrote: while I dig in the cupcake branch? I founf there are other branches, for example donut, master, cdma- import.

[android-developers] Re: Multi Touch support in Android

2009-03-26 Thread Rajesh S
No. Not in the current official API. There are unofficial extensions as the hardware understands two peak touch points. So kind of dual- touch is available. (Search xda-developers forum for details.) Google might not go in that direction at least till Palm officially wins it in court. As of now

[android-developers] Re: Multi Touch support in Android

2009-03-26 Thread Rajesh S
And instead of zooming with two fingers, I have seen new map app on HTC-Magic using a rotate-to-zoom (in/out). It would be part of the upcoming APIs. On Mar 26, 9:45 am, Rajesh S rajeshs...@gmail.com wrote: No. Not in the current official API. There are unofficial extensions as the hardware

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread Stoyan Damov
On Wed, Mar 25, 2009 at 11:02 PM, Romain Guy romain...@google.com wrote: The trick is simple: avoid any allocation that might trigger a GC. It's not that simple at all. In fact, it is *impossible* on Android, or any other mobile OS which allows background processes. I've already said this

[android-developers] How to Invoke Maps application from nay other application

2009-03-26 Thread swapnil
Hello, I want to invoke the (Specifically) Android maps application from My own application. Is there any way by which I can do that? Thanks in Advance. Regards, Swapnil Dalal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Invoking Maps application

2009-03-26 Thread swapnil
Hello all, Is there any way of Invoking Maps application from any other application? Can I do that? If possible can you tell me how to proceed with that. Thanks in Advance. Regards, Swapnil Dalal. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: How to Invoke Maps application from nay other application

2009-03-26 Thread for android
geo:*latitude*,*longitude* geo:*latitude*,*longitude*?z=*zoom* geo:0,0?q=*my+street+address* geo:0,0?q=*business+near+city http://developer.android.com/guide/appendix/g-app-intents.html * On Thu, Mar 26, 2009 at 3:27 PM, swapnil swapnil.da...@gmail.com wrote: Hello, I want to invoke the

[android-developers] Re: How to read MMS messages? Possible or not?

2009-03-26 Thread Sebastian
No news? So i guess this means, no MMS for us? No explanation or hint? :( Reading/Writing MMS is crucial for an application i want to develop. Regards, Sebastian On 24 Mrz., 16:01, Sebastian flashbus...@gmail.com wrote: Hello, i am unable to find updated information on how to readmmsmessages

[android-developers] Re: How to add radiobuttons in menu structure

2009-03-26 Thread Android Entwickler
Is this rocket since or why can nobody help me? :-( --~--~-~--~~~---~--~~ 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: how to prevent the special application of android to access the network?

2009-03-26 Thread Rajesh S
Access is granted while installing. You may choose to go through the list of things accessed and stop installing. I don't think there is any other level of app specific access control available at present. Settings work in a global context. So, say once the GPS is enabled (through settings or

[android-developers] can we save mapview data in application database?

2009-03-26 Thread jj
hello can we save mapview data in application database, if so what is data format for storing mapview, location data. thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: SMS encoding?? how can i receive Chinese SMS???

2009-03-26 Thread 王心锋
yes, i send Chinese sms use eclipse, but receive data not correct. in source code , the data encoding is USC2, when i send by eclipse , convert data USC2 to GBK, also not correct. 2009/3/26 Jove Chia jove.c...@gmail.com does it related to encoding or font? how you can send sms by eclipse?

[android-developers] Re: Android Projects Promotion Pages Online

2009-03-26 Thread webmaster
*Yeah. Recently in China there have been many web pages for Android, even if not yet a single Android phone is officially released in China. The problem is, the domestic Android software industry is quite legged behind. It can not be imagined that Android would have the chance in China if the apps

[android-developers] Re: 电子工业出 版社博文视点找寻Android图书作者(限于中国人和华 人)

2009-03-26 Thread David Hu
胡先生: 您好! 我也有这方面的打算,整理过一些资料,原打算6月底开始正式整理。 胡亚军 2009/3/24 huzoor h...@phei.com.cn 大家好! 开门见山:Android在国际上吸引眼球很久了,国内关注Android也有相当一段时间。我们与多家企业联系过,有很好的推广 Android图书的途径。现在国内缺乏Android中文图书,我们关注这个市场很久了,希望找到合适的Android图书作者。希望有意者可以和我 联系,在电子工业出版社出版精品图书。

[android-developers] Re: How to display text just over ProgressBar?

2009-03-26 Thread indra
I am using android 1.0 sdk and I am not getting progress.setMessage API. Can I get any work around? BREW implements decorator design pattern which helps in getting the two widget functionality into one. some text on a progress bar, that's all I need. On Mar 21, 4:18 pm, T patel

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread Stoyan Damov
I've also proposed a solution to this - adding a permission for apps to request that they run alone, uninterrupted by other processes. That is, the app can request a permission, demanding that the app can only be interrupted by an external event, such as phone call, all other services and

[android-developers] Can any one who provide a gps test app?

2009-03-26 Thread Nio
Hi, Can any one who have develop a gps app? I'm looking for a app to test my android device. my email: luodali...@gmail.com Thanks, Nio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Is it possible to pick contacts from a single group ?

2009-03-26 Thread jarkman
And, for reference, the recipe above is only for system groups (hence the /system_id in the url). If you want to display a non-system group, try this: uri = Uri.parse(content://contacts/groups/ + name/ + Uri.encode(mGroupName) + // eg, Starred in Android -

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread admin.androidsl...@googlemail.com
Thanks for the responses guys. My question was more like how come its smooth in the picture viewer app despite running multi processes? Its the only 2d app I've found that does this correctly, but its reassuring to know it DOES work. Surface views seem good for static surfaces with moving

[android-developers] Re: How to display 2 ListViews on the screen at the same time

2009-03-26 Thread xinit
Thanks foryour good advise !! I shall explore ! On Mar 25, 3:51 pm, Mark Murphy mmur...@commonsware.com wrote: xinit wrote: For Example if I have two ListViews one ontop of another, for me to scroll the list in the bottomListViewI have to navigate all the way down through all items

[android-developers] Re: need some collection help

2009-03-26 Thread Mark Murphy
Josh wrote: I want to store objects into an array or collection(whichever is best suited to this in dalvik). You mean like the ones in the java.util package? the objects are basically just VO's all of the same class that i want to keep track of. What's a VO? -- Mark Murphy (a Commons

[android-developers] Re: written file not found

2009-03-26 Thread Mark Murphy
Mak wrote: Probably, that is because they cannot browse /data due to security restrictions. What permissions do i need to see all files on the device? tools like ASTRO have -i hope so- the permissions for reading all self written files on my device. Probably not. Or, more accurately, they

[android-developers] Re: how to prevent the special application of android to access the network?

2009-03-26 Thread jingcheng
thank your reply. yes i want to implement an app like firewall which can control the apps that access network. the fee is expensive now. On Mar 26, 5:56 pm, Rajesh S rajeshs...@gmail.com wrote: Access is granted while installing. You may choose to go through the list of things accessed and

[android-developers] Http GET method with extra headers

2009-03-26 Thread zeeshan
Hi Experts, i am trying a GET request to my server with some extra headers dont know how can i add header here is my code: DefaultHttpClient client = new DefaultHttpClient(); HttpGet method = null; HttpResponse resp = null; method = new HttpGet( new URI(url) );

[android-developers] HttpGet.addHeader

2009-03-26 Thread zeeshan
Hi Experts, i am trying to add header on HttpGet but it raise this exception InvocationTargetException here is my code: DefaultHttpClient client = new DefaultHttpClient(); HttpGet method = null; HttpResponse resp = null; String url = http://www.x.com/a.xml;;

[android-developers] Decoupling localization and translation

2009-03-26 Thread Gesh
Hi, I ran into a problem with the way Android resolves resource paths. Apparently the folders below are invalid: res/values-rAT res/values-rDE res/values-rGB What I am trying to do is decouple the localization of my application (mostly just urls to web-services i use) from the translation

[android-developers] Re: photo picker Uri issue

2009-03-26 Thread beachy
cheers, did not know that about Drawables will use Bitmaps then. Thanks, Greg. On Mar 25, 3:23 pm, Streets Of Boston flyingdutc...@gmail.com wrote: This Uri is the logical (not physical) path used by the image content provider. If you want to get the physical path to the actual file on the

[android-developers] Android Sample Applcation URL Not working

2009-03-26 Thread Ramesh
Hi, I am try to get source from http://apps-for-android.googlecode.com/svn/trunk/ URL. But it not working. Anybody know new url. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: HttpGet.addHeader

2009-03-26 Thread Stoyan Damov
What happens if you do this instead: method.getParams().setParameter(http.useragent, this.user_agent_id); ? On Thu, Mar 26, 2009 at 2:54 PM, zeeshan genx...@gmail.com wrote: Hi Experts, i am trying to add header on HttpGet but it raise this exception InvocationTargetException here is my

[android-developers] Re: need some collection help

2009-03-26 Thread Josh Dobbs
You mean like the ones in the java.util Yes, specifically java.util.collection What's a VO? A VO is basically a class that only contains properties(Value Objects). On Thu, Mar 26, 2009 at 4:53 AM, Mark Murphy mmur...@commonsware.comwrote: Josh wrote: I want to store objects into an array

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread Stoyan Damov
On Thu, Mar 26, 2009 at 1:47 PM, admin.androidsl...@googlemail.com admin.androidsl...@googlemail.com wrote: Thanks for the responses guys. My question was more like how come its smooth in the picture viewer app despite running multi processes? Its the only 2d app I've found that does this

[android-developers] Re: need some collection help

2009-03-26 Thread Josh Dobbs
Here's what my code looks like... * private* Collection *_cars*; Car *myCar*= *new* Car(1,1,*false*,5, blue); Car *myCar2*= *new* Car(1,1,*false*,5, red); _cars.add(myCar); _cars.add(myCar2); On Thu, Mar 26, 2009 at 6:18 AM, Josh Dobbs joshdo...@gmail.com wrote: You mean like the ones in

[android-developers] Re: How to get the permission WRITE_SECURE_SETTINGS

2009-03-26 Thread Stanley.lei
Does any Android developer give me any explaination? I will appreciate any reply. Thanks Best Regards, Stanley On Mar 25, 6:37 pm, Stanley.lei xiaofeng.lei...@gmail.com wrote: One more thing as the supplement, is that I met this issue when I tried to call the non-published API

[android-developers] Re: need some collection help

2009-03-26 Thread Stoyan Damov
I don't understand what are you really asking? Whether arrays are faster than collection classes? Yes, they are faster, but you have to manage their contents (insertions, deletions, etc.) yourself. On Thu, Mar 26, 2009 at 3:31 PM, Josh Dobbs joshdo...@gmail.com wrote: Here's what my code looks

[android-developers] Re: How to get the permission WRITE_SECURE_SETTINGS

2009-03-26 Thread Jean-Baptiste Queru
As far as I know this permissions won't be available to applications. My understanding is that there activities that your application will be able start that allow the user to change the settings in question. JBQ On Thu, Mar 26, 2009 at 6:31 AM, Stanley.lei xiaofeng.lei...@gmail.com wrote:

[android-developers] File size column in image database is always 0 for the newest image

2009-03-26 Thread Matthias
Hi, I am uploading images to our webservice from the phone, and thus I need to know the exact size of an image. I noticed that with some photos from the G1, the webservice always failed, and found out that it's due to the file size always being 0 for the latest image in the database. Is this a

[android-developers] Re: Question about OpenGL literature

2009-03-26 Thread Lutz Schönemann
If you're looking just for a book on OpenGL there are the official books: - The Redbook: The OpenGL Reference Manual http://www.opengl.org/documentation/blue_book/ - The Bluebook: The OpenGL Programming Guide http://www.opengl.org/documentation/red_book/ You can also look on this site:

[android-developers] Re: Providing text-to-speech (TTS) capability in my Android application?

2009-03-26 Thread Nanard
If you need more languages, voices, I think a client/server solution would be better. Android app send a request (POST) to a TTS web server. The server sends back a mp3, or a html page with a link to a mp3. You download the mp3 on the SD card, and play it. The problem : finding a FREE TTS

[android-developers] Re: File size column in image database is always 0 for the newest image

2009-03-26 Thread Streets Of Boston
I had the same problem and it was driving me nuts. I think it's a bug. Below is how i worked-around it. Do what you do now by calling insertImage(...). This will insert the image into the data-base; however, thumbnails are not correctly generated and the SIZE attribute is 0 (your problem that

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread Streets Of Boston
Add my vote for this option/feature: A permission for an app to become the only app running (except maybe the phone-app and incoming SMS, etc). On Mar 26, 7:26 am, Stoyan Damov stoyan.da...@gmail.com wrote: I've also proposed a solution to this - adding a permission for apps to request that

[android-developers] Re: Http GET method with extra headers

2009-03-26 Thread Lutz Schönemann
Hi, try the 'setHeader(String name, String value)' method from the HttpGet class. For example: --- snip --- DefaultHttpClient client = new DefaultHttpClient(); HttpGet method = new HttpGet(url); HttpResponse response = null; method.setHeader(user-agent,

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread Jean-Baptiste Queru
There are some problems with that approach: -it's an arms race. You've already identified the need for certain apps to continue running even when there's an exclusive app running, which'd have to be protected by a permission. Either that permission is system-only and we move further away from

[android-developers] Re: Http GET method with extra headers

2009-03-26 Thread Neil
Why getText(...).toString() rather than getString(...)? Neil On Mar 26, 3:08 pm, Lutz Schönemann lutz.schoenem...@sit.fraunhofer.de wrote: Hi, try the 'setHeader(String name, String value)' method from the HttpGet   class. For example: --- snip --- DefaultHttpClient client = new

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread Stoyan Damov
On Thu, Mar 26, 2009 at 4:14 PM, Jean-Baptiste Queru j...@android.com wrote: There are some problems with that approach: -it's an arms race. You've already identified the need for certain apps to continue running even when there's an exclusive app running, which'd have to be protected by a

[android-developers] Re: File size column in image database is always 0 for the newest image

2009-03-26 Thread matthias
Hi, thanks for the swift reply! Hm, if the workaround you suggest is slow, maybe I am better off with writing the image to a byte buffer and taking its size after all? I just tested that solution, and it was much faster than I expected. Since I upload images in a background service, it may not

[android-developers] API reference for system application

2009-03-26 Thread Lutz Schönemann
Hi, I want to do some development on the Android system. Is there a way to make Eclipse know about the entire API that Android provides to systemtools? And is there a reference for that API? Thanks Lutz smime.p7s Description: S/MIME cryptographic signature

[android-developers] How to extend GMail App

2009-03-26 Thread sdz
hi, is it possible to put my own function (as a button per Attachment) in the Gmail app? If yes: how can I achieve that? Are there tutorials? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: HttpGet.addHeader

2009-03-26 Thread zeeshan
thanks for the reply, it is solved actually i was adding header before it get initialised it should be like this method = new HttpGet( new URI(url) ); method.addHeader(Connection,Keep-Alive); i suppose to get an xml on this request , how can i make input stream? do i need to connect it

[android-developers] Re: HttpGet.addHeader

2009-03-26 Thread zeeshan
thanks for reply, it is working now, i was tring to add header before it get initialised it should be lilke that method = new HttpGet( new URI(url) ); method.addHeader(Connection,Keep-Alive); On Mar 26, 1:15 pm, Stoyan Damov stoyan.da...@gmail.com wrote: What happens if you do this instead:

[android-developers] Re: Building user interfaces at runtime with layouts from server

2009-03-26 Thread Daniel
I chose the do it yourself approach and parse the layout.xml by myself. The simple part (reading the element names and building the widget tree) works quite well. Then I wrote an own implementation of android.util.AttributeSet which wraps a org.w3c.dom.NamedNodeMap. When I try to instantiate a

[android-developers] Re: HttpGet.addHeader

2009-03-26 Thread Lutz Schönemann
If you use the DefaultHttpClient to connect to your server you don't need to reconnect. You'll receive a HttpResponse. You should validate the status code if the request was successful. after that just retrieve the HttpEntity. This class provides a getContent() method which returns a

[android-developers] Re: File size column in image database is always 0 for the newest image

2009-03-26 Thread Streets Of Boston
You still may need to do this, though. With my application; if i don't do the MediaScanner thing, the 'Pictures' application will crash! You may find the same problem. Try to insert an image (with the SIZE being 0), then close your app and start the stock 'Pictures' application. Check if it

[android-developers] Re: Building user interfaces at runtime with layouts from server

2009-03-26 Thread Mark Murphy
I chose the do it yourself approach and parse the layout.xml by myself. The simple part (reading the element names and building the widget tree) works quite well. Then I wrote an own implementation of android.util.AttributeSet which wraps a org.w3c.dom.NamedNodeMap. When I try to instantiate

[android-developers] Re: HttpGet.addHeader

2009-03-26 Thread Stoyan Damov
ResponseHandlerString responseHandler = new BasicResponseHandler(); String body = httpClient.execute(method, responseHandler); 2009/3/26 Lutz Schönemann lutz.schoenem...@sit.fraunhofer.de: If you use the DefaultHttpClient to connect to your server you don't need to reconnect. You'll receive a

[android-developers] Re: kill GPS activity when quitting an application

2009-03-26 Thread andykalbvleesch
I only need one location... so I only want to get one fix. However this is indeed a problem because I never know how many calls I have to make before to get an accurate reading... On 25 mrt, 13:14, ellipsoidmob...@googlemail.com ellipsoidmob...@googlemail.com wrote: When you 'exit' an

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread Jean-Baptiste Queru
On Thu, Mar 26, 2009 at 7:25 AM, Stoyan Damov stoyan.da...@gmail.com wrote: Screw the developer. I'll put myself in the shoes of the user. I have launched myself a game. I want it to run at full speed. I could care less that a background service, polling RSS feeds have just found out that

[android-developers] Re: App localization

2009-03-26 Thread Yossi
I understand that it works like that in the emulator but I read somewhere that it works differently on a real device. glad that it's so simple. Thanks. On Mar 24, 4:46 pm, Bernhard Fuhry bernhard.fu...@gmail.com wrote: I have the english translation in the values folder (values/ strings.xml)

[android-developers] Re: File size column in image database is always 0 for the newest image

2009-03-26 Thread matthias
Hi, On Mar 26, 4:04 pm, Streets Of Boston flyingdutc...@gmail.com wrote: You still may need to do this, though. With my application; if i don't do the MediaScanner thing, the 'Pictures' application will crash! You may find the same problem. Try to insert an image (with the SIZE being 0),

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread Stoyan Damov
On Thu, Mar 26, 2009 at 5:24 PM, Jean-Baptiste Queru j...@android.com wrote: On Thu, Mar 26, 2009 at 7:25 AM, Stoyan Damov stoyan.da...@gmail.com wrote: Screw the developer. I'll put myself in the shoes of the user. I have launched myself a game. I want it to run at full speed. I could care

[android-developers] Re: Building user interfaces at runtime with layouts from server

2009-03-26 Thread Lutz Schönemann
The point is now: Android already has this user interface description (layout.xml) and the code which inflates such a description (in preprocessed form) to a user interface. It would be awesome to reuse this code! You can use that LayoutInflater to create the tree of views and attach it to

[android-developers] Re: HttpGet.addHeader

2009-03-26 Thread Lutz Schönemann
Am 26.03.2009 um 16:12 schrieb Stoyan Damov: ResponseHandlerString responseHandler = new BasicResponseHandler(); String body = httpClient.execute(method, responseHandler); That's much simpler. But is there a way to get the status code if you do it this way? Lutz 2009/3/26 Lutz

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread Stoyan Damov
On Thu, Mar 26, 2009 at 5:40 PM, Stoyan Damov stoyan.da...@gmail.com wrote: On Thu, Mar 26, 2009 at 5:24 PM, Jean-Baptiste Queru j...@android.com wrote: I think that we've gone way too far from the original problem. The original problem as I see it isn't about GCs in other apps, it's about

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread Al Sutton
Got to say I'd prefer a good user experience to developer orientated features any day. All apps can be still be created equal, all that needs to happen is alongside the exclusive running permission there is an interrupt everything permission that allows an intent to pause an exclusive running

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread Stoyan Damov
On Thu, Mar 26, 2009 at 6:14 PM, Al Sutton a...@funkyandroid.com wrote: Got to say I'd prefer a good user experience to developer orientated features any day. Indeed. That's all I ask for! I hope it's not much. This is the *only* way Android will beat other phones. What good, if it could run

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread Jean-Baptiste Queru
The problem with your reasoning is that it's far from obvious that your hypothetical user will clearly understand that launching your game will prevent their other apps from running (there's plenty of evidence that users don't understand the consequences of their actions as well as developers

[android-developers] how to add --core-library to Eclipse ?

2009-03-26 Thread DaRolla
hi, I need to know how to add the parameter --core-library to Eclipse, especially to DEX. I managed to work around with activitycreator and ant scripts (build.xml), but this way it takes too long. Where can I configure this? Thanks, DaRolla

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread Stoyan Damov
On Thu, Mar 26, 2009 at 6:23 PM, Jean-Baptiste Queru j...@android.com wrote: The problem with your reasoning is that it's far from obvious that your hypothetical user will clearly understand that launching your game will prevent their other apps from running (there's plenty of evidence that

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-26 Thread Romain Guy
I've already said this once -- even though your game can be tuned to the max, nothing prevents *other* apps from triggering GC. That is, in my game, I *never*, *ever* do any allocation after startup. However, other background processes do trigger GC, and voila - my game stutters for a bit

[android-developers] Parsing #xx; characters in XML

2009-03-26 Thread vincent.gann...@gmail.com
Hi all, I'm using a DOM parser to parse XML from Google News. Unfortunaltly, the XML is full of #39; characters and the parser cannot deal with them properly. Is there any way to achieve parsing correctly? Am I missing something? Thanks. --~--~-~--~~~---~--~~ You

[android-developers] Re: Task activity stack always reset when launched from Home

2009-03-26 Thread jseghers
The code that starts the .About activity is: protected void startAbout() { Intent aIntent = new Intent(this, About.class); startActivity(aIntent); } The Manifest entries for .UserLaunch and .About are in my original post. The intent that returns the task to the front

[android-developers] Re: Market and Developer Frustration

2009-03-26 Thread mv10
9) The web interface for market is miserable. Why can't we see all the apps there? Why don't we have the same set of controls we do from the phone along with a discussion/blog for ratings. For whatever it's worth, I came here specifically looking for a discussion of this issue. In addition

[android-developers] cannot cast from View to MapView ?

2009-03-26 Thread heyuksel
hi, i'm new developer on Android. When i use this line i get 'cannot cast from View to MapView ' error. mapView = (MapView) findViewById(R.id.mapview); in R.java public static final class id { public static final int mainlayout=0x7f05; public static final int

[android-developers] How to start serial interface(RS232) code in Android

2009-03-26 Thread Venkateswara Saripalli
Hi All, I am beginner to android. I want user RS232 interface with android. Please suggest me where can I get sample code. Advance thanks for your help. Venkat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] OutofMemory exception when dealing with large Bitmaps

2009-03-26 Thread George
I wrote a sample application which rotates and scales a bitmap on clicking a key. When the bitmap is large (1280x1024) I quickly run into an OutOfMemory exception at CreateBitmap and I need to Force Close the application. No issues with smaller bitmaps. I have already tried using bitmap.recycle

[android-developers] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-03-26 Thread Novice J
Will the 1.1 SDK eventually put back the Bluetooth API? Thanks. Android Developer On Feb 9, 6:31 pm, Justin (Google Employee) j...@google.com wrote: Hey developers, today we released the new, 1.1_r1 SDK. This SDK includes some minor updates that you can read more about on the

[android-developers] When save image, how to specify image name?

2009-03-26 Thread Ren
I have the following code to save a bitmap to a jpg file. It works except I couldn't specify the file name. The image file is save in /sdcard/dcim/Camera. How do I specify a file name, or even the saved path? Cheers ContentValues values = new ContentValues();

[android-developers] RingtoneManager.ACTION_RINGTONE_PICKER

2009-03-26 Thread damnesia
Hello. I tried to post earlier and my browser was acting funky. I don't see the post, so I am adding another. I apologize if both show up. I am using Android SDK 1.1_r1. I want a user to be able to open the ringtone picker, select a ringtone, it the OK button and have the result sent back to the

[android-developers] Location API Country code

2009-03-26 Thread Joey
Earlier in the year my location application was pulling the Country Code of US, now the app pulls the Country code as United States, which is jacking up my web link generation process. Did the API values change? If so, when? Thanks! --~--~-~--~~~---~--~~ You

[android-developers] Re: Market and Developer Frustration

2009-03-26 Thread mv10
Interesting, it seems T-Mobile agrees... http://www.pcworld.com/article/161410/android_market_needs_more_filters_tmobile_says.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] MapView

2009-03-26 Thread heyuksel
Hi everyone, i'm a new developer on Android. I need your help. I look tutorial HelloMapView on http://developer.android.com/guide/tutorials/views/hello-mapview.html . i use eclipse ADT for developing and at this line a get an error at compiler time. mapView = (MapView)

[android-developers] Routing UDP data to the emulator

2009-03-26 Thread Tim
I've been scouring the forums and found similar issues like this, but the solutions seems not to be working. What we're doing is trying to receive data from an external server via UDP. At the moment, doing a tcpdump on linux provides information that yes, there is data coming into my computer.

[android-developers] Re: Notepad Exercise 1 solution gives weird errors

2009-03-26 Thread frank
For anyone still having problems these files are hidden files that start with '.' On Mar 1, 9:52 pm, plankeye back_in...@yahoo.com wrote: Just in case you haven't gotten an answer yet, there are three unwanted files in the Notepadv1\src\com\android\demo\notepad1 directory.  Delete these files

[android-developers] Re: Dynamic Forms UI

2009-03-26 Thread Ahmad Nadeem
On Thu, Mar 26, 2009 at 1:01 PM, Ahmad ahmad...@gmail.com wrote: I want to create a form designer application like user can create custom form layouts .. there might be a list of all available controls (TextView, EditText, Button, RadioButton etc ) and an add button and user can

[android-developers] Wireless voice over IP

2009-03-26 Thread Hades
Hi, I would like to know the best way to go about building a wireless voice over solution for the android platform? I know the question might be too general, but I would like to details such as which voice over IP server to use. In addition to this would it be possible to encrypt and decrypt

[android-developers] Dynamic Forms UI

2009-03-26 Thread Ahmad
I want to create a form designer application like user can create custom form layouts .. there might be a list of all available controls (TextView, EditText, Button, RadioButton etc ) and an add button and user can add his new form layout on android that can be further saved on android

[android-developers] RingtoneManager.ACTION_RINGTONE_PICKER

2009-03-26 Thread damnesia
Hello. I am trying to allow someone to choose a ringtone and to get the URI or order number of this and pass it back to the parent Activity. Maybe I am going about this the wrong way. The problem that I am having is startActivityForResult() launches the ringtone picker but immediately call

  1   2   >