[android-developers] Re: help: button.setBackgroundColor

2009-05-07 Thread Sukitha Udugamasooriya
Romain Guy , Thanks. Seems it is a long process to change the original assets. You meant from the Android source code rite? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: EditText with multiple listners

2009-05-07 Thread Romain Guy
There is only one thread to control the entire UI. On Wed, May 6, 2009 at 10:15 PM, Raja Nagendra Kumar nagendra.r...@tejasoft.com wrote: We have a few actions to be taken based on edit and based on focus lost on a Text Filed, Hence we made sure this View object listens to both some thing

[android-developers] Re: How to get current date ??

2009-05-07 Thread Daehoon Jeon
In Android we can get current date like this : private TextView mDateDisplay; private Button mPickDate; private int mYear; private int mMonth; private int mDay; static final int DATE_DIALOG_ID = 0; @Override protected void onCreate(Bundle savedInstanceState) {

[android-developers] List All files in the directory

2009-05-07 Thread Muthu Kumar K.
Hi All, Can any one tell me which is the best way to access the file system in android device, also i want to list all the files in the application directory. Please give me your comments. Thanks in Advance, Muthu Kumar K. --~--~-~--~~~---~--~~ You received this

[android-developers] Focus control

2009-05-07 Thread Raja Nagendra Kumar
Hi, We see API for saying which is the next focusable view.. however during the event handling we want to set the focus to xyz view object programmatically . Is that possible.. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com --~--~-~--~~~---~--~~ You

[android-developers] Focus algorithm's default logic

2009-05-07 Thread Raja Nagendra Kumar
Also, any good place to know how does android framework default approach to decide on the next focusable component. Does this depend on Layout. What is its impact if the view is dynamically generated with certain view items, either removed, added or hidden based on certain events. Regards, Raja

[android-developers] Re: List All files in the directory

2009-05-07 Thread matthias
Hi, for accessing e.g. the shared_prefs directory, you would do something like this (in an Activity or Service): PackageManager pm = getPackageManager(); ApplicationInfo appInfo = pm.getApplicationInfo(getPackageName (), 0); final ListString list = Arrays.asList(files);

[android-developers] Creating window on Android using C++

2009-05-07 Thread Maha
Hi, Is there any way to create window on Android using C++. My ultimate aim is to draw bitmap image on android but using C++ Thanks Maha --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Focus control

2009-05-07 Thread Romain Guy
Just call requestFocus() on that component. Note that it won't work in touch mode (== after the user touched the screen) because the Android UI design calls for no focused/selected element in touch mode. On Thu, May 7, 2009 at 12:35 AM, Raja Nagendra Kumar nagendra.r...@tejasoft.com wrote: Hi,

[android-developers] Re: List All files in the directory

2009-05-07 Thread matthias
Hi, not sure about the app dir, but for accessing e.g. the shared_prefs directory, you would do something like this (in an Activity or Service): PackageManager pm = getPackageManager(); ApplicationInfo appInfo = pm.getApplicationInfo(getPackageName (), 0); File

[android-developers] Re: Browser specs

2009-05-07 Thread tekinico
Actually yes, you could suggest : ) I've seen many news on how adobe is bringing flash to android or that Webkit is used as the browser engine. I am however unable to find what version of CSS, HTML, SSL... is supported. Thing is, i'm not sure adroid is using the full capabilities of webkit, is

[android-developers] Re: Does anyone do XPath on Android?

2009-05-07 Thread matthias
anyone? --~--~-~--~~~---~--~~ 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] problem when simulating GPS on SDK1.5

2009-05-07 Thread npak...@gmail.com
Hi all, Now I'm writing a software and using GPS simulator on SDK1.5 I use an AVD device by command : android create avd --target 2 --name AVD_15 My problem is when i change location up to the third times, my program can not receive this change. I do not understand but I can be sure that my

[android-developers] Re: Lost focus on soft keyboard

2009-05-07 Thread Paranoia
do you mean the keyboard is popped up, but the activity is not pushed aside? right? i DID meet this issue. seems it's bug of the imf, or windowmanager. On May 7, 3:15 pm, Yossi yossi@gmail.com wrote: Hi Dianne, Did you find anything wrong with my code? Thanks, Yossi On May 6, 11:00 

[android-developers] Can not change the text appears in AlertDialog

2009-05-07 Thread Omer Saatcioglu
Hello, Today I faced a very weird problem. In my game I create AlertDialog to show the user next level challenges when one is succeeded. So, the corresponding code is like this. when the game is succeeded showDialog (R.id.display_success) is called and the following code is executed. So, I am

[android-developers] Re: Weird bug when saving picture to file system!?

2009-05-07 Thread L'\tty
I see, thx for the 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@googlegroups.com To unsubscribe from this group, send

[android-developers] Re: Android 1.5: How to get the BT state?

2009-05-07 Thread so_is
Thank you very much. :) Here some advice for all the others reading that topic: private static final String BLUETOOTH_STATE = android.bluetooth.intent.BLUETOOTH_STATE; private static final String BLUETOOTH_PREVIOUS_STATE = android.bluetooth.intent.BLUETOOTH_PREVIOUS_STATE; Regards On May 6,

[android-developers] Media Player sound state problems in G1

2009-05-07 Thread Sudha
Hi I am using MediaPlayer to play my sounds below is my another post http://groups.google.com/group/android-developers/browse_thread/thread/8d1c01b055873f39# I tried all the possible ways stated in the above post but could not play sounds accordingly so changed the sound code as below, Now the

[android-developers] How to implement a link view

2009-05-07 Thread rain
Just like the html a tag, I want dispaly a link text, when user click the linkView then trigger some evnet( link: open a new page). for example: display text is: google when user click the google text ,then open the google home page: www.google.com. I saw the TextView and the Linkify class,

[android-developers] Re: How to implement a link view

2009-05-07 Thread rain
I find a way to display the link text: TextView tv = new TextView(this); SpannableString str = SpannableString.valueOf(google); str.setSpan(new URLSpan(http://www.google.com;), 0, 6, Spannable.SPAN_INCLUSIVE_EXCLUSIVE); tv.append(str); but when i click the text, there will not trigger the open

[android-developers] how to get the network camped event

2009-05-07 Thread Lawrence
Hi, i am wondering how to get noticed once the phone has been successfully registered to a valid network. Anybody has a point on this? Thanks, Lawrrence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: DTD file for syntax checking of layouts / manifest files

2009-05-07 Thread a druid
Thanks for your answer. Is this the same for the Manifest file ? On May 6, 5:39 pm, Romain Guy romain...@google.com wrote: There is no DTD for the layout files because they use dynamic tag names. A DTD cannot be written. On Wed, May 6, 2009 at 6:53 AM, a druid klausf...@gmail.com wrote:

[android-developers] Re: SharedPreferences got deleted! - What could be the problem?

2009-05-07 Thread so_is
Thank you very much for your comment Mark. Well at the moment I am prior to redo the whole preferences saving my settings into a Sqlite database. I can not find the bug in my code and my app relies on this settings so I don't see any other chance to get rid of the lost settings bug. On May 6,

[android-developers] Re: How to Disable Onscreen Keyboard

2009-05-07 Thread a druid
Go to settings - Locale text and uncheck Android keyboard On May 6, 4:22 am, MikaSue mika...@mikasuedesigns.com wrote: I have downloaded SDK 1.5 and now when I enter a edittext field, this annoying onscreen keyboard pops up.  Is there a way to disable it in the emulator?  It's very annoying

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

2009-05-07 Thread Tushar
I'm facing same issue. Did you got any fix or work around for this ? On Mar 26, 6:55 pm, jseghers jsegh...@cequint.com wrote: The code that starts the .About activity is:     protected void startAbout()     {         Intent aIntent = new Intent(this, About.class);        

[android-developers] Re: Soft keypad not appearing for edit text-Urgent

2009-05-07 Thread Android Users
Problem solved. It was because the view hierarchy was too deep. On Tue, May 5, 2009 at 11:45 AM, Android Users androidmai...@gmail.comwrote: Hi, I have an application that has 2 AutoComplete TextViews on a single screen. I have just upgraded the application from 1.0 to 1.5 and I am facing 2

[android-developers] Re: problem when simulating GPS on SDK1.5

2009-05-07 Thread David Turner
Yes, it's a known bug that is being investigated. On Thu, May 7, 2009 at 10:13 AM, npak...@gmail.com npak...@gmail.comwrote: Hi all, Now I'm writing a software and using GPS simulator on SDK1.5 I use an AVD device by command : android create avd --target 2 --name AVD_15 My problem is when

[android-developers] Re: Update widget from code

2009-05-07 Thread Carlos
Ok. But how to find the id to join it in the intent? When i update my widget, i do : updateViews.setOnClickPendingIntent(R.id.widget, pendingIntent); the pendingintent has an extra value with the widget id. How to get the widget id? Charles On May 7, 12:25 am, Jeff Sharkey

[android-developers] Re: Creating window on Android using C++

2009-05-07 Thread David Turner
On Thu, May 7, 2009 at 9:45 AM, Maha maha2...@gmail.com wrote: Hi, Is there any way to create window on Android using C++. No, there isn't and probably never will. My ultimate aim is to draw bitmap image on android but using C++ You could try drawing into a buffer provided by the

[android-developers] Re: Obtaining/calculating process CPU usage.

2009-05-07 Thread David Turner
On Thu, May 7, 2009 at 7:34 AM, Sachin pandhare sachinpandh...@gmail.comwrote: Hello Dianne, Which functionality may break in future releases? Is it executing the command using runtime? String cmd = top -n 1; process = runtime.exec(cmd); the format, or even the availability of top is very

[android-developers] Re: problem when simulating GPS on SDK1.5

2009-05-07 Thread Anh Khoa Nguyen Pham
Thanks On Thu, May 7, 2009 at 4:57 PM, David Turner di...@android.com wrote: Yes, it's a known bug that is being investigated. On Thu, May 7, 2009 at 10:13 AM, npak...@gmail.com npak...@gmail.comwrote: Hi all, Now I'm writing a software and using GPS simulator on SDK1.5 I use an AVD

[android-developers] Maps behind proxy in 1.5

2009-05-07 Thread Android Users
Hi, I was not able to access maps behind proxy with SDK 1.0.(inspite of adding proxy to system database or give command line option of -http -proxy) Does the problem still persist with SDK1.5 or is there a work around? Thanks in advance. --~--~-~--~~~---~--~~ You

[android-developers] Re: SlidingDrawer issue #1?

2009-05-07 Thread cannehal
As I said before I have the same issue as Sheepz. It works fine in runtime, but in layout editor in eclipse there is Exception. For me it looks like a bug in plugin. And for forthcoming questions: I am using latest SDK (1.5) and proper eclipse plugin. On May 6, 1:34 am, Sheepz

[android-developers] Re: Video with MediaRecorder

2009-05-07 Thread Anders
Hi, Thanks, I got it to work. I have one problem though. When I rotate the phone, using automatic Orientation the onDestroy() method of my activity is called, which effectively also stops capturing. When the activity is recreated, a new capture starts. This means I will now have two files for

[android-developers] Re: How to use AudioRecord and AudioTrack

2009-05-07 Thread l hx
can we using channels 2 when recording audio? On Sat, May 2, 2009 at 12:54 AM, Jean-Michel jmtr...@gmail.com wrote: Hi there, Looks like sipdroid (www.sipdroid.org) is using AudioTrack and AudioRecord for their SIP client. Go to the Browse source page and look at trunk src org sipdroid

[android-developers] Re: Creating window on Android using C++

2009-05-07 Thread maha lakshmi
Hi David, Thanks for your reply. Let me tell clearly about my requirement. I am developing flash plugin for webkit browser. When I click on youtube video, my plugin will process the flash content and display it onto the browser. I have implemented the same using X11 as UI. There are

[android-developers] MediaPlayer play() processing priority

2009-05-07 Thread Filipe Abrantes
Hi all, whenever I call the play() method of MediaPlayer, the UI suffers heavy glitches (very noticeable if some animation is running for example) even if it is called from a service or other thread. My question if there is a way to lower the processing priority of the MediaPlayer call, or if

[android-developers] Re: R.drawable.list_selector_background doesn't yield in orange

2009-05-07 Thread alex
Dianne, thanks for the details. Seems like the only option I've got is finding list_selector_background in the sources and seeing if I can create a similar drawable that won't depend on focus state. On May 7, 12:47 am, Dianne Hackborn hack...@android.com wrote: View takes care of updating the

[android-developers] Re: amr codec only output zero data.

2009-05-07 Thread dycl3
Now, i use the sdk download from google, it play amr file good, But when i use the sdk, build by myself, it 't could'nt play amr file. any one now that's why, tell me, thanks. On 4月27日, 下午3时52分, dycl3 dy...@126.com wrote: dear: I am trying play an amr file on android emulate, but

[android-developers] Re: Creating window on Android using C++

2009-05-07 Thread David Turner
On Thu, May 7, 2009 at 12:55 PM, maha lakshmi maha2...@gmail.com wrote: Hi David, Thanks for your reply. Let me tell clearly about my requirement. I am developing flash plugin for webkit browser. When I click on youtube video, my plugin will process the flash content and display it onto

[android-developers] Problems creating a Custom Dialog

2009-05-07 Thread L'\tty
Hi guys, I tried to create a custom about dialog using the source code of http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog with the result that I get a BadTokenException and the message that the view cannot be null. If I understood it correctly, the custom_dialog.xml is a

[android-developers] Re: Can not change the text appears in AlertDialog

2009-05-07 Thread Omer Saatcioglu
http://code.google.com/p/android/issues/detail?id=857 This problem is because of a bug in the super class Dialog. Once I called removeDialog before I call showDialog in my code. The problem is completely solved. So, I am creating the dialog like this from now on:

[android-developers] Video streaming error in SDK 1.5

2009-05-07 Thread N V
Hi to all... I tried for video streaming in sdk 1.5... The video format .mp4... But it gives error like This video is not valid for streaming to this video. But in http://developer.android.com/sdk/android-1.5-highlights.html .mp4 is supported for streaming Thank You Nithin N V

[android-developers] Re: R.drawable.list_selector_background doesn't yield in orange

2009-05-07 Thread alex
Ended up grabbing the nine-patch image (which is list_selector_background_focus.9.png) and adding it to my own drawables. Not the approach I'd be proud of, but it works. On May 7, 2:07 pm, alex gsm...@gmail.com wrote: Dianne, thanks for the details. Seems like the only option I've got is

[android-developers] Re: List All files in the directory

2009-05-07 Thread Muthu Kumar K.
Hi, Thanks for your timely help. It is working fine. :) Thanks, Muthu Kumar K. On May 7, 12:54 pm, matthias m.kaepp...@googlemail.com wrote: Hi, not sure about the app dir, but for accessing e.g. the shared_prefs directory, you would do something like this (in an Activity or Service):    

[android-developers] Is a NetworkInterface mapped to a NetworkInfo (type)?

2009-05-07 Thread Taísa Cristina
Hi all, Is there any mapping among Network Types and Network Interfaces? I mean, is it possible to found out whether a Network Interface is related to MOBILE or WIFI network type, for example? Thanks, Taísa Taísa Cristina Costa dos Santos Computer Engineer Brazil, SP 55 19 8152-7453

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

2009-05-07 Thread l hx
Do you using alsa_sound for recording playback? On Fri, May 1, 2009 at 11:00 PM, Scott Slaugh xsla...@gmail.com wrote: Hi, I have an application that I developed using the Android 1.1 SDK that I am trying to port to Android 1.5. In my application, I record a sound through the microphone

[android-developers] Re: youtube on android

2009-05-07 Thread brian.schimmel
Hi Ebin, this is actually very easy. Real phones (developer and user phones) come with a preinstalled youtube application that performs very well. On the emulator, it is not present as far as I remember. If you want to lauch youtube from within your application, maybe this thread helps you:

[android-developers] Re: send mail with format html

2009-05-07 Thread iloveblue
Thanks for all you guys. I've got it and I will check the music player code. Thanks for the sharing. On 5月6日, 上午9时58分, Jonathan Alonso - Softdinet Ltda jalo...@softdinet.com wrote: Hi, I need send mail with format html used intent.EXTRA_TEXT Intent intent = new Intent(Intent.ACTION_SEND);

[android-developers] Is it possible to have, horizontal listview, scrolling horizontally?

2009-05-07 Thread jagtap.jj
Hello everybody Is it possible to have, horizontal listview? normally the listview scrolls vertically having horizontally rows . is reverse case possible, listview scrolling horizontally and having vertical rows. Thank you --~--~-~--~~~---~--~~ You received

[android-developers] Re: Is it possible to have, horizontal listview, scrolling horizontally?

2009-05-07 Thread Mark Murphy
Is it possible to have, horizontal listview? normally the listview scrolls vertically having horizontally rows . is reverse case possible, listview scrolling horizontally and having vertical rows. There is no built-in widget that supports horizontal scrolling. There is nothing to prevent

[android-developers] Re: SharedPreferences got deleted! - What could be the problem?

2009-05-07 Thread dar
Try putting in xml special characters into the strings you are saving directly with the editor without xml-escaping them, e.g. ' and see if this reproduces the problem when you try to read in the saved preferences after your app has been killed (after a reboot, for example). On May 7, 5:24 am,

[android-developers] Re: Transport Data between Android and PC application

2009-05-07 Thread Tom
Ok thanks, I'm going to do some searches on these protocols. --~--~-~--~~~---~--~~ 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: Transport Data between Android and PC application

2009-05-07 Thread Tom
Question : Which of these protocols RPC-XML, REST even SOAP are the best for transport data between android and PC? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Child TextView in ScrollView with large amount of text pushes other views off the screen

2009-05-07 Thread Mike
This words, thanks. However, it appears to me the value you specify for the height is an arbitrary one. For example, it doesn't seem to matter if specify 1dip or 100dip, it still sizes the same. I assume what's going on is that the layout_weight=1.0 tells the layout manager to give as much

[android-developers] Re: establishing two connection( 3G Wifi )at the same time

2009-05-07 Thread Breno
I'm facing tha same problem, but with Edge, instead of 3G. Everytime that wifi get connected to a network, down the edge/gprs/3g network. This really needs to be optional, not a default. But this is not the worst: there is no broadcast message that inform that GPRS/ Edge/3G is disconnected,

[android-developers] Re: Update widget from code

2009-05-07 Thread Jeff Sharkey
First, remember that PendingIntents may not be unique w.r.t extra bundles, which is why you want to use the setData() Uri. In the Activity or Service that you trigger with the PendingIntent, you can use getIntent().getData() to read back the Uri used to launch it, which includes any data you set

[android-developers] Re: Get image URI from camera?

2009-05-07 Thread Anna PS
Hi Mark, I've used the camera code from the Advanced Android book and it's working nicely. Thank you. Just a couple of basic questions (for Mark, or anyone else) about the retrieval/URI issue, both assuming the photo is saved on the SD card as photo.jpg. 1. Thumbnail display. When I go back to

[android-developers] Invoking one apk from another

2009-05-07 Thread Asif k
Hi all, I want to invoke musicplayer.apk(this .apk I have already created and working fine) application from my current application programmatically. Can anyone please suggest me how to export musicplayer.apk and the steps to accomplish this task? Please help. Thanks in advance.

[android-developers] Re: SW (2D API) vs. HW (openGL) rendering

2009-05-07 Thread mcmc
Thanks a lot. :) Very helpful. On Apr 28, 4:05 am, Alistair. alistair.rutherf...@googlemail.com wrote: Take a look at SpriteMethodTest here http://code.google.com/p/apps-for-android/ Al. On Apr 27, 9:51 pm, mcmc manni...@gmail.com wrote: I'm trying to compare the difference in speed

[android-developers] Re: Get image URI from camera?

2009-05-07 Thread Mark Murphy
1. Thumbnail display. When I go back to the first screen of the application, I want to show an ImageView of the jpeg that the user has just taken. Current code, which doesn't work because it's not looking in the SD card: bmp = BitmapFactory.decodeStream(openFileInput(photo.jpg));

[android-developers] Re: Media Player sound state problems in G1

2009-05-07 Thread Marco Nelissen
Based on the code you posted, the stop called in state 2 is because you call stop() in your OnCompletionListener, which isn't necessary (it's already stopped at that point). I don't see how the other problems could happen with the code you posted, unless you have multiple threads accidentally

[android-developers] Problem with SDK 1.5

2009-05-07 Thread doubleslash
I recently installed SDK 1.5 and updated the Eclipse adt to 0.9. I tried using the accelerometer sensor but kept getting an error when registerring the listener. My code is as follows: class myActivity extends Activity{ SensorManager sm = (SensorManager)getSystemService

[android-developers] ListAdapter issue related to ListView selection

2009-05-07 Thread LD
Hello, I have following problem: I am creating ListAdapter that is used by my ListView. Task (that I am solving using ListView) relates to displaying files on SD card. When specific directory is opened, list highlights the first item in it and selects the item (using setSelection(position)

[android-developers] App-independent Storage of Shared Resources/Media

2009-05-07 Thread Arne Handt
Hello, I'm in a situation where I have to share some resources (i.e. images) between several of my apps and I'd like to know if there's a standardized and convenient way to do this besides the system-wide Media Store. The reason I don't want to use the MediaStore is that the resources are rather

[android-developers] Re: Android 1.5 - crash during drawing of multiline TextView

2009-05-07 Thread Mike
Thank you very much for answers! I've seen discussions about view hierarchy depth, but after finding out that StackOverflow pops-up exclusively at the moment of text wrapping I didn't believed this is the case. Hierarchyviewer revealed that my hierarchy is really deep (14), but it's not as

[android-developers] Re: Invoking one apk from another

2009-05-07 Thread Yusuf T. Mobile
I would recommend using Binder: http://developer.android.com/reference/android/os/IBinder.html http://mylifewithandroid.blogspot.com/2008/01/about-binders.html Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in

[android-developers] Re: Android 1.5 - crash during drawing of multiline TextView

2009-05-07 Thread Romain Guy
14 levels is what we consider a very deep hierarchy :) On Thu, May 7, 2009 at 9:26 AM, Mike sra...@gmail.com wrote: Thank you very much for answers! I've seen discussions about view hierarchy depth, but after finding out that StackOverflow pops-up exclusively at the moment of text wrapping

[android-developers] Re: Apps built with 1.5 get a black-backgound icon in the Market

2009-05-07 Thread Sander
I have the same problem. They even look a bit funky. Did you happen to find a solution for it? Sander On May 1, 3:21 pm, jarkman jark...@gmail.com wrote: We've rebuilt a couple of our apps with the 1.5 SDK (but targeting 1.1). The Market seems to have a bit of trouble with the background of

[android-developers] Re: Child TextView in ScrollView with large amount of text pushes other views off the screen

2009-05-07 Thread Romain Guy
It does matter, 0dip is an optimization. If you use something 0 then that space will be taken away from other widgets. In this case there's no reason not to use 0dip. On Thu, May 7, 2009 at 7:01 AM, Mike michaeldouglaskra...@gmail.com wrote: This words, thanks.  However, it appears to me the

[android-developers] Re: Is it possible to have, horizontal listview, scrolling horizontally?

2009-05-07 Thread Romain Guy
Yes there is, it's called a Gallery. On Thu, May 7, 2009 at 6:16 AM, Mark Murphy mmur...@commonsware.com wrote: Is it possible to have, horizontal listview? normally the listview scrolls vertically having horizontally rows . is reverse case possible, listview scrolling horizontally and

[android-developers] Re: Invoking one apk from another

2009-05-07 Thread Marco Nelissen
What do you mean by invoking an apk? An APK file is essentially a zip file, normally used to package android applications, and contains the code and resources for any number of activities, services, broadcastreceivers, etcetera. Do you want to run an activity from that other apk? Run a service?

[android-developers] Re: Is it possible to have, horizontal listview, scrolling horizontally?

2009-05-07 Thread Mark Murphy
Yes there is, it's called a Gallery. You are correct, my apologies. Whether the Gallery meets the OP's needs is another matter. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available!

[android-developers] Re: Video streaming error in SDK 1.5

2009-05-07 Thread Dave Sparks
You need to format the mp4 file for streaming. This means that the moov atom must precede the mdat atom in the file. On May 7, 5:05 am, N V nithi...@gmail.com wrote: Hi to all...          I tried for video streaming in sdk 1.5... The video format .mp4... But it gives error like This video

[android-developers] Re: How to use AudioRecord and AudioTrack

2009-05-07 Thread Dave Sparks
The mic on all current Android devices, why would you want to record stereo? On May 7, 3:43 am, l hx lihongxia8...@gmail.com wrote: can we using channels 2 when recording audio? On Sat, May 2, 2009 at 12:54 AM, Jean-Michel jmtr...@gmail.com wrote: Hi there, Looks like sipdroid

[android-developers] Video with MediaRecorder

2009-05-07 Thread Jason Proctor
i set orientation=landscape for my capture activity, which seems to do the right thing most of the time. every now and then however, the phone ignores it and restarts my activity if the user rotates the phone. which they have to do, because the camera only works in landscape. not sure why

[android-developers] Re: Video with MediaRecorder

2009-05-07 Thread Dave Sparks
This is a limitation of the hardware, the preview size and encoded size must be the same. I'm not sure how you were able to change the preview size though. I'd like to know the code sequence you used, because it's not supposed to be possible. On May 6, 11:11 am, Jason Proctor

[android-developers] Show dialog on exit

2009-05-07 Thread rbd
Hello, I'm trying to show an alert dialog when the user exists my application but it seems that although i successfully build the Dialog nothing happens and the app. simply closes. Is there a way to implement it? Thanks. --~--~-~--~~~---~--~~ You received this

[android-developers] how to use getRotationMatrix to 3D Transformations

2009-05-07 Thread toogle
hi I am a newbie. currently I am trying to make a program using android sensors . I hope to get accelerations of 3 axis in earth coordinate system. It is easy to get 3 accelerations and orientation angles in phone coordinate system. So I made 3d transformation using equations as

[android-developers] An Android SQLite framework based on Enum

2009-05-07 Thread negentropicco...@gmail.com
Check out this post here http://negentropiccoder.blogspot.com/ And the code source here http://code.google.com/p/androsql/downloads/list In this post, I want to expose you AndroSQL, a SQLite framework based on Enum that I builded to help me in my Android applications developpement. I

[android-developers] Anyway to bypass permission checking

2009-05-07 Thread Kai Hu
Hi there, I am doing an experimental project and want to send key events from one application to another. I know android doesn't allow applications to interfere each other in this way due to security concern. Is there any way i could bypass the security check? I've looked into the

[android-developers] Android Application with Google App Engine

2009-05-07 Thread radarcg
Is it possible to have an android application (NOT mobile website) sign-in as a user to a web application hosted on the Google App Engine? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Differentiating between Simulator v/s. Real device

2009-05-07 Thread aa
Hi All, Do anyone know if there a way to differentiate between the Android Simulator and the real device (like iphone sdk has #define etc..)? Thanks, Ashish --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Urgent! can't update apps in market. No error message

2009-05-07 Thread android app
I uploaded the new updates to the application in the market. There was no error message shown. It seemed that the uploading was successful. However, the version name and the app itself were still the old version. Please help!!! FYI: I lost the original private key or the keystore file. I

[android-developers] Re: OnfocusChangeListener question

2009-05-07 Thread felix...@googlemail.com
Hi Andre! Could you pleasee share the code of your implementation of your ItemizedOverlay.OnfocusChangeListener? This would be great Regards Felix --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: How to create Multiple tabs, one after another?

2009-05-07 Thread Bullo#88
This could help you http://androidguys.com/?p=650 On May 7, 5:37 am, Prajkti prajakta.kha...@gmail.com wrote: Hi all, In my application, i want to create multiple tabs. For example, i have a button on clicking which should create one more tab,(just like Mozilla browser). I searched on

[android-developers] Re: android system make. error 45

2009-05-07 Thread Lawrence Wu
Hi Andrew, Not only lack # symbole but also lack parameter type. So need to modified it to be following: * further and longer, when used with {...@link #setFinalX(int)} or {...@link #setFinalY(int)}.

[android-developers] Job Description

2009-05-07 Thread craig_webs...@oxfordcorp.com
Hello all, I have a position open in Redwood Shores, California, as an Android Developer. Please review this job description: Title: Android Developer Project: Developing an Android application from scratch Duties: Develop an application in Android which siphons information from internet

[android-developers] screen orientation crash

2009-05-07 Thread youssef henry
I have developed an Android application it is a game using opengl. when i change the screen orientation the application crash. Any one can help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] protobuf on Android

2009-05-07 Thread Dalvik
I see some protobuf files on Android. I want to know if that is compatiable in format with implementation generated through protoc? thanks, Dalvik --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Transport Data between Android and PC application

2009-05-07 Thread ZeroCool
i would suggest using JSON instead of XML if you only want to transport data on the internet And JSON is natively supported by android, which is much lighter weight take a look: www.json.org On May 7, 9:51 pm, Tom thomas.coz...@gmail.com wrote: Question : Which of these protocols RPC-XML,

[android-developers] setContentView and destroying Events (handled automatically?)

2009-05-07 Thread matt
I am curious about memory leaks with Android, and whether I am doing things correctly (I am fairly new to all of this). Here is my scenario: 1 Activity called Main. onCreate calls setContentView with an xml layout. Various events are setup (mainly buttons). One of the button events calls

[android-developers] How to Detect Soft Keyboard / Resize?

2009-05-07 Thread Rob
Hi, How can you detect when the soft keyboard is enabled and the layout resized? 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] Appwidget update on phone power on

2009-05-07 Thread pboyd04
I've written an appwidget to display some basic weather data on the home screen. The only real issue that I have is that the appwidget doesn't get updated on startup. It just displays the default layout and never seems to update. Is there some way to force an update on startup, preferably after a

[android-developers] Re: Emulator Camera Issues in 1.5

2009-05-07 Thread Kevin
I have also run into this issue. I didn't have any problems using the camera under 1.1 and couldn't find an existing bug report, so I created one. http://code.google.com/p/android/issues/detail?id=2598 On May 5, 6:40 pm, Chih-Wei chihwei0...@gmail.com wrote: I have the same issue with 1.5

[android-developers] Re: Android-SDK-1.5-Win-32: network connection beyond firewall

2009-05-07 Thread stevensli
Changing APN only works for the browser, but not for google map. On 4月30日, 下午8时24分, Xeros zerosuni.sams...@gmail.com wrote: Hello, Mallikarjuna There's many of solution. (insert http_proxy into settings.db, use - http-proxyoption etc...) But change the APN is the best practice I've tested.

[android-developers] How can i count number of files in a directory?

2009-05-07 Thread i12b
Hello. I want to count the number of files in a specified directory recursively. I used to use some apis for windows mobile but can't find for Android system. framework C code or any of Java code, welcome! plz give me advices! --~--~-~--~~~---~--~~ You

[android-developers] Android, Google Accounts, and Google App Engine

2009-05-07 Thread radarcg
Is it possible for an android application (NOT mobile website) to access the authentication token that already exists, and pass it do a web application that is hosted on the Google App Engine? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Urgent! can't update apps in market. No error message

2009-05-07 Thread android app
I uploaded the new updates to the application in the market. There was no error message shown. It seemed that the uploading was successful. However, the version name and the app itself were still the old version. Please help!!! FYI: I lost the original private key or the keystore file. I

[android-developers] Could I remove android LOGO when the system boot up ?

2009-05-07 Thread vingo
Porting to the android system to a new product, could I remove the android LOGO when boot up ? Is there any related license material about it ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

  1   2   >