[android-developers] Re: OpenGL Texture Scaling Problem

2010-02-19 Thread Barrett_A
I'm shocked that no one else has had this problem, since all of the examples in the SDK would result in this issue. Here's my fix: glHint(GL_PERSPECTIVE_CORRECTION_HINT,GL10.GL_NICEST); On Feb 17, 11:47 pm, Barrett_A lbarrettander...@gmail.com wrote: I have a texture with 8 equally sized

[android-developers] Re: rotate progress bar

2010-02-19 Thread Houcem Berrayana
Hi, I'm having the same problem and I don't think I'm gonna be the last one. I'll be trying to solve that problem later (not immediately). So if someone could find a solution (including me :D ) please share it with us and we will be very thankful. Best Regards, On 19 fév, 04:58, NoraBora

[android-developers] Activity calling not from another activity

2010-02-19 Thread SAM
Hi, In am developing a android application. The framework is such that I dont allow Activities to launch each other. Eg: ActivityA can only talk to datahandlerA (DhA) ActivityB can only talk to datahandlerB (DhB) datahandlers can talk to any other datahandlers. Datahandlers do network

[android-developers] Intent action for network events in android sdk

2010-02-19 Thread mudit
Hi.. i am need to receive broadcast for network actions like network connected, disconnected etc. I am using a broadcast receiver for the purpose.Can any please tell me which intent action i need to capture for network events, right now as per my search on internet i am using

[android-developers] Re: Simple Cursor Adapter - Listview Example

2010-02-19 Thread skink
Sasikumar.S wrote: Hi, Any simple cursor adapter with listview example ? -- Thanks Regards Sasikumar.S http://developer.android.com/intl/de/resources/tutorials/notepad/notepad-ex1.html step 12 -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Landscape orientation of Intent

2010-02-19 Thread Tatyana Ulyanova
Thank You very much for reply, Mark :) You're absolutely right that it's not a good idea to dictate to other application their orientation. But is there any way to change landscape orientation in global way - for all aplications? It would seem like user turn their phone, but programmatically.

[android-developers] Re: help me

2010-02-19 Thread SREEHARI
As Darshana said u dint say what is the exact problem. Is this code getting failed for authentication?? Use .equals instead of == *if (username.equals(kami) password.equals(kami)) Hope this will work -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Quick contact integration

2010-02-19 Thread Krzysztof Wolny
Hey How can I register my application to be launched when user choose a chat icon on Quick Contact bar and click on my own IM type (which he add to a contact before)? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] ONLINE JOBS WITH OUT INVESMENTS

2010-02-19 Thread seneha
Free Online Jobs Without Investment Data Entry Jobs Without Investement. $$ http://www.adbrite.com/mb/commerce/purchase_form.php?opid=1003278afsid=1 http://deve12.regeasy.hop.clickbank.net/ http://www.cuteonly.com/?a_aid=bcc2d3c1a_bid=d75df85d

[android-developers] listen for the changes in file System

2010-02-19 Thread Nemat
Hi, I want to listen to the changes occured in file system.I am using FileObserver.Now the problem I am facing is whenever a file is created or modified or deleted a lot of events are generated.I dont get any perfect way to find the change.Here is my code: class MyDirObserver extends

[android-developers] Disable RadioGroup ?

2010-02-19 Thread Atif Gulzar
Hi How can I disable RadioGroup, means all the radio buttons should e disabled. I already tried setEnabled (false) and setClickable(false) but this did not help. -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ -- You received this message because you are subscribed to the Google

[android-developers] Re: Deciding which method to call when intent is received

2010-02-19 Thread Babasaheb
Hi, I went through 'action' portion of Intent documentation. Yes it can be an option. But it forces me to use broadcast receiver, which I don't want to do. Let me rephrase the question: I have an activity which has two modules. Both the modules calls same 'action method' from a service. In the

[android-developers] Create vertical progress Bar from original source

2010-02-19 Thread Houcem Berrayana
Hi, I was looking for a way to create a vertical progress bar (volume control). Unfortunately, There is no way to do that without implementing a very specific view class. I have some ideas about how to deal with this: - Creating a subclass of SeekBar and try to rotate by 90 degrees when

Re: [android-developers] Re: Retrieving data from portrait to landscape

2010-02-19 Thread wakeup sid
Hi Ravi.. Thanks for the information.. I have already done in a different method anyway... On Fri, Feb 19, 2010 at 1:03 PM, ivar innovativer...@gmail.com wrote: you have to save the necessary data as part of the bundle in the method, onSaveInstanceState and onCreate(bundle), you should if

[android-developers] Re: Intent.ACTION_SYNC no docs or resolveInfo

2010-02-19 Thread Alex Corbi
Anybody had some experience with this? On 19 Feb., 08:35, Alex Corbi a.co...@gmail.com wrote: Ok Thanks Dianne, What interest me is detecting when new GMail is being received. Wich is the uri of the Gmail content provider? content://gmail-ls ??? is there any documentation somewhere about

Re: [android-developers] Re: Intent.ACTION_SYNC no docs or resolveInfo

2010-02-19 Thread Mark Murphy
Alex Corbi wrote: Ok Thanks Dianne, What interest me is detecting when new GMail is being received. Wich is the uri of the Gmail content provider? content://gmail-ls ??? is there any documentation somewhere about how the information is being stored in this Content-Provider. GMail is

[android-developers] Http proxy settings not working in Android Emulator 2.1

2010-02-19 Thread Vibhor Mahajan
Hello, I am trying to configure http_proxy settings for Internet access from Android emulator (behind a proxy). I tried following options: 1. -http-proxy option using emulator command. 2. setting http_proxy environment and then launching the emulator. 3. Settings proxy using APN settings

Re: [android-developers] Activity calling not from another activity

2010-02-19 Thread Mark Murphy
SAM wrote: Hi, In am developing a android application. The framework is such that I dont allow Activities to launch each other. Eg: ActivityA can only talk to datahandlerA (DhA) ActivityB can only talk to datahandlerB (DhB) datahandlers can talk to any other datahandlers. Datahandlers do

Re: [android-developers] Intent action for network events in android sdk

2010-02-19 Thread Mark Murphy
mudit wrote: Hi.. i am need to receive broadcast for network actions like network connected, disconnected etc. I am using a broadcast receiver for the purpose.Can any please tell me which intent action i need to capture for network events, right now as per my search on internet i am using

Re: [android-developers] Disable RadioGroup ?

2010-02-19 Thread Mark Murphy
Atif Gulzar wrote: Hi How can I disable RadioGroup, means all the radio buttons should e disabled. I already tried setEnabled (false) and setClickable(false) but this did not help. Iterate over the RadioButtons and disable them, I imagine. -- Mark Murphy (a Commons Guy)

Re: [android-developers] How to input cursor position on tap?

2010-02-19 Thread Rogério de Souza Moraes
Hi, try seen this: http://developer.android.com/intl/fr/reference/android/view/MotionEvent.html With this you can get the x,y coordinates using the fucntions getRawXhttp://developer.android.com/reference/android/view/MotionEvent.html#getRawX%28%29and getRawY Example: if

Re: [android-developers] Re: Deciding which method to call when intent is received

2010-02-19 Thread Mark Murphy
Babasaheb wrote: Let me rephrase the question: I have an activity which has two modules. What is a module? Both the modules calls same 'action method' from a service. What is an action method? In the 'action method' a thread will be created which starts a background process. I really

Re: [android-developers] Re: Hide address bar while launching native browser

2010-02-19 Thread Mark Murphy
SAM wrote: thanks for the confirmation. Also is there a way to launch the browser in the background from my application. Requirement: 1: Launch myapplication 2: Tell browser to launch in background and get xyz.com (which is heavy site and takes time to load). 3. Show splash/terms page

[android-developers] Running tests in main

2010-02-19 Thread Ewan Benfield
Hi Can someone advise the am command (for adb shell) to run junit tests in the main thread please? The following shows onStart etc running in the test runner thread... am instrument -w -e class co.uk.telesense.tests.MyTest co.uk.telesense.tests/android.test.InstrumentationTestRunner

[android-developers] Re: Move buttons within Layout

2010-02-19 Thread Kritzli
Did you mean HelloLinearLayout or the API Demos ? Well, I had a look at both. But as I mentioned before, in my opinion I can't create a layout in XML. It need to be dynamically. Maybe I'm thinking in the wrong direction... -- You received this message because you are subscribed to the Google

[android-developers] Re: Move buttons within Layout

2010-02-19 Thread skink
On Feb 19, 2:16 pm, Kritzli pfister.ta...@googlemail.com wrote: Did you mean HelloLinearLayout or the API Demos ? Well, I had a look at both. But as I mentioned before, in my opinion I can't create a layout in XML. It need to be dynamically. Maybe I'm thinking in the wrong direction...

[android-developers] Android GPS Location Problem

2010-02-19 Thread Sunny25
Hi All, I'm developing very basic application to get location usnig, LocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 5000, 1,this); and displaying the longitude and lattitude information on the screen, Now the problem is whenever I deploy this application on HTC Magic and

Re: [android-developers] Re: Deciding which method to call when intent is received

2010-02-19 Thread TreKing
On Fri, Feb 19, 2010 at 5:22 AM, Babasaheb babadam...@gmail.com wrote: Is it Possible? How it can be done? Maybe? I'm really confused on what you're doing. It sounds like you want to offload a background process from an Activity to a Service, and then get back a result. But if you're starting

[android-developers] Re: Store contact name in emulator phonebook.

2010-02-19 Thread Pranav
Hi ivar, Thanks for you reply with Suggestion. As you suggest me, i did it properly but it's not storing contacts permanently in phonebook. When i close emulator and start it again, it gives me only last record which i have entered. I did those things in api version-4. Today, i tried to add

[android-developers] Re: Landscape orientation of Intent

2010-02-19 Thread lipinski
While we're on the topic, can you have different orientation handling for different activities within the same application? It currently does not work for me. I have one Activity that I want to force to Lanscape, so I set screenOrientation and configChanges in that Activity. (Just so happens to

[android-developers] In-app payment options

2010-02-19 Thread Carl Whalley
Instead of having 2 versions on the market for apps, one lite (free) and one paid, is it possible to have just the lite one but offer a payment page in the app which upgraded it once the payment is received? -- Android Academy http://www.androidacademy.com -- You received this message because

Re: [android-developers] Re: Landscape orientation of Intent

2010-02-19 Thread Mark Murphy
lipinski wrote: While we're on the topic, can you have different orientation handling for different activities within the same application? It currently does not work for me. I have one Activity that I want to force to Lanscape, so I set screenOrientation and configChanges in that

Re: [android-developers] In-app payment options

2010-02-19 Thread Mark Murphy
Carl Whalley wrote: Instead of having 2 versions on the market for apps, one lite (free) and one paid, is it possible to have just the lite one but offer a payment page in the app which upgraded it once the payment is received? If you can find a way to do that while staying within the bounds

[android-developers] Re: singleTask + activity stack not preserved?

2010-02-19 Thread Mark Wyszomierski
Hi jotobjects, Yes I am running it as you described, here it is exactly: -Run emulator (same on g1 running 1.5) -Make sure all instances of app are killed (not running from eclipse) -Start app from app tray, ActivityA is created -ActivityA launched ActivityB via button click -Home button -Open

Re: [android-developers] Re: Socket is not connected

2010-02-19 Thread social hub
org.apache.http.conn.ssl. SSLSocketFactory.connectSocket(SSLSocketFactory.java: 317) somewhere its going ssl is it plain socket or ssl socket. did you try connecting from ur pc using telnet to see whether u can connect On Thu, Feb 18, 2010 at 4:42 PM, nikhil nik...@gmail.com wrote: This is

[android-developers] About XML parising

2010-02-19 Thread CMF
I have my code here Document dom; DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); try { DocumentBuilder db = dbf.newDocumentBuilder(); dom = db.parse(strings.xml); // here I don't know the path of

Re: [android-developers] How can I create TextAppearanceSpan which looks like an anchor

2010-02-19 Thread social hub
look at spannable class and styling resources in developer site. Also look at clickablescan and some other spans which might help you to achieve this On Thu, Feb 18, 2010 at 4:35 PM, n179911 n179...@gmail.com wrote: Hi, Can you please tell me how can I create a TextAppearanceSpan which

Re: [android-developers] About XML parising

2010-02-19 Thread Mark Murphy
CMF wrote: I have my code here Document dom; DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); try { DocumentBuilder db = dbf.newDocumentBuilder(); dom = db.parse(strings.xml); // here I don't know

[android-developers] AppWidgets and permissions

2010-02-19 Thread Michael Scott
Hi, I've developed an appWidget by inheriting AppWidgetProvider and adding it to the manifest as a receiver with the appwidget-metatag. Works fine. Two questions though: 1. It seems that the only reason to add APPWIDGET_UPDATE to the intentfilter of the receiver is to let the widgetpicker

[android-developers] Re: About XML parising

2010-02-19 Thread CMF
Could you mind to explain it more detail? THanks On Feb 19, 10:50 pm, Mark Murphy mmur...@commonsware.com wrote: CMF wrote: I have my code here Document dom; DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); try         {             DocumentBuilder db =

[android-developers] Re: Custom BaseAdapter + dynamic updates = crash in ListView layout

2010-02-19 Thread whicken
The expandable lists are working out great, thanks! :^) If anyone down the line happens to know what's wrong with the original code above, though, I'd still appreciate understanding what it was doing incorrectly. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Camera on HTC Hero: Calling camera.autoFocus(...) gives a IOException .. ?

2010-02-19 Thread Streets Of Boston
I found some posts about not have a preview-callback. But my camera does not have a preview-callback set at all. I'm wondering where this IOException is coming from. Is it specific to the Hero? On Feb 18, 7:23 am, Streets Of Boston flyingdutc...@gmail.com wrote: This is the stack trace:

[android-developers] Re: Landscape orientation of Intent

2010-02-19 Thread Tatyana Ulyanova
Thank You very much, Mark :) To lipinski: Try to specify in your second (non-main activity) orientation to sensor: android:screenOrientation=sensor. Hope it helps. Read more here: http://www.djvoo.net/d/Android (chapter 35 about activity orientation) -- You received this message because you

[android-developers] Re: In-app payment options

2010-02-19 Thread Carlo
can somebody explain the benefit of a lite version in a market where there is 24h trial of the full version for everybody ? On Feb 19, 11:19 pm, Mark Murphy mmur...@commonsware.com wrote: Carl Whalley wrote: Instead of having 2 versions on the market for apps, one lite (free) and one paid,

[android-developers] Change Browser or Mms(Messaging) app Settings Programmatically

2010-02-19 Thread developer7
Hi all, I'm looking for a way to access the settings for the browser and mms apps programmatically. I know that there are APIs for browser content providers to add bookmarks and add search strings to the db. But is there a way to access any of the options such as text size, default zoom, etc.

[android-developers] Re: About XML parising

2010-02-19 Thread CMF
Here is my code using XmlPullParser . strings.xml just included fooHello world/foo when I read the log. Some String characters are read including Hello world is it the problem of input encoding? btw, how to solve this probleM? XmlPullParserFactory factory =

Re: [android-developers] Change Browser or Mms(Messaging) app Settings Programmatically

2010-02-19 Thread Mark Murphy
developer7 wrote: I'm looking for a way to access the settings for the browser and mms apps programmatically. I know that there are APIs for browser content providers to add bookmarks and add search strings to the db. But is there a way to access any of the options such as text size, default

[android-developers] Re: About XML parising

2010-02-19 Thread CMF
Here is my code using XmlPullParser . strings.xml just included fooHello world/foo when I read the log. Some String characters are read including Hello world is it the problem of input encoding? btw, how to solve this probleM? XmlPullParserFactory factory =

[android-developers] Video Stream

2010-02-19 Thread Eric Crump
Can anyone point me to a tutorial or post on how to stream video from my phone to an application running on a server? Also, can I do this without displaying the video on an activity? Perhaps in a background thread? -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: In-app payment options

2010-02-19 Thread Sean Hodges
On Fri, Feb 19, 2010 at 3:32 PM, Carlo ca...@hyperdevbox.com wrote: can somebody explain the benefit of a lite version in a market where there is 24h trial of the full version for everybody ? Some products require a longer trial period than 24 hours. -- You received this message because you

[android-developers] Re: Socket is not connected

2010-02-19 Thread nikhil
Hey I found the error and resolved it yesterday... But even now I am having intermittent problems with httpclient connectivity.. Do you have any example which enables us to hit the server and then close the connection? Thanks for your reply On Feb 19, 8:46 am, social hub shubem...@gmail.com

[android-developers] Re: Socket is not connected

2010-02-19 Thread nikhil
This is the new error 02-19 10:39:03.438: WARN/System.err(1429): java.net.SocketTimeoutException: Socket is not connected 02-19 10:39:03.448: WARN/System.err(1429): at org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSocketImpl(Native Method) 02-19 10:39:03.448:

[android-developers] Re: Intent.ACTION_SYNC no docs or resolveInfo

2010-02-19 Thread Alex Corbi
Sure, i know... you mean there is no possibility of knowing when new emails (from gmail) are being received? What about other Emails from accounts registered on the Email app? But there are ways to read the new emails in Gmail (I currently use a port for Android of the javaMail library to access

[android-developers] Re: Multiple Gallery Widgets won't scroll

2010-02-19 Thread racx182
social hub, I meant stacked as in one below the other one. thanks On Feb 18, 3:00 pm, social hub shubem...@gmail.com wrote: sorry stack u mean in z axis or one below the other. I may have solution for the one below the other not the other case i guess. On Thu, Feb 18, 2010 at 1:59 PM,

Re: [android-developers] Re: Intent.ACTION_SYNC no docs or resolveInfo

2010-02-19 Thread Mark Murphy
Alex Corbi wrote: Sure, i know... you mean there is no possibility of knowing when new emails (from gmail) are being received? What about other Emails from accounts registered on the Email app? None of those are part of the SDK. Generally speaking, the SDK is mostly for the operating system,

Re: [android-developers] Re: About XML parising

2010-02-19 Thread Frank Weiss
It's not clear what you are trying to accomplish, but it looks like you don't understand how the res/values/strings.xml and R object work. The Android builder takes the data defined in the xml file and generates a Java source file that contains that data. The Android application can then get that

Re: [android-developers] Re: Multiple Gallery Widgets won't scroll

2010-02-19 Thread social hub
in that case you can extend Gallery widget and then set a dependent gallery. setDependetn(Gallery g) { dependent=g; } Override onscroll, onfling methods etc in that lets say Onscroll{ if(there is dependent) { dependent.callDepenteonScroll() } return super.onscroll(); }

Re: [android-developers] Re: In-app payment options

2010-02-19 Thread TreKing
On Fri, Feb 19, 2010 at 9:32 AM, Carlo ca...@hyperdevbox.com wrote: can somebody explain the benefit of a lite version in a market where there is 24h trial of the full version for everybody ? A free version is a good marketing strategy to getting users to your paid app. Suppose you only had

[android-developers] Re: username and password for sample sync adapter

2010-02-19 Thread HCH
A few things: - The sample is for a one-way read only account. Only server changes are synced to device. You cannot edit them or create new ones on the device. - I used the sample server and although I authenticated no content synced down. - Don't forget to choose display options in contacts

[android-developers] question regarding pv player

2010-02-19 Thread zeeshan
Hi Dear, is PV player API available at Android application level? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] View.bringToFront doesn't works?

2010-02-19 Thread Csenteri Barna
Hi Does anyone knows why View.bringToFront doesn't works? Or it doesn't only for SurfaceViews? Also tried ViewGroup.bringChildToFront(view) - the result was the same - nothing. regards, Brown -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: About XML parising

2010-02-19 Thread CMF
Um, lets make my question more explicitly here. I have a xml file myfile.xml which the content is: root node name=acontenta/node node name=bcontentb/node ... node name=aacontentaa/node ... /root the myfile.xml is placed at res/xml/ I would like to get all the node( but don't know how many)

[android-developers] Re: Set style one by one in TextView

2010-02-19 Thread Bob Kerns
中村さん、 TextView's setText method is declared to take a CharSequence, rather than simply a String. This (and many other places) do so, to allow you to use other types besides String. Specifically, SpannableString, which is like a String, but allows you to attach additional information, such as

[android-developers] Android SMS Application Issue..!!!!(Port Number)

2010-02-19 Thread nithin malikarjuna
Hello Messaging APP: Is it possible to use port numbers(to Send SMS) in Android App like we use in J2ME. So that only those App which have the same Port Number can listen. Problem Faced: There is an Application X in Both Users A B. When we tried sending SMS from A to B

[android-developers] ImageView.setDrawable does not work(Beginner)

2010-02-19 Thread dmantamp
Hi all, When I try to set image using iv.setImageDrawable(getResources().getDrawable(R.drawable.up)); iv.setAdjustViewBounds(true); iv.setLayoutParams(new Gallery.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); the image view still shows the image which

[android-developers] Re: AudioTrack lag

2010-02-19 Thread Bob Kerns
When you stream buffered data, you have a minimum of two buffers -- at least conceptually. (You can implement it somewhat differently, but it boils down to the same thing the way I look at it). You fill up one buffer, and give it off to the system or the hardware or another thread. While it is

[android-developers] Android Market Changed ranking

2010-02-19 Thread Mr Pants
Hi Erm did something happen to the ranking system today? My app seems to have shot up a bunch of places in it's category. Obviously I'm not complaining - just curious:) Anyone else noticed anything? Thanks Ps - I'm in UK (not sure if this makes a difference) -- You received this message

[android-developers] CTS not detecting device after restart

2010-02-19 Thread aerosmith
Hi, I am testing an android device with eclair using the 2.1 CTS version. When CTS completes a set of tests and restarts the device a device disconnected messages appears on the CTS console. However after the device completes the restart to the android home screen CTS does not detect that the

[android-developers] Re: Prevent EditText focus

2010-02-19 Thread Chin
You can set focus on some other thing ... like empty text view (set inputType to none) hope this help :D On Feb 16, 6:05 am, Achanta krishna.acha...@gmail.com wrote: How can we prevent an edittext from getting focus and displaying the soft keyboard. I have an searchbox which should not be

[android-developers] Custom ListView

2010-02-19 Thread Dan
I'm developing an app that requires a custom ListView which I have created to show a list of movies. I now would like to add some category dividers to the listview so that the movies are divided into groups, such as sorting by genre. I'm just not sure how to add the category dividers to my

[android-developers] Re: RTSP live streaming with low delay

2010-02-19 Thread r01carlsonr
I've got a similar problem. I have 3 seconds delay on the video and an additional 3 seconds delay on the audio which is really annoying since they aren't in sync anymore. Is your video and audio in sync? On Jan 21, 1:41 am, Eric setton.e...@gmail.com wrote: Hi, our team has been working on a

[android-developers] pthread_join does not work on android

2010-02-19 Thread Thava
Hi, I've noticed that on android, the call to pthread_join does not suspend the calling thread. I've a number (6) of new thread created using pthread_create and pthread_join is called on each thread. But It does not suspend the main (calling) thread. I believe this relates to the port of pthread

[android-developers] Stream Sound Delay

2010-02-19 Thread r01carlsonr
Hi, I'm using VideoView to play an RTSP video stream. It works fine, however on my Android phone the audio lags the video by about 3 seconds. If I watch it on my computer with VLC both the audio and video are in sync. Has anyone else expierenced this audio delay before and how might I go about

[android-developers] WakeLock finalized while still held?

2010-02-19 Thread Nick Owens
For the experts listening... I have a background service running and I sometimes, but not always, receive the following error when clicking on a notification, which opens the main App activity. WakeLock finalized while still held In my search for an answer, I read the post below:

[android-developers] problem sourse not found.........

2010-02-19 Thread beneesh baby
Hi, I am currently working on androi project which reads Word 2007 format(.docx).I am using apache poi library for this..in java it is working perfectly, but in androi when I try to attach an external jar poi-ooxml jar file..the project is not building and also I am getting a

[android-developers] multiple parameters with rawQuery in sqite

2010-02-19 Thread FrankD
I was wondering if someone can tell me what i am missing hereI'm trying to run a pretty complex query so I have decided to use rawQuery. I need to use a '?' placeholder in two spots. The second '?' is not getting recognized and therefore it keeps returning null. I know the query itself is

[android-developers] How do I use a context menu in a WebView without links

2010-02-19 Thread lordjoe
We are writing an application to display eBooks. A chapter is a long xhtml file with few if any links which displays in a WebView very well. The problem is because there are frequently no links in a chapter and certainly no links visible on screen, there is no way to show a context view. My

[android-developers] How to write second number, email, group information of contacts to SIM(ICC)?

2010-02-19 Thread 지선 박
I have some questions about the way using SIM(USIM) on android. I am about to handle contacts data in SIM but I don't know how handle the data on android. I checked IccProvide.java. There are two type of data, alpha tag and number. I want to know how I handle group, email or second number etc. If

[android-developers] using charts in android applications

2010-02-19 Thread Ilya
Hi all! How can I build a pie chart in my application? Thank you! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: How to lookup in contacts table for the contact of the incoming sms

2010-02-19 Thread AndroidRef.com
Manoj, I've started documenting solutions to issues I personally encounter at http://www.androidref.com;. I do have SDK 2.1 contact lookup code that you might be able to use under How to create an SD card, store a contact photo, and display the photo on the handset.: // // Find contact based

[android-developers] Re: Intent action for network events in android sdk

2010-02-19 Thread mudit
got an answer.. uses-permission android:name=android.permission.ACCESS_NETWORK_STATE / receiver android:name=.receiver.ConnectivityReceiver intent-filter action android:name=android.net.conn.CONNECTIVITY_CHANGE / /intent-filter

[android-developers] Re: How to lookup in contacts table for the contact of the incoming sms

2010-02-19 Thread AndroidRef.com
(apologies if this double posts) Manoj, I've started documenting solutions to problems I encounter at http:// www.androidref.com/. Look under How to create an SD card, store a contact photo, and display the photo on the handset. for an SDK 2.1 example of how to read a contact: // // Find

[android-developers] Re: Http proxy settings not working in Android Emulator 2.1

2010-02-19 Thread Hugo Villalba
I am trying to configure my android 2.1 emulator becasue it is behind a proxy however it seems there is a issue with that. I added the followings params in Additional Emulator Command Line Option in Eclipse (Run-Run Configuration - Target Tab) -http-proxy http://ip:port -debug-proxy (ip=proxy

[android-developers] java.security.NoSuchAlgorithmException: SSLContext SSL implementation not found

2010-02-19 Thread kums
Hi All, I want to use sslsocket to my application. I am having one certificate file called myserver.cer Using my code i got all the details about certification file . Now i created instance for SSLContext like below. SSLContext sc = SSLContext.getInstance(SSL); If i used this in my code i got

[android-developers] Focus Hover On App Icon?

2010-02-19 Thread Nick Owens
Oh Holy Experts: I'm wondering if there's any way to switch out the application icon the main category, when the focus scrolls over it. I'm not sure if I could send a screenshot through this user group; if I could, you would see that our design guys in their infinite wisdom chose Droid Hover

[android-developers] Video doesn't appear in SurfaceView using MediaPlayer

2010-02-19 Thread Javed
Hello, I am writing a Video-player Application. I have created SurfaceView, implemented necessary callbacks. I create my MediaPlayer object by 'new' in the surfaceCreated callback just to be sure about creation of surface. Then I passed the surface handler to media player object by

[android-developers] java.security.NoSuchAlgorithmException: SSLContext SSL implementation not found

2010-02-19 Thread Android-kums
Hi All, I want to use sslsocket to my application. I am having one certificate file called myserver.cer Using my code i got all the details about certification file . Now i created instance for SSLContext like below. SSLContext sc = SSLContext.getInstance(SSL); If i used this in my code i got

[android-developers] Re: How to lookup in contacts table for the contact of the incoming sms

2010-02-19 Thread AndroidRef.com
Manoj, I've tried twice to post an answer, but I still don't see it. It may be because this is my first post, and it's in the process of being moderated, but just in case, I'll try a third time. Does this work for you (SDK 2.1): // // Find contact based on name. // ContentResolver cr =

[android-developers] launch the keyguard screen

2010-02-19 Thread Will
Hi, I'm trying to launch the keyguard from my activity, is it possible ? Before, I tried to emulate the ENDCALL key, but i got the permission error INJECT_EVENT, even if I added it to my manifest. I read that the plateform doesn't allow it. So, I tried to disable / reenable the keyguard in

[android-developers] ImageView.setDrawable does not work

2010-02-19 Thread Deekshit
Hi all, When I try to set image using iv.setImageDrawable( getResources().getDrawable(R.drawable.up)); iv.setAdjustViewBounds(true); iv.setLayoutParams(new Gallery.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); the image view still shows the image which I

Re: [android-developers] Re: In-app payment options

2010-02-19 Thread Angel Cruz
Wouldn't the paid version have more features than a free one? The free one should be fully functional, but is more of an appetizer for main course (the paid version). Also, as the paid version ages and is being retired, some turn them into free version eventually. On Fri, Feb 19, 2010 at 9:12

RE: [android-developers] Custom ListView

2010-02-19 Thread Nick Owens
Dan: I don't know if it's right or best practice, but for this type of complicate layout, I choose to get away from the XML and build my layouts programmatically. I have a similar list, and when I need to show a Category header, I just call the following function during the build: private

[android-developers] Re: AudioTrack lag

2010-02-19 Thread Bob Kerns
Why do you have to call allocate/release? Why not just allocate enough for your purposes, and suballocate within? I can definitely see that it'd be a pain to maintain both blocking and non-blocking versions of your code. Even the cognitive shift would be a pain. But aside from that, my

Re: [android-developers] Focus Hover On App Icon?

2010-02-19 Thread Mark Murphy
Nick Owens wrote: I'm wondering if there's any way to switch out the application icon the main category, when the focus scrolls over it. I'm not sure if I could send a screenshot through this user group; if I could, you would see that our design guys in their infinite wisdom chose Droid Hover

[android-developers] Re: WakeLock finalized while still held?

2010-02-19 Thread nikhil
I am doing similar stuff and I hold on to the Partial WakeLock inside the onCreate method and release it onDestroy. When I tried to hold the wakelock anywhere outside onCreate my service died out. Also I have made my servive a foreground service. Everything works fine now. Are you doing similar

[android-developers] File system access triggers / listener on Android devices

2010-02-19 Thread guillouau
Hello, I'm looking for some ways to intercept File System Access operations like Read and Write a file. So that i can catch these events from an Android App. (background service for ex.). I don't have found any possible events and listener that i can use to listen to file system access on the

RE: [android-developers] Re: WakeLock finalized while still held?

2010-02-19 Thread Nick Owens
Nikhil: I did figure it out. I had mine being created in onStart(). I now declared it as a class field, create in on onCreate() and release it in onDestroy(). Funny thing, it never gets released this way. It seems backwards at first. The Android just has some seriously Diligent GC! In most

[android-developers] Re: Disable RadioGroup ?

2010-02-19 Thread DonFrench
Or you could make them invisible but that isn't the same thing as just disabling them of course. On Feb 19, 4:39 am, Mark Murphy mmur...@commonsware.com wrote: Atif Gulzar wrote: Hi How can I disable RadioGroup, means all the radio buttons should e disabled. I already tried setEnabled

[android-developers] KEYCODE from Android phone

2010-02-19 Thread Porting beginner
Hi, As I am struggling to know the KEYCODE for headset button press , I am trying to check any Android phone currently in market to get this KEYCODE. is that possible and helpful to do so ? Please let me know if I am missing something here. -- Thanks -- You received this message because

RE: [android-developers] Focus Hover On App Icon?

2010-02-19 Thread Nick Owens
Mark: Thanks for the quick reply. Maybe I'm just getting too nit-picky! I have a dev list a mile long and I'm worried about this - I sh9ould have my head examined. I went ahead and tested it out. I add the following XML to the project drawables: selector

  1   2   >