[android-developers] Get current locale

2009-06-15 Thread aby
Hi, Does anyone know how to get current locale in program? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: Get current locale

2009-06-15 Thread Saurav Mukherjee
LocationListener loclis = new LocationListener() { @Override public void onLocationChanged(Location location) { alt = location.getAltitude(); lat = location.getLatitude(); lon = location.getLongitude(); }

[android-developers] BroadcastReceiver not able to receive events

2009-06-15 Thread jonathan
I have created a BroadcastReceiver to detect SDCard mount and unmount event, however, I am not able to receive any events at all: here's the androidmanifest.xml: receiver android:enabled=true android:label=SDCardMountReceiver android:exported=true

[android-developers] How to compute the screen size before rendering objects?

2009-06-15 Thread javame_android
Hi Everybody, I want to render 3d object on the screen. Before that I would like to compute the screen so that the rendered object can be given relative position. How that can be done? Can anyone guide me How to go about it? Regards Sunil

[android-developers] Using google docs API in Android?

2009-06-15 Thread quill
Hi guys, I want to upload my documents(in the mobile) to google docs, Can Google data APIS work in Android? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Poor Market/Google Checkout integration

2009-06-15 Thread Al Sutton
Guys, Just a heads up. My company registered for Market when the G1 came out, setup a Google Checkout account as soon as possible, and this weekend listed a pay-for app. Everything looked OK, but after a couple of days of 0 sales and a few users saying they were going to buy the app I

[android-developers] Re: Marquee

2009-06-15 Thread Android Users
Thanks a lot... [?] --~--~-~--~~~---~--~~ 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] Can we Change APN settings programmatically?

2009-06-15 Thread Android Users
Hi all, Can we change the apn settings programmatically? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: Is there a fast way to check intersections of Path?

2009-06-15 Thread 93-interactive
just found one, seems to be fast enough: if (region1.op(region2,Region.Op.INTERSECT)) { // intersection } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: BroadcastReceiver not able to receive events

2009-06-15 Thread jonathan
I did not mean to put both actions in the intent-filter, only one at a time. On Jun 14, 11:34 pm, jonathan topcod...@gmail.com wrote: I have created a BroadcastReceiver to detect SDCard mount and unmount event, however, I am not able to receive any events at all: here's the

[android-developers] Re: BroadcastReceiver not able to receive events

2009-06-15 Thread Jeff Sharkey
You need to resolve the Java variable names to their actual String constants when inserting into XML. For example, the below Java variable resolves to the actual string android.intent.action.MEDIA_MOUNTED which is what you would use in the intent-filter.

[android-developers] Application Resources on SDCARD on install!! MUST HAVE, GOOGLE DO SOMETHING!!

2009-06-15 Thread TjerkW
Reset the title of this post,.. You really ruined this post though On 14 jun, 15:02, javaumesh-andr...@yahoo.co.in wrote: Hi all I have a an activity which has an image view to display animation. and I'm reading resources from res/anim which is working absolutely fine.  But what I'm

[android-developers] Re: Gessing Android sources built

2009-06-15 Thread lookman sanni
I've posted there too. But no answer. I'm going to post again and hope to have somethg from you! -- Forwarded message -- From: lookouster lookous...@gmail.com Date: Tue, Jun 9, 2009 at 1:23 AM Subject: Gessing Android sources built To: Android Developers

[android-developers] Re: Best way : Inflate xml or create view

2009-06-15 Thread Tom
Hi Fred, Thank you for your answer. Best regards Tom --~--~-~--~~~---~--~~ 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: Poor Market/Google Checkout integration

2009-06-15 Thread MrChaz
Thanks for the heads up. I have a look how my apps are doing every couple of days anyway so I guess I lucked out. On Jun 15, 7:47 am, Al Sutton a...@funkyandroid.com wrote: Guys, Just a heads up. My company registered for Market when the G1 came out, setup a Google Checkout account as soon

[android-developers] Re: Application Resources on SDCARD on install!! MUST HAVE, GOOGLE DO SOMETHING!!

2009-06-15 Thread Al Sutton
If you want to show your support for apps on SD card you might want to go to; http://code.google.com/p/android/issues/detail?id=1151 There you can add your star of support to the 163 others and add your comment to the 211 others which have been posted since the RFE was lodged 8 months (and 2

[android-developers] merge a rows in column

2009-06-15 Thread revanth
In my activity i am using table layout.I have 5 rows and 5 colums. To merge (or) span a columns in a row we use android:layout_span='2' I want to merge (or) span 2 rows in one column. regards, Revanth, www.tejasoft.com --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Maps with custom tiles

2009-06-15 Thread khose
Ok, i'll take a look. FYI, i get the tiles from a server, using HTTP requests, and then parsing xml. So i ask for a tile passing by longitude, latitude and zoom level...just as Google Maps. But of course its not GMaps. I'll see if i find a solution within that project. Thanks for your help! On

[android-developers] Re: how to cancle an AlarmManager?

2009-06-15 Thread MrChaz
alarm = (AlarmManager)getSystemService(ALARM_SERVICE); alarm.cancel(alarmIntent); Where alarmIntent is the intent that was previously used in .set() On Jun 15, 3:17 am, hencechen...@gmail.com hencechen...@gmail.com wrote: alarms.set(AlarmManager.RTC_WAKEUP, getTime(), alarmIntent); i have

[android-developers] if change screen orientation when a call is ongoing, phone process will crash

2009-06-15 Thread shine
Hi guys, I found if change screen orientation continouously when a call is ongoing, that is, portrait - landscape - portrait- landscape.. after while, you will find phone process crashed because of out of memeory, log is: E/dalvikvm-heap( 461): 290560-byte external allocation too large

[android-developers] Re: Application Resources on SDCARD on install!! MUST HAVE, GOOGLE DO SOMETHING!!

2009-06-15 Thread Tjerk Wolterink
Apps on the sdcard is not the solution. What i want is only the resources of the app on the sdcard. I added a comment to the issue: This is a no-go solution. If apps are installed on the sdcard they can be copied and this opens the door for piracy and makes the android market less attractive

[android-developers] Re: AppWidget: help with setOnClickPendingIntent()

2009-06-15 Thread BoD
Replying to my own post for future reference. This is due to the way PendingIntents work and are automatically reused. Quoting the PendingIntent Javadoc: If the creating application later re-retrieves the same kind of PendingIntent (same operation, same Intent action, data, categories, and

[android-developers] Re: Can we Change APN settings programmatically?

2009-06-15 Thread Android Users
How can i make use of android.provider.Settings package feature? There are few constants like ACTION_APN_SETTINGShttp://developer.android.com/reference/android/provider/Settings.html#ACTION_APN_SETTINGS which has description saying Activity Action: Show settings to allow configuration of APNs..

[android-developers] Re: Application Resources on SDCARD on install!! MUST HAVE, GOOGLE DO SOMETHING!!

2009-06-15 Thread Delta Foxtrot
2009/6/15 Tjerk Wolterink tje...@gmail.com Apps on the sdcard is not the solution. What i want is only the resources of the app on the sdcard. I added a comment to the issue: This is a no-go solution. If apps are installed on the sdcard they can be copied and this opens the door for

[android-developers] Reflection fails on large class

2009-06-15 Thread Hjalmare
Does dalvik have any limitation it puts on classfiles, mainly size related? In groovy we have a huge class thats need to be able to be reflected upon, but it silently fails. IE theres no error during build(dex) or load time but calls to the reflective methods throws a no such method exception.

[android-developers] Re: List items not clickable when using ListAdapter, but clickable with SimpleAdapter

2009-06-15 Thread brian.schimmel
Hi, my problem is now solved and I just want to report the solution, in case someone else is finding the same problem. My implementation of ListAdapter.isEnabled was returning false, which of course should have returned true. Shame on me, very stupid mistake. with best regards, Brian On 25

[android-developers] Re: @ Android-Dev-Team: Request for AsyncTask.getThread() method

2009-06-15 Thread Mike Hearn
AsyncTask uses a thread pool behind the scenes, and assumes it has control over the threads. I don't think it's a good idea to join them, etc. There is a get() method that lets you wait for the computation to complete. Is that what you want? You have to make a thread sleep in the context of

[android-developers] What SensorManager.getOrientation returns?

2009-06-15 Thread yoshitaka tokusho
Hi all, Simply what I have to suppose SensorManager.getOrientation()'s return values are? I expected getOrientation returns yaw/pitch/roll values in degrees like SensorEvent dose when callback returned. But all I can get is some strenge floating number something about between -3.0 and +3.0.

[android-developers] Execute exe in android

2009-06-15 Thread N V
Hi to all Can anyone help me that how can i execute the .exe file in android emulator...? Is it possible? Thank You Nithin N V --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Execute exe in android

2009-06-15 Thread Thomas Riley
A windows application .exe? Sorry, can't be done. On Jun 15, 12:20 pm, N V nithi...@gmail.com wrote: Hi to all        Can anyone help me that how can i execute the .exe file in android emulator...? Is it possible? Thank You Nithin N V

[android-developers] Re: Execute exe in android

2009-06-15 Thread Mark Murphy
Can anyone help me that how can i execute the .exe file in android emulator...? Is it possible? .EXE files are Windows applications, and as such generally only run in Windows. While there are Windows emulators (e.g., WINE), I am not aware of any attempts to port WINE to run on

[android-developers] help with MultiAutoCompleteTextView.

2009-06-15 Thread Saurav Mukherjee
hi all, this is my second issue regarding the same problem. i dont know y, but my auto complete does not work wen there is a single letter in the MultiAutoCompleteTextView. if there r more than 1 char in the MultiAutoCompleteTextView, then the list drops down, shows the items correctly... any

[android-developers] Video Play error

2009-06-15 Thread N V
Hi to all I am trying to play videos with a format of H.264... But android emulator is not supported... Is there is any way to play the H.264 videos...? Like can we add a H.264 decoder to emulator? Thank You Nithin N V --~--~-~--~~~---~--~~ You

[android-developers] There to put --core-library in 1.5?

2009-06-15 Thread Jakob Sachse
Hello, I want to pass the build process the --core-libary option. But in ADT I don't see such an option. So in Version 1.1 --core-library could be inserted into the build.xml and build was successfull when using ant. It looked like this: --- target name=dex depends=compile

[android-developers] Where to put --core-libary option in 1.5 ?

2009-06-15 Thread Jakob Sachse
Hello, I want to pass the build process the --core-libary option. But in ADT I don't see such an option. So in Version 1.1 --core-library could be inserted into the build.xml and build was successfull when using ant. It looked like this: --- target name=dex depends=compile

[android-developers] Blue Screen problem

2009-06-15 Thread djp
Hi All, several users reported that after starting our application on HTC Magic it only shows a blue screen with music and sound effects. It work well on G1 with 1.5 though. The application is using SurvaceView/ OpenGL ES with { EGL10.EGL_DEPTH_SIZE, 16, EGL10.EGL_NONE } EGLConfig attributes.

[android-developers] Video Streaming

2009-06-15 Thread N V
Hi to all... Can anyone tell me that which videos supported for streaming? I tried .mp4,.3gp videos. But none of the videos supported.? Thank You Nithin N V --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Clickable Map Markers

2009-06-15 Thread adadcalledrichard
Check out the onTap(int item) method on the ItemizedOverlay class http://code.google.com/android/add-ons/google-apis/reference/index.html Cheers, Richard http://www.creelcard.com On Jun 13, 7:07 pm, pat patrick.m...@gmail.com wrote: Hi there, I am developing a map application for Android.

[android-developers] android animated_gif Movie

2009-06-15 Thread xiaofeng
can some body give me a example about the usage of Movie in cupcake ? thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] How to specify Frames at from code (not from xml) for Animation Drawable?????

2009-06-15 Thread javaumesh-android
Hi all I have a an activity which has an image view to display animation. and I'm reading resources from res/anim which is working absolutely fine. But what I'm trying is to specify the frames at run time instead of hard coding at the res/anim/file.xml any idea. ? Following works fine.

[android-developers] Re: Get current locale

2009-06-15 Thread deepdr...@googlemail.com
If your question is about the Java Locale class, then the answer is calling the static method Locale.getDefault() : Gets the current value of the default locale for this instance of the Java Virtual Machine -- http://www.deepdroid.com On 15 Jun., 08:07, aby orz0...@gmail.com wrote: Hi, Does

[android-developers] Re: Reusing code, multiple external namespaces

2009-06-15 Thread MrSnowflake
That's a topic I want some more info about too, the way I do it now is making symbolic links from these resources to different projects. I guess this would work on Windows too, as it too has symbolic links. On Jun 14, 8:49 am, xamar pablo.lopez.ja...@gmail.com wrote:     Hello.  * In short:

[android-developers] Re: flagNoExtractUi still showing keyboard text area

2009-06-15 Thread Teo
I am also experiencing this issue... A fix would be great... On May 28, 11:23 pm, Peter Jeffe pje...@gmail.com wrote: So is anyone else using this flag?  The only other app I can find that uses it also has the same issue, so at this point I'm assuming this is a bug.  It's too bad, it's really

[android-developers] Re: flagNoExtractUi still showing keyboard text area

2009-06-15 Thread Teo
I see you reported this in the issue tracker but no one answered there either, not even a confirmation of the bug :/ On Jun 15, 4:06 pm, Teo teomina...@gmail.com wrote: I am also experiencing this issue... A fix would be great... On May 28, 11:23 pm, Peter Jeffe pje...@gmail.com wrote:

[android-developers] Re: Blue Screen problem

2009-06-15 Thread MrSnowflake
Are you using any OpenGL Extentions? Maybe the G1 supports some the Magic doesn't (although I would find this strange). On Jun 15, 1:59 pm, djp david.perou...@gmail.com wrote: Hi All, several users reported that after starting our application on HTC Magic it only shows a blue screen with

[android-developers] Re: why there's no boot.img in Android-1.5

2009-06-15 Thread Odessa Silverberg
Because this group is called android-developers and is meant for developing of the acutal android/java apps and not (re-)compiling of the cupcake/source files? On Jun 14, 7:36 pm, abranzyck german.bla...@gmail.com wrote: Sorry if this is an stupid question, this is actually my first post here

[android-developers] Re: if change screen orientation when a call is ongoing, phone process will crash

2009-06-15 Thread Odessa Silverberg
Check out there if it's already know bug, if not report it. http://source.android.com/report-bugs On Jun 15, 11:06 am, shine zxysh...@hotmail.com wrote: Hi guys, I found if change screen orientation continouously when a call is ongoing, that is, portrait - landscape -

[android-developers] Re: Video Play error

2009-06-15 Thread Odessa Silverberg
I doubt. At least not before there is support for native libraries. Doubt you could get any acceptable performance trying to decode H.264 in pure java... On Jun 15, 1:55 pm, N V nithi...@gmail.com wrote: Hi to all        I am trying to play videos with a format of H.264... But android

[android-developers] Re: Execute exe in android

2009-06-15 Thread Delta Foxtrot
2009/6/15 Mark Murphy mmur...@commonsware.com .EXE files are Windows applications, and as such generally only run in Windows. While there are Windows emulators (e.g., WINE), I am not aware of any attempts to port WINE to run on Android, and I suspect that would be...difficult. Difficult and

[android-developers] Re: How to compute the screen size before rendering objects?

2009-06-15 Thread MrSnowflake
The SurfaceView.Callback gives you the dimensions of the surfaceview in onSurfaceChanged(). On Jun 15, 8:35 am, javame_android su...@saltriver.com wrote: Hi Everybody, I want to render 3d object on the screen. Before that I would like to compute the screen so that the rendered object can be

[android-developers] Add a footer in a TabActivity

2009-06-15 Thread Tom
Hi, I created a TabActivity with contains 3 tabs. Each tab's content sets different Intents. I would like to add a footer wich will appear on each tab. So I get TabActivity's FrameLayout and add it my footer view. Is it possbile to define where place the footer (with an attribute like

[android-developers] Re: Two page form question - saving data from first page

2009-06-15 Thread gjs
Hi there, You may need to save your data from the spinners earlier using the various Listeners in order to cater for other events - eg press Home/ Back button, keyboard open/cose, phone rings etc - other than just when user 'clicks button to move to next page'. You can also save the data from

[android-developers] Re: Two page form question - saving data from first page

2009-06-15 Thread doubleminus
Ah. So I'll likely be using a listener of some sort or a app Preference object - and not writing to the database? Good to know. I hadn't thought of the obvious issues you've brought up (user moving away from application then coming back). The data does not need to be preserved beyond the

[android-developers] Re: merge a rows in column

2009-06-15 Thread revanth
Basically I am looking for a Table some thing like this | | | | | row0 | | | || || | | row0 | | | row1 | merged

[android-developers] Re: Upgrading to sdk 1.5

2009-06-15 Thread gjs
./android On Jun 14, 4:46 am, jared jared.fur...@gmail.com wrote: I am having an issue when upgrading to 1.5.I am good on all steps listed here: http://developer.android.com/sdk/1.5_r2/upgrading.html but I run into problems when creating the AVD. It says do this: Open a command-line

[android-developers] Re: handling errors in onCreateDialog(..)

2009-06-15 Thread Streets Of Boston
It's a dirty work-around, but call the onPrepareDialog yourself if it has not been called after a config-change. On Jun 15, 10:52 am, Spencer Riddering ponderyon...@gmail.com wrote: Hi Romain Guy, So, I updated the original issue. I don't see a problem with leaving the code as it is as long

[android-developers] Re: handling errors in onCreateDialog(..)

2009-06-15 Thread Spencer Riddering
Hi Romain Guy, So, I updated the original issue. I don't see a problem with leaving the code as it is as long as I can prevent the Sorry dialog of death (SDOD). As I mentioned in the issue tracker, wrapping the showDialog(..) call in a try-catch prevents the SDOD. The problem is that during a

[android-developers] Re: how to receive call and play media file

2009-06-15 Thread Marco Nelissen
The current platform and hardware do not support playing audio in to the phone conversation. The best you could do is play it through the speaker really loud, and hope the other side can hear it. On Sun, Jun 14, 2009 at 10:16 PM, Honest honestsucc...@gmail.com wrote: Hi, I want to develop

[android-developers] Re: if change screen orientation when a call is ongoing, phone process will crash

2009-06-15 Thread gjs
I get same error in finger paint demo app On Jun 15, 7:06 pm, shine zxysh...@hotmail.com wrote: Hi guys, I found if change screen orientation continouously when a call is ongoing, that is, portrait - landscape - portrait-landscape.. after while, you will find phone process crashed

[android-developers] Android project in subversion - .svn copied in bin folder

2009-06-15 Thread JMichel
Hi, I want to manage an Android project with subversion (svn in command line). I'm using the Android SDK 1.5 in Eclipse 3.4.2. I included every dev files from my project but I didn't include the folders /gen (auto-generated by the SDK) and /bin (built files). My problem is that when I start

[android-developers] Re: Android project in subversion - .svn copied in bin folder

2009-06-15 Thread deepdr...@googlemail.com
By default Eclipse compiles .java from source folders to .class in the bin folder and copies all other files. You can configure a filter for which files not to copy in Window = Preferences, Java = Compiler = Building = Output Folder. Then again the better way I think is to install the Subclipse

[android-developers] Re: Video Play error

2009-06-15 Thread Marco Nelissen
On Mon, Jun 15, 2009 at 4:55 AM, N V nithi...@gmail.com wrote: Hi to all I am trying to play videos with a format of H.264... But android emulator is not supported... Is there is any way to play the H.264 videos...? Like can we add a H.264 decoder to emulator? Does playback

[android-developers] How to share datas between tabs in a TabActivity

2009-06-15 Thread Tom
Hi, I created a TabActivity with contains 3 tabs. Each tab's content sets different Intents. All these Intents extended ListActivity. Is it possible to retrieve informations from these three activities in the main TabActivity? Here are some of my codes : public class Temp extends TabActivity{

[android-developers] How to change Image of AppWidget button

2009-06-15 Thread doubleslash
I have a widget embedded in the home screen. To change the displayed image upon a click, I have tried the following to no avail: 1. mRemoteViews.setImageViewResource(R.id.button, R.drawable.sqyellow); 2. mRemoteViews.setInt(R.id.button, setBackgroundResource,R.drawable.sqyellow); I also tried

[android-developers] HTTPS video streaming

2009-06-15 Thread GAYET Thierry
Hi, Is there some free available source code made by Android API in order to make an HTTPS video streaming ? Best regards Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: Video Streaming

2009-06-15 Thread Marco Nelissen
On Mon, Jun 15, 2009 at 5:01 AM, N V nithi...@gmail.com wrote: Hi to all... Can anyone tell me that which videos supported for streaming? I tried .mp4,.3gp videos. But none of the videos supported.? mp4 and 3gp are supported, with some constraints. What does your code look

[android-developers] Does Java secured Socket Extension is supported in android ?

2009-06-15 Thread GAYET Thierry
Hello, I wanna know if there is a support with TLS PSK in Android. This is to create a SSL tunnel using a predefined Pre Shared Key (PSK). For more information about this topic: * http://www.ietf.org/rfc/rfc4279.txt * http://en.wikipedia.org/wiki/TLS-PSK Thanks in advance for

[android-developers] Re: Blue Screen problem

2009-06-15 Thread djp
I'm using just VBO. I suspect that there is a problem with EGL configuration selection, but who knows :) On Jun 15, 3:11 pm, MrSnowflake mrsnowfl...@gmail.com wrote: Are you using any OpenGL Extentions? Maybe the G1 supports some the Magic doesn't (although I would find this strange). On Jun

[android-developers] How to launch a 'selection dialog' on Android

2009-06-15 Thread Lucius Fox
Hi, When I click the home screen, android pops up a 'selection dialog' (i am not sure what is the technical term) to ask me to add 'Widget', 'Shortcut', 'Folder', etc. etc. Can you please tell me how to pop up those kind of selection dialog? Where can I find example for that? Thank you.

[android-developers] Re: RelativeLayout breaks the paradigm of ViewGroup with onMeasure and onLayout

2009-06-15 Thread Matt
RelativeLayout does exactly what the documentation says it should be doing. The size and position is are assigned in onLayout(). No, they're not. They are assigned in onMeasure(). Well, if you want to get technical, they are calculated in onMeasure(), and assigned in onLayout(). It's just

[android-developers] Re: RelativeLayout breaks the paradigm of ViewGroup with onMeasure and onLayout

2009-06-15 Thread Romain Guy
No, they're not. They are assigned in onMeasure(). Well, if you want to get technical, they are calculated in onMeasure(), and assigned in onLayout(). They are not assigned in onMeasure(), they are assigned in onLayout(), just as the javadoc says it should be. The size and position

[android-developers] Re: RelativeLayout breaks the paradigm of ViewGroup with onMeasure and onLayout

2009-06-15 Thread Marco Nelissen
On Mon, Jun 15, 2009 at 9:34 AM, Mattmatthew.quig...@gmail.com wrote: RelativeLayout does exactly what the documentation says it should be doing. The size and position is are assigned in onLayout(). No, they're not.  They are assigned in onMeasure(). Well, if you want to get technical, they

[android-developers] How to compile android project at command line

2009-06-15 Thread Daniel Dreiberg
Hi, I have an android project with source. This is the project structure. $ cd MyProject $ ls Android.mk res AndroidManifest.xml src How can I compile this build and build an apk thru command line? Thank you. --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: BroadcastReceiver not able to receive events

2009-06-15 Thread jonathan
I have tried the string constant, but still not getting the broadcast. any other idea? thanks On Jun 15, 12:25 am, Jeff Sharkey jshar...@android.com wrote: You need to resolve the Java variable names to their actual String constants when inserting into XML.  For example, the below Java

[android-developers] Re: BroadcastReceiver not able to receive events

2009-06-15 Thread jonathan
I tried doing this dynamically in onCreate of my activity class. SDCardBroadcastReceiver myReceiver = new SDCardBroadcastReceiver(); IntentFilter filter = new IntentFilter (Intent.ACTION_MEDIA_MOUNTED); filter.addAction(Intent.ACTION_MEDIA_UNMOUNTED);

[android-developers] Marquee ImageView??

2009-06-15 Thread Rick
Hi All. What I'm attempting to do is have an image in the background animate so that it appears to be like a marquee. I've toyed around with TranslateAnimation but can't seem to get the behavior I am looking for. Any ideas? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: BroadcastReceiver not able to receive events

2009-06-15 Thread Marco Nelissen
You need to add: filter.addDataScheme(file); On Mon, Jun 15, 2009 at 10:01 AM, jonathan topcod...@gmail.com wrote: I tried doing this dynamically in onCreate of my activity class. SDCardBroadcastReceiver myReceiver = new SDCardBroadcastReceiver(); IntentFilter filter = new

[android-developers] Re: Hiding and showing titlebar at runtime?

2009-06-15 Thread Dianne Hackborn
No, sorry. On Sun, Jun 14, 2009 at 5:25 AM, gsmd gsm...@gmail.com wrote: The option I see so far is calling requestWindowFeature (Window.FEATURE_NO_TITLE). Is there a way to bring it back programmatically? TIA. -- Dianne Hackborn Android framework engineer hack...@android.com Note:

[android-developers] Re: Add a footer in a TabActivity

2009-06-15 Thread nEx.Software
So the footer is the same for all tabs? In that case, I would set for the TabActivity a custom layout that contains the footer. Something like this: TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@android:id/tabhost android:layout_width=fill_parent

[android-developers] Content Provider notifications?

2009-06-15 Thread MannyNS
Anyone? On Jun 10, 5:38 pm, MannyNS mr.greenfi...@yahoo.com wrote: Using ContentResolver and ContentObserver, it is possible to receive notifications in the function onChange() when some data is changed within the content provider. However, I fail to see if there is a way to see the URI

[android-developers] Intercepting an incoming/outgoing email

2009-06-15 Thread Anonymous Guy
I have tried searching everywhere for information on intercepting an email (both incoming and outgoing) with an Intent, but all I come up with is how to do it with an SMS message. Is there a way to do it with emails? I've seen android.intent.extra.EMAIL mentioned, but never used in anything to

[android-developers] How to Drag-n-Drop an image from a source to target ImageButton object

2009-06-15 Thread Chandru
Hi Pardon for posting this message multiple times as I don't see my message in the group. I have a table layout with various ImageButton objects. I'm using XML layout instead of custom view class. I'd like to move an image from one ImageButton object to another like moving a chess piece by

[android-developers] [AppWidget ] How to get widget object from appwidget

2009-06-15 Thread clybe cai
Hi all, I met a problem when adding an onClickListener for a button which include in appwidget. I don't know how to get the button object from appwidget(get the ture layout copy of home screen). I have tried two method 1)use layoutinflate to create a view object but this wouldn't have an

[android-developers] Process Lifecycle

2009-06-15 Thread Mark
Hi there, I'm unsure about some behavior that I'm observing with my application using the 1.5 SDK. I have an Activity which Overrides the onCreate, onResume, onPause and onDestroy methods. In each method, I log a message so that I can see what happens to my application when I do various things

[android-developers] SMS inbox and Simple cursor adapter.

2009-06-15 Thread miguel
Hi to all, Im trying to read the sms inbox with getContentResolver() , and the create a list of all messages with SimpleCursorAdapter. I can read fine all the fields with the cursor methods, but when I try create a list of sms bodies with SimpleCursorAdapter, the list appears(with the correct

[android-developers] Porting Web Browser on Android

2009-06-15 Thread Chitra
Hi All, I am new to android. I want to port any open source web browser to android. Is it possible to port firefox on android, and integrate gecko rendering engine on to android. Can anyone please suggest me which open source browser can I port. Please help me. Thanks, chitra

[android-developers] Re: How to add Google Maps library, Maps to the Android 1.5 version device?

2009-06-15 Thread ade
Hello, where can I find those 3 files? If it's possible, can you send me those files over email? I am currently stuck with an HTC Magic with no Google Maps on it and would like to install it myself. Thanks. On Jun 2, 7:54 am, Subba raochoud...@gmail.com wrote: I extracted

[android-developers] Load ListView in ListActivity and prevent user

2009-06-15 Thread loudo
Hello, I want to load a list activity from a xml file. I have done it but i would like to optimize load of data. I would like to dislplay a message Loading... to prevent the user. I have found progress bar example of but i don't know when to display it and how to know the data ar loaded. I

[android-developers] Compile error?

2009-06-15 Thread bluestar
Dear Sir: Today I download source code for Android on the Neo Freerunner. I built the image and got the some below error external/mtd-utils/mtd-utils/compr_lzo.c:29:23: error: lzo/lzo1x.h: No such file or directory external/mtd-utils/mtd-utils/compr_lzo.c: In function

[android-developers] Where is zeroconf? (Bonjour?)

2009-06-15 Thread SFSDCris
My understanding is there is no zero config networking API for the Android. If this is true, can someone at goggle please fix this omission? Perhaps an Android 1.6 SDK? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Update TextView when receiving Network messages

2009-06-15 Thread Jan Meskens
Dear all, I made an android application that receives XMPP messages (using the Smack library). Each time a message is received, the body of this message should be placed inside a TextView. However, only when receiving the first message this TextView is updated. When debugging the application, I

[android-developers] Load ListView in ListActivity and prevent user

2009-06-15 Thread loudo
Hello, I want to load a list activity from a xml file. I have done it but i would like to optimize load of data. I would like to dislplay a message Loading... to prevent the user. I have found progress bar example of but i don't know when to display it and how to know the data ar loaded. I

[android-developers] Update TextView when receiving Network messages

2009-06-15 Thread Jan Meskens
Hi All, I made a simple android client app containing a UI with a TextView. From a server application (that runs on a desktop PC), I am sending messages over XMPP (using the Smack library) to the android client and I want to display the content of these messages in the textview. The messages are

[android-developers] when program has edittext and webview

2009-06-15 Thread Tsai stanly
hi, there have some problems when adding edittext and webview, the edittext is upon the webview, the problem is the mouse always focus on edittext, so i can't type the id or password in the webview?? so, how to solved??? thanks!!! stanly --~--~-~--~~~---~--~~

[android-developers] OnSizeChanged and redrawing widget contents

2009-06-15 Thread fdfTID
I need to wait until onSizeChanged event raises to populate a TableLayout as I need to know the real size of that widget, but when I do that the widget shows empty. If I do the same in the onCreate event, I get the widget well shown. What method should I need to call in order to get the widget

[android-developers] Browser porting on Android

2009-06-15 Thread Chitra
Hi all, I am newbie to Android. I would like to know if is it possible to port firefox browser on Android and is it possible to integrate gecko on android? Also please suggest which open source browser can I port. Please help me.. Regards, Chitra

[android-developers] ScrollView with VideoViews

2009-06-15 Thread FDF TID
I've tried to make a simple RTSP demo showing a group of VideoViews under a scrollview but it when I scroll the view, I get the VideoViews shown outside the scrollView as if they were using some kind of overlay feature that is drawn over the UI. Is it a known bug or am I missing something?

[android-developers] How to use Android Binder(?)

2009-06-15 Thread mirwing
Help me! I want to send my app's value to another process app. How to send value. Thank you! YunTack Yi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: GSM Handshake/ Registration

2009-06-15 Thread Mba Charles
On 6/12/09, Junior Oyebadejo joyebad...@gmail.com wrote: Hello everyone, I'm in the process of taking the low level areas of Android apart in order to do some research into GSM. I have been looking extensively at the Radio Interface Layer of the Android platform and I see all the Hayes AT

[android-developers] PORTING BROWSER ON ANDROID

2009-06-15 Thread Vinay R Rao
Hi all, Is it possible to integrate gecko rendering engine on to android? I want to port any open source web browser on to android. Can anyone please help me on this? Can you Please suggest me which open source browser to port on ANDROID. Waiting for your replies. Thank You, Regards, Vinay

  1   2   >