[android-developers] Is soapAction mandatory or leftblank

2011-11-04 Thread arun kumar
for wsdl file they given as soapAction= it is mandatory field or it can be left blanc...actually soapAction will be defined as (namespace/mathodname). wsdl:operation name=ZemptrackEarnOview soap:operation soapAction= style=document/ wsdl:input -- You received this message because you are

[android-developers] How To(Interesting) : Cross Compiling and Using Gtreamer Commands on the Android Phones/Tablets

2011-11-04 Thread s.rawat
Hi, I know there has been stagrefright and open core inside the Android Multimedia Framework.But Now I am trying to use the audio/video streaming functionalities using the *gstreamer* commands(as well c application for them) in the adb shell. For example wheni pluggedin a web cam in my ubuntu

[android-developers] SMPP over android

2011-11-04 Thread androidgeek
Can I implement SMPP (Simple message peer-to-peer) over android. If yes, How ? Looking for an early reply Regards, AndroidGeek -- 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] Icon Sets

2011-11-04 Thread s.rawat
you can try icons from www.softicons.com to avoid this.Sorry for not giving you the expected answer. ..pain is temporary.quitting lasts forever.. On Fri, Nov 4, 2011 at 11:20 AM, Michael Leung michaelchi...@gmail.comwrote: Hi all, Does anyone know if I buy a Royalty-free icon set,

Re: [android-developers] Icon Sets

2011-11-04 Thread Michael Leung
That is free for personal use only. I am looking a icon set for my company. On Fri, Nov 4, 2011 at 4:09 PM, s.rawat imsaurabhra...@gmail.com wrote: you can try icons from www.softicons.com to avoid this.Sorry for not giving you the expected answer. ..pain is temporary.quitting lasts

Re: [android-developers] Icon Sets

2011-11-04 Thread Miguel Morales
It depends on the license of the artwork I believe. If you're going to purchase art, it's always good to retain the copyright so that you can use it as you wish. That's why sometimes it might be better to pay an artist for a custom set than using licensed images. On Thu, Nov 3, 2011 at 11:13 PM,

Re: [android-developers] Icon Sets

2011-11-04 Thread s.rawat
Agreed !! ..pain is temporary.quitting lasts forever.. On Fri, Nov 4, 2011 at 11:57 AM, Miguel Morales therevolti...@gmail.comwrote: It depends on the license of the artwork I believe. If you're going to purchase art, it's always good to retain the copyright so that you can use it

Re: [android-developers] Icon Sets

2011-11-04 Thread Michael Leung
Thanks! On Fri, Nov 4, 2011 at 4:27 PM, Miguel Morales therevolti...@gmail.comwrote: It depends on the license of the artwork I believe. If you're going to purchase art, it's always good to retain the copyright so that you can use it as you wish. That's why sometimes it might be better to

Re: [android-developers] Icon Sets

2011-11-04 Thread Michael Leung
How about to use Public domain icon Such as openclipart.org On Fri, Nov 4, 2011 at 4:32 PM, s.rawat imsaurabhra...@gmail.com wrote: Agreed !! ..pain is temporary.quitting lasts forever.. On Fri, Nov 4, 2011 at 11:57 AM, Miguel Morales therevolti...@gmail.comwrote: It depends

[android-developers] Programmatically installing APK question

2011-11-04 Thread Ash
Hi All, We have developed an application for a rooted Android 2.2. The application starts automatically after Android is booted and continues to run forever. There is no way for the user to exit the application (unless the app crashes for any reason). We are able to update the application

[android-developers] Re: SMPP over android

2011-11-04 Thread Zsolt Vasvari
As thy would say on Pawn Stars: What are your concerns about this? On Nov 4, 2:08 pm, androidgeek itestandroid@gmail.com wrote: Can I implement SMPP  (Simple message peer-to-peer) over android. If yes, How ? Looking for an early reply Regards, AndroidGeek -- You received this

[android-developers] Hiding Android Home Screen

2011-11-04 Thread Ash
Hi All, Is there a way to hide the Android home screen at boot up (e.g. put a black canvas / remove all icons and the lock buttons). We have developed an application for a rooted Android 2.2. The application starts automatically after Android is booted. However, there is small window before

[android-developers] How to specify rmnet0?

2011-11-04 Thread fycd
I find that my rmnet0 is Link encap:UNSPEC how can I specify it as Ethernet ? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Re: Play content of phone on PC browser

2011-11-04 Thread Sunil Mishra
Hi Diego, I have developed a server app, so that we can access the contents of the phone from any connected device using web browser. Currently i am testing with PC's web-browser. So could you please help in that context? On Nov 3, 9:43 pm, Diego Torres Milano dtmil...@gmail.com wrote: Mount

[android-developers] Re: Playing in memory WAV file

2011-11-04 Thread Doug
Find the PCM data in the WAV and write it to an AudioTrack that is configured to play the PCM data (channels, rate, etc). Doug On Nov 1, 8:22 am, Joey Studwell joeystudw...@gmail.com wrote: I've been reading quite a bit and I can't find a great answer, but it seems like what I want to do

[android-developers] Dynamically add layout xml

2011-11-04 Thread nageswara rao rajana
Hi, when i click on button a layout xml file should added to the existing layout. Please any one help me. with regards, Nagu. -- 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: Hook event listeners for activity/application lifecycle events

2011-11-04 Thread Doug
On Nov 2, 8:54 pm, Miles miles_christ...@yahoo.com wrote: So is there a way to hook event listeners for lifecycle events? Not really. You can write your own subclass of Activity that accepts a listener for events and hook it all up yourself. Then you can have all your actual activities that

[android-developers] customized date picker

2011-11-04 Thread vani reddy
Hi friends, I have implemented custom date picker:I am setting the day, month and date. I have set the dayscount to be 90. When it crosses Dec31st 2011 it shows Jan 1st 2011, but it should jan1st 2012.I am setting it in the adapter. Here is the adapter class. private class

[android-developers] Re: Dynamically add layout xml

2011-11-04 Thread skink
On Nov 4, 8:26 am, nageswara rao rajana nagu.raj...@gmail.com wrote: Hi,    when i click on button a layout xml file should added to the existing layout. Please any one help me. with regards, Nagu. see: http://developer.android.com/reference/android/view/LayoutInflater.html pskink --

[android-developers] ResolverActivity HierarchyView tool causes system_server crash and device rebooting

2011-11-04 Thread Gary Wang
Dear Romain, I found ResolverActivity sometime will not be displayed correctly in Honeycomb 3.2.1 (only dim layer is rendered without its dialog). When HierarchyView tool try to connect to the view layers, the device will be rebooted. E/AndroidRuntime( 131): *** FATAL EXCEPTION IN SYSTEM

Re: [android-developers] graphical layout problem

2011-11-04 Thread ANKUR GOEL
i got the solution : right click xml -- open with--- android layout Editor problem solved On Fri, Nov 4, 2011 at 2:01 AM, ANKUR GOEL ankur1...@gmail.com wrote: Hi , it doesnt work with this solution .. On Thu, Nov 3, 2011 at 10:00 PM, suresh achari sureshmca.sv...@gmail.comwrote:

[android-developers] Applying a text appearence to an item

2011-11-04 Thread wyo
Why are developer documentation always so ridiculous low on samples. I tried to figure out how to add the TextAppearanceMedium to a TextView in an XML yet there's not a single hint in the whole docs (or it's impossible to find it). Sure there's a sample how to create a style yet I don't want to

[android-developers] Re: Applying a text appearence to an item

2011-11-04 Thread wyo
How can I set the textAppearence to Medium generally for all my items? I'm amazed this isn't the default. On 4 Nov., 09:49, wyo otto.w...@orpatec.ch wrote: Why are developer documentation always so ridiculous low on samples. I tried to figure out how to add the TextAppearanceMedium to a

[android-developers] Re: graphical layout problem

2011-11-04 Thread Cha
Hi all I tried your solution but it's not work. I use EClipse 3.6.1 / API2.3.3 (10) When Open Layout I got message Failed to load the LayoutLib: com.android.resources.ResourceType -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Newly installed widgets are not runnable on Honeycomb

2011-11-04 Thread sincere6
Hi, I developed the widget app that runs on honeycomb OS. (Actually the hardware is Samsung Galaxy Tab.) When I installed the developed widget, it should be in the list of runnable widget list by pressing desktop screen for a few seconds. But it's not. Only the OS reboot solves the problem.

[android-developers] There is some android component that distribute text as news paper column?

2011-11-04 Thread Fabian Ricardo Rodrìgueza Avellaneda
I'm making an android app that looks like a news paper, and obviously the distributions text have to be as columns. Could you imagine the new york time web app? Something like that. So I'm looking into some property in some component that i can configure to do it, or maybe some library or

[android-developers] how to convert imagetview(ex maytinh.png) to bitmap

2011-11-04 Thread gautruc
help me: check my code: package com.khmt2k3.xuantung.imageview; import android.app.Activity; import android.os.Bundle; import android.widget.ImageView; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; public class ImageViewActivity extends

[android-developers] Re: Native Development Kit build for ZeroMQ Java binding rejected by Dalvik

2011-11-04 Thread Jonathan S
It is trying to open /data/data/org.donpark.zmqdog/lib/ibjzmq.so I thought it supposed to be /data/org.donpark.zmgdog/lib/ibjzmg.so -- 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] same problem

2011-11-04 Thread Alex K.
Hi, I was developing my game on phones only. Then I tried it on a tablet PC HannsPad. It has a 10.1 inch display but it runs with a density of 120. That means it uses bitmaps from drawable-ldpi. The game looked on the tablet pc aweful with density of 120 dpi. I tried the same way as you to change

[android-developers] Photo storage on Android device

2011-11-04 Thread Drew de la Hunt-James
I'd like to know where the default storage place on my Android device is, of the photos I work on in Adobe Photoshop Express. I'm also battling to find and import the photos held in the Bluetooth folder into Photoshop Express. Any ideas? -- You received this message because you are subscribed

[android-developers] Is it possible to add a GLSurfaceView to ViewGroup without making screen go black

2011-11-04 Thread Frank L
Dear All, I have a ViewGroup (V) that is the Activity's content view and I draw on the V's Canvas directly. At runtime, I create a GLSurfaceView (G) whose initial content is set to be the same as the V. Then I call V.addView(G) to add G to the top of V. I expect this to be a smooth transition and

[android-developers] Re: Limiting cache size of an Adapter

2011-11-04 Thread Naeem
Are you cleaning things up properly? I think you're not freeing memory as you move along, could be a case of unclean global members. -- 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] Transactions in a ContentProvider

2011-11-04 Thread Flávio Faria
Hi guys, I have a ContentProvider in my app that wraps an SQLite database. I'm wondering what is the best way to call insert(), update(), delete() and query() inside a database transaction. Is it possible? Is there any workaround? bulkInsert() doesn't help since it only makes insert() calls.

Re: [android-developers] How to get this to wrap?

2011-11-04 Thread Conexia Mobile
Have you tried with layout-weight? 2011/11/3 darrinps darri...@gmail.com I have two TextViews. One to the left of the other. The first can hold a very long name and the other is pretty much fixed in width. If the name is very long I want it to wrap to the next line but I cannot seem to get

[android-developers] making keypad (soft input) as modal

2011-11-04 Thread Niraj
Can we make keypad / soft input as modal i have number of edit text over single activity when a single edittext is being edited i don't want user to navigate away to other edittext/buttons until he is finished (pressed done) does any one know how to get this done thanks in advance -- You

[android-developers] Android browser gets stuck when downloading files

2011-11-04 Thread arh
I have this very specific request that I need to implement. We are working on an application that lets users attach several different type of files (pdf, jpg, png, doc, txt, etc). I need to be able to download the file using Android's default browser. Here's the problem I have: the URL I get from

[android-developers] Unable to write the SD card from emulator

2011-11-04 Thread sam
I'm using windows vista and Eclipse for developing. I write the simple code to download a file and store it on my sd card. But i'm getting exception (File not found exception) Here is my code public void downloadNewapk () { try { URL url = new

[android-developers] Re: TCP Socket communication between C# and Android

2011-11-04 Thread Tonez
Thanks for the responses. Serene is spot on, sending a newline character does the trick. My while loop continues execution if a newline character is received and within the while loop I added a check for this and break out of it to continue code execution. Thank you all again for the help! On

[android-developers] Re: Change PPI (pixel per inches) of PNG file in Android

2011-11-04 Thread Trung Nguyen Thanh
I find this library but can not use it. http://code.google.com/p/sanselanandroid/ On Nov 4, 8:47 am, Trung Nguyen Thanh tr4...@gmail.com wrote: Your mean is ExifInterface, right? :(http://developer.android.com/reference/android/media/ExifInterface.html Im going to die now. Just only

[android-developers] Extract device phone number in international format

2011-11-04 Thread Phil Bayfield
Hi, Is anyone aware of a way to extract the device phone number in an international format? I can get the number using TelephonyManager but this returns the local formatted number. Alternatively, perhaps there is a library I can import and use for this purpose to use the country ISO and local

回复:Re: [android-developers] How to get this to wrap?

2011-11-04 Thread ctpxyza
yes,you are right,because system can only load the 2nd textview after the 1st textview displayed.So wrap_content here may reach max length of the line.Maybe you can use weight or length to limit the first textview. - 原始邮件 - 发件人:Conexia Mobile conexia.mob...@gmail.com

[android-developers] Re: how to convert imagetview(ex maytinh.png) to bitmap

2011-11-04 Thread ctpx...@sina.com
yes,you are right,because system can only load the 2nd textview after the 1st textview displayed.So wrap_content here may reach max length of the line.Maybe you can use weight or length to limit the first textview. On Nov 4, 3:04 am, gautruc gautrucit...@gmail.com wrote: help me: check my code:

[android-developers] Re: How to find which drawable folder is being used??

2011-11-04 Thread Marcel Arts
Hello anyone, I want to know more about this issue too! Does anyone can give 'us' more info about the 3 drawable folders? (hdpi,ldpi and mdpi) Witch drawable resource will the cellphone/ tab use? grtz, Marcel On Nov 2, 7:31 am, Shashidhar shashi.zep...@gmail.com wrote: Hi,   Is there a

[android-developers] Re: How to get this to wrap?

2011-11-04 Thread ctpx...@sina.com
weight maybe work. On Nov 4, 6:31 am, darrinps darri...@gmail.com wrote: I have two TextViews. One to the left of the other. The first can hold a very long name and the other is pretty much fixed in width. If the name is very long I want it to wrap to the next line but I cannot seem to get

Re: [android-developers] customized date picker

2011-11-04 Thread Ratheesh Valamchuzhy
can u give me all the code to debug. -- 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] Fwd: customized date picker

2011-11-04 Thread vani reddy
-- Forwarded message -- From: vani reddy vani.reddy.bl...@gmail.com Date: Fri, Nov 4, 2011 at 1:14 PM Subject: customized date picker To: android-developers@googlegroups.com Hi friends, I have implemented custom date picker:I am setting the day, month and date. I have set the

[android-developers] binary SMS on android

2011-11-04 Thread lbendlin
For #3 you could base64 encode your data. Not sure what happens if the encoded string is longer than 140 characters. -- 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

[android-developers] Application incompatible when trying to install on Galaxy 10.1

2011-11-04 Thread Jovish P
In our application , we are showing details of customer such as phone number , email id , address. When he clicks on phone number we are initiating call, email means opening the native email client and if it is address we are mapping that address in Google maps. supports from 1.6 We are adding

[android-developers] There is some android component that distribute text as news paper column?

2011-11-04 Thread lbendlin
I guess this is your lucky day - you will be the first one to develop this. I would start with finding out how many columns to display on the current device and screen resolution ( don't be silly and try to cram more than one column onto a phone in portrait). Then I would make the first column

[android-developers] pass app http trafic through a proxy installed on my pc

2011-11-04 Thread lbendlin
Why go through all the hassle? Why not simply install a network monitor on your PC and listen to the http traffic on the network while your Android device is connecting over WiFi? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: ContentProviderResult[] delete fail or success

2011-11-04 Thread Cel
there seems to be no documentation on this, any ideas please? -- 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] CTS for NON mobile devices

2011-11-04 Thread MMS
I want to run CTS on NON mobile devices (STB). The STB do not have BT,Wi-fi,3G,Gyrometry and Touch sensor. I want to connect all these devices through USB dongle and run CTS for the same. Will the CTS for these devices (connected through USB dongle) will pass ? Do i need to do any additional

[android-developers] Re: Parse JSON to Grid Layout

2011-11-04 Thread Ali Chousein
Parsing JSON and populating a grid layout are completely different things and you should approach them separately. Step-1: Parse your JSON object Step-2 Populate your grid layout with the data of step-1. You can find plenty of online examples for either of them.

[android-developers] Re: Scenario where initLoader() does not call onLoadFinished()

2011-11-04 Thread kaciula
It turns out that the new revision fixed part of the problem but the bug still remains in some cases. If you take the code I posted and run it, press the button to launch the new activity, switch orientations only once and then press BACK, it shows the wrong value. The idea is to press BACK

[android-developers] Re: Application in memory card

2011-11-04 Thread kalandar
Thank you mark On Nov 2, 5:21 pm, Mark Murphy mmur...@commonsware.com wrote: http://developer.android.com/guide/appendix/install-location.html On Wed, Nov 2, 2011 at 8:11 AM, kalandar kasimk...@gmail.com wrote: hi friends,      Is there a way to install app in android external

[android-developers] dynamic gallery array

2011-11-04 Thread ANKUR GOEL
How to get dynamic array for gallery .. i am downloading images from server -- 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

Re: [android-developers] Unable to write the SD card from emulator

2011-11-04 Thread TreKing
On Fri, Nov 4, 2011 at 12:33 AM, sam urweeras...@gmail.com wrote: But i'm getting exception (File not found exception) As the name implies, the system cannot find the file you specified. If you're looking to create a new file to write to, you must do exactly that: create it if it doesn't

[android-developers] Android CustomizableTab with intent not working .

2011-11-04 Thread Ashish Tiwari
Hi friends, I'm making Customizable android Tab's,and it works fine without adding Intent but when I set the intent it I didn't understand where I'm making mistake .. Here is codes , or check this pastebin link http://pastebin.com/yeEP0rwH public class CustomTabActivity extends

[android-developers] re:Google Maps

2011-11-04 Thread jaggu
Hi How to get the map api key :because of my url is like ajax with javascripit combination : even when extends MapActvity also not coming in my activity class how to get that please help urgent this.. Thanks Jagadeesh -- You received this message because you are subscribed to the Google

[android-developers] ThreadPoolExecutor stop tasks onPause

2011-11-04 Thread viktor
Hi, need the best advice how to manage ThreadPool. I want to stop the tasks when ListView is scrolling. If I do ThreadPoolExecutor.shutdownNow(). The pool is terminated and doesn't want execute the tasks again. How to correctly stopping the tasks? -- You received this message because you are

[android-developers] Re: Android CustomizableTab with intent not working .

2011-11-04 Thread Ashish Tiwari
Hey sorry, Actually I was forget to extend TabActivity. Now problem is solved . :) public class CustomTabActivity extends Activity { /* codes */ } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Android CustomizableTab with intent not working .

2011-11-04 Thread Ashish Tiwari
public class CustomTabActivity extends TabActivity { /* codes */ } -- 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

Re: [android-developers] Re: How to find which drawable folder is being used??

2011-11-04 Thread Shashidhar
Hi, I found a weird ways of finding this. We can place three completely different images(ex: cat, pig, elephant :-) ) with same name in each of the folder. In your app use this image on UI. When you run the app now, you will be able to find which drawable folder is being used based on the image

[android-developers] Sample ContactManager crashes again

2011-11-04 Thread wyo
After successful running the ContactManager on my phone, I tried to change it a little bit to show other information. I changed ContactsContract.Contacts.DISPLAY_NAME with ContactsContract.CommonDataKinds.Organization.COMPANY both when using SimpleCursorAdapter and managedQuery yet it crashes

Re: [android-developers] Newly installed widgets are not runnable on Honeycomb

2011-11-04 Thread Mark Murphy
On Fri, Nov 4, 2011 at 2:32 AM, sincere6 metal...@gmail.com wrote: I developed the widget app that runs on honeycomb OS. (Actually the hardware is Samsung Galaxy Tab.) When I installed the developed widget, it should be in the list of runnable widget list by pressing desktop screen for a few

Re: [android-developers] Hiding Android Home Screen

2011-11-04 Thread Mark Murphy
On Fri, Nov 4, 2011 at 2:45 AM, Ash anan...@gmail.com wrote: Is there a way to hide the Android home screen at boot up (e.g. put a black canvas / remove all icons and the lock buttons). We have developed an application for a rooted Android 2.2. The application starts automatically after

Re: [android-developers] Programmatically installing APK question

2011-11-04 Thread Mark Murphy
On Fri, Nov 4, 2011 at 2:42 AM, Ash anan...@gmail.com wrote: We have developed an application for a rooted Android 2.2. The application starts automatically after Android is booted and continues to run forever. There is no way for the user to exit the application (unless the app crashes for

[android-developers] When Android 4 SDK will be compatible with Java 7?

2011-11-04 Thread sblantipodi
As title. is there an OTA for Java7 support? -- 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] Animations in ListView (Android 3+)

2011-11-04 Thread BoD
Hi! I am looking at how to implement nice animations in a ListView for an app targeting Android 3 and more. Specifically, I would like to implement the same behavior that can be seen in the Gmail app when an item is deleted or archived: the other elements of the list smoothly move to fill the

Re: [android-developers] When Android 4 SDK will be compatible with Java 7?

2011-11-04 Thread David Turner
On Fri, Nov 4, 2011 at 1:39 PM, sblantipodi perini.dav...@dpsoftware.orgwrote: As title. is there an OTA for Java7 support? There is strictly no ETA at the moment, so don't count on it for now (OTAs are a different thing I believe ;-)) Also there is a difference between being able to build

Re: [android-developers] customized date picker

2011-11-04 Thread ramesh mandare
please give me code On Fri, Nov 4, 2011 at 4:15 PM, vani reddy vani.reddy.bl...@gmail.comwrote: Hi, Check out the code I have attached. On Fri, Nov 4, 2011 at 3:52 PM, Ratheesh Valamchuzhy android...@gmail.com wrote: can u give me all the code to debug. -- You

Re: [android-developers] There is some android component that distribute text as news paper column?

2011-11-04 Thread John Davis
On Fri, Nov 4, 2011 at 6:57 AM, lbendlin l...@bendlin.us wrote: I guess this is your lucky day - you will be the first one to develop this.   I would start with finding out how many columns to display on the current device and screen resolution ( don't be silly and try to cram more than one

Re: [android-developers] Re: Hook event listeners for activity/application lifecycle events

2011-11-04 Thread John Davis
On Fri, Nov 4, 2011 at 3:30 AM, Doug beafd...@gmail.com wrote: On Nov 2, 8:54 pm, Miles miles_christ...@yahoo.com wrote: So is there a way to hook event listeners for lifecycle events? Not really. You can write your own subclass of Activity that accepts a listener for events and hook it all

[android-developers] Re: Limiting cache size of an Adapter

2011-11-04 Thread Streets Of Boston
Say you show a ImageViewFragment (which is a subclass of a Fragment) for each page in your ViewPager. Your ViewPager uses a FragmentPagerAdapter to handle the in-and-out swiping of ImageViewFragments. Implement these methods for your ImageViewFragment class: * @Override* * public void

[android-developers] Re: When Android 4 SDK will be compatible with Java 7?

2011-11-04 Thread sblantipodi
I want to mean ETA, not OTA. I'm sorry. I'm asking for the possibility to build my sources with Java7 and not to use the Java7 language when programming. On Nov 4, 2:13 pm, David Turner di...@android.com wrote: On Fri, Nov 4, 2011 at 1:39 PM, sblantipodi perini.dav...@dpsoftware.orgwrote:

[android-developers] Re: Change PPI (pixel per inches) of PNG file in Android

2011-11-04 Thread Streets Of Boston
That is actually my project, one of my old projects :) I use it in one of my apps (before ExifInterface became available). You can use it. :) But you can use ExifInterface as well, i think: You can't use one of the predefined tags (ExifInterface.TAG_), but you can call 'setAttribute' and

[android-developers] Re: Change PPI (pixel per inches) of PNG file in Android

2011-11-04 Thread Streets Of Boston
I just changed the license for SanselanAndroid to MIT. You're basically free to use it any way you like (read up on MIT License details for more info). -- 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: How to get this to wrap?

2011-11-04 Thread darrinps
That did it! I had it as Relative and had it working in the emulator at one time but it didn't on devices so I switched some things around and when I stripped those out I forgot to switch back the layout. Going back to relative then addind in the layout_toLeftOf=right view did the trick along

[android-developers] Re: ThreadPoolExecutor stop tasks onPause

2011-11-04 Thread Streets Of Boston
shutDownNow will cancel all the pending tasks and make the Executor unavailable for any future task submissions. Instead, you'd have to keep track to any Future you have scheduled (the value returned by an executor.submit(...) call). Call 'cancel(boolean)' on all the Futures that are still

[android-developers] Confused: which Android versions should we support, and how?

2011-11-04 Thread Zsombor
I'm currently working on an application for quite a few months now that should target the largest audience possible, all the way down to 2.2. But I'm getting increasingly confused about how exactly I should deal with the newer Android versions. I want to be able to use the new features introduced

[android-developers] Re: No luck with new ICS CalenderContract

2011-11-04 Thread Ralph
Hi Michael and thank you. Can you let us know the recommended way to subscribe a user to a public google calendar. For example, let's say you have a google calendar with public information. for example, some city alerts etc. data. We want to make it easy for the user to subscribe to the public

Re: [android-developers] Confused: which Android versions should we support, and how?

2011-11-04 Thread Mark Murphy
On Fri, Nov 4, 2011 at 10:14 AM, Zsombor scythe...@gmail.com wrote: And my code is currently full of conditional statements that check the current Droid version so I only use newer features (like drag-drop, etc.) if I'm able to. You may be able to clean that up by using interfaces: -- define

[android-developers] Re: There is some android component that distribute text as news paper column?

2011-11-04 Thread Fabian Ricardo Rodrìgueza Avellaneda
On 4 nov, 08:29, John Davis davi...@gmail.com wrote: On Fri, Nov 4, 2011 at 6:57 AM, lbendlin l...@bendlin.us wrote: I guess this is your lucky day - you will be the first one to develop this.  I would start with finding out how many columns to display on the current device and screen

Re: [android-developers] CTS for NON mobile devices

2011-11-04 Thread Tiago Maluta
On Fri, Nov 4, 2011 at 9:08 AM, MMS multimedia.shan...@gmail.com wrote: I want to run CTS on NON mobile devices (STB). The STB do not have BT,Wi-fi,3G,Gyrometry and Touch sensor. I want to connect all these devices through USB dongle and run CTS for the same. Will the CTS for these devices

Re: [android-developers] to move an image view along a bezier curve

2011-11-04 Thread TreKing
On Tue, Nov 1, 2011 at 8:57 AM, ruchira ruchira...@gmail.com wrote: I have drawn a bezier curve and I want my imageview which is a picture of a ball to follow the path traced by the curve and eventually fall to the ground.How do I do that? Write the code to do what you described. Your

Re: [android-developers] CTS for NON mobile devices

2011-11-04 Thread Mark Murphy
On Fri, Nov 4, 2011 at 11:19 AM, Tiago Maluta tiago.mal...@gmail.com wrote: Now about Market validation I don't know Google's policy to this kind of device since you must complain to Compatibility Definition Document(CDD). I'd like to know more. It's reasonably likely that the CDD for Android

[android-developers] Layout for zero-length strings in TextView

2011-11-04 Thread RLScott
My main activity has a RelativeLayout that includes some TextViews. The vertical position is determined by things like this in the XML: TextView android:id=@+id/name android:layout_height=wrap_content android:layout_width=fill_parent android:layout_alignParentTop=true

Re: [android-developers] Confused: which Android versions should we support, and how?

2011-11-04 Thread Kristopher Micinski
Awesome suggestions, thanks Mark! kris On Fri, Nov 4, 2011 at 10:33 AM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Nov 4, 2011 at 10:14 AM, Zsombor scythe...@gmail.com wrote: And my code is currently full of conditional statements that check the current Droid version so I only use

[android-developers] Re: Users cannot install my application because of incorrect signing

2011-11-04 Thread John Raftery
Ah, that is good to know. Thanks very much!! John -- 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: Problem in facebook logout

2011-11-04 Thread Ali Chousein
Probably you need to clear your cookies: CookieSyncManager cookieSyncMngr = CookieSyncManager.createInstance(context); CookieManager cookieManager = CookieManager.getInstance(); cookieManager.removeAllCookie(); - Ali Chousein Weather-Buddy

[android-developers] Re: Transactions in a ContentProvider

2011-11-04 Thread hoyski
On Nov 3, 3:59 pm, Flávio Faria flavioarfa...@gmail.com wrote: Hi guys, I have a ContentProvider in my app that wraps an SQLite database. I'm wondering what is the best way to call insert(), update(), delete() and query() inside a database transaction. Is it possible? Is there any

Re: [android-developers] Transactions in a ContentProvider

2011-11-04 Thread Pepijn Van Eeckhoudt
Override ContentProvider#applyBatch, start a transaction on your database, apply all the operations and then commit (or rollback) the transaction. The default implementation delegates each operation to the corresponding ContentProvider method so you can probably do this as: startTransaction

Re: [android-developers] Re: No luck with new ICS CalenderContract

2011-11-04 Thread Michael Chan
Hi Ralph, I wish I have a solution for you. That's not supported right now. The only (not so good) way is to use the browser. I will file an internal feature request if we don't have one already. Thanks, Mike On Fri, Nov 4, 2011 at 7:24 AM, Ralph fed...@gmail.com wrote: Hi Michael and thank

Re: [android-developers] Transactions in a ContentProvider

2011-11-04 Thread Kostya Vasilyev
My two cents: don't go through your own ContentProvider unless you need to. Use ContentProvider for exporting data to other apps, or, within the app, for very specific URIs that should trigger UI updates. For the rest of the data, that is, those db ops that don't need to trigger UI updates,

[android-developers] I need to open my my files in /data/data/{package-name}/files using QuickOffice in Android

2011-11-04 Thread ramya
Hi I need your help.Right now,I am struck in here. 1)My device does not have an sdcard. 2)In my app,I have MS files under my Internal Memory like ppt,xls and even pdf 3)I have quickoffice in my device. 4)When ever I launch a view intent using the appropriate Mime type ,I get the follwing error:

Re: [android-developers] I need to open my my files in /data/data/{package-name}/files using QuickOffice in Android

2011-11-04 Thread Mark Murphy
The files need to be MODE_WORLD_READABLE for third-party applications to access them. When you create the files, use openFileOutput() and specify MODE_WORLD_READABLE. On Fri, Nov 4, 2011 at 1:02 PM, ramya ramya@gmail.com wrote: Hi I need your help.Right now,I am struck in here. 1)My device

Re: [android-developers] I need to open my my files in /data/data/{package-name}/files using QuickOffice in Android

2011-11-04 Thread Mark Murphy
Or, create a small ContentProvider to serve up the files, and use content:// Uri values in your Intents to open them up. On Fri, Nov 4, 2011 at 1:06 PM, Mark Murphy mmur...@commonsware.com wrote: The files need to be MODE_WORLD_READABLE for third-party applications to access them. When you

[android-developers] Re: How to find which drawable folder is being used??

2011-11-04 Thread Marcel Arts
OK naturally, but can you force which resource the phone/tablet is gonna use? Which is default for cellphone/tablet and is there a automatic fallback from hdpi to mdpi and to ldpi? thx, Marcel On Nov 4, 1:13 pm, Shashidhar shashi.zep...@gmail.com wrote: Hi,  I found a weird ways of finding

[android-developers] Re: I need to open my my files in /data/data/{package-name}/files using QuickOffice in Android

2011-11-04 Thread ramya
I am so glad that I have reply from you.I tried the openFileOutPut option.Dunno why,It still said it dint have permission.Kind of weird . For Content Provider ,do I have to mention the provider tag in manifest.I have not worked on that before.Do you know of any examples of how to access my

[android-developers] android market language listings

2011-11-04 Thread John Goche
Hello, I wonder how come not all languages are supported for listings in android market. For instance I can see Chinese (Taiwan) but not Chinese (PRC), and I cannot see many other languages despite the mobile phones support many. What's up with this? John Goche -- You received this message

  1   2   >