[android-developers] Re: Support from Developers

2009-03-16 Thread Mariano Kamp
" I think it would be beneficial to see replies to comments, especially from the developer." Amen! It would also be good if you could see the other comments/ratings of the commenter. Just to get an idea if it is a prick or a concerned user. On Mon, Mar 16, 2009 at 3:45 PM, Alexander wrote: > >

[android-developers] Re: ADT Layout Editor

2009-03-16 Thread Xavier Ducrohet
Hi, This will probably come in the version following the plugin released with cupcake. Note that even though you cannot use the "add" button to add your custom classes to your layout, you can add them from the XML edit view. In most cases, custom views are properly rendered by the graphical layo

[android-developers] Re: Is there a command to find out the pid of all process running on the emulator?

2009-03-16 Thread mercury xu
Hi ying As I know, you can check what's happen on your emulator from the Eclipse' DDMS,at the IDE left‘s list . You can find them. Anyway, you want to show those information on your program or just check it? IF run in your emulator.maybe you can try "process" as following java.lang.Object

[android-developers] Re: Is there a command to find out the pid of all process running on the emulator?

2009-03-16 Thread Dianne Hackborn
You mean something besides "adb shell ps"? On Mon, Mar 16, 2009 at 10:47 PM, ying lcs wrote: > > Hi, > > Is there a command to find out the pid of all process running on the > emulator? > If yes, can you please tell me how can I do that? > > Thank you. > > > > -- Dianne Hackborn Android frame

[android-developers] Is there a command to find out the pid of all process running on the emulator?

2009-03-16 Thread ying lcs
Hi, Is there a command to find out the pid of all process running on the emulator? If yes, can you please tell me how can I do that? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" gr

[android-developers] Mediastore get image from thumbnails

2009-03-16 Thread vir
Hello people, I am having a problem regarding mediastore.media.Images. I am trying to populate a gallery with thumbnails from y sdcard, this works fine, now i want to get the real image in an imageview onclick event. Here is my code , private View loadGallery() { // thumbnails S

[android-developers] Re: android.os.ServiceManager

2009-03-16 Thread Seer
So if that is not the way you are meant to services such as alternate SMS gateways, what is? Using intents will not work as most of the sms apps have the reply for a thread built in. This is the only way i have been able to discover to capture all outgoing sms so i can either redirect them over

[android-developers] Re: android.os.ServiceManager

2009-03-16 Thread Dianne Hackborn
You can't do this. Especially from the SDK, on so many levels: 1. ServiceManager is not public. The features it contains are not available in the SDK. 2. None of the interfaces of the services published in the service manager are published in the SDK, so you wouldn't be able to redefine them any

[android-developers] Re: Manifest android:label

2009-03-16 Thread Dianne Hackborn
I can't help you with Market. In the platform, android:label is only used as the text to show to the user for the representation of your .apk, and the system does not care at all about what it contains. Plus you would localize the label for different languages, so its actual value really can't be

[android-developers] hasMonetaryCost = true for "network" location provider

2009-03-16 Thread Keith Wiley
I'm just curious how to interpret the fact that hasMonetaryCost is true for a "network" location provider. I read about it a little but I'm not sure I entirely understand what's going on. Does that mean that every time I get my location using the cell network instead of the gps there is a charge

[android-developers] Re: Manifest android:label

2009-03-16 Thread Keith Wiley
I appreciate the reply, but forgive the relentless imprecision in my understanding. Bottom line: can two different applications with two different package names have the same android:label in the manifest, say for a lite and a pro version of the same app? Where is android:label actually used? Is

[android-developers] getting time, 5 minutes into future, past 55 minutes in the hour near midnight with TimePicker dialog

2009-03-16 Thread Rob Franz
Hi, Noticed some weird behavior here - if I have: final Calendar c = Calendar.getInstance(); int mHour = c.get(Calendar.HOUR_OF_DAY); int mMinute = c.get(Calendar.MINUTE) + 5; and I establish a timePickerDialog like: new TimePickerDialog(this, mTimeSetListener, mHour, mMinute, fal

[android-developers] android.os.ServiceManager

2009-03-16 Thread Seer
Is there a way to access this class in the SDK or is there another class that does the same thing? I need to rename one of the services listed in the servicemanager so that it will call my service instead and then pass calls i don't handle onto the original service that i have renamed. --~--~

[android-developers] Obtaining IP address when on 3G (MOBILE) connection

2009-03-16 Thread Joseph Teo
Hi Folks, I have a small question. When i'm connected to WIFI, I could use the following code to obtain the IP address of the Android phone WifiManager wifiManager = (WifiManager) getSystemService(WIFI_SERVICE); WifiInfo wifiInfo = wifiManager.getConnectionInfo(); int ipAddress = wifiInfo.getIpAd

[android-developers] Re: Is there a flag I can enable to permanently display the virtual keyboard in my app?

2009-03-16 Thread me tun
Thanks Dianne, I've had a quick look through the code and have seen how the onTouchEvent in the TextView Class has been modified to display the soft keyboard if it is both focused and touched (how profound). I've managed to get it to display by clicking a button, but really I'd like it called in

[android-developers] Re: Merging spannables?

2009-03-16 Thread Ivan Soto
Thanks On Thu, Feb 5, 2009 at 7:00 PM, Dianne Hackborn wrote: > TextUtils.concat(). > > > On Thu, Feb 5, 2009 at 4:20 PM, Ivan Soto wrote: > >> Is it possible to merge spannables? >> >> like >> Spannable spa = null; >> spa = Html.fromHtml("text text asds"); >> >> spa = spa + Html.fromHtml("asd

[android-developers] Re: Emulator doesn't link sometimes

2009-03-16 Thread Ivan Soto
Are you on a Mac? Just want to know if this is only a Mac issue. On Fri, Feb 20, 2009 at 11:49 AM, todd wrote: > > This happens to me occasionally and is a bit annoying. I too just > close the emulator instance and start it again. That works most of the > time, although I've had to completely re

[android-developers] Vibrator device simulation in the emulator

2009-03-16 Thread Prem Thilagar
Hi I am trying to actually simulate a vibrator device inside the emulator .A timed_output driver for the vibrator was created and i am able to access the node at /sys/class/timed_output/vibrator/enable that is specified as THE_DEVICE in the vibrator.c file at hardware/ libhardware/vibrator/.The dr

[android-developers] Re: Is there a flag I can enable to permanently display the virtual keyboard in my app?

2009-03-16 Thread Dianne Hackborn
If you are going to use new features before these is an SDK, you will want to read through the source code java docs and the code itself to figure out what you want to do. In this case WindowManager.LayoutParams has new options for controlling the input method, View has new methods, and the InputM

[android-developers] Re: Manifest android:label

2009-03-16 Thread Dianne Hackborn
On Mon, Mar 16, 2009 at 3:42 PM, Keith Wiley wrote: > The reason it would be nice to leave it the same for both is that my > understanding is, this is the string used for other apps to > communicate to my app through intents. It's not; the label is just shown to the user. You could do things s

[android-developers] read cookie value which is set by website browsed in emulator browser

2009-03-16 Thread Komal
Hi, In my app i want to use the cookie value which is set when user open my website in android phone browser. Is it possible to read value of cookie which is set by browser of my android phone?? Thnx --~--~-~--~~~---~--~~ You received this message because you are s

[android-developers] Re: Is it possible to set focus to a component programmatically?

2009-03-16 Thread me tun
Yes, you should be able to use button.requestFocus(); On Mar 17, 1:19 pm, Zia wrote: > Wondering if we have few buttons on a LinearLayout, is it possible to > set focus to a button programmatically? > > Please advice. > > Thanks, --~--~-~--~~~---~--~~ You received

[android-developers] Is it possible to set focus to a component programmatically?

2009-03-16 Thread Zia
Wondering if we have few buttons on a LinearLayout, is it possible to set focus to a button programmatically? Please advice. Thanks, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

[android-developers] Re: hi

2009-03-16 Thread Nithin Varamballi
No...Sir... I have 8 Image button... The thumbnails are stored in Integer array... and hight and width of thumbnails are different... that is Each thumbnails have different size How can i resize like (80x60) of all thumbnails that are stored in array before displaying in Image Button...

[android-developers] Re: Is it normal to play an audio during phone call?

2009-03-16 Thread hongyang wang
Hey friend, How are you doing recently? I'd like to introduce you a very good foreign trading online company and the website is www.elecbtob.com/ It can offer you so many kinds of electronic products which you may be in need,such as laptops,,GPS, TV, Cell Phones, Xbox 360, Sony PSP,Sony PlaySt

[android-developers] Re: How to display local file in WebView

2009-03-16 Thread hongyang wang
Hey friend, How are you doing recently? I'd like to introduce you a very good foreign trading online company and the website is www.elecbtob.com/ It can offer you so many kinds of electronic products which you may be in need,such as laptops,,GPS, TV, Cell Phones, Xbox 360, Sony PSP,Sony PlaySt

[android-developers] Trying to understanding Gallery fling source code

2009-03-16 Thread Meryl Silverburgh
I am trying to understand how Gallery implements it fling behaviour. I appreciate if someone can help me understand 1. why it needs special handing for ACTION_UP and ACTION_CANCEL? 2. why it does not check the retValue before calling UP/CANCEL's handling? 3. what does onUp() trying to do? Why it n

[android-developers] Re: Thumbnails

2009-03-16 Thread Dave Sparks
We have a number of issues with metadata that need to be sorted out. Unfortunately, it will have to wait until the next major release. Unless I'm mistaken, micro-thumbnails are generated by the music player for album art. This is just an optimization to improve list flinging operations in the mus

[android-developers] Re: VerifyError attempting to use commons-digester

2009-03-16 Thread fadden
On Mar 15, 10:15 pm, micah craig wrote: > Here is my complete error output: > 03-16 04:47:44.411: WARN/dalvikvm(628): VFY: unable to resolve virtual > method 140: Lorg/apache/commons/digester/Digester;.setValidating (Z)V > 03-16 04:47:44.421: WARN/dalvikvm(628): VFY:  rejecting opcode 0x6e at > 0

[android-developers] Re: Thumbnails

2009-03-16 Thread Iliyan Malchev
On Mon, Mar 16, 2009 at 1:20 PM, todd wrote: > > Having the camera app create thumbs when a photo is taken is great, > but another common scenario has been left unanswered. What happens > when the user inserts (or copies) images to the SD card? I believe that the camera app or the picture galery

[android-developers] Re: Paid applications and market feedback/rating

2009-03-16 Thread Keith Wiley
I don't *think* that's possible. Assuming the signature/package is tied to the market app, there is no way to convert a previously free app to a paid app. A brand new app must be installed instead, if I've understood thing so far. I think a new app must have a new package and an old app can't b

[android-developers] Re: SimpleDateFormat PathClassLoader NullPointerException quandary

2009-03-16 Thread sm1
SimpleDateFormat is known to not be thread-safe, and it's instances must be either unique to each thread or otherwise be synchronized. happened to me a while back. serge On Mar 16, 7:15 pm, Torgny wrote: > Yeah, the code is in its own thread. It's in a class that is > instantiated in the threa

[android-developers] Re: Paid applications and market feedback/rating

2009-03-16 Thread sm1
I'm not 100% sure but if my understanding of how Android Market works is correct, what you may want to do is keep the same package (aka. signature) for your paid app as the package that you had before, with the comments and ratings, and make a *new* package for the free app., and the new free app

[android-developers] Re: Paid applications and market feedback/rating

2009-03-16 Thread Stoyan Damov
I think that's because most of the paying customers are grown ups (and hence the more reserved language) and the free users are kids. I've seen a few "I wish I had a credit card to buy this" comments from the latter. I don't think there are any grown ups who don't own one. Cheers On Tue, Mar 17,

[android-developers] Re: SimpleDateFormat PathClassLoader NullPointerException quandary

2009-03-16 Thread Torgny
Yeah, the code is in its own thread. It's in a class that is instantiated in the thread. I tried added synchronized to the method that generates the date, and so far I haven't seen it crash at all. Will try with a loop as well. I am still a bit new to the whole Java thing. On Mar 16, 6:42 pm, "ca

[android-developers] Re: Any way to use getChildDrawingOrder? where do we set FLAG_USE_CHILD_DRAWING_ORDER?

2009-03-16 Thread Romain Guy
This is unfortunately not a public API. On Mon, Mar 16, 2009 at 3:39 PM, drasticp wrote: > > I'm writing a custom widget in which I need to control the child > drawing order. My control extends AbsoluteLayout. I can see that > getChildDrawingOrder is overrideable. The following note is in the >

[android-developers] Re: How to add SMS to inbox in android programmatically?

2009-03-16 Thread Seer
i have been trying to do the same thing and just worked it out. you want to do something similar to this. public static final String ADDRESS = "address"; public static final String PERSON = "person"; public static final String DATE = "date"; public static final String READ

[android-developers] Manifest android:label

2009-03-16 Thread Keith Wiley
I am splitting my app into a free lite version and a nonfree pro version. I am curious whether it is required that I use a different string for android:label in the manifest for the two apps. Does the Market take this into account or otherwise care at all about this? The reason it would be nice

[android-developers] Re: SimpleDateFormat PathClassLoader NullPointerException quandary

2009-03-16 Thread carl.whalley
Can you show the code? It sounds like the GET isn't relevant. Is your code in its own thread? If so is it synchronised? You should be able to write a test which iterates 1000 times just performing the format, and catch it. -- Android Academy http://www.androidacademy.com On Mar 16, 6:31 pm, Torgn

[android-developers] Any way to use getChildDrawingOrder? where do we set FLAG_USE_CHILD_DRAWING_ORDER?

2009-03-16 Thread drasticp
I'm writing a custom widget in which I need to control the child drawing order. My control extends AbsoluteLayout. I can see that getChildDrawingOrder is overrideable. The following note is in the javadocs for this method: NOTE: In order for this method to be called, the FLAG_USE_CHILD_DRAWING_OR

[android-developers] Re: Paid applications and market feedback/rating

2009-03-16 Thread Inderjeet Singh
Somewhat surprisingly, I notice that users leave more vicious comments on free apps compared to the paid ones. Of course, there are a lot more ratings and comments on free apps to begin with. Inder On Mon, Mar 16, 2009 at 10:12 AM, Sundog wrote: > > Join the unhappy club. From what I can see,

[android-developers] Re: Button with both Text and Image

2009-03-16 Thread Ralf
On Mon, Mar 16, 2009 at 9:50 AM, dan raaka wrote: > Button inherits from Textview .. and Textview has the ability to set > drawables/images on left or bottom or right or left .. > Check this setCompoundDrawablesWithIntrinsicBounds(Drawable left, Drawable > top, Drawable right, Drawable bottom) >

[android-developers] Re: Is there a flag I can enable to permanently display the virtual keyboard in my app?

2009-03-16 Thread me tun
In the InputMethodManager class, there seems to be a method showSoftInput(view) @param view: The currently focused view, which would like to receive soft keyboard input. I have tried calling this as follows: InputMethodManager imm = (InputMethodManager) getContext().getSy

[android-developers] Re: Sensing The Touch Event

2009-03-16 Thread Ralf
When your second activity is running, your first one is most likely stopped. What are you trying to achieve? There might be other ways to achieve it, e.g. using a service or collecting data and passing it back to the first activity. R/ On Sun, Mar 15, 2009 at 4:31 AM, mateen wrote: > > Asslam-u

[android-developers] Re: Would you like to let me know how to get SDK version in my application code?

2009-03-16 Thread Ralf
On Sun, Mar 15, 2009 at 7:51 AM, Lucky-dog wrote: > > it failed that i try to get android.R.attr.minSdkVersion. Would you > like to let me know how to get SDK version in my application code? PackageManager pm = getPackageManager(); PackageInfo pi = pm.getPackageInfo(this.getPackageName(), 0); p

[android-developers] Re: Changing Alert Dialog styles

2009-03-16 Thread Gesh
In a theme of your own override the android:alertDialogStyle style to point to the style you want. http://developer.android.com/reference/android/R.styleable.html#AlertDialog The link above contains the attributes that are stylable about an Alert Dialog. To change the fonts you will have to overr

[android-developers] Re: ContentProvider not backed by SQLLite?

2009-03-16 Thread Streets Of Boston
I wrote one that goes out to the internet and fetches data. In my code, I use the 'String[] projections' to create my own Cursor implementation. I make a subclass of 'Cursor', an instance of which will be returned by my ContentProvider's query method. The constructor of this Cursor-subclass takes

[android-developers] Re: Redistributing the eclipse plugins

2009-03-16 Thread Ralf
With the usual "I'm not a lawyer" disclaimer applied, I'd think yes as long as you comply with the EPL and thus redistribute that part using the EPL. However you'd have to carefully choose your wording to make it clear this is not the original plugin distributed by Google. There's a FAQ here that

[android-developers] Re: update questions

2009-03-16 Thread Ivan Soto
No idea? I'm really lost in this. On Mon, Mar 16, 2009 at 8:58 AM, Ivan Soto wrote: > HI, > I've been waiting patiently to get paid applications on my phone with I had > no luck. The thing is I have a white G1 in Canada (Fido) and I did the > update manually loading the update.zip to my SD card.

[android-developers] Re: Keystores

2009-03-16 Thread Ralf
On Mon, Mar 16, 2009 at 12:34 AM, Kenny wrote: > > Not helping you, but I wonder what keystore is for? where to get some > docs? thank you very much, http://developer.android.com/guide/publishing/app-signing.html > On Mar 14, 5:18 am, linkmaster_6 wrote: >> Hello yes i have forgotten the passw

[android-developers] Re: Is it normal to play an audio during phone call?

2009-03-16 Thread Jason Van Anden
Thanks for clearing that up. i++ On Mon, Mar 16, 2009 at 4:42 PM, Marco Nelissen wrote: > > A MediaPlayer object will not pause when a call comes in. You'll have > to do that yourself. > The original poster was talking about "switching the screen to > MediaPlayer", so I assumed he was talking a

[android-developers] Re: Is it normal to play an audio during phone call?

2009-03-16 Thread Marco Nelissen
A MediaPlayer object will not pause when a call comes in. You'll have to do that yourself. The original poster was talking about "switching the screen to MediaPlayer", so I assumed he was talking about the 'Music' application, which *does* pause. On Mon, Mar 16, 2009 at 1:35 PM, Jason Van Anden

[android-developers] Re: Is it normal to play an audio during phone call?

2009-03-16 Thread Jason Van Anden
MediaPlayer keeps playing after I answer a call using my app. I was assuming that I was responsible for pausing it and was planning to figure out how this might be done (like, which intent I am listening for). Is the MP supposed to just pause automatically? i++ On Mon, Mar 16, 2009 at 4:08 PM,

[android-developers] Re: Is it normal to play an audio during phone call?

2009-03-16 Thread Ed99
In my experience when you play audio while on a call, the receiving party can NOT hear it. I searched this forum a while back trying to find a way to get the receiving party TO hear the audio on your phone, but found a couple posts with people saying the hardware on the G1 does not support this,

[android-developers] Re: Thumbnails

2009-03-16 Thread todd
Having the camera app create thumbs when a photo is taken is great, but another common scenario has been left unanswered. What happens when the user inserts (or copies) images to the SD card? I've found that unless the Pictures app is run, no thumbs have been generated for the images on the SD ca

[android-developers] Re: How to implement android's Gallery fling action in my own widget

2009-03-16 Thread Meryl Silverburgh
Thank you. How does android determine how many items in the gallery should be moved (either left or right) in 1 fling? On Thu, Mar 12, 2009 at 8:17 PM, gymshoe wrote: > > The fling animation is automatic with the Gallery class.  If you need > your own (new) widget class, just > make your own M

[android-developers] Re: Is it normal to play an audio during phone call?

2009-03-16 Thread Marco Nelissen
The music player will automatically pause when a call comes in, however if you then decide to resume playback while you're in the call, that's your choice, and we won't prevent you from doing so. On Sun, Mar 15, 2009 at 8:16 PM, roger fang wrote: > > Hi all, > > When you pick up the call and sw

[android-developers] Re: How to display local file in WebView

2009-03-16 Thread My3
Hi there, Thanks for the post. If I had a file at asset folder, then what should be the URL for opening the same? Breaking my head with asset manager, which doesn't seem to list my asset folder at all. On Feb 28, 7:57 pm, ATrubka wrote: > Hi, guys. > > I thought it might be interesting to some d

[android-developers] List View setTextFilterEnabled(true) and returned id

2009-03-16 Thread Ryan
Hi, Is there a way to use a List View with setTextFilterEnabled(true) and get the position into the unfiltered list returned to onItemClick? E.G. If I have a list:- - Zero - One - Two - Three And a user types "T" o filter the list to:- - Two - Three When a user clicks on "Two" in the

[android-developers] SimpleDateFormat PathClassLoader NullPointerException quandary

2009-03-16 Thread Torgny
In a couple of places in my application I format the date to send with a GET request to an external API. Most of the time this works excellently, but 1 out of a 1000 times this fails and crashes my application/service. Here is the output the debugger gives me: Uncaught handler: thread Thread-9 e

[android-developers] ContentProvider not backed by SQLLite?

2009-03-16 Thread Ray Bellis
Has anyone got an example of how to write a ContentProvider that gets its data from somewhere other than a SQLLite database? Mine is half working, in so much as I can retrieve the requested data and apparently populate a MatrixCursor, but I can't figure out what I'm supposed to do with the 'proje

[android-developers] Re: class com.android.camera.UploadService does not exist?

2009-03-16 Thread Dave Sparks
We are planning to move to a model where most of the apps are built against the SDK. Unfortunately, we're not quite there yet. I expect to release a better camera sample application in the next SDK. This one will be buildable against the SDK. On Mar 16, 8:59 am, Hans wrote: > On Mar 15, 1:06 pm

[android-developers] Re: Paid applications and market feedback/rating

2009-03-16 Thread Sundog
Join the unhappy club. From what I can see, and my own experiences, there is NO reason at all to offer free ANYTHING on the market, as it all just swirls down the drain and is useless for driving future sales, no matter how many times it was downloaded. Live and learn... On Mar 16, 10:53 am, Keit

[android-developers] Re: List of private / hidden / system APIs?

2009-03-16 Thread Dianne Hackborn
We can't give you a complete list of everything you can't do. Yes there are some permission definitions in the SDK that really shouldn't be; these were missed when we were doing cleanup of the APIs, which is unfortunate, but they really don't hurt anything (it's just a string constant) so they sti

[android-developers] Re: Scheduling a repeating task and being notified

2009-03-16 Thread BoD
They are in the same application. The Service is started by the AlarmManager, so I'm not sure about what you mean by the same 'Dalvik process'. I'm also not sure of what you mean by sent(d?)Intent? Thanks a lot! BoD On Mar 16, 2:49 pm, Kenny wrote: > Besides sendBroadcast( ), how about sentInt

[android-developers] Re: Paid applications and market feedback/rating

2009-03-16 Thread Keith Wiley
Thanks, I suspected as much. :( --~--~-~--~~~---~--~~ 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

[android-developers] Re: Button with both Text and Image

2009-03-16 Thread dan raaka
Button inherits from Textview .. and Textview has the ability to set drawables/images on left or bottom or right or left .. Check this setCompoundDrawablesWithIntrinsicBounds

[android-developers] Re: Changing Alert Dialog styles

2009-03-16 Thread dan raaka
try using setTheme for the context in the AlertDialog.Builder(Context context) -Dan On Mon, Mar 16, 2009 at 5:58 AM, Rafael Bocaletto Maiolla < rafaelmaio...@gmail.com> wrote: > > Hi, > > Is there a way to change the Alert Dialog style, like background and > font color using something like > >

[android-developers] Re: Network activity for each Process (based on PID)

2009-03-16 Thread rezar
Science Yesterday I didn't receive any answer :( On Mar 16, 1:29 am, rezar wrote: > Hi All > > I intend to log TCP activity of a given process. > When I "cd" to the "proc/[PID]/net" folder, and check the content of > the files there. They are not process specific they all have the same > conten

[android-developers] Att: group owners, please unsubscribe min...@hanmail.net

2009-03-16 Thread Stoyan Damov
I'm getting seriously pissed off. Can the group owners of android-developers and android-discuss unsubscribe this guy from the groups? Thanks! On Mon, Mar 16, 2009 at 6:25 PM, Mail Delivery Subsystem wrote: > The original message was received at ... > >   The following addresses had perma

[android-developers] Re: hi

2009-03-16 Thread dan raaka
Do you want to display multiple thumbnails on a single image button ? -Dan On Sun, Mar 15, 2009 at 9:52 PM, Nithin wrote: > > > k... But if have array of thumbnils... How can reduce the size of all > thumbnils before displaying in Image button? > > Thanks in advance > Nithin > > > --

[android-developers] Re: List of private / hidden / system APIs?

2009-03-16 Thread brian.schim...@googlemail.com
Thank you for your answers so far, but I still think you're getting me wrong. I'm not planing to use private APIs - at least not as long as they remain private. I'm trying to create high quality software and I know that hacking won't get me there. But it would be nice if Google (or the Open Hand

[android-developers] Re: How to add activity to application to the task history(long press home key)

2009-03-16 Thread dan raaka
Long Key Press results in a Dialog showing things stored in RecentTaskInfo stored in the system. Take a look at http://developer.android.com/guide/topics/fundamentals.html#lmodes Also, do you see the browser as the first icon when you launch the media player from the browser. Launch mode might ex

[android-developers] Re: Can I release app to market which relies on a 1.1 feature?

2009-03-16 Thread Stoyan Damov
I haven't checked that, but if you set minSDKversion in the manifest, users with 1.0 probably won't be able to download/install your app and hence experience crashes, so don't worry. You can try setting the version in your manifest to a version higher than 1.1 (e.g. 3) and see what happens on your

[android-developers] Can I release app to market which relies on a 1.1 feature?

2009-03-16 Thread admin.androidsl...@googlemail.com
What percentage of users are going to have 1.1 upgrade? Don't want to be flooded by 1 star feedbacks!!! --~--~-~--~~~---~--~~ 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: deploying same application twice different content

2009-03-16 Thread Stoyan Damov
That's fine, I'll check whether this work and get back to list tonight. On Mon, Mar 16, 2009 at 5:42 PM, Mariano Kamp wrote: > I suppose that you would at least have to specify the name of e.g. > activities fully qualified then. Instead of .SomeActivity you would then > need to specify x.y.z.Som

[android-developers] Re: class com.android.camera.UploadService does not exist?

2009-03-16 Thread Hans
On Mar 15, 1:06 pm, Abdul Mateen wrote: > What do you mean by the camera Application, I have mostly used Camera in my > applications, are you asking about the invocation of the camera, or > something else? The Camera package, the system app denoted by Camera.apk. http://android.git.kernel.org/

[android-developers] Re: Paid applications and market feedback/rating

2009-03-16 Thread Streets Of Boston
I had a typo in my previous message: Change this "... but i'm pretty sure this is possible ... " to this "... but i'm pretty sure this is NOT possible ... " On Mar 16, 11:33 am, Streets Of Boston wrote: > I'm not absolutely sure, but i'm pretty sure this is possible. It'll a > different

[android-developers] video demo : nitdroid on emulated n8x0 (qemu running android on nokia tablets)

2009-03-16 Thread RzR www.rzr.online.fr
Hi Just to announce that latest version of qemu has great omap support, check this video demo : http://digg.com/linux_unix/Watch_nitdroid_emulator_emulated_nokia_tablet_runs_android This way many devices can be emulated, such as this emulated nokia-n8x0 running nitdroid (android port for nokia

[android-developers] Re: I must pay 25$ to distribute a FREEWARE on Android Market

2009-03-16 Thread frizzo
>>I think it's a good policy. This has the side effect (intended or not) of providing a useful 'gate' to prevent thousands of crap/spam apps from being uploaded. <<< Didn't prevent my crap app from being uploaded. :) --~--~-~--~~~---~--~~ You received this mess

[android-developers] Changing Alert Dialog styles

2009-03-16 Thread Rafael Bocaletto Maiolla
Hi, Is there a way to change the Alert Dialog style, like background and font color using something like #FF #00FF00 in the styles.xml? If so, what do I need for this to work? --

[android-developers] Button with both Text and Image

2009-03-16 Thread megabot
Hello, Is there a way to create Buttons that contain both an Image and Text (image on top text below or image left and text right)? And how can this be done within a xml layout file? For example, the application 'Pkt Auctions eBay' (see Android Market) has these type of buttons. So far I have t

[android-developers] Ringtone picker -- how to get return value from EXTRA_RINGTONE_PICKED_URI

2009-03-16 Thread Ed99
So I'm having trouble getting the return value from the RingtonManager's ACTION_RINGTONE_PICKER activity... I'm sorry if I'm just missing something basic ( I probably am... ), but I've searched around and nothing I've found worked.. The activity I'm launching is this : http://developer.androi

[android-developers] Re: How to read the file in sdcard?

2009-03-16 Thread dillirao malipeddi
if you want to read the file from sdcard by programatically File myfile = new File("/sdcard/sample.xml"); or if you want to get the dump the file to your system from command prompt you can use to get the file --> adb pull to insert the file to sdcard --> adb push OR you can do it by open ddm

[android-developers] Re: deploying same application twice different content

2009-03-16 Thread Mariano Kamp
I suppose that you would at least have to specify the name of e.g. activities fully qualified then. Instead of .SomeActivity you would then need to specify x.y.z.SomeActivity. On Mon, Mar 16, 2009 at 12:47 PM, Stoyan Damov wrote: > > I'm very interested in getting a confirmation on this. > Romain

[android-developers] Re: Nesting table layout in linear layout

2009-03-16 Thread Romain Guy
You defined the TableLayout with a "fill_parent" height. So it becomes as tall as the parent LinearLayout and there's no more room for the button. On Sun, Mar 15, 2009 at 6:41 AM, Marco wrote: > > Hi , > > I have defined the layout which you can see at the end of this > message. > I do not under

[android-developers] VerifyError attempting to use commons-digester

2009-03-16 Thread micah craig
Hi, I'm trying to write a simple web service client app for Android, and I'd like to use commons-digester to convert the service's XML responses into objects I can work with. However, I'm getting a VerifyError as soon as I try to invoke any Digester method. I've set up my dependencies (external

[android-developers] Re: Does Camera API really works ?

2009-03-16 Thread Iliyan Malchev
Can you attach the logcat output? Source code would also be helpful. On Thu, Mar 12, 2009 at 9:18 AM, crowcasso wrote: > > Currently the above code is crashing for me (even after fixing the 3 > params instead of 2) when performing takePicture() with a IOException: > > W/System.err( 1470): java.

[android-developers] Re: Thumbnails

2009-03-16 Thread Iliyan Malchev
On Sat, Mar 14, 2009 at 4:37 AM, Gaurav wrote: > > I will like some clarifications around thumbnails: > > 1. Whose responsibility is it to generate thumbnails - the android OS > or the application developer? > Pre-cupcake, android (specifically, the camera framework which runs in the mediaserver

[android-developers] Obtaining IP address when on 3G (MOBILE) connection

2009-03-16 Thread Joseph Teo
Hi Folks, I have a small question. When i'm connected to WIFI, I could use the following code to obtain the IP address of the Android phone WifiManager wifiManager = (WifiManager) getSystemService(WIFI_SERVICE); WifiInfo wifiInfo = wifiManager.getConnectionInfo(); int ipAddress = wifiInfo.getIpAd

[android-developers] PDU Column Names

2009-03-16 Thread Justin Thomas
I'm looking for the To field, From Field or Name field in the txt/sms message tables. I know the content uri: content://mms/inbox and thread_id seems to be a column, but I can't find anything else. Thanks, Justin --~--~-~--~~~---~--~~ You received this message b

[android-developers] Is it normal to play an audio during phone call?

2009-03-16 Thread roger fang
Hi all, When you pick up the call and switch the screen to MediaPlayer to play an audio, it is able to be heard from handset (receiver). Thus, you can hear the far-end voice and your local music at the same time. Is it a normal behavior? Android seems not to have the mechanism to let Mediaplaye

[android-developers] Nesting table layout in linear layout

2009-03-16 Thread Marco
Hi , I have defined the layout which you can see at the end of this message. I do not understand, why the button is not displayed. If I move the button to the top that the rendering works. Any hint? Thanks. http://schemas.android.com/apk/res/ android" android:orientation="vertical" and

[android-developers] Re: Sending and receiving data messages via a BroadcastReceiver

2009-03-16 Thread Jackie
Actually I met the similar question. Here is my use case: Simulator 5554 uses sendDataMessage to send a data message to simulator 5556. Simulator 5556 is running an app which is mainly a subclass of BroadcastReceiver to listen to incoming data message (android.intent.action.DATA_SMS_RECEIVED). Un

[android-developers] Re: how to build library without optimization in order to properly debug it

2009-03-16 Thread Iliyan Malchev
Dmitry, did you try with -g2 -O0? On Thu, Mar 12, 2009 at 6:02 AM, dmitry wrote: > > hi, > > I'm trying to debug native library (in particular, libril.so). > Everythig is going fine, breakpoint is being hit, I can go thru the > lines of RIL_onRequestComplete() function. But when I tried to print

[android-developers] Re: Paid applications and market feedback/rating

2009-03-16 Thread Streets Of Boston
I'm not absolutely sure, but i'm pretty sure this is possible. It'll a different application with its own set of comments and ratings. In one way it makes sense. When people pay for an application, their ratings may be different than for a free version of it. When people pay, they may have a diff

[android-developers] Sensing The Touch Event

2009-03-16 Thread mateen
Asslam-u-Alikum, I am a developer of Android platform, I have been stucked at the point, Consider the senerio, First Activity named MainActivity is starting the second Activity named ChildActivity from another package installed in the android phone. Now, I want to have the knowledge of touch fro

[android-developers] How to add activity to application to the task history(long press home key)

2009-03-16 Thread AndroidJimmy
Dears, I'm trying to write a mediaplayer activity launched from browser. But I found if I launch mediaplayer activity from browser, it won't be shown in the task history window(long press home key). And if I launch mediaplayer activity launched from home, it can be shown in the task history windo

[android-developers] Would you like to let me know how to get SDK version in my application code?

2009-03-16 Thread Lucky-dog
it failed that i try to get android.R.attr.minSdkVersion. Would you like to let me know how to get SDK version in my application code? Thank you very much. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Deve

[android-developers] Redistributing the eclipse plugins

2009-03-16 Thread danielolsson
Hi, AFAICS, the Eclipse features and plugins are distributed under the EPL, meaning that the binaries on the update site (without modification) could be incorporated and distributed in a third-party distribution of Eclipse. Could someone confirm that? BR Daniel Olsson --~--~-~--~~-

  1   2   >