[android-developers] Re: HTML parsing with JAVA

2010-02-24 Thread Jens
Tagsoup. You can add the lib to your project or (ab)use reflection to obtain it from your platform - Google is using themselves. http://home.ccil.org/~cowan/XML/tagsoup/ On 22 Feb, 06:54, Alisha alisha.a...@gmail.com wrote: Hi All, I have to parse a html file using java. I have gone through a

[android-developers] Re: OpenGL and the use of ByteBuffers

2010-02-24 Thread Ecthelion
Hi, On 24 Feb., 05:25, Jonathan jon.aposto...@gmail.com wrote: I have an array in memory that represents the screen.  I then call put() once to put that into the ByteBuffer that gets pased to OpenGL. If you still want to use a ByteBuffer you could try ByteBuffer.wrap(myByteArray) instead of a

[android-developers] Remove default margin inside WebView

2010-02-24 Thread Carl Whalley
There seems to be a default inner border in the WebView - it's about 6 pixels all round. How can this be removed so the size matches the content? Simple demo (target is Google API 1.6): public class Main extends Activity { @Override public void onCreate(Bundle savedInstanceState) {

Re: [android-developers] Re: OpenGL and the use of ByteBuffers

2010-02-24 Thread Ralf Schneider
2010/2/24 Jonathan jon.aposto...@gmail.com It's a 2D application, and the contents of the screen (as represented by this internal array I'm passing around) can change at any given time. I'm think I may have to use some combination of sub texture updates in order to get what want and have it

[android-developers] Re: Crash in glDrawElements() using VBOs just after glBufferData()

2010-02-24 Thread Clankrieger
As what I am aware of, VBOs do not need direct buffers (and indirect buffers might be handled faster), but this is just a detail. I also tried GL_FIXED but it did not make much difference for me. I assume that it gives performance gains only if you have a) static data that is converted to fixed

[android-developers] Re: New Android Project - Create from existing source - Unhandled event loop exception, java.lang.StackOverflowError

2010-02-24 Thread Bob Kerns
Normally, running out of memory wouldn't cause a stack overflow, but it could happen if it causes you to get an error handling the error handling the error handling the error handling the error... You may need to adjust the memory allocation for Java. If, in your Eclipse install, you open

[android-developers] AudioPolicyManager

2010-02-24 Thread ani
In the current implementation given in AudioPolicyManager the BT headset has got the highest priority and DEVICE_OUT_WIRED_HEADSET has got the second priority. Priority means:When both are connected then the audio will come from BT headset and if you remove BT headset audio will come from

[android-developers] Send key event using native methods or low level classes -- possible solutions ??

2010-02-24 Thread Houcem Berrayana
Hi, I was looking 2 weeks ago for sending back and home key events when onClick is performed on a ImageButton, I could do that perfectly. Now, I have a device with no buttons. So, I want to simulate Menu button click. To know what is really happening, I implemented a code in onCreateOptionsMenu

[android-developers] Re: Eclipse is too slow

2010-02-24 Thread Bob Kerns
It's similar to how you do it on the PC, except the eclipse.ini file lives inside the application bundle. I haven't used a Mac in about 4 months, so I won't try to guide through the menus to look inside the application bundle from the Finder. I think you can also specify it somehow in the app's

[android-developers] Re: Having content in wallpaper

2010-02-24 Thread Bob Kerns
Check out the APIs in android.wallpaper.service. That's your starting point. On Feb 22, 11:52 pm, Janam janamjhav...@gmail.com wrote: Hi, I'm trying to figure out a way to hold RSS feeds in the wallpaper. How can I have the wallpaper hold/display content and not just an image?  Is this even

[android-developers] Re: I want to use assist code on the Eclipse.

2010-02-24 Thread Bob Kerns
I think you mean Code Assist? I've noticed (over many Eclipse revisions) that when Eclipse starts to get bloated, Code Assist stops working. I don't know if it's getting some internal error, or just running out of memory to do its stuff. Either way, the solution I use is to exit Eclipse, and

[android-developers] HELP

2010-02-24 Thread beneesh baby
Hi, I am currently working in android ereader...is it possible to add OOXML schemas 1.1 jar file directly to android? is this file supported in android ? if anybody know the answer please help me out? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Overriding AutoCompleteTextView

2010-02-24 Thread Namrata
Hi, I am trying to override AutoCompleteTextView for custom UI. I want to change x,y position of list items and make it horizontal list instead of vertical. But I don't know the way by which I can access these child views in my new custom class. CustomAutoList extends AutoCompleteTextView{

[android-developers] Re: new certificate for the apk

2010-02-24 Thread Bob Kerns
Um, yeah -- and don't forget to apply the same degree of care to the keystore and alias passwords! I caused myself a bit of panic the other day, when I changed the passwords prior to automating my builds -- and forgotten I'd done so. Fortunately (sort of), I don't have any apps in the store yet,

[android-developers] Intent for editing text

2010-02-24 Thread chris price
Hello, When typing some text a user can press down on the text and the edit text options are showing copy, cut, etc I want to add a option there called Add to MyApp which then runs some of my code. There will be no user interation so I will need type of service?? How can I do this? Thanks

[android-developers] Re: Send key event using native methods or low level classes -- possible solutions ??

2010-02-24 Thread skink
On Feb 24, 11:23 am, Houcem Berrayana houcem.berray...@gmail.com wrote: Hi, Now, I have a device with no buttons. So, I want to simulate Menu button click. I think that this is very important because many developers are looking for a such solution. And I really need to find a solution :(

[android-developers] Re: Overriding AutoCompleteTextView

2010-02-24 Thread Namrata
So basically I want a component like auto suggest list which appears with virtual keyboard on typing in EditTextView... On Feb 24, 4:04 pm, Namrata puranik.namr...@gmail.com wrote: Hi, I am trying to override AutoCompleteTextView for custom UI. I want to change x,y position of list items and

[android-developers] Re: How to make a Downloadable DRM Module

2010-02-24 Thread genxsol
As a starting point, i just put a little function in android/media/ MediaPlayer.java and replaced it in my android.jar using in eclipse Android Appication. now when i try to access that function in my App, it gives me exception ERROR/dalvikvm(2239): Could not find method

[android-developers] App not visable on a 1.5 device

2010-02-24 Thread rackham
Hello all. I have recieved feedback that my app is not visible to a user on a 1.5 device, 30% of my users use 1.5 according to my analytics, and the relavent line in my manifest is as below uses-sdk android:minSdkVersion=3 android:targetSdkVersion=4 / the app is free so i cant see any paid

[android-developers] Insert symbol in edittext window

2010-02-24 Thread André
I have this problem where I want to insert a character into a edittext window where the cursor is by pressing a button outside of the softkeyboard. I am using this code in the onClick method: int mCursorS = mEditText.getSelectionStart(); int mCursorE = mEditText.getSelectionEnd();

[android-developers] Re: Send key event using native methods or low level classes -- possible solutions ??

2010-02-24 Thread Houcem Berrayana
I am running android on a non phone device.. and I want to show the menu! is there another solution ? On 24 fév, 13:02, skink psk...@gmail.com wrote: On Feb 24, 11:23 am, Houcem Berrayana houcem.berray...@gmail.com wrote: Hi, Now, I have a device with no buttons. So, I want to simulate

[android-developers] Re: Send key event using native methods or low level classes -- possible solutions ??

2010-02-24 Thread skink
On Feb 24, 1:38 pm, Houcem Berrayana houcem.berray...@gmail.com wrote: I am running android on a non phone device.. and I want to show the menu! is there another solution ? On 24 fév, 13:02, skink psk...@gmail.com wrote: On Feb 24, 11:23 am, Houcem Berrayana houcem.berray...@gmail.com

Re: [android-developers] Re: Send key event using native methods or low level classes -- possible solutions ??

2010-02-24 Thread Rogério de Souza Moraes
Hi Houcen, take a look at the code of android-x86 that implaments a way to use MENU, BACK and HOME buttons in a device with just touchscreen. The name of the file that implements this is Touchable.java. http://www.android-x86.org/documents/touch-only-device-howto The inconvenient is that you

[android-developers] Re: new certificate for the apk

2010-02-24 Thread Bob Kerns
I just went and reread the documentation. It's not as precise on this point as I would like to see. You CAN, in fact, create a new certificate IF AND ONLY IF you have the original private and public keys. The question is, can you use it? A certificate is just a signed wrapper for a key, with

[android-developers] Re: Send key event using native methods or low level classes -- possible solutions ??

2010-02-24 Thread Houcem Berrayana
Thank you Rogério for your answer. But the problem is that I have to run my activity in Full screen. So there's no status bar. And I don't want to make the final user feel that it's an android application ! is there a native function to call for example ? On 24 fév, 14:04, Rogério de Souza Moraes

[android-developers] Re: new certificate for the apk

2010-02-24 Thread Bob Kerns
A couple slight clarifications/corrections: ... IF AND ONLY IF you have the original private key. (Because the public key is stored with it in the same file). certificates signed with the private key that corresponds to the public key they wrap On Feb 24, 5:18 am, Bob Kerns r...@acm.org wrote:

Re: [android-developers] UPnP Stack in Android

2010-02-24 Thread Satoshi Konno
Hi Weelaner, To release the jar package for Android, I have to add some changes into the maven project from now. For a while, please check the following topic to use CyberLink for Java on your Android project. CyberLink for Java - Android

Re: [android-developers] UPnP Stack in Android

2010-02-24 Thread Satoshi Konno
Hi Weelaner, give back a 0 for nRootDevs, but I have some UPnP-devices in my network. Use ControlPoint::search() before you get the device list using ControlPoint::getDeviceList(). Please check the following programming guide, clinkjavaproguide170.pdf, to know the search function in more

[android-developers] AlarmManager and BootReceiver?

2010-02-24 Thread Nick Owens
Good Morning Experts: I think I'm reading some conflicting statements about the AlarmManager on the Android docs website. The following statements both exist on this page: http://developer.android.com/reference/android/app/AlarmManager.html [at the top] Registered alarms are retained while

Re: [android-developers] AlarmManager and BootReceiver?

2010-02-24 Thread Mark Murphy
Nick Owens wrote: So, the question is, do I need to register a BootReceiver that re-sets my Alarms when the phone turns on. Yes. So, which statement do I believe or am I misinterpreting one of the statements? I suppose when the power is turned off or back on, Android itself could call the

[android-developers] FormatDateTime

2010-02-24 Thread Nick Owens
Experts (like Mark M et al.): Android development is definitely a moving target, the way the SDK changes. What's most frustrating about it is when it looks like great functionality is no longer available! You see some sample code which looks AWESOME and is EXACTLY what you need, but come to find

[android-developers] Re: Send key event using native methods or low level classes -- possible solutions ??

2010-02-24 Thread Houcem Berrayana
@skink : That helped me. Oh my god! I haven't seen that method before in Activity class. Thank you all very much. On 24 fév, 14:20, Houcem Berrayana houcem.berray...@gmail.com wrote: Thank you Rogério for your answer. But the problem is that I have to run my activity in Full screen. So there's

Re: [android-developers] FormatDateTime

2010-02-24 Thread Mark Murphy
Nick Owens wrote: Experts (like Mark M et al.): Android development is definitely a moving target, the way the SDK changes. What's most frustrating about it is when it looks like great functionality is no longer available! You see some sample code which looks AWESOME and is EXACTLY what

RE: [android-developers] FormatDateTime

2010-02-24 Thread Nick Owens
Mark: That's great news - I'm cheered up already knowing it can be done easily again. I did try searching for a few hours to find a good replacement. I searched for: android relative date time format (returns nothing seemingly related) - and - getRelativeDateTimeString() (returns 0 results)

[android-developers] Re: App not visable on a 1.5 device

2010-02-24 Thread abowman
Search brought up no results for me. Do you have copy protection turned on? On Feb 24, 6:51 am, rackham dorian.cus...@googlemail.com wrote: Hello all. I have recieved feedback that my app is not visible to a user on a 1.5 device, 30% of my users use 1.5 according to my analytics, and the

Re: [android-developers] FormatDateTime

2010-02-24 Thread Mark Murphy
Nick Owens wrote: Mark: That's great news - I'm cheered up already knowing it can be done easily again. I did try searching for a few hours to find a good replacement. I searched for: android relative date time format (returns nothing seemingly related) - and -

[android-developers] Re: Send key event using native methods or low level classes -- possible solutions ??

2010-02-24 Thread Houcem Berrayana
I have some issue. When I invoke this method I get NullPointerException !! If I press Menu button (the real one). It appears without any problems. After showing this menu once and when invoking showOptionsMenu programmatically I don't get any exception!! I that an android bug?? It's seems like the

[android-developers] Re: ImageView setImageURL(Uri imgUri) does not work with android.resource//... Uri

2010-02-24 Thread qlimax
anyone? On 23 Feb, 18:47, qlimax eneager...@gmail.com wrote: I'm trying to do the following thing without success: ImageView imgView=(ImageView)findViewById(R.id.imgView); Uri imgUri=Uri.parse(android.resource:// my.package.name/+R.drawable.image); imageView.setImageURI(imgUri) I'm stuck,

[android-developers] Re: ImageView setImageURL(Uri imgUri) does not work with android.resource//... Uri

2010-02-24 Thread Hekki
Is there a reason why you are not using : ImageView.setImageResource(resId) In your example : imageView.setImageResource(R.drawable.image) Yahel On 24 fév, 15:23, qlimax eneager...@gmail.com wrote: anyone? On 23 Feb, 18:47, qlimax eneager...@gmail.com wrote: I'm trying to do the

RE: [android-developers] FormatDateTime

2010-02-24 Thread Nick Owens
Mark: Sorry about that, it is. I assumed it had been removed since I am not able to use getRelativeDateTimeString() in the following: long dateMin = 6; long dateMax = (8640 * 2); DateFormat df = new

[android-developers] How does Category_Home intent work ?

2010-02-24 Thread rahul
Hi All, I am trying to create a new Intent category similar to the one present for the HOME(Category_HOME). Currently when the user presses the home button on the phone then in the PhoneWindowManagerService.java an intent for home(mHomeIntent) starts an activity. I have created an intent similar

Re: [android-developers] FormatDateTime

2010-02-24 Thread Mark Murphy
Nick Owens wrote: Mark: Sorry about that, it is. I assumed it had been removed since I am not able to use getRelativeDateTimeString() in the following: long dateMin = 6; long dateMax = (8640 * 2);

[android-developers] Testing problem with ActivityInstrumentationTestCase2T -- Error when trying to access Activity under testing

2010-02-24 Thread vladimir kroz
I wrote a simplest test based on android.test.ActivityInstrumentationTestCase2. [sourcecode language=java] package andtest.threads.asynctask; import java.util.concurrent.ExecutionException; import andtest.R; import andtest.threads.asynctask.AsyncTaskDemo; import

[android-developers] Re: Send key event using native methods or low level classes -- possible solutions ??

2010-02-24 Thread skink
On Feb 24, 3:18 pm, Houcem Berrayana houcem.berray...@gmail.com wrote: I have some issue. When I invoke this method I get NullPointerException !! If I press Menu button (the real one). It appears without any problems. After showing this menu once and when invoking showOptionsMenu

[android-developers] Re: Send key event using native methods or low level classes -- possible solutions ??

2010-02-24 Thread Houcem Berrayana
This is my little code : options.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { mActivity.runOnUiThread(new Runnable() { @Override

RE: [android-developers] FormatDateTime

2010-02-24 Thread Nick Owens
Mark: The error in the screenshot (emailed separately), shows: The method getRelativeDateTimeString(ResourcesList, long, long, long, int) is undefined for the type The declaration of my Activity is: Public class ResourcesList extends ListActivity I'm missing something stupid, right? Thanks,

[android-developers] Load new OS on a Droid or Hero?

2010-02-24 Thread Eric Crump
I have a stack of Droids and a few Heros. There are some changes we'd like to make at the OS level. Is it possible to load a new OS on these devices? I see directions on the site for the G1, but didn't see mention of using any other hardware. -- You received this message because you are

Re: [android-developers] FormatDateTime

2010-02-24 Thread Mark Murphy
Nick Owens wrote: The error in the screenshot (emailed separately), shows: The method getRelativeDateTimeString(ResourcesList, long, long, long, int) is undefined for the type The declaration of my Activity is: Public class ResourcesList extends ListActivity I'm missing something

[android-developers] Re: Remove default margin inside WebView

2010-02-24 Thread Lance Nanek
Setting the margin/padding to zero seems to take care of it here: String html = htmlheadstyle* {margin:0;padding:0;}/style/ headbodydiv style='border:1px #000 solid;width:240px;height: 200px;'/Test/div/body/html; On Feb 24, 4:14 am, Carl Whalley carl.whal...@googlemail.com wrote: There seems to

[android-developers] Re: new certificate for the apk

2010-02-24 Thread Bob Kerns
One other small point -- in theory, if you got every detail exactly right, you could even reproduce your original certificate, so long as you still have that original private key. Or you could recover the certificate from a copy of the product. It's the private key you have to guard with your

[android-developers] Contacts from 1.5 and 1.6 ... filtering out trash

2010-02-24 Thread DulcetTone
I am trying to write a clean bit of code that can list the people in a 1.5/1.6 Contacts data store, and I do not see how I filter out the cruft that Google throws in (ad hoc contacts literally addressed by other apps and stored, for some reason, in the contact list without a clear means of

[android-developers] Re: HTML parsing with JAVA

2010-02-24 Thread Bob Kerns
Thanks for the pointer, Jens -- this looks like a nice option. Slow-and-robust is probably the most useful addition to the repertoire, and having a standard interface is a big plus! On Feb 24, 12:23 am, Jens dunkingbikk...@gmail.com wrote: Tagsoup. You can add the lib to your project or (ab)use

[android-developers] how do a get the sources for Android.jar

2010-02-24 Thread lordjoe
I am developing for the android but would like to be able to browse and debug through the sources of Android.jar - I see something about a git repository but do not see the url to get the Java Code for Android.jar - also I really want 1.5 or 1.6 since my phone does not yet support 2.1 I keep

[android-developers] Re: ImageView setImageURL(Uri imgUri) does not work with android.resource//... Uri

2010-02-24 Thread qlimax
I've tried to explain my situation here: http://stackoverflow.com/questions/2307374/need-suggetsion-about-a-mixed-uri-int-id-images-ambient and posed the same question here: http://stackoverflow.com/questions/2313148/imageview-setimageuri-does-not-work-when-trying-to-assign-a-r-drawable-x-uri

[android-developers] How does the imeOptions of EditText work

2010-02-24 Thread Mark Nuetzmann
So if you set android:imeOptions=actionSearch how do I intercept the result of the clicking the action/search button on the virtual keypad? How do I assign that result to a button in the layout of my activity or in some way handle the click of this key? My specific situation is I am in the

[android-developers] Re: How does the imeOptions of EditText work

2010-02-24 Thread schwiz
have your activity implement onEditorActionListener then handle it in the method onEditorAction. On Feb 24, 11:25 am, Mark Nuetzmann mark.nuetzm...@gmail.com wrote: So if you set android:imeOptions=actionSearch how do I intercept the result of the clicking the action/search button on the

[android-developers] Point to point RPC for ad-hoc/local network communication between two or more clients?

2010-02-24 Thread DCheeseman
I've seen android-xmlrpc, but it looks to be a server-centralized rpc api. Is there a project or RPC protocol built into android that allows me to do RPC between 2 or more android phones without a central server? I'm trying to avoid implementing a generic message passing system as I think RPC

[android-developers] Re: Intent for editing text

2010-02-24 Thread schwiz
Im thinking you might need to make your app an inputdevice, here is an example here it isn't really just limited to softkeyboards http://d.android.com/resources/samples/SoftKeyboard/index.html On Feb 24, 5:31 am, chris price chris123pr...@googlemail.com wrote: Hello, When typing some text a

[android-developers] Re: Default Keyboard type for a html text input field

2010-02-24 Thread kc3000
To be clear, I want to change the type of keyboard that shows up when a user edits a text field on an html page displayed in a WebView. On Feb 22, 6:39 am, kc3000 kendrick_wil...@hotmail.com wrote: Is there a way to set the default keyboard type for a html text input field for a webkit

[android-developers] ListView: How to Create a Complex Row?

2010-02-24 Thread Ali Chousein
Hi, I would like to create complex rows in a ListView (all of the rows will have the same appearance, except the displayed text message of course). Following is, from where I would like to start. I want each row of the listview contain two lines. The second line will display two text messages;

[android-developers] Re: ImageView setImageURL(Uri imgUri) does not work with android.resource//... Uri

2010-02-24 Thread Hekki
Hi, I'm sorry but I don't understand your problem nor why you get stuck and frustrated over this. You want to be able to be able to open an image from a resource : ImageView.setImageResource(resId) if it's from the sdcard : ImageView.setImageDrawable(/sdcard/myimage.jpg) I do that in my app,

[android-developers] Getting to the top of a list using android.app.ListActivity

2010-02-24 Thread rt
Use case: 1) User navigates to a screen which displays a list of items (i.e. list X) 2) User scrolls to somewhere in the middle of list X (assume item 30 out of a list of 50 items) 3) User leaves the screen of list X and navigates to another screen. 4) User returns to list X screen, which displays

[android-developers] Augmented Reality, getRotationMatrix, Camera overlay

2010-02-24 Thread nikola.borisof
Hi all, I spend two weeks now trying to get this working with no success. Here is what I want to do: I have several geo points around the user and his phone. I want to display this point overlaying them on the input from the camera (kind of standard AR (Augmented Reality) app). Part of my

[android-developers] No target available

2010-02-24 Thread wangsuya
Dear everyone I installed newst Android, JDK, Jer and eclipse. Than I tryed to build android project. But build target show no target available. I looked at internet, they said I should run Android SDK and AVD manager, I runed it but get follow message: Failed to fetch URL

[android-developers] Preference setWidgetLayoutResource button types stops click?

2010-02-24 Thread cnich
Preference pref = new Preference(this); pref.setWidgetLayoutResource(R.layout.pref); // no worky! pref.setOnPreferenceClickListener(this); If I set a preference's widget layout resource with a button type of widget (checkbox, button, toggle, radio) the preference will than no longer respond to

[android-developers] Re: Opening main.xml causes Eclipse to crash out

2010-02-24 Thread mysliwy
I'm having the same issue, attaching error log : # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x6d261876, pid=3984, tid=3752 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode) # Problematic frame: # C

[android-developers] No target available

2010-02-24 Thread wangsuya
Dear everyone I installed newst Android, JDK, Jer and eclipse. Than I tryed to build android project. But build target show no target available. I looked at internet, they said I should run Android SDK and AVD manager, I runed it but get follow message: Failed to fetch URL

[android-developers] Re: Always permission denial when trying to read Email Account

2010-02-24 Thread ryan_f
I have an app that uses the com.android.email.attachmentprovider and I am getting the same permission error. If this provider has been locked away with the only access being a private permission I would like to inquire as to how I am supposed to get the metadata of an attachment? I have an app

[android-developers] how can applications with native code call into LocationManager apis?

2010-02-24 Thread Binu Abraham
I have an application which has got some native code as well. I would like to call the equivalent of the LocationManager API's from the native code. Is this possible ? If so, what kind of interface will I us, as the LocationManager API is in java? can I call binder.transact call directly on the

[android-developers] No streamlined update system (What a mess)

2010-02-24 Thread s3ction8
I just posted this in the regular android discuss group but I do believe that developers should read this as well. This directly affects you as well. This first began with my personal experience, I have an HTC Magic and I'm at version 1.5 a friend of mine has a g1 while another just got a

[android-developers] Re: Always permission denial when trying to read Email Account

2010-02-24 Thread ryan_f
While I understand the need to put some permission controls in place for email, is there a public permission that can be used to ask the email provider for just the attachment name/size -- especially if my app was granted the temporary permission to read the attachment content Uri? On Jan 6, 9:25 

[android-developers] ActivitNotFoundException

2010-02-24 Thread Mukesh kumar
Hi Everybody Problem: When we run this program. then after click the button(voice Recognition) Show message box with exception what we catch Exception: android.content.ActivitNotFoundException:No Activity Found to handle Intent{action=android.speech.action.RECOGNIZE_SPEECH} Please give me

[android-developers] Re: having trouble to use network speed emulation in android emulator

2010-02-24 Thread Rootko
I had the same problem... Both in windows and linux... But I've found no solution, other than cap my internet connection on host computer. This way however I could not simulate network lag... :( -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: android.speech.action.RECOGNIZE_SPEECH activity not found

2010-02-24 Thread Mukesh kumar
Hi Bibek How emulator get the activity =android.speech.action.RECOGNIZE_SPEECH because we use this activity to speech to text conversion in program Please help me: how this activity find in Android throw emulator. Exception: android.content.ActivitNotFoundException:No Activity Found to

[android-developers] set x-axis and y-axis for the image

2010-02-24 Thread rajesh chandrasekaran
Hi all, I am new in Android.I need to know how to set the x-axis and y-axis value for the image.i need to give the XY-axis location in java program not in xml. i know how to give in xml,but i need in java Imageview android:id=@+id/button1 android:layout_x=30px android:layout_y=270px

[android-developers] Re: Setting preferred home activity from application code

2010-02-24 Thread arthur
Hello, I would like to do the same but with the dialer. It is not working and I get the same log as kristianlm. W/KeyCharacterMap( 622): Using default keymap: /system/usr/keychars/ qwerty.kcm.bin I/PackageManager( 579): Result set changed, dropping preferred activity for Intent {

[android-developers] How to create text file and read and write from it ?!?!

2010-02-24 Thread Avi
Hi, I am very new to android and i have wrote an application that reads the Cell ID information , now i want to create a text file and store the information inside , i have googled this issue but i couldn't find a solution that really workd . can someone help me ?!? -- You received this

[android-developers] Re: App not visable on a 1.5 device

2010-02-24 Thread Namrata
Following works for me try with removing android:targetSdkVersion=4 uses-sdk android:minSdkVersion=3/ -- Namrata On Feb 24, 4:51 pm, rackham dorian.cus...@googlemail.com wrote: Hello all. I have recieved feedback that my app is not visible to a user on a 1.5 device, 30% of my users use 1.5

[android-developers] opencore test cases issue

2010-02-24 Thread Umang Gupta
Hi Guys , I am facing problems while running opencore test cases using : command : pvplayer_engine_test -test L Android branch : Eclair Omap Zoom2 board test cases are running fine as per log : pvplayer_engine_test -test L SDK Labeled: PVDEV_CORE_RELEASE_6.506.4.1 built on 20090312

[android-developers] set x-axis and y-axis for the image

2010-02-24 Thread rajesh chandrasekaran
Hi all, I am new in Android.I need to know how to set the x-axis and y-axis value for the image.i need to give the XY-axis location in java program not in xml. i know how to give in xml,but i need in java Imageview android:id=@+id/button1 android:layout_x=30px android:layout_y=270px

[android-developers] Re: android.speech.action.RECOGNIZE_SPEECH activity not found

2010-02-24 Thread Mukesh kumar
Hi sandeep Problem: When we run this program. then after click the button(voice Recognition) Show message box with exception what we catch Exception: android.content.ActivitNotFoundException:No Activity Found to handle Intent{action=android.speech.action.RECOGNIZE_SPEECH} Please give me

[android-developers] How to know touched cube in opengl ?

2010-02-24 Thread Louis Huh
I drew cubes using opengl, GLSurfaceView has onTouchEvent method. but I'd like to know what cube was touched ? cubes can move anywhere in the viewport... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Mp3 data has glitches, but the ARM codec seems to get rid of them ?

2010-02-24 Thread RockNCode
Hi. I'm currently debugging an issue on MP3. Basically, our decoder shows glitches sometimes when doing seeks in the music player. At Openmax level, I've dumped the input buffers into a file, and it seems the audio data comes already corrupted from the mp3 parser (the frame seems to be complete).

[android-developers] set x-axis and y-axis for the image

2010-02-24 Thread rajesh chandrasekaran
Hi all, I am new in Android.I need to know how to set the x-axis and y-axis value for the image.i need to give the XY-axis location in java program not in xml. i know how to give in xml,but i need in java Imageview android:id=@+id/button1 android:layout_x=30px android:layout_y=270px

[android-developers] Re: android.speech.action.RECOGNIZE_SPEECH activity not found

2010-02-24 Thread Mukesh kumar
how the emulator get activity: android.speech.action.RECOGNIZE_SPEECH when we use code : Intent intent = new Intent(android.speech.action.RECOGNIZE_SPEECH); startActivityForResult(intent, 0); it throw exception: Exception: android.content.ActivitNotFoundException:No Activity Found to handle

[android-developers] Android SDK for Windows 7

2010-02-24 Thread Julian
I have recently began developing for smartphones and I am extremely interested in developing for Android. The only problem is that I have Windows 7 on my computer. Is there any way I can install Eclipse and Android SKD? or do I have to install Windows Vista or XP on my computer? -- You

[android-developers] Save messages

2010-02-24 Thread Adnan Arshad
if i need few important messages from my android mobile.. and want to delete rest of messages. its a no problem in other ordinary pones. But android makes it imposiible to do this little basic action So there must be option to save messages -- You received this message because you are subscribed

[android-developers] Device Keyboard

2010-02-24 Thread Adnan Arshad
T-mobile G1's device keyboard can only been seen clearly in full light and full dark. In medium light its buttons become invisible. -- 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] Delivery report error

2010-02-24 Thread Adnan Arshad
From user point of view, delivery report should confirm him/her that the message has been delivered on the mobile phone of receipient. But android's delivery report only indicates that the message has been delivered to the network operator of receipient mobile. Even if the Phone of receipient is

[android-developers] customizing status bar and application layer

2010-02-24 Thread srikanth tangirala
I am trying to make a new SDK with the status bar at the bottom and the application layer in top of it.. is it possible?.. if any one has any idea of how to do this plz help me .. thanks in advance... -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Resizing video on the Nexus One turns surface white

2010-02-24 Thread Bolha
Dear Kirwan, I'm developing a video player and, like you, I've had the need to implement a fullscreen mode. I've also faced a similar problem and, as a workaround, I've tried to reinitialize the player when the surface turns black (no video, but sound countinues playing). On every

[android-developers] Decoding Encoded Audio Data (MP3s, etc)

2010-02-24 Thread David R.
I'm putting together a program that has slowing down and speeding up sound files as one of its features. This works fine for WAV files, which are a header plus the exact binary data that needs to be sent to the speaker, and now I need to implement it for MP3 (ideally, this would also support AAC,

[android-developers] Broken Nexus One given to me at Developer Lab..

2010-02-24 Thread Cait Roberts
Hi All, So after getting the run around from various UK and US help lines (including the Nexus One HTC lines for repair and returns or troubleshooting).. I come to you with a call for HELP! I went to MWC this year in Barcelona and went to the Google Android Development Lab session at 11am. This

[android-developers] business cards

2010-02-24 Thread Adnan Arshad
Android must include all basic features of a mobile. So it must have the ability to send and receive Contact Business Cards. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] How to use setBounds in android.

2010-02-24 Thread rajesh chandrasekaran
hi All, How to use setBounds in android. This is my code,but i am getting the error Button button1 = (Button) findViewById(R.id.button_1); button1.setBounds(87, 90, 34, 98); please give me the corect solution. Thanks C.Rajesh -- You received this message because you are subscribed to

[android-developers] Re: Android SDK for Windows 7

2010-02-24 Thread G
I do all my Android development on a win7 machine. Setup should be no different. On Feb 24, 10:15 am, Julian julianvillalt...@gmail.com wrote: I have recently began developing for smartphones and I am extremely interested in developing for Android.  The only problem is that I have Windows 7 on

[android-developers] Re: new certificate for the apk

2010-02-24 Thread Achanta
Thank you Bob for the feedback, I am afraid I do not have the private key since I do not have the keystore. I guess I need to figure out how to let all the old users know about my new app now. Thank you again. On Feb 24, 9:01 am, Bob Kerns r...@acm.org wrote: One other small point -- in

[android-developers] Re: Gridview loads in reverse on onConfigurationChanged

2010-02-24 Thread Bolha
Hello, guys. I've had the same problem and solved it by saving the created views in an array inside the adapter. Check the chunks of code below: public class ImageButtonCanalAdapter extends BaseAdapter { private Context contexto; private ListMyClass list private View

[android-developers] Re: How does the imeOptions of EditText work

2010-02-24 Thread Mark Nuetzmann
Sweet. That was easy, thank you. On Feb 24, 11:35 am, schwiz sch...@gmail.com wrote: have your activity implement onEditorActionListener then handle it in the methodonEditorAction. On Feb 24, 11:25 am, Mark Nuetzmann mark.nuetzm...@gmail.com wrote: So if you set

[android-developers] Scrollbar Thumb Color

2010-02-24 Thread sriram
Hi All, Can the application customize the scroll bar colors like the thumb color/image or the background color image. For example I am using a ListView on a device. Now the scrollbar seems to appear in white because I see the imageviewgets truncated on the left. The same does not happen on the

  1   2   >