[android-developers] Re: Video with MediaRecorder

2009-07-08 Thread manoj
Hi all, I am also getting same error as mentioned above by coolislandsurf1981. Can any one please help me to solve this. Thanks, Manoj. On Jun 4, 5:27 am, coolislandsurf1981 wrote: > Hi everyone, > > I used the code above but the CameraView activity dies (see log > below). > > Does the emulat

[android-developers] Re: Webview Broken in 1.5 SDK?

2009-07-08 Thread Bill Zimmerly
You're welcome, MIND GAME. - Bill On Jun 10, 5:02 am, MIND GAME wrote: > hii > thanks this woks for me. > > On May 12, 6:56 am, Bill Zimmerly wrote: > > > I was successful in fixing the problem (above) and this details it... > > > This line in the Webapp.java file had to be changed from thi

[android-developers] Re: Clickable ListView element?

2009-07-08 Thread eags
Hi, bump again. On Jul 8, 7:52 pm, eags wrote: > Bump. > > Hi someone please?  I think this is probably something pretty simple > that I'm just missing. > > Thanks. > > On Jul 8, 1:20 pm, eags wrote: > > > I created a custom layout and adapter for a list view but now I cannot > > make it clicka

[android-developers] Re: Can't install usb driver because Windows do not pop "New hardware wizard"

2009-07-08 Thread XC He
Did you enable the usb debug option on your HTC magic? I ever encountered same problem. After XP find a new hardware, you maybe encounter the failed installation problem. Then you have to re-install again. Good luck.. 2009/7/9 Victor Lin > > Hi, > > I want to install usb driver on my windws xp

[android-developers] Getting Blank while adding Table rows dynamically

2009-07-08 Thread Ani
Hi, I am trying to add table row dynamically in to a table lay out, But its showing bank.my code is TableLayout tl = (TableLayout) findViewById(R.id.maintable); TableRow tableRow=new TableRow (this); // tableRow.setLayoutParams(new LayoutParams (LayoutParams.WRAP_CONTENT

[android-developers] Re: Widget not working properly when changing orientation

2009-07-08 Thread sunita
I mean I am able to create widget on the home screen successfully. When I will click on the widget, it will work fine in the below cases. 1) When widget is created newly in portrait mode. 2) When widget is created newly in Landscape mode But once I will switch to Landscape from Portrait mode th

[android-developers] Can't install usb driver because Windows do not pop "New hardware wizard"

2009-07-08 Thread Victor Lin
Hi, I want to install usb driver on my windws xp to debug on my HTC Magic phone, I follow steps here: http://developer.android.com/guide/developing/device.html But I find that when I plugin the connecting cable to my phone, windows xp just treat it as a storage device. There is no "New hardware

[android-developers] Re: Sent email via intent removing newline characters

2009-07-08 Thread mrjimmy410
This comment is not going to help you but maybe you could help me... Are you using the emulator or a device? We are trying to get an intent.send to work on the emulator but keep getting the No applications can perform this action. Gmail is working on the emulator with IMAP but we do not have acc

[android-developers] Re: How could I customize the launcher without modify the SDK?

2009-07-08 Thread Siu Man Yu
It will pop-up a dialog to let me select my application or original Home to start with. Could I set any attribute to bypass this dialog force to use my app as launcher? Thank you very much On Jul 9, 10:34 am, Siu Man Yu wrote: > Thank you for your fast response. > > However, it reports error on

[android-developers] Re: I got syntax error of files of svn under eclipse

2009-07-08 Thread Rud
I see the same. Also, somehow the .svn directories are being created under \bin even though my SVN is setup to ignore \bin. Rud On Jul 8, 8:20 am, Victor Lin wrote: > Hi, > > I am developing android program under eplicse environment. I use svn > to store all my files. But it seems that svn file

[android-developers] Re: Clickable ListView element?

2009-07-08 Thread eags
Bump. Hi someone please? I think this is probably something pretty simple that I'm just missing. Thanks. On Jul 8, 1:20 pm, eags wrote: > I created a custom layout and adapter for a list view but now I cannot > make it clickable?  Is there anything to look out for here?  My list > item looks

[android-developers] Re: How could I customize the launcher without modify the SDK?

2009-07-08 Thread Siu Man Yu
Thank you for your fast response. However, it reports error on startup again and selected the "Home Sample" options. As I need to restart my emulator to run the launcher, is there any method I could debug for that? On Jul 9, 12:35 am, Mark Murphy wrote: > Siu Man Yu wrote: > > I would like to b

[android-developers] Re: Converting an image captured by camera to grayscale

2009-07-08 Thread Jack Ha
You can try something like the following: Bitmap grayscaleBitmap = Bitmap.createBitmap( colorBitmap.getWidth(), colorBitmap.getHeight(), Bitmap.Config.RGB_565); Canvas c = new Canvas(grayscaleBitmap); Paint p = new Paint(); ColorMatrix cm = new ColorMatrix(); c

[android-developers] Saving Scroll Position When Activity Returns

2009-07-08 Thread Nick
How can I save and load the scroll position of a listview that is destroyed/hidden/paused. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develo

[android-developers] Re: How to use BitmapFactory.decodeStream to specify the size of my output Bitmap?

2009-07-08 Thread n179911
I think I know what is wrong outHeight is output values, not input values. On Wed, Jul 8, 2009 at 4:11 PM, n179911 wrote: > Hi, > > I have the following code which I tried to build a Bitmap from an > input stream and I want my output bitmap to be 20 x 20: > >   BitmapFactory.Options opts = ne

[android-developers] How to use BitmapFactory.decodeStream to specify the size of my output Bitmap?

2009-07-08 Thread n179911
Hi, I have the following code which I tried to build a Bitmap from an input stream and I want my output bitmap to be 20 x 20: BitmapFactory.Options opts = new BitmapFactory.Options(); opts.outHeight = 20; opts.outWidth = 20; InputStream stream = // an input stream to my im

[android-developers] Re: dip and setting values in code

2009-07-08 Thread kabir
thanks, appreciate that! On Jul 8, 2:13 am, Romain Guy wrote: > int dip = (int) (20 * > aContext.getResources().getDisplayMetrics().density + 0.5f); > > > > On Tue, Jul 7, 2009 at 1:57 PM, kabir wrote: > > > Hi > > > I have read about using a 'dip' scale rather than just px, this is > > straight

[android-developers] Re: How to hide user dictionary? or suggested words on keyboard

2009-07-08 Thread Dianne Hackborn
On Wed, Jul 8, 2009 at 3:16 PM, Eric F wrote: > 1) An extra dictionary for use auto-completing for that field You would be best off using AutoCompleteTextView, which allows you to generate your own completions of anything you want for the text being typed. (If you don't like the exact behavior

[android-developers] Converting an image captured by camera to grayscale

2009-07-08 Thread Sharmila
Hi guys, I have a camera application that captures a 640x480 image.I want to convert this image to grayscale.I know I have to use the setSaturatio (float sat) in the ColorMatrix method to zero but I dnt know how I can set it to grayscale... Can someone please help me out? Thanks. --~--~-~-

[android-developers] Re: How to hide user dictionary? or suggested words on keyboard

2009-07-08 Thread Eric F
Cool text search! It seems like the best platform enhancement to cover this would be to have a property on text fields that controls two things: 1) An extra dictionary for use auto-completing for that field 2) whether or not the phone's global dictionary should be used (and if custom dictionary f

[android-developers] Re: Encrypt files

2009-07-08 Thread Yusuf T. Mobile
Android has javax.crypto. I would utilize that to read and write encrypted files, I don't think a partition or driver will add value in this case. http://developer.android.com/reference/javax/crypto/package-summary.html Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and sta

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-08 Thread Michael J
You're a genius! I pretty much did exactly what you said and it works perfectly now! BTW, I will be getting at least your Advanced Dev book, if not the Tutorials book as well! On Jul 8, 2:03 pm, Mark Murphy wrote: > Michael J wrote: > > So I'm using a modified version of the SectionedAdapter a

[android-developers] Re: Disappearing Views with ListView

2009-07-08 Thread Mark Murphy
Nikola Miljkovic wrote: > By the way...I cannot find any documentation about layout_weight. Can > you describe what it means? http://developer.android.com/reference/android/widget/LinearLayout.LayoutParams.html For whatever reason, the attribute (layout_weight) is not documented, though the cor

[android-developers] Re: Disappearing Views with ListView

2009-07-08 Thread Nikola Miljkovic
By the way...I cannot find any documentation about layout_weight. Can you describe what it means? Thanks, Nikola On Jul 7, 8:39 pm, Nikola Miljkovic wrote: > Perfect.  Thanks! > > On Jul 7, 8:11 pm, Romain Guy wrote: > > > Hi, > > > Do not use wrap_content on the ListView. Instead, use > > la

[android-developers] android socket server

2009-07-08 Thread mikek
Currently, my Android app is client and talks to other clients through a server proxy. I'd like to get rid of the server proxy if at all possible. Is it possible for an Android application to implement a socket server? If so, how would a client on the local network find it? I could find imagine s

[android-developers] Re: Clickable ListView element?

2009-07-08 Thread eags
And here are code snips of how I use. To set up: aa = new AlarmListAdapter(this, R.layout.alarmlist_item, alarms); alarmsListView.setAdapter(aa); To update: switch( requestCode ) { case( NEW_ALARM ): { A

[android-developers] Re: Clickable ListView element?

2009-07-08 Thread eags
And here is the adapter: package net.esalazar.alarmsutta; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.List; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; impo

[android-developers] Re: Clickable ListView element?

2009-07-08 Thread eags
Ok, here is the layout: http://schemas.android.com/apk/res/ android" android:orientation="horizontal" android:gravity="center_vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:clickable="true">

[android-developers] Clickable ListView element?

2009-07-08 Thread eags
I created a custom layout and adapter for a list view but now I cannot make it clickable? Is there anything to look out for here? My list item looks almost exactly like the alarms in the Alarm Clock app that comes installed with Android. Everything seems to work fine but now clicking on the lis

[android-developers] Re: How to hide user dictionary? or suggested words on keyboard

2009-07-08 Thread ggcespia
Our entire product is geared around auto-complete, so the suggested words are useless in all of our applications - of which we are shipping about 40 apps at the moment. Do you know of a way to disable this? Here is a sample video of our app structure: http://www.youtube.com/boopsieinc#play/sear

[android-developers] Re: Packet Driver and RIL Header Files

2009-07-08 Thread Junior Oyebadejo
Anyone know anything about this? --~--~-~--~~~---~--~~ 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: converting files to android

2009-07-08 Thread Marco Nelissen
Even though I have no idea what you're asking, I suspect that android-developers is the wrong group for it. On Wed, Jul 8, 2009 at 11:51 AM, chris.compo wrote: > > Is it easy to convert files or can you download a file converter ? > > > --~--~-~--~~~---~--~~ You

[android-developers] Broadcasting video with Android - without writing to local files

2009-07-08 Thread Gergely Kis
Hi, I am not sure if this is common knowledge, but I have found a way to broadcast video without writing to local files using the standard MediaRecorder class. I wrote a blog entry about it: http://www.mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-writing-to-the-file

[android-developers] Re: Bitmap, extracting a particular area from the bitmap as a bitmap

2009-07-08 Thread Romain Guy
Probably because createBitmap(Bitmap, int, int, int, int) returns an immutable Bitmap. On Wed, Jul 8, 2009 at 12:16 PM, Jack Ha wrote: > > Is there a reason why Bitmap.createBitmap is being called twice? > > -- > Jack Ha > Open Source Development Center > ・T・ ・ ・Mobile・ stick together > > The vie

[android-developers] Re: Bitmap, extracting a particular area from the bitmap as a bitmap

2009-07-08 Thread Jack Ha
Is there a reason why Bitmap.createBitmap is being called twice? -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobil

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-08 Thread Mark Murphy
Michael J wrote: > So I'm using a modified version of the SectionedAdapter and it seems > to be working quite well. The only issue is that I want to let each > "section" adapter to determine the clickability of it's items. It > seems like with the SectionedAdapter, all items except the headers a

[android-developers] converting files to android

2009-07-08 Thread chris.compo
Is it easy to convert files or can you download a file converter ? --~--~-~--~~~---~--~~ 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: ListView inside LinearLayout inside ScrollView

2009-07-08 Thread Michael J
So I'm using a modified version of the SectionedAdapter and it seems to be working quite well. The only issue is that I want to let each "section" adapter to determine the clickability of it's items. It seems like with the SectionedAdapter, all items except the headers are clickable. How exactl

[android-developers] Bitmap, extracting a particular area from the bitmap as a bitmap

2009-07-08 Thread karthikr
Hi Guys, I need to extract a particular area from a Bitmap as a Bitmap. I have the starting co-ordinate of the main bitmap and the length and width of how much is to be extracted. I tried out the below code, Bitmap.createBitmap(Bitmap.createBitmap(mBitmapSource,0,0,30, 30)); Where 0 and 0 de

[android-developers] Re: uploads disabled

2009-07-08 Thread dsurround
The basic issue with G1 users today is the need to send a picture somewhere (facebook, ebay, craigslist, etc), followed by simply uploading other types of files for attachments in email. To fix the first problem, allowing access from the browser to the picture gallery would work and I am not sure

[android-developers] Re: How to style my own styleable with a style? (Custom view class with custom attribute)

2009-07-08 Thread brian.schimmel
Thank you very much, Dianne! It's alway amazing how quick and correct your answers are ;) This solves the problems I mentioned above, and some others I was not even aware of. I've seen that TypedArray-stuff in the plattform source before, e.g. in the constructor of TextView.java, but did not qui

[android-developers] Re: ListActivity selected Item

2009-07-08 Thread Mark Murphy
mike wrote: > I'm having trouble with a list Activity, and selected items. > Basically, when I move the wheel ball (i select an item without > touch), then the background of the list item will highlight an orange, > then I click my corresponding button below and it acts upon the > selected item. I

[android-developers] Re: How could I customize the launcher without modify the SDK?

2009-07-08 Thread Mark Murphy
Siu Man Yu wrote: > I would like to build my own launcher application. > Beside modify the Launcher.apk in the SDK, is there any other method > to replace my own application as the home menu? Look in the following directory inside your Android 1.5 SDK: platforms/android-1.5/samples/Home That co

[android-developers] Re: SurfaceView scrolling

2009-07-08 Thread Dianne Hackborn
Hi, if you are talking about having a larger SurfaceView inside of a ScrollView, it is really not intended to be used that way: you should effectively think of SurfaceView as an overlay you embed inside your window, giving you an area in which you can directly draw independently of the normal view

[android-developers] ListActivity selected Item

2009-07-08 Thread mike
I'm having trouble with a list Activity, and selected items. Basically, when I move the wheel ball (i select an item without touch), then the background of the list item will highlight an orange, then I click my corresponding button below and it acts upon the selected item. I also want the user to

[android-developers] CMake/CDash with Android SDK/NDK

2009-07-08 Thread Belveder
Hi, as we are basically use all our software in a CMake framework building for different platform I wonder if someone is using CMake together with Android. Although its fairly simple to create an Android.mk file manually, running everything within the build system has some striking advantages (au

[android-developers] Change wallpaper set time

2009-07-08 Thread BoBo Yuppie
I begginer about android. I want to make one app. That app's goal is: I set time. Example 6.00 AM - 11.00. Change wallpaper that sun growup picture when that time. And in tne evening sunset picture. In the night starlit sky picture. But I have some problems. 1. I can't check when my set time. 2.(I

[android-developers] Open email through code in android.

2009-07-08 Thread java sankar
Hi Folks, Actually I want to open email in the emulator and need to take snap shot of that mail and need to put it on in my local machine.Could you please give me some java code to open email in the android emulator. thanks in advance. --~--~-~--~~~---~--~~ You

[android-developers] How could I customize the launcher without modify the SDK?

2009-07-08 Thread Siu Man Yu
I would like to build my own launcher application. Beside modify the Launcher.apk in the SDK, is there any other method to replace my own application as the home menu? Thank you very much. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Supl interfaces

2009-07-08 Thread Anil
Hello all, I am trying to use the SUPL interface given in Android 1.5. GpsSuplInterface is defined in gps.h But I don't see any function header defined in gps.h for getting the SUPL interface such a gps_get_interface() and gps_get_hardware_interface(). How do we define interface function in our

[android-developers] I got syntax error of files of svn under eclipse

2009-07-08 Thread Victor Lin
Hi, I am developing android program under eplicse environment. I use svn to store all my files. But it seems that svn files cause some problem. I got some errors like this: Description ResourcePathLocationType syntax errorentries /PowerGrid/src/com/ez2learn/android/

[android-developers] Urgent -Video Recording Problem

2009-07-08 Thread Selva
Hi, we are recording the Video using our own application .it uses Qualcomm MSM7K hardware interface files for receving the captured frame from the Driver .Once we get the preview callback the same buffer is given to both preview (submits to the Video surface) and Recording .But in recording path ,

[android-developers] Re: Playing video as a raw resource

2009-07-08 Thread Shao-chuan
I have the exact problem with you. Any one can help? On Jun 16, 11:22 pm, JP wrote: > I'm writing a program which requires that a video be packaged with > it.  The only way I know of doing this is by adding the video to res/ > raw/, which coincidentally renders the video useless.  I've looked a

[android-developers] How to add ListView

2009-07-08 Thread sainik
I need to add ListView in my application along with LinearLayout and GridView .But adding of ListView is not being possible ..according to API i am writting but generating a ElligalArgumentException . so if any one guide me to add ListView using Activity i will be very pleased ..if you can plea

[android-developers] Baseband version in API ?

2009-07-08 Thread Murphy
I want to read the baseband/radio version number but I can't find it. It's visible in the menu Settings/About Phone but not in the API !? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] R.java is not updated

2009-07-08 Thread fatima
Hi...I have this problem too (R.Java is not updated) I have found a code and I have copied that's res folder and I think that problem belong to this copy. what's your idea? If it is true, is there any solution for solve this problem (copying) ? regards --~--~-~--~~~---

[android-developers] SurfaceView scrolling

2009-07-08 Thread Lee
I am writing an application that involves rendering into a SurfaceView that is larger than the phone display size. (For example 1024*768 pixels). I am currently displaying the image in the SurfaceView both scaled and unscaled. When I am unscaled I would like to implement support for the user to b

[android-developers] Re: IME - Main Dictionary

2009-07-08 Thread nEx.Software
So, in sending in a FileDescriptor, I assume I would need to modify openNative to take a FileDescriptor... Presumably, I would get a FileDescriptor like this: AssetManager am = context.getResources().getAssets(); AssetFileDescriptor afd = am.openNonAssetFd("mydictionaryfile"); FileDescriptor fd

[android-developers] Using Intent to view specific App in Android Market

2009-07-08 Thread Mike
I've seen a few other threads on this subject, but none that addresses my need which is to not only find the app in the market via the market uri, but display it as if the user had navigated to it. The closest anyone has gotten to this answer is to show how to bring up the Android Market app and

[android-developers] Re: Widget not working properly when changing orientation

2009-07-08 Thread Jack Ha
What do you mean the widget is not able to launch? Please post your source code here if possible. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not neces

[android-developers] Re: Orientation problem while dynamically loading Views

2009-07-08 Thread Jack Ha
Try changing: android:orientation="vertical" to android:orientation="horizontal" -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily

[android-developers] Re: How to style my own styleable with a style? (Custom view class with custom attribute)

2009-07-08 Thread Dianne Hackborn
If you are using attrs.getAttributeResourceValue(), then you are not using the style/theming system at all. That is, there was no purpose to defining a an at all, that function is just retrieving a raw value from a resource for a given name. (This is also why the " http://some.weird.url.com/see

[android-developers] How to style my own styleable with a style? (Custom view class with custom attribute)

2009-07-08 Thread brian.schim...@googlemail.com
Hi, I'm creating my own View class, and defining custom xml attributes with a attrs.xml. As long as I provide each attribute manually, there is no problem, but To be honest, I don't understand the proper use of the attributes "id" and "name" in the above co

[android-developers] Re: YUV to RGB cpnversion

2009-07-08 Thread Keith Wiley
Did you look a the Bitmap docs yet? There are several UI methods to that effect. In what way were they insufficient for your needs? On Jul 4, 8:11 am, mudit wrote: > hi there... > > I am trying to convert YUV data stream into RGB 565. I am using > > http://blog.tomgibara.com/post/132956174/yuv

[android-developers] Re: Vertical and Horizontal Scrolling together

2009-07-08 Thread Keith Wiley
I rolled my own from scratch for Shead Spreet. Works like a charm. I just catch scroll and fling actions, calculate the proper offset, and redraw my view at that location. Admittedly tedious but it got the job done. On Jul 7, 4:19 pm, Blackmarket wrote: > Hello, is it possible to have both Sc

[android-developers] Re: Launch another app through Android Application.

2009-07-08 Thread Mark Murphy
Muthu Kumar K. wrote: > Hi All, > I am developing an Android application to launch the another Android > application in the device. Please let me know Is there any possible > way to do this Use startActivity(). The key is in crafting a suitable Intent to identify the activity in the applicati

[android-developers] Launch another app through Android Application.

2009-07-08 Thread Muthu Kumar K.
Hi All, I am developing an Android application to launch the another Android application in the device. Please let me know Is there any possible way to do this Thanks in Advance, Muthu Kumar K. --~--~-~--~~~---~--~~ You received this message because you are sub

[android-developers] Orientation problem while dynamically loading Views

2009-07-08 Thread Ani
Hi , I am trying to load textView and CheckBox view dynamically to a LinearLayout. i am getting some Orientation problem while doing the same.I want these two view in a single row but i its coming as in different raw. Below is may code LinearLayout layout=(LinearLayo

[android-developers] Re: using appendChild and replaceChild

2009-07-08 Thread jfcog...@gsyc.es
Okei, I fix it! Android browser don't let you the same GET all the time, so I use a random to add a ?STRING to the GET and then we have diferent GETs ;) thats all, clear! On 6 jul, 12:51, "jfcog...@gsyc.es" wrote: > Hi, > > I just developed an html that load and reload every time the same > ext

[android-developers] Re: is it possible to get realtime gps values while not in a mapview?

2009-07-08 Thread MrChaz
Yes, you'll need to register a LocationListener with the LocationManager On Jul 8, 10:01 am, Georgios Galyfos wrote: > Hi, > > I was wondering if it is possible to start the gps receiver on the phone if > the current activity is not a mapactivity. I am displaying a listview and > when I start th

[android-developers] Re: IME - Main Dictionary

2009-07-08 Thread nEx.Software
Great... thanks for the info Dianne. I appreciate i. On Jul 8, 12:25 am, Dianne Hackborn wrote: > Oh sorry, yeah those are not part of the NDK.  However you should be able to > use the Java API to open a FileDescriptor for an asset, and hand that to > native code for it to use the fd.  The only

[android-developers] Re: Cannot execute javascript function after loading html content with "loadDataWithBaseURL" method

2009-07-08 Thread treetop
Oh sorry, one more thing to mention. If I use webView.loadUrl("javascript:alert('xx')"), it will send alert message to my WebChromeClient. That is, loadUrl can indeed execute javascript but cannot execute javascript "in the custom generated HTML string". Any ideas? On 7月8日, 下午8時23分, treetop wrot

[android-developers] Cannot execute javascript function after loading html content with "loadDataWithBaseURL" method

2009-07-08 Thread treetop
Hi, I have put HTML document into a string variable and load it by using webView.loadDataWithBaseURL(null, htmlString, "text/html", "utf-8", null). After that, I tried two ways and want to execute javascript function "exec()" by using 1. webView.loadDataWithBaseURL(null, "javascript:exec()", "tex

[android-developers] Re: MINA, slf4j and Android

2009-07-08 Thread Lumiken
Fixed the error by using slf4j-simple which doesn't use a singleton ;) On Jun 28, 10:16 pm, Lumiken wrote: > Hey, > I was trying to useMINAwith Android for this RDP-Client I am > building. The Problem is that Android crashes during Runtime with this > error: > > INFO/dalvikvm(821): DexOpt: acces

[android-developers] Re: GeoPoint issue

2009-07-08 Thread Mark Murphy
Dagvadorj Galbadrakh wrote: > I am using *android-sdk-windows-1.5_r2*. I guess the GeoPoint (raising > the problem 'MapPoint not found') is a issue. Is there no way that I use > the same SDK and solve the problem. http://code.google.com/p/android/issues/detail?id=2806 Get the maps.jar file from

[android-developers] how can have faded transition on Button.setText?

2009-07-08 Thread zeeshan
Hi dear, i want a faded transition on text when i change button text by Button.setText("Helo") on click. if i put startAnimation on button then the whole button comes faded but i just need faded transition on its text can anybody help --~--~-~--~~~---~--~~ You

[android-developers] Re: uploads disabled

2009-07-08 Thread John Smith
2009/7/8 Charlie Collins > > I haven't heard any official stance on this, but I would imagine there > are security concerns, and then other technical hurdles on this front > (having a file browser, and then which files each activity has access > to). And the same security and techincal issues d

[android-developers] how can i set fade animation on Button.setText?

2009-07-08 Thread zeeshan
Hi Dear, can anybody help me on setText transition? i want a faded transition on Button.setText when it clickes --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: Adobe Flash

2009-07-08 Thread John Smith
2009/7/8 Mike Garcia > > Being a web developer in my day job, I'm still not sure the benefits > of having flash support on the phone. Even if it is true, it is > The only benefit would be for those that can't code in java, although a web OS type thing similar to what they're going to on Palm mi

[android-developers] Re: Encrypt files

2009-07-08 Thread John Smith
2009/7/7 Cyril ROQUES > I need to encrypt some files but the user must have access to them in > both read/write > > I would to create a virtual partition and mount it into a folder but how to > link an application with a folder ? or create a driver ? > > If this approach can’t run maybe with a l

[android-developers] GeoPoint issue

2009-07-08 Thread Dagvadorj Galbadrakh
I am using *android-sdk-windows-1.5_r2*. I guess the GeoPoint (raising the problem 'MapPoint not found') is a issue. Is there no way that I use the same SDK and solve the problem. Thanks. -- Dagvadorj GALBADRAKH --~--~-~--~~~---~--~~ You received this message be

[android-developers] Re: TIME_TICK in an AppWidget?

2009-07-08 Thread String
Just to post an update on this issue, the alarm manager approach seems to work. To simulate a TIME_TICK, I'm using the following code: // First alarm to go off when the RTC minute changes long firstTime = System.currentTimeMillis(); firstTime += (6 - firstTime % 6); // Sc

[android-developers] Re: TabHost Listview dissapearing after going to SMS screen and back.

2009-07-08 Thread extrapedestrian
Is this a bug that should be reported? On Jul 6, 11:51 am, extrapedestrian wrote: > Two more information: > > it works the same way on emulator, > it works the same way with simple list ArrayAdapter text only. > > On Jul 6, 11:38 am, extrapedestrian > wrote: > > > I have TabHost with custom Li

[android-developers] is it possible to get realtime gps values while not in a mapview?

2009-07-08 Thread Georgios Galyfos
Hi, I was wondering if it is possible to start the gps receiver on the phone if the current activity is not a mapactivity. I am displaying a listview and when I start the gps I get the last location found correctly, however the gps indicator never appears on top of the phone's display even if I wa

[android-developers] Widget not working properly when changing orientation

2009-07-08 Thread sunita
I have a widget , thats working just fine in a particular orientation, but the moment i change the orientation to landscape/portrait, the widget is not able to launch. I have one layout and one layout-land folder in res directory.The problem is that the widget created in landscape mode is not open

[android-developers] Re: Problem with Log Cat(log is empty)

2009-07-08 Thread Desu Vinod Kumar
HI Thanks For Reply i follow the procedure i got it... thank u On Wed, Jul 8, 2009 at 1:34 PM, Georgios Galyfos wrote: > sometimes this happens to me too. if you select the device tab and click on > one of the devices on the list the logCat might then display the log > correctly, this is

[android-developers] Re: Problem with Log Cat(log is empty)

2009-07-08 Thread Tian Yingying
emulator is the same , all the times you can go to DDMS mode select the emulator and click the log cat blank it display 2009/7/8 Georgios Galyfos > sometimes this happens to me too. if you select the device tab and click on > one of the devices on the list the logCat might then display the log

[android-developers] Re: Problem with Log Cat(log is empty)

2009-07-08 Thread Georgios Galyfos
sometimes this happens to me too. if you select the device tab and click on one of the devices on the list the logCat might then display the log correctly, this is how i fix this. Or disconnect and reconnect the phone, in case it is a phone not an emulator (or maybe restart the emulator). On Wed,

[android-developers] Re: two questions about MediaPlayer

2009-07-08 Thread tstanly
and i think that's not the formation of audio/video issue, because I put the 3gp video in the /data/app and modify the path to: setVideoURI(Uri.parse("/data/app/2.3gp")); now, it can work! I am so confused. On 7月8日, 下午3時26分, tstanly wrote: > hi all, > > I was very confused for MediaP

[android-developers] Problem with Log Cat(log is empty)

2009-07-08 Thread android.vinny
Hi I am using Android SDK 1.1 when i run or debug the application i am getting empty list it showing empty not show any log details what is the prob? any ideas regarding this ? thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subs

[android-developers] AudioManagaer 's setMode()

2009-07-08 Thread Honest
AudioManager am=(AudioManager)getSystemService(AUDIO_SERVICE); am.setSpeakerphoneOn(true); am.setMode(AudioManager.MODE_IN_CALL); //Log.e(tag, msg) mMediaPlayer = MediaPlayer.create(this, R.raw.ek); mMediaPlayer.start(); Hello, I

[android-developers] two questions about MediaPlayer

2009-07-08 Thread tstanly
hi all, I was very confused for MediaPlayer, follow the audio supporting formate from: http://developer.android.com/guide/appendix/media-formats.html i success in mp3 formate, but failure in wav and 3gp formate.. i can't figure out why i can't? the other question is the error message from adb

[android-developers] Re: IME - Main Dictionary

2009-07-08 Thread Dianne Hackborn
Oh sorry, yeah those are not part of the NDK. However you should be able to use the Java API to open a FileDescriptor for an asset, and hand that to native code for it to use the fd. The only limitation is that the asset will need to be stored uncompressed. (Alternatively, an .apk is just a zip