[android-developers] Re: EditText Tabhost problem

2009-04-27 Thread SR
Added to the Android bug list here: http://code.google.com/p/android/issues/detail?id=2516 On Apr 27, 12:57 am, SR stan.r...@gmail.com wrote: Confirmed as a problem in 1.5pre, in my own code on the emulator. Non-toplevelTabHost(meaning:  embedded in another layout) willstealthe focus from

[android-developers] Re: Resetting checkboxes in a dialog with .setMultiChoiceItems()

2009-04-27 Thread Glen Humphrey
You can override onPrepareDialog to reset the checkboxes. On Apr 9, 7:16 am, DavidG dgu...@gmail.com wrote: I'd like to have a dialog box which prompts the user to select from various checkboxes, then confirm Ok or Cancel. I have this working, but my only issue is the dialog always retains

[android-developers] Re: Android v. 1.5 = FAIL #2: Directly Manipulating Settings

2009-04-27 Thread Mariano Kamp
Public (shaming) listing of the offending applications. What about the book deal now? I accept paypal payments under the sender's address ;-) On Mon, Apr 27, 2009 at 7:29 AM, Al Sutton a...@funkyandroid.com wrote: Show me a way of forcing a developer of an app to fix poorly written code that

[android-developers] Re: Disable XSL transforms in HTTPClient

2009-04-27 Thread Magnus
Not sure if there are any other references. I experienced the problem and googled on it. Like Mark wrote it seemed like some other people had the problem but they hadn't found a solution. The client side XSL transformations are, as far that I have understood it, supported by currently known

[android-developers] Re: Activity finish() question ??

2009-04-27 Thread Neo
public static MyApplication getApplication(Activity activity) { // TODO should this be synchronized? if (app == null) { initialize(activity); } mActivity = activity; return app; } I means if i finish the Activity B, The

[android-developers] Gadget

2009-04-27 Thread Mr.No
Hello, it is possible with the new Android SDK 1.5 too create a Applikation like the google searchbar on the second desktop? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] I am unable to use the 1.5 sdk

2009-04-27 Thread manoj
Hi friends, Currently, I am using the 1.0 android sdk (android-sdk- windows-1.0_r2). Now I want to move to new sdk 1.5. I have done the following steps to install the new sdk. 1. downloaded the android-sdk-windows-1.5_pre.zip 2. unzip and ran the following command: emulator -wipe-data 3.

[android-developers] Re: Gadget

2009-04-27 Thread Mr.No
Answers are not needed anymore. On 27 Apr., 09:12, Mr.No f.hi...@arcor.de wrote: Hello, it is possible with the new Android SDK 1.5 too create a Applikation like the google searchbar on the second desktop? --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Resetting checkboxes in a dialog with .setMultiChoiceItems()

2009-04-27 Thread Anh Khoa Nguyen Pham
Hi, Actually, dialog remembers previous state is good but it always does even though you press OK button or CANCEL button. When creating a dialog, i use an array to store checkbutton's states. So when user presses CANCEL, i do not update this state array. Ex: At first time, when i create dialog, i

[android-developers] creating a widget

2009-04-27 Thread Mr.No
Somebody knows a tutorial that shows how to create a widget? --~--~-~--~~~---~--~~ 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] amr codec only output zero data.

2009-04-27 Thread dycl3
dear: I am trying play an amr file on android emulate, but nothing here, only see the progressbar froward. so farther, I fond the amr codec only out all zero data. I also go www.3gpp.org dondord the amr code 26073-800.zip, and user it doecde the same amr file, it works

[android-developers] Re: creating a widget

2009-04-27 Thread Marc Lester Tan
Hi, you may want to check out the Android Developers blog: http://android-developers.blogspot.com/search/label/Widgets Jeff Sharkey posted a very useful info about widgets. Cheers, Marc On Mon, Apr 27, 2009 at 3:39 PM, Mr.No f.hi...@arcor.de wrote: Somebody knows a tutorial that shows how

[android-developers] Re: Activity finish() question ??

2009-04-27 Thread Dianne Hackborn
You aren't supplying enough code to understand what you are doing (who is calling getApplication()?). But I'll see again -- if you don't see the pointer to null, then yes, you will never get a null back. On Sun, Apr 26, 2009 at 11:32 PM, Neo mobi.liub...@gmail.com wrote: public static

[android-developers] Saving battery with MyLocationOverlay

2009-04-27 Thread André Charles Legendre
Hi When we manage Location using a Location Manager we can limit updates to save battery by changing MINIMUM_TIME_BETWEEN_UPDATE, and/or MINIMUM_DISTANCECHANGE_FOR_UPDATE : myLocationManager.requestUpdates(provider, MINIMUM_TIME_BETWEEN_UPDATE,

[android-developers] Re: How to switch the view from horizontal to Vertical ?

2009-04-27 Thread Eric
Thanks a lot. I've done with 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 unsubscribe from this group, send

[android-developers] animated GIF support

2009-04-27 Thread nasam
please help me to resolve this error --~--~-~--~~~---~--~~ 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,

[android-developers] Re: Information about required permissions

2009-04-27 Thread fendyd...@gmail.com
Check the Run Configurations-target-(setting the sdcard path:-sdcard d: \sdcard.img) On Apr 24, 12:16 am, thiagofj2...@gmail.com wrote: Hi all, I would like to know if there's documentation about what are the required permissions for each activity, intent, broadcastReceiver, etc. Or maybe

[android-developers] How to change RadioButton size?

2009-04-27 Thread jeondaeh...@gmail.com
How to change RadioButton size? It's too large. --~--~-~--~~~---~--~~ 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] Help! market uploading problem!!

2009-04-27 Thread ASDK BEGINNER
I completed my apk, and about to publish my apk up to the market. when I load my apk, this stuff just pops up : Market requires the minSdkVersion to be set in AndroidManifest.xml. The server could not process your apk. Try

[android-developers] Surfaceflinger not clearing application controls with video overlay ( hardware )

2009-04-27 Thread venky
Hi Play a full screen video using gallery applications or any , the graphics controls appear ( progress bar ) on top of video. After a few seconds the application controls is expected to disappear but it does not. It remains sticky on the video overlayed region. The same is true with any

[android-developers] Re: Dialog containing a ListView with ContextMenuListener

2009-04-27 Thread Cristian Radu
I have the same problem: a dialog with a list view on which I attach a context menu. When long-clicking the menu gets displayed, but clicking any option doesn't do anything - the onContextItemSelected method never gets executed. Any ideas? Is this a bug? On Mar 13, 10:29 pm, Tim H.

[android-developers] Directory to store files

2009-04-27 Thread LD
Hello, can anybody advice what is the recommended directory to store files generated by your application: audio files, video files or some images. If the phone contains SD card, it is clear that files should be saved there, but if there is no any external storage. where would you recommend to

[android-developers] Error type 1

2009-04-27 Thread mobydick
Hi I create simple application: public class Hello extends Activity { protected void onCreate(Bundle bundle) { super.onCreate(bundle); TextView tv = new TextView(this); tv.setText(Hello, Android, from IntelliJ IDEA!); setContentView(tv); } } manifest

[android-developers] Vibration class - ClassCastException

2009-04-27 Thread Robert Slama
Hi there, in my code I use (class Activity) follow contruct Vibrator vibrator = (Vibrator) getSystemService(context.VIBRATOR_SERVICE); but after start application is crashed with classcastexception. Can anybody help how I can create instance of Vibration class ? many thx r^

[android-developers] Behavior of overlay_queuebuffer

2009-04-27 Thread Jill
Hi, all I wonder the behavior of overlay_queuebuffer. Does it block the application? Our display hardware swap buffers on per vetical retrace. So during queueBuffer, there can be 2 implementation here: 1. Record the buffer, and return immediately. Driver will post it in the next vertical

[android-developers] xattr for yaffs2 to use SELinux on Android

2009-04-27 Thread Yuichi Nakamura
Hi. To port SELinux to Android on emulator, we are working xattr support for yaffs2. We have primitive code for xattr for yaffs2, as shown at the last of this message. xattr is implemented as hidden files like reiserfs. For example, selinux's xattr for a file is stored in following file.

[android-developers] When I slide screen, after entering gmail from my app, force close

2009-04-27 Thread pcowboy
When I cause e-mail to be spawned from my application, and user slides the screen, when they complete the e-mail (send or discard), there is a force close that occurs. It doesn't actually affect the running of my application, and I handle the slide while inside my app (while on my screens only,

[android-developers] Re: SDK1.5 AudioRecord sample rate problem

2009-04-27 Thread niko20
Hi, The documentation for AudioRecord specifies that the constructor may fail based on what the hardware supports. The format of the data will depend on if the hardware supports it. Since the current android emulator is like a G1 type phone, and phone systems are usually 8000hz, the hardware

[android-developers] Clickable Location In Calendar App

2009-04-27 Thread Trebek
I always like to put the Destination or Location in my calendar events. It's great for going to inspect a new house, going to a party somewhere you've never been before or many other reasons. There is always the option to enter in the location, however on my HTC Dream I can never click on it. If

[android-developers] Re: Accessing System Brightness

2009-04-27 Thread coredump
So I tried the 'correct' way to do it: Settings.System.putInt(getContentResolver(), Settings.System.SCREEN_BRIGHTNESS, 255); And it doesnt work. It seems to change the brightness value on the Display Settings Screen but not the actual display brightness. I tried with putString too, no game. I

[android-developers] How add fields to DB_Table?

2009-04-27 Thread jeondaeh...@gmail.com
There are a lot of SQLite examples on the Internet, but most of all has only two fields in table(title body). I want to add some other fields to the table, like position, E-mail and so on Show me an example is better to understand. --~--~-~--~~~---~--~~ You

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

2009-04-27 Thread niko20
Hi, the buffer won't play in stream mode until you have filled it all the way the first time. So make sure you are writing at least 256K of data in the first write call. You can actually create the AudioTrack object, then say Play() and write data to it after it's playing (in stream mode). Once

[android-developers] Re: Android testing: Emulator vs G1

2009-04-27 Thread ShrinkRay
Add debugging to the life cycle methods, this should help you see exactly what is going on and at least analyse a time line of events. On Apr 23, 2:44 pm, HowlettAndroid johnhowlet...@googlemail.com wrote: Hello,         Hope you lot can help. I'm currently testing my application in the SDK

[android-developers] How can I programatically launch Browser in my android application

2009-04-27 Thread nathan.charles.sum...@gmail.com
Hi, How can I programatically launch Browser in my android application? And how can I do that with it opens an URL instead of home page? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] build JNI C code fail ???

2009-04-27 Thread Keroro
Why build error? build and Error Message: .../mydroid$ make libmax target thumb C: libmax = development/max/max.c development/max/max.c: In function 'Java_testdll_set': development/max/max.c:7: error: parameter name omitted development/max/max.c:7: error: parameter name omitted make: ***

[android-developers] Re: Q. Stack trace gives Hex values not function names when core library crashes

2009-04-27 Thread kemofish
I've heard of an Android tool called stack which helps analyze crashes seen in logs. Supposedly, this tool is located in root/android/tools/stack but I don't see it. I believe its used as follows: cd root/android adb logcat -d log.txt tools/stack log.txt results.txt I'm guessing the stack

[android-developers] Re: Building different versions of an app -- best practice?

2009-04-27 Thread Martinus
Maybe you can build your app using Maven or Ant? I think it should be possible to configure building both a free app and a paid app based on the same source. Even package renaming and all that can be handled. On Apr 21, 11:34 am, jarkman jark...@gmail.com wrote: For what it is worth, the 1.5

[android-developers] Caching views and activities

2009-04-27 Thread EB. iliass
Hello, I've post this message in the beginners section but I think this section is more suitable, for sorry for the desagreement. The message Hello everyone, there is a question that's been annoying me and I don't find a clear answer in the documentation. I've got a activity showing the user

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-27 Thread Pavan
Hi..I was very excited to see that 1.5 has come and also started using that too. I have updated my old applications of 1.1 and then when i try to run the emulator its taking forever to bootup and start. I have been using the new SDK since yesterday but till now not been successful in starting the

[android-developers] Re: Ubuntu Jaunty and adb not playing well together

2009-04-27 Thread YC
Hi, I had the same problem. I was very skeptical about renaming the file to 51-android.rules, because as you said, there are no other files with a name starting with 50-... but well, I tried, thinking that maybe, in some other directories, or whatever... And it solved my problem ! Hope it will

[android-developers] Does Android Messaging support EMS ?

2009-04-27 Thread lightchen0...@gmail.com
Hi All : I'm studying Android and will start to develop some message related AP after I familiar with Android , but when I play G1, I don't know how to send a EMS , I do read 3GPP TS 23.040 and really understand about SMS and EMS but still don't know how to send a EMS to other MS , Does that

[android-developers] Audio FFT and Spectrum View

2009-04-27 Thread DaveLG526
Has anyone seen a G1 phone be used as a spectrum analyzer. Input would come from Mic Input, bandwidth up to 3kHz. Specifically the audio input would consist of multiple PSK signals of about 30Hz bandwidth. The idea would be to display the signal vs time (Vertical dimension) and decode the PSK

[android-developers] Re: SurfaceFlinger and permitions

2009-04-27 Thread Guian
nobody can help? On 24 avr, 17:24, Guian guiandou...@gmail.com wrote: I'm porting my app on the t-mobile G1. this app uses OpenGL (using the glSurfaceView from API demo ) my app works fine on the emulator with these minor errors : 04-24 16:57:04.957: ERROR/GLLogger(213): couldn't load

[android-developers] Htc Touch Viva

2009-04-27 Thread NonoX
Hi there! I want to buy the Htc Touch Viva, but before that, I want to know if it's possible to install the Google Android. Anybody can tell me if it's possible? I don't want to use Window$... you understand me... Htc Touch Viva http://www.htc.com/uk/product/touchviva/overview.html

[android-developers] Caching views and activities

2009-04-27 Thread iliass EB
Hello, I've tried The web Interface to post that message but the message is not appearing, so here it goes by mail. The message Hello everyone, there is a question that's been annoying me and I don't find a clear answer in the documentation. I've got a activity showing the user a list of

[android-developers] Re: What is the correct way to refresh UI when I use android:configChanges=keyboardHidden|orientation

2009-04-27 Thread Wang He
1. I don't want to recreate the activity when switching at Land Port, many runtime data I don't want to save and reload; 2. So I use onConfigurationChanged() facility, but I have UI for Land Port, What I do now is: public void onConfigurationChanged(Configuration newConfig) {

[android-developers] Looking for 2 android developers for Real Estate App

2009-04-27 Thread vnguyen.viet...@gmail.com
Hello All, I want to transform my website for the iphone. Please review my site and give me a proposal on how much http://www.nhadatvina.vn Sincerely, Vnguyen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: URGENT!!!!! Can't update apps in android market!!!

2009-04-27 Thread Robert Slama
I was have that same problem and I resolved it with uses-sdk minSdkVersion=2 / ... its located as first element in manifest r^ 2009/4/24 Yan Shi shiyansu...@gmail.com: When I upload an apk update for one of my apps(Hello Yahoo), I was told that Market requires the minSdkVersion to be set in

[android-developers] ListView checked state wrongly shared between 2 views when reorienting screen

2009-04-27 Thread Toph
Hi, I have TabActivity that uses 2 other ListActivities for the tabs. Both underlying ListViews are set to CHOICE_MODE_MULTIPLE. When I run the following sequence of events, I get a strange result: 1) Setup one activity (tab) and its ListView using a CursorAdapter, including checking some items

[android-developers] Coding of FileReader

2009-04-27 Thread Poifull
Hi all..can anyone help me with coding filereader? Below is the text file i would like to read. Thank you! Sample of my text file: John;S1234567A;male;19 Mary;S8901234B;female;18 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Changing between multiple views

2009-04-27 Thread Trance Bubble
In my program I want to have a main menu with buttons that lead to other views like settings and the main game window, and then have buttons on those that switch back to the main menu view. I know how to go from the main menu to a different view, but I tried calling the activity's setContentView

[android-developers] Re: Android Device Management

2009-04-27 Thread Putirou
I can see the huge potential of the OS and what could be done but apart from funambol (which only serves the PIM data via an a la mobile update) server I can't find much in the way of management software to handle this number of devices. I've found several providers redbend being one and

[android-developers] How to mix 2D graphics with layouts

2009-04-27 Thread Christian S.
I'd like to build an activity that is mixing layouts with 2D graphics. So for example, would like to introduce an edittext with an integer value and based on that value the size of a circle is dynamically adjusted and drawn. Any idea how to do this? For plain graphics I am using this approach

[android-developers] www.29usd.com sell ugg boot,tshirt,handbag,nike shoe,jordan shoe,dunk shoe,puma shoe,and so on for free shipping from

2009-04-27 Thread waiguoreeeeeee...@gmail.com
Get Nike Shoes at Super Cheap Prices Discount Nike air jordans (www.29usd.com) Discount Nike Air Max 90 Sneakers (www.29usd.com) Discount Nike Air Max 91 Supplier (www.29usd.com) Discount Nike Air Max 95 Shoes Supplier (www.29usd.com) Discount Nike Air Max 97 Trainers (www.29usd.com)

[android-developers] Capturing ACTION_MOVE events over multiple OnTouchListener

2009-04-27 Thread RF
Hello Folks! I am developing an application where at one point the user is presented with six identical images each placed side by side. The user can then select any of the six images, one after another, by swiping his finger over the desired images he wishes to select. I have used a table

[android-developers] how to know which file the user selected on another application?

2009-04-27 Thread Mariam Rady
Hello everyone, I would like to create a Service that is put in the notification bar. And whenever i push on the notification bar icon I can get the path of the currently selected item. For example if I am playing a song called song.mp3 from the music player and I push on the notification bar I

[android-developers] Android and neighbour cells

2009-04-27 Thread tch...@gmail.com
Hello, i'm a student in telecommunications and i have to developp a mobile application that gathers information (cell id rx level) on the active cell and the neighbour cells. i have no restriction on the platform i have to use so i was wondering if the program i have to developp is possible on

[android-developers] IOException on SAX parsing

2009-04-27 Thread andreas.walt...@googlemail.com
Hi, I'm trying to parse an XML file from res/raw or assets/ using the javax SAX parser. When the file is too large (~ 1MB), the parse(...) method throws an IOException without further information, such as message or inner exception. When I reduce file size to e. g. 600 kB, it's working again.

[android-developers] Optional API - What happen if there is no ...

2009-04-27 Thread oakmonk
Hello, i want to know, what happen if i use location-based service (gps) on a phone without gps. I can t find anything in the api-documentation. If i understand the api correctly there is a basic api which run on every phone and there are the optional apis (location, audio, 3d...). The question

[android-developers] Installing APK files to your g1 mobile using Vista

2009-04-27 Thread CueBallaG
Installing APK files to your g1 mobile using Windows Vista After an intense search on how to install apk files through Vista, I have finally found a way to install APK files. I'm not a computer guru and don't know diddly-squat about programming so if there is a better and faster way to

[android-developers] java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2009-04-27 Thread anthony.dahanne
Hello ! While I'm trying to resize a photo (originally on a sd card), grabbed using : InputStream openInputStream = contentResolver.openInputStream (photoUri); I got the following stack trace when calling : Bitmap bitmap = BitmapFactory.decodeStream(openInputStream); 04-26 14:57:57.213:

[android-developers] Regarding Device level APIs

2009-04-27 Thread GKM
Hi All, I am new to Android. Please clear my doubts. I could see there are many APIs available in Android. If I have to create some device driver do I need to use Java(Android) for that also. Or that will be in C? Thanks. --~--~-~--~~~---~--~~ You received

[android-developers] ListView checked state wrongly shared between 2 views when reorienting screen

2009-04-27 Thread Chris
Hi, I have TabActivity that uses 2 other ListActivities for the tabs. Both underlying ListViews are set to CHOICE_MODE_MULTIPLE. When I run the following sequence of events, I get a strange result: 1) Setup one activity (tab) and its ListView using a CursorAdapter, including checking some items

[android-developers] Re: URGENT!!!!! Can't update apps in android market!!!

2009-04-27 Thread ACast
After adding minSdkVersion as above market complained that there was already an application with the same package name. Weird On Apr 24, 9:40 pm, s...@zooropa.com s...@zooropa.com wrote: I'm still having the same problem as below when I insert the: uses- sdk

[android-developers] Problems trying to play RTSP stream from VLC

2009-04-27 Thread Mark
For the last few days I've been trying to play an RTSP stream on the physical device (dev phone) from an instance of VLC (0.9.9) running on my machine, but I've had no success. I started with some mp4 video files that I verified will play off the SD card on the device. I took one of these files

[android-developers] c++ on android

2009-04-27 Thread julian qian
Hi, right now, all app development are based on java and sdk, anyone tried to use c++, i.e. compiled into so, and modify jni to access it? is there a way to using c++ in current Android Market App? thanks --~--~-~--~~~---~--~~ You received this message because

[android-developers] Non blocking io with LocalSocket

2009-04-27 Thread Mike Cardwell
Hi, Is it possible to do non blocking IO with LocalSocket? -- Mike Cardwell (https://secure.grepular.com/) (http://perlcv.com/) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Can't upload my app in the market ! Market requires the minSdkVersion to be set in AndroidManifest.xml.

2009-04-27 Thread Julian Q
I tried android:minSdkVersion=2 inside uses-sdk, doesn't work also tried put it as attribute of manifest, doesn't work too On 4月25日, 上午8时33分, Dan Morrill morri...@google.com wrote: Hello! You probably need to use android:minSdkVersion rather than minSdkVersion. - Dan On Fri, Apr 24, 2009

[android-developers] Re: Recording Audio in a call

2009-04-27 Thread niko20
I think it would be illegal since you could record someone else without their knowlege. On Apr 25, 2:59 pm, John Doe halila...@gmail.com wrote: Is it going to be possible somehow? in g2 ? cupcake ? i wonder whether it is because of software limitations or hardware limitations... On Apr 25,

[android-developers] Framerate killed by onTouchEvent spam

2009-04-27 Thread piecewise
I've got a problem with a flood of touch events destroying my game's framerate while there is a touch active. Basically onTouchEvent is called (with getAction = ACTION_MOVE, x = 0 and y = 0) about a hundred times a second for as long as the finger is touching the screen. I've tried returning

[android-developers] How can I know whether SIP(Soft Input Panel - Keyboard view) is showing or not

2009-04-27 Thread Figaro
Hi I wonder it is possible to know whether SIP is showing to user or not. A user application(Activity) can show or hide the Soft Input through the Input Method Manager. There is some APIs to handle the SIP. But I can't find API to know status of SIP(it is on showing or hiding). When SIP is

[android-developers] build JNI C code fail ???

2009-04-27 Thread Keroro
build JNI C code fail ??? Why build error? build and Error Message: .../mydroid$ make libmax target thumb C: libmax = development/max/max.c development/max/max.c: In function 'Java_testdll_set': development/max/max.c:7: error: parameter name omitted development/max/max.c:7: error: parameter

[android-developers] What's the proper way to share data between lite and pro versions of the same app?

2009-04-27 Thread Just Checking
Suppose you have an app with a lite version and a full version. The app stores some user data in SharedPreferences, and some data in a SQL database. If a user tests the app for a few days, generating data all the time, and then decides to switch to the paid version, how do you copy or share the

[android-developers] Re: Android Physics Engine

2009-04-27 Thread Kyle
The http://www.filedropper.com/apedroid link is down. Any other place I can download the code? Has anybody else had any luck optimizing Phys2D or Box2D with fixed numbers and less memory allocation? Kyle On Apr 3, 8:24 am, mscwd01 mscw...@gmail.com wrote: I have thrown together a quick

[android-developers] Weird animation behavior after orientation change

2009-04-27 Thread Jose de Paula Eufrasio Junior
Hello, I found a weird behavior here. At least, weird for me. The problem is mainly this: * My app is created and is running, I go to a menu and choose an option that starts function X(), that assembles a 2 frame animation and shows it on an ImageView. It works ok. * On the onResume I have a

[android-developers] Passing Clicked URL in WebView to an activity

2009-04-27 Thread Sujay
Hello Every1... I have implemented a webview which will show few URLS, Once the user clicks any of these URL's, the URL will be passed to new Activity I have implemented this using shouldOverrideUrlLoading() and TRYING to get this url within it, and then passing to to new activity as

[android-developers] Error playing YouTube video in my application

2009-04-27 Thread awwa
I'm trying to play streaming video(*.3gp) with android SDK 1.5 pre. I have customized the APIDemo - VideoViewDemo.java. Specify the path to the URL of rtsp. I got the URL from the following URL. --http://gdata.youtube.com/feeds/api/videos?vq=8ZsML4uWoiw I used the following URL(*.3gp) -- path =

[android-developers] Re: Android v. 1.5 = FAIL #2: Directly Manipulating Settings

2009-04-27 Thread Craig
My 2c regarding permissions... I find Vista's UAC prompts next-to-useless at times, because it doesn't tell you anything about why the elevation is required. How can I make an informed decision as a user about whether to allow an app to elevate if I don't know what it is going to do? Is it

[android-developers] xattr for yaffs2 to use SELinux on Android

2009-04-27 Thread Yuichi
Hi. To port SELinux to Android on emulator, we are working xattr support for yaffs2. We have primitive code for xattr for yaffs2, as shown at the last of this message. xattr is implemented as hidden files like reiserfs. For example, selinux's xattr for a file is stored in following file.

[android-developers] Re: how to parse and analyze the call stack of native code? any tools?

2009-04-27 Thread violet...@gmail.com
Hi, I have the same problem. I want to find out the function name, but I do not know how to do. ex. I/DEBUG ( 543): #02 pc d41a /system/lib/lib.so May I know the the function name within the pc = d41a in / system/lib/lib.so? thanks a lot. On 4月19日, 下午1時45分,

[android-developers] System Requirements

2009-04-27 Thread Nahuel Bulian
Hi there! Do you know what are the System Requirements for install Android? I want to install the Android in the HTC Touch Vivahttp://www.htc.com/uk/product/touchviva/specification.html, the specification are: Processor: TI's OMAP™ 850, 201 MHz Operating System: Windows Mobile® 6.1 Professional

[android-developers] Re: simple demo multiple alarms

2009-04-27 Thread Ashok Jeevan
Hi,Try using am.set(AlarmManager.RTC_WAKEUP, System.currentTimeMillis()+(delay * 1000) , sender); This will set the alarms according to the delay that you specify. On Sun, Apr 26, 2009 at 3:42 PM, guruk ilovesi...@gmail.com wrote: Hi, i like to create multiple alarms, but i does not work.

[android-developers] MediaPlayer.start() doesnot work fine after calling MediaPlayer.seekTo(0)

2009-04-27 Thread Sudha
Hi, I have a requirement to play several sounds many times in my game so instead of creating the MediaPlayer again and again I have called mp.seekTo(0) in onCompletion(mp) so that it will restart. Sometimes the sound is not audible from the device when I call mp.start () after setting

[android-developers] http connection failed via a proxy

2009-04-27 Thread hrlixi...@gmail.com
hi guys, I have set up proxy in the sdk emulaotor and can access internet via the proxy in the browser. but this does not work for my http connection application, it gives Unknown host exception i have used -dns-server option when launch the app. Can you help pls Thanks Hr

[android-developers] Re: Trying to understand TabHost source code

2009-04-27 Thread e-satis
Swell, this has been reported as a bug : http://code.google.com/p/android/issues/detail?id=2516 On Apr 24, 1:28 pm, e-satis info.ksam...@googlemail.com wrote: Hello, I manage to find this post right after trying to solve something like this :

[android-developers] Re: EditText Tabhost problem

2009-04-27 Thread e-satis
OK, great, I wasn't sure it would be. Sometimes, it's just you missing a point. Sadly, I strongly needed that kind of layout, but I guess I will have to way the next update. Is there a way to force compatibility check while installing an apk (like with the firefox extension) so i can make 2

[android-developers] http connection error

2009-04-27 Thread hrlixi...@gmail.com
Hi I am using a proxy, and set up the proxy in sdk emulator, the browser works fine, but my http code does not, it gave Unknownhost exception how to resolve this? Thanks Hr --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: IOException on SAX parsing

2009-04-27 Thread Mariano Kamp
What are you doing with the SAX events? Build up a model in memory (or let DOM do that). You might just hit the 16 MB max memory barrier. Check it with DDMS during execution. Btw. a stacktrace and code would be nice. On Sat, Apr 25, 2009 at 1:21 PM, andreas.walt...@googlemail.com

[android-developers] Re: How can I programatically launch Browser in my android application

2009-04-27 Thread Marco Schmitz
its done using intent: new Intent(android.intent.action.VIEW, new ContentURI(http://www.google.com;)); I googled 10 sec and found this: http://www.ciol.com/developer/languages/tutorial/android-its-anatomy-and-features/20308104622/0/ greetings, darolla 2009/4/23 nathan.charles.sum...@gmail.com

[android-developers] Re: What's the proper way to share data between lite and pro versions of the same app?

2009-04-27 Thread jarkman
I don't know if this is the *proper* way, exactly. We copy the SQL data, with the Pro using the provider in the Lite to read the data across and upgrade it. And, we've built a cheap little scheme using broadcast intents to allow the Pro to request the SharedPreferences from the Lite. Hope that

[android-developers] Re: Installing APK files to your g1 mobile using Vista

2009-04-27 Thread Al Sutton
Unfortunately it didn't work for me. I'm getting a This device cannot start. (Code 10) error on Vista SP2 RC. Al. --- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The

[android-developers] NullPointerException on setBackgroundResource

2009-04-27 Thread steve_macleod
Hi, I am attempting to animate an ImageView using frame-by-frame animation. I am using the following code: ImageView pacImageV = (ImageView) findViewById(R.id.pacAnim); pacImageV.setBackgroundResource(R.anim.pacanim); pacManCharAnim = (AnimationDrawable) pacImageV.getBackground();

[android-developers] How to Import Android Package Default Projects to Eclipse

2009-04-27 Thread raj.10788
Hi All, Can anyone tell me how to import the Android Default projects into our Eclipse. E.g androidsourceroot\packages\apps\AlarmClock I want to import this project to my eclipse work space, I tried with import projects and open excisting Android Projects. But that two are not

[android-developers] How to display RGB 565 byte array on the screen

2009-04-27 Thread lohith
Hi, Can please anyone let me know how to display a raw RGB 565 byte array on the screen 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] Re: What is the correct way to refresh UI when I use android:configChanges=keyboardHidden|orientation

2009-04-27 Thread Android Users
Hi, There are various options mentioned here. http://www.devx.com/wireless/Article/40792/0/page/1 see if this helps... On Mon, Apr 27, 2009 at 1:55 PM, Wang He iptvph...@gmail.com wrote: 1. I don't want to recreate the activity when switching at Land Port, many runtime data I don't want to

[android-developers] HTTP Unnkown socket error

2009-04-27 Thread glory
Hi All, Whenever I am tring to do the HTTP connection I an getting the following error: 04-27 16:38:59.296: ERROR/OSNetworkSystem(326): unknown socket error -1 I have Also given the appropiate the permission in the Android manifest file i.e uses-permission

[android-developers] Re: How to Import Android Package Default Projects to Eclipse

2009-04-27 Thread Chih-Wei
You should use 'New' - 'Android Project' and select 'Create project from exist source', then choose the directory that contains AndroidManifest.xml, like the one you gave. On 4月27日, 下午6時05分, raj.10788 raj.10...@gmail.com wrote: Hi All, Can anyone tell me how to import the Android Default

[android-developers] System application upgrade and system app versions?

2009-04-27 Thread Peter Neubauer
Hi, I am having a scenario where I want to upgrade a preinstalled application (let's say version 1.0). AFAIK, the new version (1.1) will be installed on /data and will shadow the one in the system image. However, if a new system image upgrade woudl contain a newer version again (2.0), would

[android-developers] Re: What is the correct way to refresh UI when I use android:configChanges=keyboardHidden|orientation

2009-04-27 Thread MrSnowflake
You don't have to load and save that stuff, you can put references to your runtime data in a custom class and return that in Activity.onRetainNonConfigurationInstance() (http:// developer.android.com/reference/android/app/ Activity.html#onRetainNonConfigurationInstance()) and get it in

[android-developers] Re: What's the proper way to share data between lite and pro versions of the same app?

2009-04-27 Thread MrSnowflake
Iirc you can make the 2 version of the app use the same userId on the phone, that way you have full access to the lite data from the pro application. On 27 apr, 10:56, jarkman jark...@gmail.com wrote: I don't know if this is the *proper* way, exactly. We copy the SQL data, with the Pro using

  1   2   3   >