Re: [android-developers] Which is better, one trigger receiver and multiple services -- or -- one trigger receiver per service.

2012-05-26 Thread Put_tiMe
These are running in the same process. I need 5, because they all do different tasks, and are quite independent of each other. On Friday, May 25, 2012 5:20:15 PM UTC+5:30, James Black wrote: Are these running in the same process as the main activity or remotely? But, it seems that you are

Re: [android-developers] Application temporarily free

2012-05-26 Thread Zsolt Vasvari
What you want cannot be achieved for a very good reason: if you offered a paid app for free then made it paid again, it would skew your download count and let you obtain a higher ranking in the store. After all, you probably get much more downloads for a free app then a paid one. The best

Re: [android-developers] Application temporarily free

2012-05-26 Thread Hilario Perez Corona
Yeah, thanks, its 99 cents already. Now i got it why i can't do what i want, and sounds good to me and it makes sense. Thanks. On Friday, May 25, 2012 11:31:45 PM UTC-7, Zsolt Vasvari wrote: What you want cannot be achieved for a very good reason: if you offered a paid app for free then

[android-developers] How to update a widget from data passed from activity

2012-05-26 Thread Sunil Mishra
Hi, I have written a sample widget with text view. I added onClickListener Event on the widget, that opens my activity. Now how to update the widget, when the activity is finished? I want to pass data from activity to widget. -- You received this message because you are subscribed to the

Re: [android-developers] How to update a widget from data passed from activity

2012-05-26 Thread TreKing
On Sat, May 26, 2012 at 2:05 AM, Sunil Mishra suniljmis...@gmail.comwrote: I want to pass data from activity to widget. You don't pass data to a widget. It's a shell. It just shows something. You do your logic in your Activity or Service, then update the look of the widget to reflect the state

Re: [android-developers] permission to access another apk's assets/ directory

2012-05-26 Thread Latimerius
Thanks a lot for your explanation, Mark. Indeed, while I have no problem with the concepts defined by the underlying Linux layer, the Android add-ons and terminology prove mighty confusing to me. I'm reading docs but no particularly clear picture of how things are actually set up under the hood

[android-developers] Re: Avoid handling of intent twice

2012-05-26 Thread pbuda
Thanks, that helped! On 26 Maj, 01:00, TreKing treking...@gmail.com wrote: On Fri, May 25, 2012 at 4:38 PM, pbuda pib...@gmail.com wrote: My question then is whether there's any common practice to prevent handling of that intent again. If your activity is re-created, the Bundle passed to

[android-developers] Re: How to update a widget from data passed from activity

2012-05-26 Thread Sunil Mishra
Hi, I want the following feature. When I click on the widget, an activity having a edittextview is displayed, now user type in that and clicks on save, the content which he typed needs to be displayed on the widget. I am able to see the contents, but it is not displayed instantly. It is updated

[android-developers] why make -j4 failed

2012-05-26 Thread smith jack
the error msg is just as follows: jack@ubuntu:~/dsk/and_small$ make PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=4.0.1 TARGET_PRODUCT=full TARGET_BUILD_VARIANT=eng TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm

Re: [android-developers] Re: How to update a widget from data passed from activity

2012-05-26 Thread TreKing
On Sat, May 26, 2012 at 3:49 AM, Sunil Mishra suniljmis...@gmail.comwrote: I am able to see the contents, but it is not displayed instantly. It is updated after some time. What is some time? What are you doing now? What have you tried?

[android-developers] Re: How to update a widget from data passed from activity

2012-05-26 Thread Sunil Mishra
I just want, that once i close the activity, the data i entered in edittext should appear on the widget. I dont know how much time it actually takes, but it does not show the message immediately On May 26, 2:11 pm, TreKing treking...@gmail.com wrote: On Sat, May 26, 2012 at 3:49 AM, Sunil Mishra

[android-developers] Eclipse and DDMS

2012-05-26 Thread Francisco M. Marzoa Alonso
Hi, Is there anyway to see and edit hidden files on android devices from Eclipse/DDMS? Thanks a lot in advance, -- 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

Re: [android-developers] permission to access another apk's assets/ directory

2012-05-26 Thread Mark Murphy
On Sat, May 26, 2012 at 3:42 AM, Latimerius l4t1m3r...@googlemail.com wrote: I take it from your reply all security pertains pretty much internal storage only. External storage classically was on vfat (e.g., SD card), where Linux permissions really don't work too well. Internal storage is where

Re: [android-developers] Menu button deprecated in 3.0

2012-05-26 Thread Jim Graham
On Fri, May 25, 2012 at 06:01:49PM -0500, TreKing wrote: On Fri, May 25, 2012 at 5:45 PM, RLScott fixthatpi...@yahoo.com wrote: Is it really possible that someone with a 3.0 or later device might not be able to access my menus? It's unlikely the Android framework developers would break

Re: [android-developers] why make -j4 failed

2012-05-26 Thread Mark Murphy
This list has nothing to do with building the firmware. Please visit http://source.android.com for your firmware questions, including the list of Google Groups related to firmware development. On Sat, May 26, 2012 at 5:11 AM, smith jack thinke...@gmail.com wrote: the error msg is just as

Re: [android-developers] permission to access another apk's assets/ directory

2012-05-26 Thread Latimerius
On Sat, May 26, 2012 at 12:47 PM, Mark Murphy mmur...@commonsware.com wrote: On Sat, May 26, 2012 at 3:42 AM, Latimerius l4t1m3r...@googlemail.com wrote: External storage classically was on vfat (e.g., SD card), where Linux permissions really don't work too well. Internal storage is where the

Re: [android-developers] permission to access another apk's assets/ directory

2012-05-26 Thread Mark Murphy
On Sat, May 26, 2012 at 8:23 AM, Latimerius l4t1m3r...@googlemail.com wrote: Although... I don't think it's possible to set up an APK so that some files go straight into the private internal storage area during installation, is it? No. You are welcome to copy stuff out of assets into internal

Re: [android-developers] permission to access another apk's assets/ directory

2012-05-26 Thread Latimerius
On Sat, May 26, 2012 at 2:26 PM, Mark Murphy mmur...@commonsware.com wrote: On Sat, May 26, 2012 at 8:23 AM, Latimerius l4t1m3r...@googlemail.com wrote: Although... I don't think it's possible to set up an APK so that some files go straight into the private internal storage area during

Re: [android-developers] Re: How to update a widget from data passed from activity

2012-05-26 Thread TreKing
On Sat, May 26, 2012 at 4:17 AM, Sunil Mishra suniljmis...@gmail.comwrote: I just want, that once i close the activity, the data i entered in edittext should appear on the widget. I dont know how much time it actually takes, but it does not show the message immediately You didn't answer a

[android-developers] Does a phone have to be unlocked before rooting or custom ROM installation will work?

2012-05-26 Thread HippoMan
I have purchased and successfully rooted a few of Android devices in the past, and I have also installed custom ROM's on most of them after rooting ... such as the Cyanogen ROMs. However, each time in the past, I had performed these actions on an unlocked device. Now, I'm thinking of purchasing a

[android-developers] drawable-xhdpi-v9 ?

2012-05-26 Thread Mark Carter
When using android:minSdkVersion less than 9, is it (or should it be) standard practice to use drawable-xhdpi-v9 instead of drawable-xhdpi? -- 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] drawable-xhdpi-v9 ?

2012-05-26 Thread Mark Murphy
On Sat, May 26, 2012 at 11:05 AM, Mark Carter mjc1...@googlemail.com wrote: When using android:minSdkVersion less than 9, is it (or should it be) standard practice to use drawable-xhdpi-v9 instead of drawable-xhdpi? It is not standard practice, nor would I recommend it. You use a -vNN resource

[android-developers] Re: noob developer, application keeps restarting

2012-05-26 Thread Yan
Yes, strongly recommended against is more realistic, and polite, than universally a sign that the programmer took the cheap, unprofessional way out. Its good to see of other ways of handling corruption. There's no doubt what the professional-opinion is in the episode when the OFF button is

Re: [android-developers] Re: noob developer, application keeps restarting

2012-05-26 Thread Kristopher Micinski
On Sat, May 26, 2012 at 11:37 AM, Yan yinor...@gmail.com wrote: Yes, strongly recommended against is more realistic, and polite, than universally a sign that the programmer took the cheap, unprofessional way out. Its good to see of other ways of handling corruption. Because Dianne works for

Re: [android-developers] Re: noob developer, application keeps restarting

2012-05-26 Thread Kristopher Micinski
The only situation where I can see this as appropriate is in the case where you're doing something with the system, where your app is really doing something with the system instead, and in this case it is off topic for this list (related to app development with the SDK). kris On Sat, May 26,

Re: [android-developers] drawable-xhdpi-v9 ?

2012-05-26 Thread Mark Carter
When min level is pre-Donut, I remember there is a common approach to use drawable-ldpi-v4, drawable-hdpi-v4, drawable-nodpi-v4 (as well as drawable) for similar reasons. If I have an app with ONLY xhdpi resources and set the minimum level to 8, then I notice the drawable-xhdpi resources are

Re: [android-developers] drawable-xhdpi-v9 ?

2012-05-26 Thread Mark Murphy
On Sat, May 26, 2012 at 12:12 PM, Mark Carter mjc1...@googlemail.com wrote: When min level is pre-Donut, I remember there is a common approach to use drawable-ldpi-v4, drawable-hdpi-v4, drawable-nodpi-v4 (as well as drawable) for similar reasons. If I have an app with ONLY xhdpi resources and

Re: [android-developers] Re: Supporting Galaxy Note Issues Due To It Displaying Itself as a LARGE screen layout.

2012-05-26 Thread b0b
I'm in the middle of addressing the Galaxy Note layouting and found this thread. This device is an anomally with its large/xhdpi nature on Gingerbread, breaking the long standing assumption that large = tablet. Of course Samsung knew they were going to break stuff. According to the latest

Re: [android-developers] Does a phone have to be unlocked before rooting or custom ROM installation will work?

2012-05-26 Thread TreKing
On Sat, May 26, 2012 at 9:27 AM, HippoMan hippo.mail...@gmail.com wrote: Now, I'm thinking of purchasing a locked phone (myTouch 4G Slide from T-Mobile), and I'm wondering if the phone's locked status would prevent the rooting or subsequent custom ROM installation in any way. You're on the

Re: [android-developers] Re: Supporting Galaxy Note Issues Due To It Displaying Itself as a LARGE screen layout.

2012-05-26 Thread b0b
On Saturday, 26 May 2012 18:23:18 UTC+2, b0b wrote: I'm in the middle of addressing the Galaxy Note layouting and found this thread. Speaking of which...the Galaxy Note is a 800px x 1280px device with generalized dpi = 320 (xhdpi bucket) Which makes the general density factor = 2 (the

Re: [android-developers] Re: Supporting Galaxy Note Issues Due To It Displaying Itself as a LARGE screen layout.

2012-05-26 Thread Kostya Vasilyev
Samsung also used interesting screen metrics on the original Galaxy Tab P1000. But back then, 1) the size buckets weren't what they are now 2) there were few apps with tablet specific layouts, so their motivation could possibly be trying to up-scale the entire app. As for me, I design my

Re: [android-developers] Re: How to update a widget from data passed from activity

2012-05-26 Thread Kostya Vasilyev
You can use AppWidgetManager and its methods outside of a widget's onUpdate. So either broadcast an action to your widget provider telling it to update, or implement the updating somewhere else. -- K 26.05.2012 13:17, Sunil Mishra написал: I just want, that once i close the activity, the

Re: [android-developers] Re: Supporting Galaxy Note Issues Due To It Displaying Itself as a LARGE screen layout.

2012-05-26 Thread b0b
As for me, I design my -large / -xlarge layouts based on the real devices out there, The Galaxy Note is absolute pain as my -large layouts are made for tablets (ie at least 7 or smallest Width = 600dp). The Note can be handled nicely with the new sw qualifier introduced in Android 3.2

Re: [android-developers] drawable-xhdpi-v9 ?

2012-05-26 Thread Dianne Hackborn
There is no need to here, previous versions of the platform (down to API 4) know about the density configuration and will pick the correct density for you. On Sat, May 26, 2012 at 9:20 AM, Mark Murphy mmur...@commonsware.comwrote: On Sat, May 26, 2012 at 12:12 PM, Mark Carter

Re: [android-developers] Re: Supporting Galaxy Note Issues Due To It Displaying Itself as a LARGE screen layout.

2012-05-26 Thread Dianne Hackborn
On Sat, May 26, 2012 at 11:36 AM, b0b pujos.mich...@gmail.com wrote: In short, f... Samsung and the Galaxy Note for this huge mess. And thanks Google for not thinking about the new Android 3.2 qualifiers, *before*. You're very welcome. -- Dianne Hackborn Android framework engineer

Re: [android-developers] drawable-xhdpi-v9 ?

2012-05-26 Thread Mark Carter
Do you just mean the density configuration in general? Surely Donut did not specifically know about xhdpi (which was only introduced in Gingerbread)? On 27 May 2012 10:53, Dianne Hackborn hack...@android.com wrote: There is no need to here, previous versions of the platform (down to API 4)

[android-developers] Android — streaming a shoutcast metadata removed audio file

2012-05-26 Thread Johnh10000
For Android ICS I have written a program that gets a Shoutcast stream, it then removes the metadata and saves it to the sdcard, works perfectly. I would like now to send the stream to mediaplayer. I have tried to use the npr streamproxy with no joy. Is it possible to read my saved audio file?