[android-developers] Re: How to call an activity of other app from another app

2009-06-25 Thread Sujay Krishna Suresh
Intent i = new Intent(); //do all ur put extras set data's here... i.setComponent(new ComponentName(packageNameString, fullyQualifiedClassNameOfActivity )); startActivity(i); On Thu, Jun 25, 2009 at 11:29 AM, manoj manojkumar.m...@gmail.com wrote: can you show me some piece of code? Thanks,

[android-developers] Re: HTC Magic, is PhoneNumberUtils.PAUSE different?

2009-06-25 Thread Alejandro
The Rogers HTC Magic phone is using the 'p' as a pause, but it seems they haven't changed the PhoneNumberUtils.PAUSE to reflect this. This is rather unfortunate, because it makes the Rogers build non-standard and my app breaks. I would hope in the future there are no more deviations of the

[android-developers] Re: How to display Japanese character on TextView

2009-06-25 Thread Saurav Mukherjee
well its not location, its locale. go to settings--locale and text--change the locale. On Thu, Jun 25, 2009 at 11:24 AM, Hiro hiroy...@hotmail.com wrote: it's just a suggestion, u can change the locale, that wud print everything in japanese... Would you tell me how to change the location

[android-developers] Wat to buy???

2009-06-25 Thread Sujay Krishna Suresh
Hi everyone, i live in India and i wanna own an android phone... can anyone gimme suggestions as to wat phone i can buy, from where to buy wat'd be d approx cost??? -- Regards, Sujay Laurence J. Peterhttp://www.brainyquote.com/quotes/authors/l/laurence_j_peter.html - If two

[android-developers] Re: How to call an activity of other app from another app

2009-06-25 Thread 楊健
I think it do not work unless do something in the target app’s manifest.xml http://developer.android.com/guide/topics/manifest/activity-element.html android:exported Whether or not the activity can be launched by components of other applications - true if it can be, and false if not. If

[android-developers] Re: How to display Japanese character on TextView

2009-06-25 Thread Hiro
I mistook the word of locale... Currently I use Android SDK 1.1, should I upgrade it to v.1.5? It seems to me there is no locale in settings on Android emulator... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: How to display Japanese character on TextView

2009-06-25 Thread Saurav Mukherjee
well, i dont know where the locale settings r in 1.1. it is better to upgrade, i mean there is no harm. but u cud try spending some more time to find out how u change the locale settings in 1.1. On Thu, Jun 25, 2009 at 12:01 PM, Hiro hiroy...@hotmail.com wrote: I mistook the word of locale...

[android-developers] Re: How to call an activity of other app from another app

2009-06-25 Thread manoj
Hi, thanks for your help. Its working fine for me. Thank you very much. On Jun 25, 11:04 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: Intent i = new Intent(); //do all ur put extras set data's here... i.setComponent(new ComponentName(packageNameString,

[android-developers] Re: One activity per view

2009-06-25 Thread bsbi...@googlemail.com
thanks. it works fine now On Jun 23, 2:12 am, 张飞 getid...@gmail.com wrote: Maybe u can write youe AndroidManifest.xml like this: activity android:name=.activityOne android:label=@string/app_name intent-filter

[android-developers] Re: Errors In Android Run time I need suggestions

2009-06-25 Thread Desu Vinod Kumar
06-25 12:59:19.997: ERROR/AndroidRuntime(825): Uncaught handler: thread main exiting due to uncaught exception 06-25 12:59:20.318: ERROR/AndroidRuntime(825): java.lang.StackOverflowError 06-25 12:59:20.318: ERROR/AndroidRuntime(825): at java.lang.String.getChars(String.java:1065) 06-25

[android-developers] Re: Errors In Android Run time I need suggestions

2009-06-25 Thread Daniel Janev
Hi, The default stack size of Android threads is 8K which is not enough for your purpose. All you have to do is to start this operation in separate thread using the constructor with stack size. IMHO 64K will be enough for you. Desu Vinod Kumar wrote: 06-25 12:59:19.997:

[android-developers] xmlpullparser input xml?

2009-06-25 Thread brilliant winger
HI / XmlPullParserFactory factory = XmlPullParserFactory.newInstance (); factory.setNamespaceAware(true); XmlPullParser xpp = factory.newPullParser();

[android-developers] Re: WebView

2009-06-25 Thread Sukitha Udugamasooriya
Thanks Mark Murphy, Works well. Genies piece... :) --~--~-~--~~~---~--~~ 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

[android-developers] Re: 6502 Emulator

2009-06-25 Thread ndatta
Oh, I see. Any particular reason? Is a JIT planned in a future release? Thanks. On Jun 22, 10:42 pm, fadden fad...@android.com wrote: On Jun 22, 3:20 am, ndatta nda...@gmail.com wrote: Isn't the JITter smart enough to convert (1) to (2) above? There is no JIT in the current software

[android-developers] How to get the media files stored in sdcard?

2009-06-25 Thread manoj
Hi, I want to show the list of media files (.mp3, .mp4...etc) available in sdcard. How can I do this? Thanks, Manoj. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: How to enable Android WAP PUSH SMS ?

2009-06-25 Thread Light
Have you add suitalbe mineType for WAP_PUSH_RECEIVED in your AndroidManifest.xml ? On 6月17日, 下午10時36分, BigMM mike5...@gmail.com wrote: Hi, All: I have a question aboutWAPPUSHSMS on Android. In Mobile device, if you want to receive aWAPPUSHSMS, you need to degrade the SMS security

[android-developers] Re: Recreate PopupWindow onRestoreInstanceState

2009-06-25 Thread extrapedestrian
Thanks for reply. But, it still crashes with same error. Run is executed before activity screen is displayed (it takes some time: 200~300ms) Only way I made it work is through timer delay set to 500ms, but it is not good solution. Any other ideas?

[android-developers] Example on shared memory usage

2009-06-25 Thread GAYET Thierry
Hi, i need to share one important key information between one service and some application. My first question is about the usage of the shared memory on Android. Is there a way to secure it for only one service and some selected application ? Cordialement Thierry GAYET NextInnovation.org

[android-developers] Establishing a TLS tunner from a custom certificate

2009-06-25 Thread GAYET Thierry
Hi, I have the certificate provided by a server and i wanna make a TLS tunnel using this custom certificate. IS it possible to have a source code starting (or any API) that i can use for ? I think i have ever seen one question around that topic but didn't find it ... sorry for the spam.

[android-developers] Re: Recreate PopupWindow onRestoreInstanceState

2009-06-25 Thread extrapedestrian
I also tried with sending message to Handler, which then displays popup - but its not working too. Same problem. On Jun 25, 11:13 am, extrapedestrian extra.pedestr...@gmail.com wrote: Thanks for reply. But, it still crashes with same error. Run is executed before activity screen is displayed

[android-developers] list of fonts installed

2009-06-25 Thread Saurav Mukherjee
is there any way to find out all the fonts available in the phone... is there a contentprovider for trhe same? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Getting ESN number of a Phone

2009-06-25 Thread swapnil
Hello All, Is it possible to get : The ESN Number of a phone The Hardware version The Software version of a phone. Is there any way to get this stuff. Thanks in advance. Swapnil Dalal. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: xmlpullparser input xml?

2009-06-25 Thread Neil
Context.getResources().getXml(int id) Neil On Jun 25, 10:02 am, brilliant winger stw...@gmail.com wrote: HI /         XmlPullParserFactory factory =

[android-developers] Re: Design

2009-06-25 Thread Peli
One possibility is to do it as the Market app (or also the Bing search engine for images) You first download a number of elements, and as soon as the user scrolls down to a certain point, you download more items and add them dynamically to the list. Peli www.openintents.org On Jun 24, 10:55 pm,

[android-developers] Re: list of fonts installed

2009-06-25 Thread Mark Murphy
Saurav Mukherjee wrote: is there any way to find out all the fonts available in the phone... http://developer.android.com/reference/android/graphics/Typeface.html There are only three fonts: normal (Droid Sans), serif (Droid Serif), and monospace (Droid Sans Mono). While there may be

[android-developers] Re: list of fonts installed

2009-06-25 Thread Saurav Mukherjee
thanks... On Thu, Jun 25, 2009 at 4:31 PM, Mark Murphy mmur...@commonsware.comwrote: Saurav Mukherjee wrote: is there any way to find out all the fonts available in the phone... http://developer.android.com/reference/android/graphics/Typeface.html There are only three fonts: normal

[android-developers] Re: use multiple files to store string values

2009-06-25 Thread Odessa Silverberg
On Jun 23, 10:56 pm, fry bender...@gmail.com wrote: Hi, Is it possible to store strings values in multiple files? Eg, strings.xml, strings1.xml, strings2.xml etc. I do not mean localized versions of the same file - those multiple files should contain different string ids in the same

[android-developers] Got media player error in sdk 1.5 r2

2009-06-25 Thread manoj
Hi friends, I have written a small media player app which plays media files stored in sdcard. For audio files I got the following exception: E/MediaPlayerService( 35): Couldn't open fd for content://media/KeypressReturn.ogg/audio/media E/MediaPlayer( 3813): Unable to to create media player

[android-developers] Re: Problem using Debug.setAllocationLimit

2009-06-25 Thread StefanK
Thanks for the reply. I did read that this must be enabled in VM but for some reason I thought this can be enabled at runtime by something like VMDebug.startAllocCounting() or some other call. Either way this does not appear to be enabled by default in the emulator or the device. Does that mean

[android-developers] Draggable UI Elements

2009-06-25 Thread Tez
Hi, I want to build a draggable interface. To be explicit, i want to be able to drag an image from one location to another. For this, I have implemented a small class that contains the image and its current co- ordinates. To move around, I extend a View and intercept the 'Touch' events. Hence, i

[android-developers] Delete assets at runtime

2009-06-25 Thread nuno
Hi all, I have a large (900kb) asset in the assets directory which is only used once by the app at initialization time. Is there way for me to delete this file at runtime? If not delete change it's contents to 0 and effectively reduce its size to almost nothing. There isn't really any point of

[android-developers] Re: Errors In Android Run time I need suggestions

2009-06-25 Thread Desu Vinod Kumar
Hi 06-25 17:41:35.920: ERROR/NetworkStateTracker(53): net.tcp.buffersize.unknown not found in system properties. Using defaults 06-25 17:41:35.959: ERROR/NetworkStateTracker(53): Can't set tcp buffer sizes:java.io.FileNotFoundException: /sys/kernel/ipv4/tcp_rmem_min 06-25 17:41:36.099:

[android-developers] Re: testing uses-permission

2009-06-25 Thread Odessa Silverberg
If you run tasks you know need a certain permissions and have no crash. iirc you can see in the package manager which permissions you application has. You wont get any popups asking for permission after the application was installed. The only time you have to check the permissions is when the

[android-developers] Re: Delete assets at runtime

2009-06-25 Thread Mark Murphy
nuno wrote: I have a large (900kb) asset in the assets directory which is only used once by the app at initialization time. Is there way for me to delete this file at runtime? No. If not delete change it's contents to 0 and effectively reduce its size to almost nothing. No. There isn't

[android-developers] Re: Delete assets at runtime

2009-06-25 Thread nuno
Thanks Mark, I though that was the answer. I'll have to live with the file. Cheers, Nuno On Jun 25, 1:39 pm, Mark Murphy mmur...@commonsware.com wrote: nuno wrote: I have a large (900kb) asset in the assets directory which is only used once by the app at initialization time. Is there way

[android-developers] Sense Orientation

2009-06-25 Thread kalyan simhan
hi all.. im trying to change the orientation of my screen dynamically as the user changes the position of the phone i.e from portrait to landscape..im trying to do this on a openmoko freerunner.. im doing it this way.. sensorMgr = (SensorManager) getSystemService(Context.SENSOR_SERVICE);

[android-developers] Re: Sense Orientation

2009-06-25 Thread Mark Murphy
kalyan simhan wrote: hi all.. im trying to change the orientation of my screen dynamically as the user changes the position of the phone i.e from portrait to landscape..im trying to do this on a openmoko freerunner.. im doing it this way.. sensorMgr = (SensorManager)

[android-developers] Re: Is a five-way navigation key a mandatory requirement?

2009-06-25 Thread Delta Foxtrot
2009/6/25 JC jameschen...@gmail.com Actually I meant if there is no five-navigation key or trackball, only reserve 5 app keys, any potential risk or problem may have? thank you for answering. Are you talking about making everything touch screen by any chance? If so you'd need to do a lot of

[android-developers] Re: Sense Orientation

2009-06-25 Thread kalyan
thanks for the prompt reply but my objective is to make it as a background application and do it for all screens... how do i do it.. can u please guide me.. thanks in advance! On Jun 25, 5:46 pm, Mark Murphy mmur...@commonsware.com wrote: kalyan simhan wrote: hi all.. im trying to change

[android-developers] How to get the Xml response from the nusoap PHp web services

2009-06-25 Thread android.vinny
Hi How to gett he Xml response form nusoap php webservices can any help me regarding this how to get the xml response . thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Parsing SOAP request

2009-06-25 Thread Desu Vinod Kumar
Hi How can i get the XML response from the Nusoap php web server any idea about that On Wed, Jun 24, 2009 at 11:21 PM, feda al-shahwan fa.alshah...@gmail.comwrote: Thank you for your response but could you please give me more details because my soap envelope doesnot contain a method it is

[android-developers] LinearLayout in LinearLayout

2009-06-25 Thread Mr.No
Hi folks, ive a little problem: Why is the following code causing an exception? The Code throws a mBaselineAlignedChildIndex of LinearLayout set to an index that is out of bounds exception. public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

[android-developers] Re: list add item error

2009-06-25 Thread Odessa Silverberg
On Jun 24, 2:18 pm, tstanly tsai.sta...@gmail.com wrote: hi all, it's so strange!! i have a list decleared: public static ListString list1=new ArrayListString(); and use list1.add(str); it is ok! but use list1.add(index,str); program will be error You probably tried to write at an

[android-developers] How to make chat window?

2009-06-25 Thread Gulfam
Hi everybody, Currently I am working on chat messenger and I want to make chat window. any one can help me regarding this any use full link for this. thanks in advance Gulfam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Notification Flag: FLAG_ONLY_ALERT_ONCE not working?

2009-06-25 Thread polzifer
FLAG_ONLY_ALERT_ONCE sems to be not working. Does anyone else experience the same Problem? --~--~-~--~~~---~--~~ 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] Notification Flag: FLAG_ONLY_ALERT_ONCE not working?

2009-06-25 Thread polzifer
The FLAG_ONLY_ALERT_ONCE seems to be not working for Notifications, as the notification.sound and the notification.vibrate doesn't play once, but loop? Does anyone else experience the same Problem? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] android crash when volume up

2009-06-25 Thread l hx
who know why? D/VolumePanel( 652): onVolumeChanged(streamType: 2, flags: 4) E/AudioFlinger( 635): no more track names availlable E/AudioTrack( 652): AudioFlinger could not create track, status: -12 E/ToneGenerator( 652): AudioTrack-initCheck failed E/ToneGenerator( 652): ToneGenerator init

[android-developers] Re: help with onchildclick in ExpandableListView

2009-06-25 Thread polzifer
-SOLVED- longclickenabled=false was set in XML. removed that at it's working On 17 Jun., 12:40, polzifer christian.pol...@googlemail.com wrote: i wanted to add the the longclick is starting the contextmenue and working. On 17 Jun., 12:11, polzifer christian.pol...@googlemail.com wrote:

[android-developers] AudioTrack create failure

2009-06-25 Thread l hx
who know why? E/AudioFlinger( 635): not enough memory for AudioTrack size=262208 D/MemoryDealer( 635): AudioTrack (0x23340, size=1048576) D/MemoryDealer( 635): 0: 00023378 | 0x | 0x00040040 | A D/MemoryDealer( 635): 1: 00023400 | 0x00040040 | 0x00040040 | A D/MemoryDealer(

[android-developers] Re: LinearLayout in LinearLayout

2009-06-25 Thread Mr.No
Ive fixed it, but its strage, if i create it from xml file it dont throws an exception. Within the code i must turn off the baseline alginment. On 25 Jun., 15:28, Mr.No f.hi...@arcor.de wrote: Hi folks, ive  a little problem: Why is the following code causing an exception? The Code throws

[android-developers] Re: How to make chat window?

2009-06-25 Thread Peli
You can try DroidDraw to design the appearance of your chat window: http://www.droiddraw.org/ Peli www.openintents.org On Jun 25, 3:52 pm, Gulfam gulfa...@gmail.com wrote: Hi everybody, Currently I am working on chat messenger and I want to make chat window. any one can help me regarding

[android-developers] Re: LinearLayout in LinearLayout

2009-06-25 Thread Peli
You have not set any layout parameters. http://developer.android.com/reference/android/widget/LinearLayout.LayoutParams.html l2.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT)); Peli www.openintents.org On Jun 25, 3:28 pm, Mr.No f.hi...@arcor.de wrote:

[android-developers] Re: LinearLayout in LinearLayout

2009-06-25 Thread Mr.No
Ive tried it with layoutparams its the same. the default layoutarams will be assigned to the layout. On 25 Jun., 16:26, Peli peli0...@googlemail.com wrote: You have not set any layout parameters.http://developer.android.com/reference/android/widget/LinearLayout.La... l2.setLayoutParams(new

[android-developers] job oppurtunities now

2009-06-25 Thread bride
job oppurtunities now http://unitedapperal.tripod.com/id24.html click here above link and see more details about job oppurtunities s, find more reliable things about job. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] how can i pass object in intent?

2009-06-25 Thread zeeshan
Hi Dear, is it possible to pass an object to the intent so i can access that object in my new activity? --~--~-~--~~~---~--~~ 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 get the media files stored in sdcard?

2009-06-25 Thread Marco Nelissen
Query the media content provider. On Thu, Jun 25, 2009 at 2:04 AM, manoj manojkumar.m...@gmail.com wrote: Hi, I want to show the list of media files (.mp3, .mp4...etc) available in sdcard. How can I do this? Thanks, Manoj. --~--~-~--~~~---~--~~ You

[android-developers] Re: Got media player error in sdk 1.5 r2

2009-06-25 Thread Marco Nelissen
On Thu, Jun 25, 2009 at 4:42 AM, manoj manojkumar.m...@gmail.com wrote: Hi friends, I have written a small media player app which plays media files stored in sdcard. For audio files I got the following exception: E/MediaPlayerService( 35): Couldn't open fd for

[android-developers] Re: android crash when volume up

2009-06-25 Thread Marco Nelissen
Does this happen every time, or only after/while running a certain application? On Thu, Jun 25, 2009 at 6:56 AM, l hx lihongxia8...@gmail.com wrote: who know why? D/VolumePanel( 652): onVolumeChanged(streamType: 2, flags: 4) E/AudioFlinger( 635): no more track names availlable

[android-developers] Update message - how to check whether app has run before?

2009-06-25 Thread Anna PS
Hi all, I want to show an update message for a new release - the first time the user opens the updated version of my app, a pop-up dialog should appear, saying what's new, with an OK button. After the user has read it once, it shouldn't appear again. Is there any inbuilt Android variable I can

[android-developers] Re: how to change a typeFace on a textView from remoteView

2009-06-25 Thread Rotor
How do i render the text to an image on the fly On Jun 1, 10:55 am, Jeff Sharkey jshar...@android.com wrote: Because widgets live in other processes, they can only use system typefaces, and not additional fonts that might be internal to your package.  One way around this would be to render

[android-developers] Re: How to save the logs from the phone to a file with out eclipse

2009-06-25 Thread Rotor
please someone ? anyone...? i realy need to colect problems from the field On Jun 23, 12:45 pm, RTX rote...@gmail.com wrote: i want to let the users send me thelogsfrom the device i wonder how do i extract thelogsin to a file on the device ?

[android-developers] Re: Got media player error in sdk 1.5 r2

2009-06-25 Thread manoj
Actually, I got those uri's using ContentResolver. On Jun 25, 8:10 pm, Marco Nelissen marc...@android.com wrote: On Thu, Jun 25, 2009 at 4:42 AM, manoj manojkumar.m...@gmail.com wrote: Hi friends, I have written a small media player app which plays media files stored in sdcard. For

[android-developers] Re: LinearLayout in LinearLayout

2009-06-25 Thread JdbcDroid
try to use l1.setOrientation(...) just before l1.addView(...) On Jun 25, 4:42 pm, Mr.No f.hi...@arcor.de wrote: Ive tried it with layoutparams its the same. the default layoutarams will be assigned to the layout. On 25 Jun., 16:26, Peli peli0...@googlemail.com wrote: You have not set any

[android-developers] Re: Got media player error in sdk 1.5 r2

2009-06-25 Thread Marco Nelissen
How? On Thu, Jun 25, 2009 at 8:20 AM, manoj manojkumar.m...@gmail.com wrote: Actually, I got those uri's using ContentResolver. On Jun 25, 8:10 pm, Marco Nelissen marc...@android.com wrote: On Thu, Jun 25, 2009 at 4:42 AM, manoj manojkumar.m...@gmail.com wrote: Hi friends, I

[android-developers] Accelerometer

2009-06-25 Thread kalyan simhan
hi all... there seems to be some problem with my accelerometer... the values of x,y,z fluctuate even when it is stationary.. kept in one place... why is this.. how can i overcome it.. what is the unit of the value im getting.. im guessing 1 unit = 1g where g= 9.8m/s2... kindly help! thanks in

[android-developers] Re: Got media player error in sdk 1.5 r2

2009-06-25 Thread manoj
String[] videoProjection = new String[] { android.provider.MediaStore.Video.Media._ID, android.provider.MediaStore.Video.Media.TITLE, android.provider.MediaStore.Video.Media.DATE_ADDED,

[android-developers] Re: Got media player error in sdk 1.5 r2

2009-06-25 Thread manoj
you can also try it experience the problem. On Jun 25, 8:27 pm, manoj manojkumar.m...@gmail.com wrote: String[] videoProjection = new String[] {                         android.provider.MediaStore.Video.Media._ID,                         android.provider.MediaStore.Video.Media.TITLE,        

[android-developers] Re: How To Keep ListView Header From Scrolling With ListView Content

2009-06-25 Thread Mike
Thanks guys. This does work provided the ListView and the header View are within the same parent ViewGroup. I would, however, like to request that the ListView be enhanced with two new methods: void addHeaderView(View v, Object data, boolean isSelectable, boolean scrollsWithContent) void

[android-developers] Re: How To Keep ListView Header From Scrolling With ListView Content

2009-06-25 Thread Marco Nelissen
On Thu, Jun 25, 2009 at 8:46 AM, Mike michaeldouglaskra...@gmail.comwrote: Thanks guys. This does work provided the ListView and the header View are within the same parent ViewGroup. Can you give an example of when they would not be? I would, however, like to request that the ListView be

[android-developers] Re: weird drawing on bitmap to canvas

2009-06-25 Thread Nightwolf
Try using the following: Rect bounds = new Rect(); mFontPaint.getTextBounds(mText, 0, mText.length(), bounds); mCanvasBitmap.drawText(mText, 0, bounds.height(), mFontPaint); On Jun 25, 1:20 am, sleith raysle...@gmail.com wrote: thx for reply did u mean font's paint? i believe it's not that

[android-developers] Re: how can i pass object in intent?

2009-06-25 Thread Balwinder Kaur (T-Mobile)
If you make your object implement the Parcelable Interface, you can pass it through the Intent Object using putExtra(String name, Parcelable value). In your new activity you can access the same object using getParcelableExtra(String name) For more information pls refer to

[android-developers] click animation

2009-06-25 Thread tstanly
hi all, when click a image button, i want to the moment button can give a light, like we clicked the list items... this can tell you,you already click. how to do that? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Accelerometer

2009-06-25 Thread Delta Foxtrot
2009/6/26 kalyan simhan kalyansim...@gmail.com there seems to be some problem with my accelerometer... the values of x,y,z fluctuate even when it is stationary.. kept in one place... why is this.. how can i overcome it.. what is the unit of the value im getting.. im guessing 1 unit = 1g

[android-developers] Re: Sensor and Compass APIDemo failing on emulator 1.5

2009-06-25 Thread Mark Murphy
Is there any update on this? I need to build a compuss application but the API Demo doesn't work in the emulator. You will need actual hardware to test sensor-related applications. Partly, this is due to the emulator bug. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App

[android-developers] Re: Relative Layout XML attributes have no obvious programmatic equivalent.

2009-06-25 Thread Romain Guy
I don't know of any XML property that cannot be set via the Java API. 2009/6/24 Pavel Lahoda plah...@gmail.com: Romain, I have a same question as John ? How can I access some properties (such as here in RelativeView, but there are plenty of others) through the Java API ? It seems that some

[android-developers] RIL and datacall (CSD)

2009-06-25 Thread Mile Davidovic
Hello I tried to establish datacall between android phone and other phone, and I failed. AFAIK, CSD is recognized using %CPI (call progress infromation), looking in reference-ril.c:onUnsolicited it seems that RIL handle following unsolicited commands: * CTZV: Unsolicited result code for time

[android-developers] Using XMLBeans with 1.5 causes Dalvik errors

2009-06-25 Thread Robbie
Hi everyone, Here's the situation: I have a schema that I put through XMLBeans and generated the java sources from it. I want to take those java files and use them in my 1.5 app, but when I try and build the project, I get this error: Conversion to Dalvik format failed: Unable to execute dex:

[android-developers] findViewById return null

2009-06-25 Thread sean guo
06-25 07:37:52.745: ERROR/AndroidRuntime(1722): Uncaught handler: thread main exiting due to uncaught exception 06-25 07:37:52.774: ERROR/AndroidRuntime(1722): java.lang.RuntimeException: Unable to start activity ComponentInfo{goodteamstudio.rdc/goodteamstudio.rdc.MainMenu}:

[android-developers] Re: findViewById returns null MapView when following maps tutorial

2009-06-25 Thread sean.guo
public class HelloMapView extends MapActivity { LinearLayout linearLayout; MapView mapView; ZoomControls mZoom; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) {

[android-developers] How to adjust large image automatically in WebView

2009-06-25 Thread treetop
Hi, By using WebView, I have loaded some html content contains image(large size, for example, 800*600) and text. For text, it can perform line wrapping automatically. But for image, it will enable the horizontal scroll even if setHorizontalScrollBarEnabled is set to false. Is there any method to

[android-developers] Re: Relative Layout XML attributes have no obvious programmatic equivalent.

2009-06-25 Thread Pavel Lahoda
Romain, I have a same question as John ? How can I access some properties (such as here in RelativeView, but there are plenty of others) through the Java API ? It seems that some properties are only possible to set when constructing the view from the XML : this is pretty strange. Can you comment

[android-developers] How to attach a Bitmap when launching ACTION_SEND intend

2009-06-25 Thread hap 497
Hi, I have this code: Intent intent = new Intent(); intent.setAction(Intent.ACTION_SEND); startActivity(intent); which successfully launches an Messaging App on android. But how can i attach a Bitmap object when launching the intent? I have read

[android-developers] How to attach a Bitmap when launching ACTION_SEND intend

2009-06-25 Thread hap497
Hi, I have this code: Intent intent = new Intent(); intent.setAction(Intent.ACTION_SEND); startActivity(intent); which successfully launch an Messaging App on android. But how can i attach a Bitmap object when launching the intent? I have read

[android-developers] RFCOMM API

2009-06-25 Thread Long
Hi, What is the latest status of the RFCOMM support in android? I'd like to write an application using RFCOMM to communicate with PC. I don't want to rebuild a custom image. I just want my application can run on a HTC Magic. Is that doable now? I heard of there is an application bluex

[android-developers] media player that plays bbc radio (streaming)

2009-06-25 Thread sundrani
Does any one know (atleast i don't) of a media player that plays live bbc radio? I have searched alot on android market but unable to fine one. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Efficiently drawing destructable terrain

2009-06-25 Thread Chris Stockton
Hello, I am faced with a challenge of drawing destructable terrain. My current and surely naive approach is as follows. Excuse formatting, posting from my g1 and don't have the code with me so the math in the rectf might be wrong be advised, but it does work, visually; it is just a fps nerf.

[android-developers] Does anyone know about CTS(Compatibility Test Suit)?

2009-06-25 Thread Zhiguo Cheng
Google said CTS(Compatibility Test Suit) would be released, while I can not find it until now. Does anyone know about CTS detail? and I wonder the requirement for track ball in CTS. Track ball is necessary for Android device? Can it pass the CTS? As we know, HTC G1, G2 consist of a track ball.

[android-developers] Database

2009-06-25 Thread jiramot
How can i copy my database from res/raw to database path I try InputStram in = getResources().openRawResource(R.raw.mydata); OutputStram out = new FileOutputStram(/data/data/mypackage/databases/ mydata/db); byte[] buff = new byte[1]; int len; while( (len = in.read(buff)) 0){

[android-developers] How to attach a Bitmap when launching ACTION_SEND intend

2009-06-25 Thread hap497
Hi, I have this code: Intent intent = new Intent(); intent.setAction(Intent.ACTION_SEND); startActivity(intent); which successfully launch an Messaging App on android. But how can i attach a Bitmap object when launching the intent? I have read

[android-developers] Re: Getting ESN number of a Phone

2009-06-25 Thread Ewan Benfield
Hi, Take a look at android.os.Build. You can find the code that runs when you look up this information via Settings About Phone from the home screen in com.android.settings.DeviceInfoSettings.java in the Android sources. (in packages/apps/Settings/src/com/android/settings) cheers, Ewan On

[android-developers] Re: Wat to buy???

2009-06-25 Thread Vinay Avasthi
HTC has launched HTC Magic in India yesterday. The price being quoted is approx Rs. 30K. You should get it in any store that sells HTC phones. Sujay Krishna Suresh wrote: Hi everyone, i live in India and i wanna own an android phone... can anyone gimme suggestions as to wat

[android-developers] Re: Null reference for ImageView

2009-06-25 Thread sean.guo
06-25 07:37:52.745: ERROR/AndroidRuntime(1722): Uncaught handler: thread main exiting due to uncaught exception 06-25 07:37:52.774: ERROR/AndroidRuntime(1722): java.lang.RuntimeException: Unable to start activity ComponentInfo {goodteamstudio.rdc/goodteamstudio.rdc.MainMenu}:

[android-developers] Re: android 1.5: How do we use the AudioTrack class?

2009-06-25 Thread sasq
I get this to work fine through something like audioTrack.setPositionNotificationPeriod(bufSize/8); audioTrack.setPlaybackPositionUpdateListener(this); ... public void onPeriodicNotification(AudioTrack track) { int frames =

[android-developers] Re: Getting ESN number of a Phone

2009-06-25 Thread Ewan Benfield
Hi, Take a look at android.os.Build. You can find the code that runs when you look up this information via Settings About Phone from the home screen in com.android.settings.DeviceInfoSettings.java in the Android sources. (in packages/apps/Settings/src/com/android/settings) cheers, Ewan On

[android-developers] android cannot parse return value when using xmlrpc

2009-06-25 Thread Arie Meir
Hi guys , I'm using pskink's xmlrpc library which is great piece of work. I am trying to integrate the xmlrpc android client with my server side written in java. I've downloaded apache xmlrpc, and their client-server sample works fine. When i run their client vs. their server all works fine.

[android-developers] Problem when set system clock using SystemClock.setCurrentTimeMillis

2009-06-25 Thread hunter
Hi, all: I want to set system clock by SystemClock.setCurrentTimeMillis, but met following error: W/SystemClock( 1287): Unable to open alarm driver: Permission denied So, can someone tell me which permission I should acquire and how to acquire it? Thanks.

[android-developers] Re: Strange TabHost NullPointerException

2009-06-25 Thread Explore Android
I am also facing the same issue, not sure this is framework issue or application issue. Any experts have a say on this issue? (I am working with Android 1.5 SDK) On Jun 17, 2:26 pm, roland roland...@gmail.com wrote: I just found a strange issue in my application which contains a ListView. When

[android-developers] Test on a real HTC Magic via the web

2009-06-25 Thread kolel
Hi, I work for a company called Perfecto Mobile (used to be Nexperience). See www.perfectomobile.com . We enable access to real mobile devices via the web. You can install your app on the device and test it as if you were holding the device in your hands. We just introduced the HTC Magic to our

[android-developers] Re: Strange TabHost NullPointerException

2009-06-25 Thread nEx.Software
I get no errors when I use TrackBall click to select a tab in TabActivity. Tested on my apps targeting each 1.1 SDK and 1.5 SDK. Now, I am not using separate activities for my tab contents, so that may make a difference. On Jun 25, 2:21 am, Explore Android stetest...@googlemail.com wrote: I am

[android-developers] Re: Playing recorded sounds in Android 1.5

2009-06-25 Thread Ericase Jang
Hi, I got the same problem. Has anyone already solved it? --~--~-~--~~~---~--~~ 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

  1   2   >