[android-developers] Re: Plzzzzz Help....FileOutputStream creates problem in execution

2009-03-10 Thread Asif k
Hi all, The is working fine if I use this Socket server also as Desktop application. But it creates a problem at FIleOutputStream in the android application. Please reply On Mar 10, 10:13 am, Asif k asifk1...@gmail.com wrote: Hi all, I am running android server application which is

[android-developers] Re: Android Testing with TMobile G1

2009-03-10 Thread Al Sutton
If you're running Vista you may encounter problems with the USB connection. Al. Mike Pastor wrote: Fellow Developers, Has anyone experienced problems with using the TMobile G1 (usa) as a serious Android testing machine? Is it a seamless task to load the G1 phone from your development PC

[android-developers] Re: javax.mail.internet.InternetAddress cannot be found?

2009-03-10 Thread Al Sutton
Can I suggest moving this over to the Android-Beginners google group? Al. Mark Murphy wrote: Noam wrote: If that is so, how is google using it in their program?

[android-developers] Re: No Latitude in ADP1.1

2009-03-10 Thread Al Sutton
Mark, Just to add to JBQs' note, the T-Mobile UK G1 Firmware doesn't have Latitude (or Amazons MP3 store, or the mult-transport IM programme). I can't speak definitively for the other regions (Germany, Australia, etc.,), but my guess is that the ADP 1.1 firmware is probably up there with

[android-developers] Re: https://dl-ssl.google.com/android/eclipse/ not reachable

2009-03-10 Thread Andreas Frey
Thank you very much, Search the lists before asking ;) I did, but did not even find my own thread by searching. Looks like this problem exists for several months. Why are the update sites not updated, or the problem already solved? --~--~-~--~~~---~--~~ You

[android-developers] Re: maps probelm

2009-03-10 Thread Peter Stevenson
Peter Wrote: Try this ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.testing.out android:versionCode=1 android:versionName=1.0.0 uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION / uses-permission

[android-developers] access parent's protected variable when override a android class

2009-03-10 Thread jusun...@gmail.com
I liked to override a Gallery widget class, so I tried to override and I faced the problem of using protected variable. this is a Gallery source @Override protected void onLayout(boolean changed, int l, int t, int r, int b) { super.onLayout(changed, l, t, r, b); /*

[android-developers] Re: SeekBar does not reach the end

2009-03-10 Thread Kacza
Ok I guess I solved the mystery: It depends on seekbar resolution (max value). I set max to 100 and now everything looks fine. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] access parent's protected variable when extend a android class!

2009-03-10 Thread jusun...@gmail.com
I liked to extend a Gallery widget class, so I tried to extend and I faced the problem of using protected variable. this is a Gallery source @Override protected void onLayout(boolean changed, int l, int t, int r, int b) { super.onLayout(changed, l, t, r, b); /* *

[android-developers] EditText

2009-03-10 Thread Mr.No
Hello, how do i change the size, style, typeface of a hint? If the EditText gains the focus the border-color changes to orange, how do i set a other color? rgds Mr.No --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] EditText appearance

2009-03-10 Thread Mr.No
Hello, how do i change the size, style, typeface of a hint? If the EditText gains the focus the border-color changes to orange, how do i set a other color? rgds Mr.No --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] get the signkey of the apk

2009-03-10 Thread Dilli
Hi all, I want to get the key (by which the apk signed) of the apk file installed how to get the key (by which the apk signed) of apk need help Thank you Dilli --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Decoding content:encoded

2009-03-10 Thread John Doe
Hi everyone. I am writing an XML parser. I want to show the following node but it is displayed as it is. I want to parse this as well. I need the link for the images and I need the content without tags. What should I do? Thanks in advance content:encoded - ![CDATA[ pa

[android-developers] Re: get the signkey of the apk

2009-03-10 Thread Al Sutton
You can't. The reason being is that it would allow you to create a modified version of the apk which would appear to have come from the original author, and that would create a security problem. Al. Dilli wrote: Hi all, I want to get the key (by which the apk signed) of the apk file

[android-developers] Is it possible to clear defaults by code? (after setting 'Use by default for this action'')

2009-03-10 Thread Kakyoin
Topic. I'm playing with the alternative Home app that comes with the SDK. I can set this as default for 'Home' action. I can unset this by --Setting-Manage Application-My Alternative Home- clear defaults Question: How to do this clear defaults by code? I've browsed the forums but cannot

[android-developers] Re: Does Camera API really works ?

2009-03-10 Thread Jun'ichi Hirayama
Hi David will you officially support the camera API in portrait mode? On Wed, Feb 18, 2009 at 1:08 AM, Dave Sparks davidspa...@android.comwrote: This code shouldn't even compile, this line is wrong: mCamera.takePicture(null, mPictureCallback); // requires 3 callback functions Camera is

[android-developers] Re: Failed to reopen debug port for Selected Client to:

2009-03-10 Thread Emmanuel
I had the same problem yesterday ! Actually, the original poster post saved my day : it's the window Host file that is messed up : the file is at this place : C:\WINDOWS\system32\drivers\etc And should contain this line : 127.0.0.1 localhost Putting this line back allow me to debug once

[android-developers] Re: Diplay a Euro sign for the currency

2009-03-10 Thread arjanDOTTYbroerATgmailDOTTYcom
Jon, Thanks for the tips. I have been trying with the different locales and can confirm that Locale.GERMANY, Locale.FRANCE, but above all new Locale(nl, NL) works. For the discussion on German(Germany) and German(autstria), i think that the language is still the same. The language codes are

[android-developers] Re: Dial a USSD code

2009-03-10 Thread Ray
I expected to see the response by using startActivityForResult and onActivityResult(int requestCode, int resultCode, Intent data) But that didn't work for me and I've run out of ideas. Ray On Mar 3, 6:29 am, droi...@gmail.com droi...@gmail.com wrote: Does the Android API provide a way to

[android-developers] Checking Internet Connection

2009-03-10 Thread Atxe
Hi, How can I check the Internet Connection? I need also the same with the GPS signal... I am developing an app that needs to be persistently connected to the Internet and I need something like a Listener. Should I create my own Listener or there is something implemented? Thank you in advance.

[android-developers] Saving animations in gif format

2009-03-10 Thread John Doe
I want to save an animation that I wrote in android in gif format. I know how to take screenshot but is there any possibility to capture an anmation? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Starting service at bootup time

2009-03-10 Thread mahantesh Hunagund
Hi All, I am trying to launch a service at bootup time, but I am getting java.lang.ClassNotFound Exeption. Looks like need to set the classpath. Any idea about how to set the class path ? Here is the logcat messages. Thanks in advance. Thanks, Mahantesh

[android-developers] Re: Saving animations in gif format

2009-03-10 Thread Stoyan Damov
There isn't. Just draw your animation, capture each frame, save it on the SD card, and then use a tool of your choice to create the animated GIF. On Tue, Mar 10, 2009 at 1:41 PM, John Doe halila...@gmail.com wrote: I want to save an animation that I wrote in android in gif format. I know how

[android-developers] Re: Turning GPS ON/OFF

2009-03-10 Thread Rudi
Actually I'm building from my own source tree and was calling updateManager. I was able to turn on the GPS successfully at the start of my activity Now the problem is that I want to restore the original state when my activity is paused. So I'm doing exactly the same thing in my onPause

[android-developers] How to explicitly launch the system's Home application by code?

2009-03-10 Thread Kakyoin
Topic. Short and sweet question. And I did browse the forum before asking. Thank you in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: How to explicitly launch the system's Home application by code?

2009-03-10 Thread Stoyan Damov
Here are some examples of other operations you can specify as intents using these additional parameters: * ACTION_MAIN with category CATEGORY_HOME -- Launch the home screen. http://developer.android.com/reference/android/content/Intent.html On Tue, Mar 10, 2009 at 2:20 PM, Kakyoin

[android-developers] Re: toolchain to build kernel

2009-03-10 Thread Mark Murphy
Abhijeet wrote: Hello All, I am trying to build a kernel image to run in the emulator and I am following http://honeypod.blogspot.com/2007/12/compile-android-kernel-from-source.html I have downloaded the android source (http://source.android.com/ download) and it has 2 toolchains

[android-developers] Re: How to explicitly launch the system's Home application by code?

2009-03-10 Thread Kakyoin
On Mar 10, 7:31 pm, Stoyan Damov stoyan.da...@gmail.com wrote: Here are some examples of other operations you can specify as intents using these additional parameters:     *       ACTION_MAIN with category CATEGORY_HOME -- Launch the home screen.

[android-developers] How to make surfaceview insensitive to touch Events

2009-03-10 Thread Nithin
Hi, When i am running mediaplayer, i want the surfaceview to be insensitive to motion events. I tried mSurfaceView.setFocusableInTouchMode(false); but its not working.. please guide me in this.. Thanks Nithin --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: How to explicitly launch the system's Home application by code?

2009-03-10 Thread Stoyan Damov
I can't help you with this. Tough luck - I'd assume that when an intent has alternative intent filters and an intent filter crashes, the user would be presented with the list of intent filters to retry the operation. I guess that's not the case or you wouldn't be asking. Cheers On Tue, Mar 10,

[android-developers] Re: How to make surfaceview insensitive to touch Events

2009-03-10 Thread Stoyan Damov
Can't you just handle and ignore them? On Tue, Mar 10, 2009 at 3:10 PM, Nithin nithin.war...@gmail.com wrote: Hi, When i am running mediaplayer, i want the surfaceview to be insensitive to motion events. I tried mSurfaceView.setFocusableInTouchMode(false); but its not working.. please

[android-developers] Re: Using ZoomControls with ImageView in Android

2009-03-10 Thread Mark Murphy
Priyanka G wrote: When I use MapView in place of ImageView, there is no compilation error, but the app never launches on emulator. I followed the example given on android developer website. When I use ImageView, it asks me to cast the ImageView object before getZoomControls(). But it is of

[android-developers] Re: javax.mail.internet.InternetAddress cannot be found?

2009-03-10 Thread Noam
If you say so --~--~-~--~~~---~--~~ 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 to

[android-developers] Re: Can I initialize an Array list from data specified in xml resource file?

2009-03-10 Thread mafro
I had a little tinker with this idea this morning, and you could implement it by using an external XML resource. Create your data in res/xml/ - mine was called meals.xml. Dont ask why ;) ?xml version=1.0 encoding=utf-8? meals meal name=breakfast tree=bonsai food=egg / meal

[android-developers] Re: Ubuntu Compile/Run Error - Netbeans

2009-03-10 Thread kwylez
This has been resolved. One of the folders in my classpath had a space in the directory name. Once I removed that everything started working. On Mar 9, 5:12 pm, deewiles kwy...@gmail.com wrote: I am using Netbeans 6.5 on 8.04.  $JAVA_HOME = /usr/lib/jvm/java-1.5.0- sun. When I run the

[android-developers] How to save and restore database

2009-03-10 Thread SLY
Hi, Can anyone please tell me how to save existing database to sd card and then later read from that file ? Here's what I want. I have created an application which writes to the db as and when the user enters data through a form page. I want to make an option to save existing database to a file

[android-developers] does the setHorizontalScrollBarEnabled work

2009-03-10 Thread Derek
Hi, I called setHorizontalScrollBarEnabled on ImageView and ScrollView, none seemed to work. Is there any way to get horizontal scroll bar? Thanks, Derek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Saving animations in gif format

2009-03-10 Thread Mark Murphy
John Doe wrote: I want to save an animation that I wrote in android in gif format. I know how to take screenshot but is there any possibility to capture an anmation? There is no easy way to accomplish this today straight from the tools. As somebody else pointed out, you could stitch together

[android-developers] Re: How to test the earpiece

2009-03-10 Thread cht
yes that works, thank you but i have another question. can i implements that the earpiece output what the mike receives. that is i can here the voice what i said to the mike through the earpiece. this way i can test the mike and earpiece at the same time. can you give me some directions?

[android-developers] Re: *** Why 1 G1 can see Paid Apps in the Android Market and Another Not? ***

2009-03-10 Thread Brodsky
I've got the same problem. If I can't see paid apps off this dev phone, how do I get my money back for it? No one ever told me it'd be crippled... On Feb 20, 4:19 pm, Michael Martin mi...@mm-agency.com wrote: *** Can anyone at Google explain why some G1s can seepaidappswhile others can’t?

[android-developers] Re: access parent's protected variable when extend a android class!

2009-03-10 Thread Jon Colverson
On Mar 10, 8:48 am, jusun...@gmail.com jusun...@gmail.com wrote: the result log mean that I can't accessed the protected variable mInLayout from outside package. I think I can access a parent's protected variable when extending class in Object oriented programming theory. am I wrong? and is

[android-developers] Re: help !!!! the problem for can't start the emulator

2009-03-10 Thread Falko Richter
I have the same problem, but deleting that directory did not do any good. I have the SDK and my Eclipse in my home folder, could there be any problems with ownerships of these files? thx in advance Falko On Tue, Oct 28, 2008 at 11:24 PM, Selmi se...@centrum.sk wrote: it works now thios

[android-developers] How to use fprintf() for stdout/stderr on Android v1.1 SDK Release 1?

2009-03-10 Thread Mars Alucard
Hi, I want to write simple native C application using fprintf() for stdout/ stderr, on Android emulator with v1.1 SDK Release 1. But when I try to compile my native C application with: ~/arm-2007q3/bin/arm-none-linux-gnueabi-ld -c -lc -lm -static -o XXX start.o main.o I get error messages:

[android-developers] How to use IOCTL() to access H/W, via Sahred Library + JNI or else, in Android applications?

2009-03-10 Thread Mars Alucard
Hi, In my Android application, I need to use IOCTL() to do I2C R/W operations. My native C application could do it successfully, no matter by standalone or dynamically linking .so, but... ioctl() returns -1 when Android application loads shared library (.so) and calls the function including

[android-developers] I can't use my Google account to post question at Android Developers

2009-03-10 Thread Mars Alucard
Hi, I can't use my Google account to post questions at Android Developers (Google Groups). I don't know why since I got my Google account: k...@cis.nctu.edu.tw and, I've joined Google Groups of Android Developers. But when I click the button of Post message to post, it shows my message would

[android-developers] Re: Screen Orientation change performance Question

2009-03-10 Thread TjerkW
I do not want my view to rotate when the user opens the keyboard or rotates the device (i make a game). How do i disable this? In the emulator it always rotates by hiting CTRL-F11 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] How to record audio stream?

2009-03-10 Thread jianwei
Hi all, I want to send audio stream to internet directly, instead of store in the file. But the output of MediaRecord only supports file by seting setOutputFile(String path) , not OutputStream. Is there any methods to do this? Thanks. --~--~-~--~~~---~--~~ You

[android-developers] first app

2009-03-10 Thread Jignesh Kakkad
Dear All, Can you guide me from where to start writing application using Android SDK? Waiting for the reply Regards Jiggy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Market and Developer Frustration

2009-03-10 Thread markz
I've developed for a bunch of platforms and I'm starting to get a bit frustrated with Android/Google. It seems like you didn't quite think things through for developers. 1) There's no way to dialog on ratings. Even in a stupid web blog the author is allowed to comment in a discussion. Ratings

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

2009-03-10 Thread David Yue
Hi, I am trying to implement a ProgressBar with text over it. Below is my general idea: In layout *.xml file, I define it as below: ProgressBar android:id=@+id/progress_ID style=?android:attr/progressBarStyleHorizontal android:layout_width=200dip

[android-developers] DefaultRingtonePreference in expandable list view possible ?

2009-03-10 Thread Anup
Hi, I am using an expandable list to show settings, on the event click i want to view default ringtone settings of the device. When i tried using DefaultRingtonePreference of com.android.settings, the thread is panicing saying that activity not found, but when i used SoundAnddisplaySettings the

[android-developers] how to use chart in application?

2009-03-10 Thread kuldipsinh
hai friends, i want to use chart in my application but i don't know how to use it?? please help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: When will Android support Multiple PDP?

2009-03-10 Thread grenness
Just to add my frustration to this thread... Ever since I got my G1 in November I haven't been able to neither receive nor send MMS on the Ventelo network in Norway. This is quite surprising to me, as I kind of expected that buying a GSM world phone (quad bands, isn't it?) should work both with

[android-developers] Re: how to config APN in android?

2009-03-10 Thread Gordon
Seems Android does not allow APN change for PDP context, so no API exposed. On Mar 9, 9:43 am, Gollum [www.aidiji.com] www.aidiji@gmail.com wrote: I mean, which API can I turn to ?thank you. --www.aidiji.com- Andoroid Developing Application Forum

[android-developers] Launch my activity on click of a link

2009-03-10 Thread Amit
Hello All, Can anyone tell me how to launch my activity on click of a link say mylink://mydata somewhere else say in a email. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] query regarding the API for device (phone) specific data

2009-03-10 Thread Mallikarjuna
Hi Here my questions are Is there any way or API or method to get the following device details to use in my Android application? 1) Manufacturer of the device ( phone) 2) Model or name of the device /phone 3) Firmware version 4) Original equipment (phone) manufacturer 5) Software version ( I

[android-developers] Re: Screen Orientation change performance Question

2009-03-10 Thread Mark Murphy
TjerkW wrote: I do not want my view to rotate when the user opens the keyboard or rotates the device (i make a game). How do i disable this? In the emulator it always rotates by hiting CTRL-F11 Use android:screenOrientation=”portrait” as described here: http://androidguys.com/?p=2891 --

[android-developers] Re: I can't use my Google account to post question at Android Developers

2009-03-10 Thread Justin (Google Employee)
Hey Mars, there's a moderation delay for first time posters. Cheers, Justin Android Team @ Google On Mar 10, 6:00 am, Mars Alucard k...@cis.nctu.edu.tw wrote: Hi, I can't use my Google account to post questions at Android Developers (Google Groups). I don't know why since I got my Google

[android-developers] Re: query regarding the API for device (phone) specific data

2009-03-10 Thread Mark Murphy
Mallikarjuna wrote: Is there any way or API or method to get the following device details to use in my Android application? Generally yes, however, they are in various places. android.os.Build has a lot of them; the rest you should be able to find by searching the SDK documentation. -- Mark

[android-developers] Re: Market and Developer Frustration

2009-03-10 Thread Stoyan Damov
Moved this discussion to android-discuss (we agreed to move Market-related rants there). Join the group, it's worth it. On Tue, Mar 10, 2009 at 3:26 PM, markz markz...@gmail.com wrote: I've developed for a bunch of platforms and I'm starting to get a bit frustrated with Android/Google. It

[android-developers] Re: Make a button from an image (PNG)

2009-03-10 Thread dan raaka
Can you use something like public class ClockView extends AnalogClock { /* Here override the functions .. */ } http://d.android.com/reference/android/widget/AnalogClock.html Source can be found under frameworks/base/core/java/android/widget/AnalogClock.java -Dan On Mon, Mar 9, 2009 at 8:14

[android-developers] Re: Keep app from restarting when touching icon from Home screen

2009-03-10 Thread Dianne Hackborn
What you are saying you want is how applications behave by default (try using the standard applications to see). You must have done something different, more than the small snippet of code you included. On Tue, Mar 10, 2009 at 8:44 AM, Hayden hayden.stew...@gmail.com wrote: I want my

[android-developers] Re: How ratio of dp-to-pixel change with the screen density?

2009-03-10 Thread Dianne Hackborn
The px, mm, and pt units are absolute dimensions. If the device is configured correctly (the current system on the G1 unfortunately has bugs here), then 1 px will be exactly one inch on screen. On Sun, Mar 1, 2009 at 8:16 PM, Xiongzh zx.zhangxi...@gmail.com wrote: Thank you very much for your

[android-developers] Re: How ratio of dp-to-pixel change with the screen density?

2009-03-10 Thread Dianne Hackborn
On Mon, Mar 9, 2009 at 10:27 PM, e3075 e30...@gmail.com wrote: However can someone help to explain sp? In Android doc, it says but it is also scaled by the user's font size preference, what is font size preference being referred here? It's a setting that isn't currently exposed in

[android-developers] Change height of notification?

2009-03-10 Thread Marc
Is there any way to change the height of the extended notification (i.e. the contentView in the Notification)? It seems like I get the standard two lines no matter what... I'm thinking I've missed something, but ... TIA Marc --~--~-~--~~~---~--~~ You received

[android-developers] Re: Market and Developer Frustration

2009-03-10 Thread Justin (Google Employee)
I'll respond to most of your points in turn, but in general you should keep in mind that Android isn't done. There are still lots of thing we plan to do, would like to do, and are thinking about doing. Thanks for taking the time to provide this feedback. 1) There's no way to dialog on ratings.

[android-developers] Re: Keep app from restarting when touching icon from Home screen

2009-03-10 Thread Hayden
That little bit of code I added was trying to fix the problem, but it obviously didn't work. Should this issue most likely be coming from the manifest file? One thing I did notice was that after I left my app alone for a little while (while in class) and then opened it, it was restoring

[android-developers] Re: Market and Developer Frustration

2009-03-10 Thread Sundog
On dumb shills: When everyone else is giving your app 5 stars, and one idiot gives it one star and leaves a comments proving she never even ran the program, that's one clue. Outliers should automatically be treated as spam. Thanks for your answers. Nice to hear any feedback from anyone.

[android-developers] Re: Does Camera API really works ?

2009-03-10 Thread Dave Sparks
In the future, we will officially support portrait mode camera. Cupcake will have unofficial support (there will be a way to set it to portrait mode through the setParameter interface), but I don't know if we'll be able to make that work for other hardware. On Mar 10, 3:11 am, Jun'ichi Hirayama

[android-developers] Re: Audio Volume

2009-03-10 Thread Dave Sparks
Please don't handle the volume keys yourself - it is almost impossible to guarantee that you won't break the behavior of the volume keys. Call this API in your onCreate(): setVolumeControlStream(AudioManager.STREAM_MUSIC); This tells the AudioManager that when your application has focus, the

[android-developers] Re: GregorianCalendar.getOffset() returning 0

2009-03-10 Thread Farhan
On Mar 10, 12:12 am, Farhan russ...@gmail.com wrote: Hello, My timezone is C.S.T. in U.S., so it has a raw offset of -6 from GMT and as of today it should be -5 as DST has started. But both the getRawOffset() and getOffset() methods are returning 0. Can anyone tell me why this is happening

[android-developers] Re: Market and Developer Frustration

2009-03-10 Thread Justin (Google Employee)
5) We still don't have .33 for our phones. I can't mark something as Spam yet nor even see what's for sale on Market. This should have been ready when it rolled to users. Or at least tell us WHEN it will be ready. This 'coming soon' stuff doesn't do much fo rme. How about now:

[android-developers] HttpClient4 execute(HttpPostMethod) failed

2009-03-10 Thread everfriend
Greeting... I am using android sdk1.0 release2 on windows XP to test httpclient.execute(httppostmethod), but failed. The compute connects to Internet w/o any problem. Here is releated code DefaultHttpClient client=new DefaultHttpClient() try{ HttpPost method=new

[android-developers] Re: HttpClient4 execute(HttpPostMethod) failed

2009-03-10 Thread Mark Murphy
everfriend wrote: the error in log is: E/OSNetworkSystem(300): unknown socket error -1. Try adding the INTERNET permission to your AndroidManifest.xml file. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009

[android-developers] Re: Touch *extremely* expensive performance-wise

2009-03-10 Thread MrSnowflake
I have a question about this: While sleeping the ui thread works, would it also work to wait() the main thread and notify() it when the new frame 'starts'? On 20 feb, 10:41, suhas gavas suhas.ga...@gmail.com wrote: hi zombies and robots, plz let me the solution to improve touch event

[android-developers] Re: Application developer wanted for contract work

2009-03-10 Thread mark . kahrl
So basically you're looking for someone to do all the work, and absorb all the risk for you. On Mar 9, 5:08 pm, AndroidDev petersmai...@gmail.com wrote: We am looking for a expert Android developer for Android application development. You must have documented experience in following

[android-developers] Re: How to make surfaceview insensitive to touch Events

2009-03-10 Thread MrSnowflake
How about setClickable(boolean)? On 10 mrt, 14:19, Stoyan Damov stoyan.da...@gmail.com wrote: Can't you just handle and ignore them? On Tue, Mar 10, 2009 at 3:10 PM, Nithin nithin.war...@gmail.com wrote: Hi, When i am running mediaplayer, i want the surfaceview to be insensitive to

[android-developers] Re: How to explicitly launch the system's Home application by code?

2009-03-10 Thread MrSnowflake
As I said on Anddev.org earlier: Intent myIntent = new Intent(); myIntent.setClassName(com.android.launcher, com.android.launcher.Launcher); startActivity(myIntent); On 10 mrt, 14:18, Stoyan Damov stoyan.da...@gmail.com wrote: I can't help you with this. Tough luck - I'd assume that when an

[android-developers] Re: How to explicitly launch the system's Home application by code?

2009-03-10 Thread MrSnowflake
I have to say, I don't think this method will keep working in future versions as the package and class name of the launcher might change! On 10 mrt, 19:40, MrSnowflake mrsnowfl...@gmail.com wrote: As I said on Anddev.org earlier: Intent myIntent = new Intent();

[android-developers] Re: How to explicitly launch the system's Home application by code?

2009-03-10 Thread Romain Guy
Don't use the package and class name directly, this will work only for the current default Home screen. Use an Intent with the CATEGORY_HOME instead. On Tue, Mar 10, 2009 at 11:40 AM, MrSnowflake mrsnowfl...@gmail.com wrote: As I said on Anddev.org earlier: Intent myIntent = new Intent();

[android-developers] Re: Touch *extremely* expensive performance-wise

2009-03-10 Thread Stoyan Damov
sure, it should work - I think someone has already done that On Tue, Mar 10, 2009 at 8:26 PM, MrSnowflake mrsnowfl...@gmail.com wrote: I have a question about this: While sleeping the ui thread works, would it also work to wait() the main thread and notify() it when the new frame 'starts'?

[android-developers] Custom icon on notification

2009-03-10 Thread Wesley
Is it possible to display a custom icon (i.e., an icon which is a application resource) on a notification ? For sounds you can pass a Uri which makes possible to play custom sounds when notifying, but for the icon you only pass the resource id when creating the Notification object, which as I

[android-developers] Re: first app

2009-03-10 Thread Mike Garcia
Check the android-beginners group on google and also go through the sample HelloWorld tutorials on the developers site. On Tue, Mar 10, 2009 at 6:06 AM, Jignesh Kakkad jig2n...@gmail.com wrote: Dear All, Can you guide me from where to start writing application using Android SDK? Waiting

[android-developers] Posting AlertDialogs from the Options Menu?

2009-03-10 Thread Mark Rosenberg
I'm following the simple AlertDialogSamples.java API sample but am dying very early in the activity lifecycle. Is it not OK to post a dialog when an option menu item is selected? That looks like the only significant difference between the example and my code.

[android-developers] Chuan Zhang 想跟您 聊天

2009-03-10 Thread Chuan Zhang
我使用 Google Talk 已经有一段时间,我觉得您也不妨试试。我们可以使用它通过互联网免费拨打电话。您可通过此邀请函下载 Google Talk。试试吧! --- Chuan Zhang 希望使用 Google 最酷的几个新产品与您更好地保持联系。 如果您已拥有 Gmail 或 Google Talk,请访问: http://mail.google.com/mail/b-6199b73c23-5b67a7113e-894949d3ea954139

[android-developers] deploying same application twice different content

2009-03-10 Thread Bob
Hi, How do I create non-mutually exclusive apks for identical apps that differ only in content? I have an app that plays an mp3 file embedded as a raw resource. I would like to be able to create multiple apps with this (same logic but different songs) and possibly install more than one song on

[android-developers] Re: deploying same application twice different content

2009-03-10 Thread Josh Dobbs
Have you tried changing the package name? On Tue, Mar 10, 2009 at 11:58 AM, Bob bshumsk...@yahoo.com wrote: Hi, How do I create non-mutually exclusive apks for identical apps that differ only in content? I have an app that plays an mp3 file embedded as a raw resource. I would like to be

[android-developers] Re: Emulator can't access host os's network

2009-03-10 Thread David Turner
What do you mean exactly ? What are the exact symptoms ? On Tue, Mar 10, 2009 at 7:02 AM, miracle swen...@gmail.com wrote: Hi there, I install sdk on centos.At first it works well. But I encounter a strange issue:One day my emulator can not access it's host os's network any more. could

[android-developers] Does android support Google Gear?

2009-03-10 Thread ying lcs
Hi, Does android support Google Gear? if yes, does it uses sqlite3 Database to save stuff? And how can I dumb the content of sqlite3 database at a command prompt? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Does android support Google Gear?

2009-03-10 Thread Mark Murphy
ying lcs wrote: Does android support Google Gear? The built-in Browser application does, if the user enables it. if yes, does it uses sqlite3 Database to save stuff? Probably. And how can I dumb the content of sqlite3 database at a command prompt? I do not know what you mean by dumb the

[android-developers] Spanned How to use?

2009-03-10 Thread John Doe
I have looked a lot on the internet but I couldnt find anything. So thats why I am asking it here. While parsing an RSS I had to use Spanned class. Spanned spanned; spanned = Html.fromHtml(content); content string keeps the html content in it. when i check spanned object during debug it

[android-developers] Confusing situation/crash in onPause()

2009-03-10 Thread Matt Hall
Hi everyone, When we're in inPause() in our games we do a few things like stop animations, which normally works perfectly. However, when an app is installed on the phone that causes an intent popup, like a home screen replacement (aHome is what I'm using to test), then in the onPause() suddenly

[android-developers] Re: Keep app from restarting when touching icon from Home screen

2009-03-10 Thread Dianne Hackborn
I don't see anything obvious; you don't have anything special, so this should work the same as the normal behavior. Could you try running ApiDemos and seeing if that has the behavior you want? If not, what different behavior do you want? On Tue, Mar 10, 2009 at 10:27 AM, Hayden

[android-developers] Re: Market and Developer Frustration

2009-03-10 Thread markz
Woot, an update! As just a few comments. a) I just submitted a reply/comment somewhere. It'd be nice if the group search didn't take me to the forward message. b) I think it's pretty clear to the developers when we get shills. At 2-4$ an app who minds buying their competitor and trashing it

[android-developers] Re: Confusing situation/crash in onPause()

2009-03-10 Thread Matt Hall
Just adding some more info here for any who follow - this only happens in one of our games, and the major difference is that the game with the problem has it's screen orientation locked to landscape mode. Since the home screen intent view appears in portrait orientation I suspect this is causing

[android-developers] Re: Keep app from restarting when touching icon from Home screen

2009-03-10 Thread Hayden
I ran the API Demos and they have the behavior I want, which goes back to exactly where I left on when pressing the icon on the home screen. Basically my program goes through these steps when running: title screen -- several ListActivities to gather text -- Display result I don't want the user

[android-developers] Re: Does android support Google Gear?

2009-03-10 Thread Mark Murphy
ying lcs wrote: By dumping the content, I mean displaying what are the database column, database row content. Is that possible on the emulator? by opening a shell to it and run some commands? The sqlite3 command is built into the emulator, and you can use it and .dump to dump a

[android-developers] How to layout a widget programmically in java

2009-03-10 Thread Meryl Silverburgh
Hi, In xml layout, I can specify these parameters: android:layout_centerInParent=true android:layout_marginLeft=4dp android:layout_marginRight=4dp Can you please tell me what functions I can call in

[android-developers] How Hard Is to Build RSS Feeds App for Android?

2009-03-10 Thread TmobileG1Fans
I would like to know how hard would it be to to build RSS feeds app but only specific ones. For example politics: Pull rss feeds news from politico.com, cnn.com, fox.com etc. and than display on G1... I would love some info on that and if someone can build such thing. ...am interested.

[android-developers] Re: Application developer wanted for contract work

2009-03-10 Thread Stoyan Damov
and btw, best of luck on the 20K for 2 months. On Tue, Mar 10, 2009 at 8:37 PM, mark.ka...@gmail.com wrote:  So basically you're looking for someone to do all the work, and absorb all the risk for you. On Mar 9, 5:08 pm, AndroidDev petersmai...@gmail.com wrote: We am looking for a

  1   2   >