[android-developers] Re: Pass ArrayList parameters between two activities.

2010-04-20 Thread Arpit
This works if I change the class Services from being Parceable to Serializable it works... I am not sure why... but between Activity when I am sending Serialized data it works but not if I send parceable data. Regards, Arpit On Apr 20, 10:31 am, Arpit robin.ca...@gmail.com wrote: Similar

[android-developers] Re: Could anyone with an HTC Desire/Droid help me

2010-04-20 Thread Zsolt Vasvari
Thanks, Bob. I believer I fixed this now. So much for not testing on a virgin device. On Apr 20, 10:56 am, BobG bobgard...@aol.com wrote: menu-newbook-forceclose on google devphone2 -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] clearing table

2010-04-20 Thread ranjit R
how to clear a table in android database. -- 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: requestLocationUpdates() Parameters question

2010-04-20 Thread patbenatar
Why would you need updates every instant? It's impossible for the user to move much more than a millimeter in that amount of time... Just use a realistic amount of time for your app, or use a distance if that makes more sense for your application. I'd recommend using a distance of like 1 meter if

[android-developers] How to add a View in Gallery?

2010-04-20 Thread javame_android
Hi, I have multiple listviews and would like to add those to Gallery View. I tried by using addView method but that is not supported in Gallery since its AdapterView. Can someone suggest me how to add views to Gallery? Regards Sunil -- You received this message because you are subscribed

[android-developers] Re: requestLocationUpdates() Parameters question

2010-04-20 Thread patbenatar
Oh, also... Why not just try your above code and see if it works? I think it will.. But I bet Android has some default minimum interval or something cause as said in my above post, getting updates every instant is quite pointless. On Apr 19, 10:19 pm, Nithin nithin.war...@gmail.com wrote: Hi,

[android-developers] Re: Quick Easy Question

2010-04-20 Thread patbenatar
Please define link... Are you referring to a clickable View with a click listener within your Android application? Or a link on a Website in Browser? If you're talking about a link in your application, AFAIK there is no plug-n-play audio player widget, but there is the MediaPlayer class that will

[android-developers] Re: notification

2010-04-20 Thread patbenatar
http://developer.android.com/reference/android/app/AlarmManager.html On Apr 19, 8:22 pm, ranjit R ranjitr...@gmail.com wrote: h  i want to create notification based on date (i.e) notification should  occur only on particular date. example: birthday notification on mobile .it notifies

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-20 Thread dgoemans
*stands up* Hi, my name's David, i'm in the Netherlands, and i haven't had a Nexus One for 7 weeks now. Seriously tho, i think we need to be calm and strong. They'll arrive ( hopefully before i move! ) and we just need patience. It is, after all a free gift, which after 2 years as a day job

[android-developers] Re: Background processes not being CPU-limited?

2010-04-20 Thread Bob Kerns
Mike, I'm with Robert on this one. Not because you're wrong -- you're not. But because most users don't really want to think about this stuff. I think that if they were asked if they want to enter game mode -- a single choice -- and they can either accept or decline, then users will either

[android-developers] Re: Access a Service across multiple Applications

2010-04-20 Thread madmax
Hi, I have been trying out the same things that you mentioned in your post. I've created a service from an application and on the onDestroy() of that application i'm unbinding the service. Now when i want to bind to the same service from another application, i get a SecurityException. The

[android-developers] Exception in setDrawingCache in Android 1.5?

2010-04-20 Thread javame_android
Hi, I am developing an application where I am using setDrawingCache and then once I get the Bitmap I destroy the cache by using destroyDrawingCache(). The application has been developed with Android SDK 1.6. When testing the application in emulator with Android 1.5 the application throws

[android-developers] Weird: It appears as if sometimes my Activity will be resumed but previously set instance variables are null

2010-04-20 Thread patbenatar
Hey all- I am using an Application object to store app-wide instance data--data that I need to remain in existence for the entire lifetime of the app, so the Application class seems like the proper place to put it. I have just finished reading this thread

[android-developers] Re: business card design in opn gles

2010-04-20 Thread tina lincon
any idea??? On Apr 15, 4:47 pm, Yahel kaye...@gmail.com wrote: Sorry to be that guy Most people on the list including me are not native english speakers. Your text seems to be in some kind of text message gibberish, can you try that again ? Yahel On 15 avr, 12:45, tina lincon

[android-developers] Re: Highlight part of the text in a textview object

2010-04-20 Thread patbenatar
You could TRY span bgcolor=redyour red highlighted text/span On Apr 19, 12:43 pm, sebastian23 sebastia...@gmail.com wrote: the problem is that your solution is only for the font color, but i want to set the font background :( -- You received this message because you are subscribed to

[android-developers] AppWidget Picker and ACTION_APPWIDGET_PICK

2010-04-20 Thread AndroidNewbie
Hi Guys Does anyone have idea about ACTION_APPWIDGET_PICK alias android.appwidget.action.APPWIDGET_PICK ? Where exactly this is handled ? Basically i want to pick the app widget bypassing picking it from standard list of installed widgets . Thanks Tarun -- You received this message because

[android-developers] Stroage of events in Calendar application in android 2.1

2010-04-20 Thread navin
Does the calendar application in android maintains a cache of its database?? Whenever i edit and mark some events via tha calendar app it is stored in the database but if i edit the calendar.db from some outside source the changes made are not reflected in the calendar app. so my question is does

[android-developers] Re: signal 11 SIGSEGV during onResume or onCreate

2010-04-20 Thread Bob Kerns
One suggestion: sprinkle your code with lots of calls to System.gc(). This MAY (or may not) cause the problem to manifest closer to where the corruption occurs. On Apr 19, 6:56 pm, davidm davidbmoff...@gmail.com wrote: Hello, I have been trying to figure this problem out for a few days now.  A

[android-developers] Dynamic Flipping Screen(like that of iPhone) in Android

2010-04-20 Thread Maxood
How can i make a dynamic flipping screen(like that of iPhone) in Android I am parsing data through the web service. I want the flipping horizontally rather than vertically. Here is a tutorial where ViewFlipper is used but it is for static data. Suppose we have 2 activities with their respective

[android-developers] Re: Dynamic Flipping Screen(like that of iPhone) in Android

2010-04-20 Thread MobDev
Do you mean a screen transition Animation ? On 20 apr, 09:17, Maxood maqs...@salsoft.net wrote: How can i make a dynamic flipping screen(like that of iPhone) in Android I am parsing data through the web service. I want the flipping horizontally rather than vertically. Here is a tutorial

[android-developers] Re: Background processes not being CPU-limited?

2010-04-20 Thread ani
Probably out of context but this issue looks similar to the thread shown below. http://groups.google.com/group/android-developers/browse_thread/thread/220248cd27e281c6/96ec2dd63c6850ab?lnk=gstq=AUDIO+STUTTERING#96ec2dd63c6850ab Audio stuttering problems in android.When somthing cpu intensive is

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-20 Thread Amir Alagic
@Ove You are not the only one. I know one good Android developer with one of the top apps in Android Market and now he almost stopped all work on that app and is moving to iPhone. He should get Nexus One but it only few hundreds of dollars while with good app on App Store one can earn thousands of

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-20 Thread Ove Olavgaard
It is, after all a free gift So what? If only the developers in US got a free phone that would not bother me. I got a mail from Google saying they would give me a free phone in 2-4 weeks! Great Then I dont have to purchase the phone Ive orginally planned, and I can test my new app on yet

[android-developers] Re: clearing table

2010-04-20 Thread grace
hi, use the sql statements to drop the table. On Apr 20, 11:14 am, ranjit R ranjitr...@gmail.com wrote: how to clear a table in android database. -- 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: clearing table

2010-04-20 Thread grace
either u can use delete tablename with all other parameters as null.. if u want to delete all the entries of the table. On Apr 20, 11:14 am, ranjit R ranjitr...@gmail.com wrote: how to clear a table in android database. -- You received this message because you are subscribed to the Google

[android-developers] Re: Audio stuttering when using AudioTrack.

2010-04-20 Thread Jesper Hansen
I found the solution to my problem: Service.startForeground. This call makes sure my background service will keeps its priority when its running in the background. The SDK has a nice example that works across all API levels:

[android-developers] C/C++ Displaying Video: How to?

2010-04-20 Thread Ignas
Hello experts! I am porting an existing C/C++ application (many many man-years of development), which is designed to be a background-running service. Based on user's (other applications: mostly Android Java, but possibly in future, Flash or even JavaScript in browser) input it requires to display

[android-developers] Dialog display at bottom of Screen

2010-04-20 Thread Nithin
Hi, The dialog(android.app.Dialog) normally pops up in the center of screen. Can we make the dialog to come in the bottom of screen. Nithin -- 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: Weird: It appears as if sometimes my Activity will be resumed but previously set instance variables are null

2010-04-20 Thread Bob Kerns
I do this, without any issues at all. How are you getting your Application instance from your activities? not getApplicationContext() I hope... Have you examined the state from the debugger? There may be something you're missing about the state of things. On Apr 19, 11:41 pm, patbenatar

[android-developers] can i run .exe in android and what is opengl o/p format?

2010-04-20 Thread mmkr
Hi all, I'm new to opengl. Is it possible to run the output file of opengl program implemented on desktop ( ie.. .exe file ) in android. Another doubt is what is format of opengl output in android, i mean for windows it is .exe, so what in android. Thanks in advance. -- You received

[android-developers] Re: Access a Service across multiple Applications

2010-04-20 Thread madmax
Hi, A li'l update since the last post, the problem regarding the SecurityException is now resolved(i had to put intent-filters in the manifest where the Service was defined) but now another problem regarding the interface has risen. The interface (AIDL) for communication between the activity

[android-developers] Re: AIDL in multiple projects in Eclipse

2010-04-20 Thread madmax
Have done the same thing(included AIDL file in another project i use the service in) but then it give me an error saying 04-20 14:52:23.400: WARN/Parcel(654): enforceInterface() expected 'aexp.dualservice.ICounterService' but read 'com.vignet.serviceDemo1.ICounterService' it means that the

[android-developers] Re: requestLocationUpdates() Parameters question

2010-04-20 Thread Nithin
Thanks patbenatar.. On Apr 20, 11:19 am, patbenatar patbena...@gmail.com wrote: Why would you need updates every instant? It's impossible for the user to move much more than a millimeter in that amount of time... Just use a realistic amount of time for your app, or use a distance if that

[android-developers] Re: Dynamic Flipping Screen(like that of iPhone) in Android

2010-04-20 Thread Maxood
All we require is flipping(like in iPhone) between 2 activities in android.Nothing to do with animation. Here is our code: public class Splash extends Activity{ /** Called when the activity is first created. */ public void onCreate(Bundle savedInstanceState) {

[android-developers] Re: Weird: It appears as if sometimes my Activity will be resumed but previously set instance variables are null

2010-04-20 Thread patbenatar
Bob- Nope, I'm using getApplication() For instance [inside an Activity]: MyApplication application; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); application = (MyApplication) this.getApplication(); } The error is most easily

[android-developers] Finding Ringtone is playing or not?

2010-04-20 Thread ani
Is there any api available which can tell me if currently any ring- tone is playing or not??? -- 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

Re: [android-developers] How to Validate the Data

2010-04-20 Thread nubh bhargava
Cool!!! Got it. Thanks NUBH -- 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: binding widgets with AppWidgetManager.bindAppWidgetId

2010-04-20 Thread AndroidNewbie
I am facing the exact same issue . Can someone help please ? Deren , were you able to get the help from someone ? On Feb 20, 5:15 pm, Deren adam.d0...@gmail.com wrote: I've successfully built a small sample app where the user can add a appwidget, using the AppWidgetPicker, using the action

[android-developers] Hotspot in ImageView

2010-04-20 Thread angushir...@googlemail.com
Dear all, how can I implement an imageview that has touch-sensitive hotspots so that when the user touches one, a dialog or something similar appears. Thanks in advance Angus -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Specifying LinearLayout orientation in resource values

2010-04-20 Thread westmeadboy
I have a linear layout where the orientation needs to be horizontal in portrait mode and vertical in landscape mode. There are a few ways to do this, the most obvious of which being to specify two layouts: one in layout and one in layout-land. However, this will require a certain amount of

[android-developers] Re: Reg: Layouts

2010-04-20 Thread Santha
Thank you so much.. On Apr 9, 7:58 pm, Charlie Collins charlie.coll...@gmail.com wrote: That sounds like a trick question ;). The best layout depends on the situation you are in, the context. There is no one best for all kind of applications. That said, RelativeLayout is often noted as the

[android-developers] REG: CSS style sheets

2010-04-20 Thread Santha
Can we import the CSS style sheets in to our android application. -- 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: Pass ArrayList parameters between two activities.

2010-04-20 Thread Ke Wu
There are two things you must pay attention to: 1. Your class must implements Parcelable with it's CREATOR. 2. In the receiver activity, you should use getParcelable method to get your Parcelable object from the Extras bundle. 2010/4/20 Arpit robin.ca...@gmail.com This works if I change the

[android-developers] Re: android tablet emulator creation

2010-04-20 Thread Jeff
You can use image from androidx86 project in VirtualBox, but of course I'd prefer working emulator from Google. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: Weird: It appears as if sometimes my Activity will be resumed but previously set instance variables are null

2010-04-20 Thread westmeadboy
Not sure if this helps, but use http://developer.android.com/reference/java/lang/System.html#identityHashCode(java.lang.Object) to check whether the Application object is indeed the same in both cases (or whether they are in different DVMs) On Apr 20, 12:04 pm, patbenatar patbena...@gmail.com

[android-developers] Uploading content onto android market

2010-04-20 Thread Sharma
Hello, Can I upload content(can be anytype jpg/png) other than apk onto android market so that the application could download the content at the first run. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Application run

2010-04-20 Thread Sharma
Hello, Is it possible for an application to run automatically after completion of download/install from android market (Similar to First Run Run after installation in Symbian OS). Thanks.. -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Android on Symbian

2010-04-20 Thread Chirayu Dalwadi
Can I install Android on Symbian Phone? -- 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 add progress bar with media Player??????

2010-04-20 Thread ulqui
ok thx a lot for your help I will try this thx ^^ On 19 avr, 16:56, Mark Murphy mmur...@commonsware.com wrote: ulqui wrote: hi i am currently working in a media player application with a progress bar. It work well but i am searching for a listener or something that will make the

Re: [android-developers] Uploading content onto android market

2010-04-20 Thread Mark Murphy
Sharma wrote: Can I upload content(can be anytype jpg/png) other than apk onto android market so that the application could download the content at the first run. No, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books:

Re: [android-developers] Application run

2010-04-20 Thread Mark Murphy
Sharma wrote: Hello, Is it possible for an application to run automatically after completion of download/install from android market (Similar to First Run Run after installation in Symbian OS). No, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] Weird: It appears as if sometimes my Activity will be resumed but previously set instance variables are null

2010-04-20 Thread Mark Murphy
patbenatar wrote: I am using an Application object to store app-wide instance data--data that I need to remain in existence for the entire lifetime of the app, so the Application class seems like the proper place to put it. A database, flat file, or other persistent store is the proper place

Re: [android-developers] Re: Access a Service across multiple Applications

2010-04-20 Thread Mark Murphy
madmax wrote: The interface (AIDL) for communication between the activity and the service is defined in another package in another application. How can i now access this SAME interface for communicating with the service from my new application? You copy the AIDL file, put it in the same

[android-developers] thumbnail of image from absolute path of image.

2010-04-20 Thread Manoj
Hi folk , I have got stuck and want a help from you guys. I am trying to display the thumbnail of an image in sdcard . I have absolute paths of some images and want to display the their thumbnails in listview. Manoj C -- You received this message because you are subscribed to the Google Groups

[android-developers] Getting the frequency bands used by phone

2010-04-20 Thread Watcher
Hi, I've been perusing the SDK docs and can't find any way to determine the frequency band of the cell the phone is using: I want to be able to differentiate between 1900Mhz and 850Mhz. Did I overlook this or is it missing ? If it is missing, what is the best way to turn this into a feature

[android-developers] Emulator error : No space left on device

2010-04-20 Thread Uander
Hello , I faced a error while running emulator : NAND: could not write file /mnt/eclair/out/target/product/generic//system.img, No space left on device thats because my rootfs was 100% filled up . Then I free around 7GB of space . Still issue is same . Can anybody help me out . Thanks :

[android-developers] Swipe to next screen

2010-04-20 Thread Eddie Ringle
If you look at the Google News Weather app, you can swipe over to the next page. Anyone know how this is done? I'm suspecting that it is all one activity, the tabs at the top are a custom TabView, and it works similar to that? Eddie Ringle ed...@eringle.net http://eddieringle.com/ -- You

[android-developers] Getting the frequency bands used by phone

2010-04-20 Thread Watcher
Hi, I've been perusing the SDK docs and can't find any way to determine the frequency band of the cell the phone is using: I want to be able to differentiate between 1900Mhz and 850Mhz. Did I overlook this or is it missing ? If it is missing, what is the best way to turn this into a feature

Re: [android-developers] Getting the frequency bands used by phone

2010-04-20 Thread Mark Murphy
Watcher wrote: I've been perusing the SDK docs and can't find any way to determine the frequency band of the cell the phone is using: I want to be able to differentiate between 1900Mhz and 850Mhz. Did I overlook this or is it missing ? I don't see it in TelephonyManager, where I would

[android-developers] Re: grow or shrink view

2010-04-20 Thread satish bhoyar
Guys anybody knows this ... hw to solve this ...? please help .. thanks On Mon, Apr 19, 2010 at 6:59 PM, satish bhoyar getsatonl...@gmail.comwrote: Hi, I have one problem... like i want my view to grow or shrink in one direction like curtains. What animation i can use for this? is this

[android-developers] 2.1 Bluetooth support still needs work

2010-04-20 Thread Anders Widen
Hi! I've been working with bluetooth trying figure things out using the BTChatExample. Without editing BTChat has errors that destroy the functionality. You can only connect the first time, if you connect. Close the program and doesn't restart bluetooth the program crashes. Even if you edit out

Re: [android-developers] REG: CSS style sheets

2010-04-20 Thread Felipe Silveira
Well, I'm not sure if it is what you want, but you can use the WebView component ( http://developer.android.com/intl/de/reference/android/webkit/WebView.html) to load a HTML page inside your application. (and, of course, the CSS used by the HTML page) -- Felipe Silveira

Re: [android-developers] Specifying LinearLayout orientation in resource values

2010-04-20 Thread Justin Giles
I suppose you could change the orientation in code. After you assign the view in your onCreate, do a check to see whether the user is on landscape or portrait mode and set the orientation value accordingly. This should be a bit more fool-proof than your method, however it could have its own

Re: [android-developers] Re: Pass ArrayList parameters between two activities.

2010-04-20 Thread ~ TreKing
On Tue, Apr 20, 2010 at 12:31 AM, Arpit robin.ca...@gmail.com wrote: Now I call Activity B and passing new Intent where I have put extra (Parcelable object) How are you adding the parcelables? I don't see that in what you posted.

[android-developers] Create jar file from android source code

2010-04-20 Thread Mihai Dumitrache
Hello, How can i create a jar file with android classes ? Right now i have only used eclipse and adt plugin to generate apk files from android source code, but i want to be able to create some jar file with some classes from my project. This jars will be loaded dynamically when they are needed. I

[android-developers] Re: Weird: It appears as if sometimes my Activity will be resumed but previously set instance variables are null

2010-04-20 Thread String
On Apr 20, 12:47 pm, Mark Murphy mmur...@commonsware.com wrote: It is entirely possible that your activities and application were destroyed while you were in the Maps and Home applications, to free up memory. Sure, that's the normal app lifecycle. But if this is the case, why isn't the

[android-developers] User Cancel - ProgressDialog

2010-04-20 Thread Matthew Patience
I started an indeterminate progress dialog in my onCreate method and then used ASync to download some info and display it to the user. After that I dismissed the progressdialog. I don't if anyone else has experienced this but sometimes the progress dialog is stuck in a loop and it wont download

Re: [android-developers] Re: Weird: It appears as if sometimes my Activity will be resumed but previously set instance variables are null

2010-04-20 Thread Mark Murphy
String wrote: On Apr 20, 12:47 pm, Mark Murphy mmur...@commonsware.com wrote: It is entirely possible that your activities and application were destroyed while you were in the Maps and Home applications, to free up memory. Sure, that's the normal app lifecycle. But if this is the case,

Re: [android-developers] 2.1 Bluetooth support still needs work

2010-04-20 Thread Max Gilead
Hi Anders! You can search list archives for others with BT-related issues. I for one am having problems with it too (Droid with 2.0.1 firmware, still waiting for OTA 2.1 update). When every other phone/laptop I tried can connect to a device and even my Droid can connect to is using low-level

[android-developers] Re: User Cancel - ProgressDialog

2010-04-20 Thread polyclefsoftware
I believe if you use the following method, the back button should dismiss the progress dialog, without closing the app: progressDialog.setCancelable(true); On Apr 20, 8:00 am, Matthew Patience matthewj.patie...@gmail.com wrote: I started an indeterminate progress dialog in my onCreate method

[android-developers] Re: Access a Service across multiple Applications

2010-04-20 Thread madmax
Thanks a lot Mark! And sorry about the package thingy... Since the names were the same i thought they were the same packages. Making a new package with the SAME NAME as the AIDL was in in the previous application and copying the AIDL file in to that package solves the problem. Thanks again for the

Re: [android-developers] Dialog display duration

2010-04-20 Thread ~ TreKing
On Mon, Apr 19, 2010 at 7:54 AM, angushir...@googlemail.com angushir...@yahoo.co.uk wrote: What would be the best way of displaying a dialog for 500ms and then dismissing it? Call show() or showDialog(int) then post a runnable object to your UI thread that just calls dismiss() or

[android-developers] Re: Android on Symbian

2010-04-20 Thread javame_android
Hi, Android is a Mobile operating System and Symbian is also Mobile Operating System. I don't think you will be able to install Android in Symbian. Android is completely linux based. I hope this helps you out. Regards Sunil -- You received this message because you are subscribed to the

Re: [android-developers] grow or shrink view

2010-04-20 Thread social hub
http://developer.android.com/intl/de/reference/android/view/animation/ScaleAnimation.html looks like scaleanimation to me. On Mon, Apr 19, 2010 at 8:29 AM, satish bhoyar getsatonl...@gmail.comwrote: Hi, I have one problem... like i want my view to grow or shrink in one direction like

[android-developers] play an audio file on a voice call

2010-04-20 Thread george
Hi all i want to play an audio file on a voice call as following the application initiates a call from device X to device Y when Y replies application on device X should inject an audio file in the stream of the call so device Y hears this audio file if any help i'm waiting Thanks much

Re: [android-developers] play an audio file on a voice call

2010-04-20 Thread Mark Murphy
george wrote: Hi all i want to play an audio file on a voice call as following the application initiates a call from device X to device Y when Y replies application on device X should inject an audio file in the stream of the call so device Y hears this audio file if any

Re: [android-developers] Hotspot in ImageView

2010-04-20 Thread social hub
extend imageview and overried ontouchevent and oninterecepttouchevent and you can decide the action based on touchevents On Tue, Apr 20, 2010 at 5:36 AM, angushir...@googlemail.com angushir...@yahoo.co.uk wrote: Dear all, how can I implement an imageview that has touch-sensitive

[android-developers] Re: 2.1 Bluetooth support still needs work

2010-04-20 Thread ssozonoff
Hello, Yes I can confirm the same. I have a solution working for example under the HTC Legend but fails using the HTC Desire and the failure apears to be at a fairly low level. Serge On Apr 20, 2:28 pm, Anders Widen anders...@gmail.com wrote: Hi! I've been working with bluetooth trying

[android-developers] Re: Dialog display at bottom of Screen

2010-04-20 Thread Nithin
I can use android.widget.PopUpWindow class, but it has sharp edges in the corners, I need like in Dialog, rounded edges. Is it possible in PopUpWindow or can we put the dialog to the Bottom. Nithin On Apr 20, 2:14 pm, Nithin nithin.war...@gmail.com wrote: Hi, The dialog(android.app.Dialog)

Re: [android-developers] How to add a View in Gallery?

2010-04-20 Thread social hub
use adapter extending from baseadapter or cursoradapter etc. On Tue, Apr 20, 2010 at 1:20 AM, javame_android su...@softwebsolutions.comwrote: Hi, I have multiple listviews and would like to add those to Gallery View. I tried by using addView method but that is not supported in Gallery

[android-developers] Re: Dialog display at bottom of Screen

2010-04-20 Thread Pieter
You can do the following in the constructor of a Dialog subclass: getWindow().getAttributes().y = 30; to move the dialog 30 pixels down. This movement is relative though. On Apr 20, 3:55 pm, Nithin nithin.war...@gmail.com wrote: I can use android.widget.PopUpWindow class, but it has sharp

Re: [android-developers] How to make my app start up itself at the specified time just like the alarm clock.

2010-04-20 Thread ~ TreKing
On Sat, Apr 17, 2010 at 12:54 AM, shock shock.sof...@gmail.com wrote: how should I do? Try This http://lmgtfy.com/?q=android+alarm - TreKing - Chicago transit tracking app for Android-powered

Re: [android-developers] ScrollView is not calling onDraw()

2010-04-20 Thread social hub
you should overried onlayout and onmeasure without that it wont work, it gives the size to your component. Look into creating custom view first. http://developer.android.com/intl/de/guide/topics/ui/custom-components.html On Mon, Apr 19, 2010 at 3:00 PM, zebdor zlipp...@gmail.com wrote:

[android-developers] Re: accessing and changing Sync setting for android 1.5, 1.6 and more

2010-04-20 Thread cpphool
[android 2.x] as far as i know, Android 2.x introduces completely new sync mechanism (allowing use to use multi accounts). In order to check whether global auto-sync is on, you can use: ContentResolver.getMasterSyncAutomatically(); and to switch it on:

[android-developers] Bluetooth file transfer to Laptop is failing.

2010-04-20 Thread guru
Bluetooth file transfer to mobile (any set) is successful. But if I tried to transfer to Laptop it is failing. Below is the log for successful and unsuccessful case For unsuccessful case, it is unable to get channel number. Whether i have to do settings for laptop case? Phone to Mobile(Motorola)

[android-developers] Android emulator -dns-server usage

2010-04-20 Thread Thilo-Alexander Ginkel
Hello everyone, I am currently somewhat struggling to get the Android emulator to use a custom DNS server, which is running on localhost (127.0.0.1). As of now, I have tried various approaches trying to convince the emulator to use my DNS server, so far without success. In the end, it always

[android-developers] Permission

2010-04-20 Thread ReyLith
Hi! I am devoloping an application of image editor. I allways do it by using the resources in the drawable carpet. Now I changed it to use the resources in the SD card. I don't change the code of the image access but the program allways produce an error if I intent to set the value of a pixel. The

[android-developers] Displaying different layout in eclipse when using ViewFlipper

2010-04-20 Thread Stephen Lebed
Hi all, I have a layout I'm creating that uses ViewFlipper for different screens. In eclipse's layout editor it only displays the first page in the View. Is there a keyboard shortcut, or function to flip to the next screen? Currently I'm building each screen in a seperate XML file and then

[android-developers] Re: HTC Incredible no default external storage?

2010-04-20 Thread webmonkey
Maybe not when you connect your phone to a PC and select 'Mount', for example... Ah, of course. They will probably mount both drives at the same time. Otherwise I don't see how they can distinguish the two. I am still wondering why the apps would fail. I think the Samsung Galaxy solution does

[android-developers] Re: Dialog display at bottom of Screen

2010-04-20 Thread Nithin
Thanks pieter... On Apr 20, 7:19 pm, Pieter pie...@gamesquare.nl wrote: You can do the following in the constructor of a Dialog subclass: getWindow().getAttributes().y = 30; to move the dialog 30 pixels down. This movement is relative though. On Apr 20, 3:55 pm, Nithin

[android-developers] Re: can i run .exe in android and what is opengl o/p format?

2010-04-20 Thread MrChaz
No, you'll need an .apk file which is the installer for android applications. Nearly all phones support openGL ES1 The newer ones (N1, Droid etc) support openGL ES2 via the ndk On Apr 20, 10:25 am, mmkr manutd...@gmail.com wrote: Hi all,       I'm new to opengl. Is it possible to run the

[android-developers] Reading Name (phonetic) field on Eclair

2010-04-20 Thread Akira Iwamoto
Hello, I'm having a problem to read Name (phonetic) field from Android 2.1 phone, desire. I have a contact application worked in Donut that stores the Phonetic name in Name (phonetic) field on Gmail contacts. * On Donut Contacts.PeopleColumns.PHONETIC_NAME is mapped to Name (phonetic) * On

[android-developers] Icons for submenu items doesn't show up

2010-04-20 Thread dillipk
Hello, With below code, the icon for submenu items does not get displayed. SubMenu submenu = menu.addSubMenu(0, Constants.MENU_ID_SETTINGS, 1, Settings); submenu.setIcon(R.drawable.settings); submenu.add(0, Constants.MENU_ID_PREFERENCES, 1, Preferences).setIcon(R.drawable.preferences);

[android-developers] Re: Bluetooth RFCOMM connection dying immediately after .connect()

2010-04-20 Thread ssozonoff
So here is the status regarding a similar issue I am having with the bluetooth connection. Works on HTC Legened and Google Nexus 1 Fails on the HTC Desire what sucks is that normally the HTC Desire and N1 are supposedly based on the same hardware. I checked the firmware version between the two

Re: [android-developers] compatibility with nonexistant classes

2010-04-20 Thread ~ TreKing
On Mon, Apr 19, 2010 at 6:35 PM, kec6227 kec6...@gmail.com wrote: Is this possible? Sure. Detect the platform version you're running on and use the new APIs on newer versions and the older APIs on older versions.

[android-developers] Re: Defining an XML vertical line drawable

2010-04-20 Thread Caspa
Thanks for the suggestion patbenatar! I'm aware I could go for a 1px png drawable or draw the vertical line as a View etc. However since there is a line shape, I assume there is a way of drawing it vertically, or at least there SHOULD be. Can anyone confirm this being possible / not possible?

[android-developers] How can I remove an item from ExpandableListView or how can I reload an single group from ExpandableListView?

2010-04-20 Thread Liviu Ungureanu
Hi! I have a ExpandableListView in my application. I want to remove an item from an group but I can't get a solution. As adapter I use an standard SimpleExpandableListAdapter. Until now, I managed to remove just data from an item but the view still remain in adapter:

[android-developers] Re: compatibility with nonexistant classes

2010-04-20 Thread kec6227
Using? a wrapper class of sorts? If I initiate the WallpaperManager anywhere in my code, it will throw a VerifyError on older platforms, I tried something like this: if(Integer.parseInt(Build.VERSION.SDK) = 5){ WallpaperManager wallMan.. ...blah blah } The only way it does not throw a

Re: [android-developers] Re: compatibility with nonexistant classes

2010-04-20 Thread Mark Murphy
kec6227 wrote: Using? a wrapper class of sorts? If I initiate the WallpaperManager anywhere in my code, it will throw a VerifyError on older platforms, I tried something like this: if(Integer.parseInt(Build.VERSION.SDK) = 5){ WallpaperManager wallMan.. ...blah blah } The only way

[android-developers] How to pick or upload gallery photo

2010-04-20 Thread Anurag Singh
Hello All I have some requirement to upload photo. I am able to browse gallery but not able to pick any photo from main gallery. Android allows us to upload snaps from SDCARD, I think there must be some way. isn't it? Thanks In Advance. - Anurag Singh -- You received this message because

  1   2   3   >