Re: [android-developers] Eclipse errors in XML ... but where is the error? results

2011-07-11 Thread Xavier Ducrohet
Try to delete the error marker to see if that helps. If it doesn't show up again you'll be good. To delete: open the Problems view, select the error and hit delete. On Mon, Jul 11, 2011 at 11:35 AM, Jim Graham spooky1...@gmail.com wrote: I'm seeing two errors for one line in a string-array that

Re: [android-developers] Eclipse errors in XML ... but where is the error?

2011-07-11 Thread Jim Graham
On Mon, Jul 11, 2011 at 12:15:23PM -0700, Xavier Ducrohet wrote: Try to delete the error marker to see if that helps. If it doesn't show up again you'll be good. It didn't reappear until I did a refresh and tried to build the project. Then the exact same errors came back. Suggestions?

[android-developers] Re: Scrolling views horizontally

2011-07-11 Thread Y
I guess I kind of assumed that because most of the examples out there seemed to use a button to flip views. I was wondering if ViewFlipper or HorizontalScrollView would suit the feature I described above. I guess I'll have to try out both :) Thanks, Y On Jul 11, 3:10 pm, TreKing

[android-developers] Re: how to pass the path to the image file back to another activity

2011-07-11 Thread Kumar Bibek
What's your onActivityResult code like? On Jul 8, 7:06 pm, Shuyi suc...@gmail.com wrote:   This is my code. When I log uri, it can show the uri string, but when I try to get the path from the intent the log message shows null. What's wrong with it? Did I use something wrong?                  

[android-developers] AsyncTask vs. InternetService vs. Activity

2011-07-11 Thread Dayvid Victor
Hello Everybody, What I want to do is: - Create an WebComActivity that has an AsyncTask to make a web-request - In the AssyncTask use a ProgressDialog to show the status - When it ends the request (or times-up), make a setResult(RESULT_CODE) and finish WebComActivity Then, in the

[android-developers] Re: Custom Progress Bar

2011-07-11 Thread Kumar Bibek
http://techdroid.kbeanie.com/2010/04/custom-progressbar-for-android.html It's not perfect, but you will get an idea. On Jul 11, 9:19 pm, TreKing treking...@gmail.com wrote: On Mon, Jul 11, 2011 at 2:27 AM, Atul Singh atulsingh7...@gmail.com wrote: Could anyone please guide me in doing this,

[android-developers] Re: web view

2011-07-11 Thread Kumar Bibek
WebView cannot render doc/pdf. You should be launching intents when someone hits those links. Moreover, the applications installed on the devices might not be able to (in some cases) download and render these files. In such scenarios, you would need to download the files yourself and then launch

Re: [android-developers] AsyncTask vs. InternetService vs. Activity

2011-07-11 Thread TreKing
On Mon, Jul 11, 2011 at 2:27 PM, Dayvid Victor victor.d...@gmail.comwrote: How can I create WebComActivity (or WebComService if it's the case) without taking all the UI; What? - TreKing

[android-developers] converting RGB565 byte array to integer buffer generate wrong results

2011-07-11 Thread Qianqian Fang
hi I am working on an android program to process multiple frames of camera images. I used the setPreviewCallbackWithBuffer function and process the data inside the PreviewCallback. The code works generally ok, except the resulting data have weird values. I set the camera picture format to

[android-developers] Get gallery app to scan sd card for new images?

2011-07-11 Thread Mark Wyszomierski
Hi, If I create a folder on my sd card, and store images there (test.jpg etc), the built-in gallery app will see them whenever I restart the phone (nexus s, galaxy s). Is there a way to hint the gallery app to scan the sd card for media (a specific folder would be great). Otherwise I have to tell

Re: [android-developers] Get gallery app to scan sd card for new images?

2011-07-11 Thread Mark Murphy
http://stackoverflow.com/questions/2870906/adding-pictures-to-the-gallery-android On Mon, Jul 11, 2011 at 3:55 PM, Mark Wyszomierski mar...@gmail.com wrote: Hi, If I create a folder on my sd card, and store images there (test.jpg etc), the built-in gallery app will see them whenever I restart

Re: [android-developers] Eclipse errors in XML ... but where is the error?

2011-07-11 Thread Jim Graham
On Mon, Jul 11, 2011 at 02:21:28PM -0500, Jim Graham wrote: It didn't reappear until I did a refresh and tried to build the project. Then the exact same errors came back. Never mind...found it. Later, --jim -- 73 DE N5IAL (/4)MiSTie #49997 Running FreeBSD 7.0

[android-developers] Re: Get gallery app to scan sd card for new images?

2011-07-11 Thread Mark Wyszomierski
Perfect, thanks. On Jul 11, 3:59 pm, Mark Murphy mmur...@commonsware.com wrote: http://stackoverflow.com/questions/2870906/adding-pictures-to-the-gal... On Mon, Jul 11, 2011 at 3:55 PM, Mark Wyszomierski mar...@gmail.com wrote: Hi, If I create a folder on my sd card, and store

[android-developers] Re: how to press on a particular menu item using touch in monkeyrunner script?

2011-07-11 Thread Diego Torres Milano
Use its screen coordinates. On Jul 11, 10:20 am, frank franklin.f2...@gmail.com wrote: how to press on a particular menu item using touch in monkeyrunner script? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Disable external storage

2011-07-11 Thread garaus
There is a situation when user wants to make possible to lock/disable external storage, in other words make it not mountable until this option enabled after password entered. For instance when somebody's tablet has been stolen or lost when screen wasn't locked. Even if data encrypted it still will

[android-developers] Re: converting RGB565 byte array to integer buffer generate wrong results

2011-07-11 Thread Streets Of Boston
In the preview, the data is not RGB. It is yuv_420 or a similar format. Query the camera-parameters for the exact format and decode the data accordingly. -- 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] WebView - How can I block/deactivate all the links in a WebView after the content is loaded?

2011-07-11 Thread Nicolas Copernico
Hi all, I've got a brief question for you, something is driving me crazy and couldn't find anything after checking Android Devs Reference. I'm using a webView to load a simple html site that has a javascript file. It's all well displayed on the app but the content also has links that I would

[android-developers] Re: SMS Broadcastreceiver not received when GO SMS Pro installed

2011-07-11 Thread Subba
Any luck on this issue? am facing the same issue... On Jul 3, 9:44 pm, Android Geek i...@textyapp.com wrote: I have implemented an SMS receiver which intercepts incoming SMS messages without any issues. However, when I install GO SMS Pro and set Disable other message notification, then my app

[android-developers] Re: Relative layout java

2011-07-11 Thread Robert Nekic
I've tinkered with it on and off today; some things work, like Align_Parent_Bottom but Below does not in this scenario. I'm not sure why. I'd say use a layout xml file and an inflater for as much of the layout as you can. Then grab find the views post-inflate and set the values you need. On

[android-developers] Help with ListView adapting

2011-07-11 Thread Giorgio Torres
Hi, I'm a beginner with android developing and i'm trying to implement a listactivity with rows which contain an image and a textview. For that, I've implemented a RowAdapter which extends the BaseAdapter class. The images i'm using is in the sdcard, and i'm over loading them into an activity

Re: [android-developers] Help with ListView adapting

2011-07-11 Thread TreKing
On Mon, Jul 11, 2011 at 4:30 PM, Giorgio Torres giorgio.tor...@yahoo.comwrote: I think something is wrong with my RowAdapter. I'd like if someone could help with that! What do you think is wrong with it? Explain your problem. If you want people to download your file and read through your code

[android-developers] Draw image at desired angle

2011-07-11 Thread source.rar
Is it possible to draw a image on a Canvas within a custom view at a desired angle? I have a PNG of a line and would like to have this drawn at a desired angle within my view, can't seem to figure out how this could be achieved though. Appreciate any help with this, TIA. -- You received this

[android-developers] Re: WebView - How can I block/deactivate all the links in a WebView after the content is loaded?

2011-07-11 Thread Nicolas Copernico
I also set several properties on main.XML WebView xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/webview android:layout_width=fill_parent android:layout_height=fill_parent android:layout_gravity=top android:focusable=false

Re: [android-developers] Help with ListView adapting

2011-07-11 Thread Giorgio Torres
Sorry with that. The problem is that i've never used that LayoutInflater class, and i kind don't know what exactly it is doing. Once, i tryed to create a ListMapString,? to bind the Item class, the one i'm trying to row it into the listview, but it didn't work as well, so i tryed to create an

[android-developers] APK Size

2011-07-11 Thread Ronoli
My first app..(GameCalls).. I spent many days creating images and layouts to cover the many screen sizes and densities including orientation changes. I created AVD'S to test tons of screens. I eventually felt pretty confident and now after testing on several devices, all my testing was

Re: [android-developers] Help with ListView adapting

2011-07-11 Thread TreKing
On Mon, Jul 11, 2011 at 4:44 PM, Giorgio Torres giorgio.tor...@yahoo.comwrote: The problem is that i've never used that LayoutInflater class, and i kind don't know what exactly it is doing. LayoutInflater inflates layouts =P Once, i tryed to create a ListMapString,? to bind the Item class,

[android-developers] Re: converting RGB565 byte array to integer buffer generate wrong results

2011-07-11 Thread Qianqian Fang
On Jul 11, 4:50 pm, Streets Of Boston flyingdutc...@gmail.com wrote: In the preview, the data is not RGB. It is yuv_420 or a similar format. Query the camera-parameters for the exact format and decode the data accordingly. hi thanks for your comment. In the ... part of my original post, I did

[android-developers] Does the in-app billing permission affect region availability?

2011-07-11 Thread Chris Stewart
I have a free application that I'd like to add an AdMob advertisement to. I'm planning on adding an in-app purchase option to remove the advertisement. If I do that, will my application now only be available to countries that support purchasing on the Market? Or, will everyone still be able to

Re: [android-developers] APK Size

2011-07-11 Thread TreKing
On Mon, Jul 11, 2011 at 4:47 PM, Ronoli javat...@gmail.com wrote: Here's my question: Since the Android system obviously detects screen size and density when it loads the apk file, does it or can it or will it ever install only the images needed for the particular device that it is being

[android-developers] Re: Relative layout java

2011-07-11 Thread JCC
owie... thanks for trying. I will try since the sex image is obtained is variable and I dont know how to send the variable image to the XML =S -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Relative layout java

2011-07-11 Thread JCC
owie... thanks for trying. I will try since the sex image obtained is variable and I dont know how to send the variable image to the XML =S -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Relative layout java

2011-07-11 Thread JCC
owie... thanks for trying. I will try since the sex image obtained is variable and I dont know how to send the variable image to the XML =S -- 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] Relying on other apps using intents - user perspective

2011-07-11 Thread Federico Paolinelli
Hi all, I have almost finished another unuseful but so funny to write app. This time I am heavily using some barcode scanning functionality, that I am stealing (well, borrowing) from barcode scanner. I followed the example suggested in zxyng library, which basically is check if you have some

Re: [android-developers] Does the in-app billing permission affect region availability?

2011-07-11 Thread Kostya Vasilyev
It seems that it doesn't. I once got an email from a user who wanted to make the in-app upgrade purchase, and his country was not on the list: http://www.google.com/support/androidmarket/bin/answer.py?hl=enanswer=143779 The rest of his device config checked out ok, including the Market

[android-developers] Strange emulator behaviour after installing 3.1 rev 2

2011-07-11 Thread jtoolsdev
I updated to everything new which included Android 3.1 revision 2 and the latest 12.0 SDK tools and ADT Plugin up to date. If I resize a 3.0 or 3.1 emulator the display is screwed up as if it is hatched 16 color. The emulator display is correct if I don't set a resize. Anyone else seeing

[android-developers] Re: Merge Path instances (graphics)?

2011-07-11 Thread roplacebo
What exactly is the problem? BTW, do you really need to use paths? For your code, simple drawLine()'s should do. Additionally, you might want to use PointF to make your code more readable. BTW, do you really need to use paths? Yes. For your code, simple drawLine()'s should do. This is a

Re: [android-developers] how to perfrom long press on screen, and how to get text on screen in monkeyrunner

2011-07-11 Thread Bill Napier
device.press('KEY_MENU', MonkeyDevice.DOWN_AND_UP) is what I think you want. I think the docs are currently incorrect. DOWN_AND_UP means to send both the down event and the up event, which should simulate a press of the button. On Mon, Jul 11, 2011 at 12:58 AM, frank franklin.f2...@gmail.com

Re: [android-developers] how to perfrom long press on screen, and how to get text on screen in monkeyrunner

2011-07-11 Thread Bill Napier
Oh, and there currently is no way to get text from the screen. It's something we are working on, but it's not yet ready. On Mon, Jul 11, 2011 at 3:31 PM, Bill Napier nap...@android.com wrote: device.press('KEY_MENU', MonkeyDevice.DOWN_AND_UP) is what I think you want. I think the docs are

[android-developers] Re: converting RGB565 byte array to integer buffer generate wrong results

2011-07-11 Thread Qianqian Fang
On Jul 11, 4:50 pm, Streets Of Boston flyingdutc...@gmail.com wrote: In the preview, the data is not RGB. It is yuv_420 or a similar format. Query the camera-parameters for the exact format and decode the data accordingly. problem found! it was caused by endianness of the data. By inserting

[android-developers] Re: converting RGB565 byte array to integer buffer generate wrong results

2011-07-11 Thread Streets Of Boston
Don't count on the hardware of the camera that it can handle RGB. Just get the preview-format and decode it accordingly (yuv format). -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Timeline/Track widget

2011-07-11 Thread Luís Lobo
/bump Sorry for the bump, the message was put in the bottom of the list (took 3 days to be moderated) Thanks in advance again, -- /LL -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Relying on other apps using intents - user perspective

2011-07-11 Thread Justin Anderson
I have never done any coding relating to bar code scanning, but it has become such a popular thing, that I'm sure most of the time they will have some kind of app that will do bar code scanning (I have two or three installed myself). I would probably try to come up with an intent that is generic

[android-developers] Re: Relying on other apps using intents - user perspective

2011-07-11 Thread Streets Of Boston
You can just embed the core library of ZXing in your own app. Then you can take a look at the code ZXing's android-client app and copy what you need. This embeds the scanner right into your app. Pro: no need for your users to download the ZXing app. Especially handy if you ever want to

[android-developers] DrawablePadding in a CheckedTextView add padding below the CheckedTextView

2011-07-11 Thread Adam Stroud
I have a list view that contains a list of CheckedtextViews where I set the drawableLeft to an image. I am trying to add some padding between the left image and the text withandroid:drawablePadding=10dip. My CheckedTextView not only has padding between the text and the image, but also below the

Re: [android-developers] Re: App not visible from Android Market on the device

2011-07-11 Thread Justin Anderson
* Android Market has behaved a bit strangely lately* * * Lately? * * Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sat, Jul 9, 2011 at 11:13 AM, Peter Sinnott psinn...@gmail.com wrote: Yesterday some apps had their descriptions in French but only on

Re: [android-developers] AsyncTask vs. InternetService vs. Activity

2011-07-11 Thread Dayvid Victor
I mean: I need to create one Activity that the UI is only a 'downloading status'. The download will be made by an AsyncTask. got it? On Mon, Jul 11, 2011 at 4:38 PM, TreKing treking...@gmail.com wrote: On Mon, Jul 11, 2011 at 2:27 PM, Dayvid Victor victor.d...@gmail.comwrote: How can I

Re: [android-developers] AsyncTask vs. InternetService vs. Activity

2011-07-11 Thread TreKing
On Mon, Jul 11, 2011 at 7:03 PM, Dayvid Victor victor.d...@gmail.comwrote: I mean: I need to create one Activity that the UI is only a 'downloading status'. The download will be made by an AsyncTask. got it? Sounds like you just want a progress dialog ...

[android-developers] Re: A large number of messages are being sent -- How to get around it?

2011-07-11 Thread inxis
Thanks for the response. I have tried sending fewer than 100 messages at a time but the pop-up still opens whenever I reach the limit, which is 100 messages. I set the application to send 1 message at a time and loop until all the messages are sent. After sending 10 messages, I commanded it to

[android-developers] Any news about large apps in the market?

2011-07-11 Thread James Moore
At the 24:10 mark in the video from Google IO, support for large apps in the market was announced, coming in June: http://www.google.com/events/io/2011/sessions/android-market-for-developers.html Any more recent news about this? -- You received this message because you are subscribed to the

[android-developers] Re: Bluetooth help

2011-07-11 Thread bob
I want to be able to program/debug my phone without a wire going from it to my PC. On Jul 11, 12:54 pm, Raghav Sood raghavs...@gmail.com wrote: Why do you want eclipse to detect your phone over bluetooth? AFAIK it doesn't support it, at least not natively. On Mon, Jul 11, 2011 at 11:19 PM,

[android-developers] Content change on a Gallery backed by a CursorAdapter

2011-07-11 Thread Vikram
I have a Gallery backed by a CursorAdapter. Here's a scenario: I am currently on the 0th position of the Gallery and the content of the cursor changes (1 row gets added to the cursor), which invokes the notifyDataSetChanged() and the new data is loaded. The gallery retains the currently displayed

[android-developers] Re: AsyncTask vs. InternetService vs. Activity

2011-07-11 Thread Vikram
Are you referring to the IntentService (http://developer.android.com/ reference/android/app/IntentService.html) when you say InternetService? On Jul 12, 3:27 am, Dayvid Victor victor.d...@gmail.com wrote: Hello Everybody, What I want to do is:    - Create an WebComActivity that has an

[android-developers] Re: about lock screen : is anyone using app named 'lookout'?

2011-07-11 Thread JK Park
can you give me hints more?? On 7월12일, 오전1시13분, Raghav Sood raghavs...@gmail.com wrote: I use it. It doesn't control the home screen. It just locks your device the same way the power button would. On Mon, Jul 11, 2011 at 9:36 PM, JK Park jkpar...@gmail.com wrote: I'm looking for any

[android-developers] Re: Draw image at desired angle

2011-07-11 Thread Vikram
Possible solution at http://stackoverflow.com/questions/6186011/how-to-draw-a-stroke-in-a-bitmap-using-canvas On Jul 12, 5:40 am, source.rar source@gmail.com wrote: Is it possible to draw a image on a Canvas within a custom view at a desired angle? I have a PNG of a line and would like

Re: [android-developers] Disable external storage

2011-07-11 Thread Dianne Hackborn
Not with a third party app. On Mon, Jul 11, 2011 at 1:35 PM, garaus m.shu...@gmail.com wrote: There is a situation when user wants to make possible to lock/disable external storage, in other words make it not mountable until this option enabled after password entered. For instance when

Re: [android-developers] Re: Merge Path instances (graphics)?

2011-07-11 Thread Nikolay Elenkov
On Tue, Jul 12, 2011 at 7:28 AM, roplacebo r.praeho...@googlemail.com wrote: Sorry, if can't read this simple example, you probably won't be able to help here anyway. OK... Here's another thought: if you post unreadable code an don't explain what your problem is clearly, you are unlikely to

Re: [android-developers] Re: Relying on other apps using intents - user perspective

2011-07-11 Thread Nikolay Elenkov
On Tue, Jul 12, 2011 at 8:16 AM, Streets Of Boston flyingdutc...@gmail.com wrote: You can just embed the core library of ZXing in your own app. ... Con: You need to do some coding yourself, although minimal. Another con: trying to take pictures reliably across different Android versions and

Re: [android-developers] Re: Bluetooth help

2011-07-11 Thread Kristopher Micinski
You should be able to do wifi debugging, but not Bluetooth. Why don't you want to use a wire? Are you developing a USB application? Kris On Mon, Jul 11, 2011 at 8:42 PM, bob b...@coolgroups.com wrote: I want to be able to program/debug my phone without a wire going from it to my PC. On

Re: [android-developers] Re: HttpClient only working on WiFi?

2011-07-11 Thread Nikolay Elenkov
On Mon, Jul 11, 2011 at 9:15 PM, Streets Of Boston flyingdutc...@gmail.com wrote: Wild guess... and i could be totally wrong: It could be a proxy returning an empty result for some reason. Try to set the HTTP caching headers in the request to no-cache:   Cache-Control: no-cache    and  

[android-developers] Re: A large number of messages are being sent -- How to get around it?

2011-07-11 Thread rich friedel
Are you using a physical device or the emulator when you are testing? -- 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] SMS Broadcastreceiver not received when GO SMS Pro installed

2011-07-11 Thread rich friedel
Yeah... Go SMS Pro really screws with things... the only thing I can figure is they are absorbing the incoming broadcast and somehow not letting it through so that other receivers can do what they need to do. Personally I would hope that this type behavior from an app would not be possible. It

[android-developers] Re: Draw image at desired angle

2011-07-11 Thread Adam Ratana
You can try: canvas.save(); canvas.rotate(angle, x, y); // x,y is the point around which to rotate // draw your image here... canvas.restore(); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Getting Discovered Bluetooth Devices List Returns Too Late

2011-07-11 Thread gjs
Hi, Have a look at http://developer.android.com/resources/samples/BluetoothChat/index.html In particular http://developer.android.com/resources/samples/BluetoothChat/src/com/example/android/BluetoothChat/DeviceListActivity.html And read this carefully

[android-developers] Re: How to check internet connection in background when application closed

2011-07-11 Thread gjs
Hi, Use a Service. Regards On Jul 12, 2:42 am, ashish keshri ashishkcusa...@gmail.com wrote: Hi     Can you please shareyour logic and code.    Thanks On Mon, Jul 11, 2011 at 4:19 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: On Mon, Jul 11, 2011 at 3:48 PM, N K

[android-developers] Listview listener

2011-07-11 Thread saurabh kulkarni
I have Listview containing 2 textviews: Name,(below name) Date. I want to edit,view Details,Send Email(On click retrive email from db and then passing it to email app) options on click of it. I have implemented OnClick method but its nt working.not getting data which was clicked . I have also

Re: [android-developers] Re: HttpClient only working on WiFi?

2011-07-11 Thread Navindian
I was also suggested to put eclipse network connection setting with proxy address, port and credentials. But that is not working. On Tue, Jul 12, 2011 at 8:26 AM, Nikolay Elenkov nikolay.elen...@gmail.comwrote: On Mon, Jul 11, 2011 at 9:15 PM, Streets Of Boston flyingdutc...@gmail.com wrote:

[android-developers] android receiver permission

2011-07-11 Thread yanamala siddaiah
android on istall permission is required for receiver . I want to display the notification when i install the app in our device. for that receiver which permissions and intent filters are required . thanks siddaiah -- You received this message because you are subscribed to the Google Groups

[android-developers] To integrate SSL certificate in android app

2011-07-11 Thread Sapna Srivastav
Hi In my application, there is need of SSL certificate to add and make an https connection in the android connection. I follow the steps from this link http://blog.antoine.li/index.php/2010/10/android-trusting-ssl-certificates/ but get exception and the logcat is as: 07-12 04:35:47.683:

Re: [android-developers] gps

2011-07-11 Thread Vinod Pache
try this link and follow the steps given in it On Mon, Jul 11, 2011 at 7:51 PM, Robin Talwar r.o.b.i.n.abhis...@gmail.comwrote: All keystores are file just check the path again and type carefully. this could be irritating for beginners On Mon, Jul 11, 2011 at 7:49 PM, Raghav Sood

<    1   2   3