Re: [android-developers] /dev/graphics/fb0 pemission

2011-03-09 Thread Marcin Orlowski
On 9 March 2011 06:58, ke tang mumut...@gmail.com wrote: I porting the ffmpeg-0.6.1 version to android 2.1, and when I use the ffmpeg to encode screen with the /dev/graphics/fb0 file. but get the Operation is not permitted error message, and I affirm that use id is root. framebuffer is not

[android-developers] Re: Install % drop again?

2011-03-09 Thread Zsolt Vasvari
Nothing is impossible, but I doubt it in this case. My app is probably the 2nd most popular (but the highest average rating) among it's direct competitors, but the #1 app has not moved down in ranking, actually the opposite. My app has also never been on the front page that I know of, which I

[android-developers] Re: Read CSV from web

2011-03-09 Thread Indicator Veritatis
I have used openscv before. I liked it. It is very straightforward to use and documented well enough. I chose it over another open source library that was so poorly documented, it would have been easier to code my own from scratch! It also has a commercial friendly license. On Mar 8, 6:17 pm,

[android-developers] Re: Camera startPreview() failed on Nexus S with Gingerbread

2011-03-09 Thread Paolo
Thanks Mark. I'll compare my code with yours, to understand where the problem is. On 8 Mar, 15:17, Mark Murphy mmur...@commonsware.com wrote: The Nexus S works just fine with camera previews. See:

[android-developers] Re: Managing Out of memory

2011-03-09 Thread Manish Garg
Thanks Thomas. Is there any benifit of using Runtime.getRuntime().freeMemory() over ActivityManager.MemoryInfo()? MemroyInfo.availMemory also gives free memory size but for the device. On Mar 9, 12:42 pm, Thomas thomasjakw...@gmail.com wrote: you could model this in an algorithmic fashion:

Re: [android-developers] ICON PROBLEM

2011-03-09 Thread Kostya Vasilyev
09.03.2011 12:14, rishabh agrawal пишет: HI FRIENDS, PLZ GIVE ME A SUGGESTION WHERE I FIND MORE RELIGIOUS ICON.ANY WEBSITE OR SOFT,OR HOW TO CREATE OWN ICON PLZ HELP How about this: http://www.iconfinder.com/search/?q=jesus I really like the third one: Jesus, reloaded ? -- Kostya Vasilyev

[android-developers] ICON PROBLEM

2011-03-09 Thread rishabh agrawal
HI FRIENDS, PLZ GIVE ME A SUGGESTION WHERE I FIND MORE RELIGIOUS ICON.ANY WEBSITE OR SOFT,OR HOW TO CREATE OWN ICON PLZ HELP -- 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: Managing Out of memory

2011-03-09 Thread Manish Garg
I have tried to use following logic ActivityManager activityManager = (ActivityManager)getSystemService(ACTIVITY_SERVICE); MemoryInfo memoryInfo = new ActivityManager.MemoryInfo(); activityManager.getMemoryInfo(memoryInfo); long availableMemory =

[android-developers]

2011-03-09 Thread vani reddy
Hi, I am not able to display the image,after converting to bitmap ,i am getting the below error /skia(3679): --- decoder-decode returned false i am using the below class import java.io.FilterInputStream; import java.io.IOException; import java.io.InputStream; public class PlurkInputStream

[android-developers] Honeycomb / Fragments: can't remove a fragment added in XML layout

2011-03-09 Thread C. Plantier
Hi, I can't remove a Fragment that was added in an XML layout file, using a FragmentTransaction. I don't understand why, I probably misunderstood something and I would appreciate some explanations. Here's a simple code to demonstrate my problem : ** Main layout, main.xml:

[android-developers] Am unable to make breakpoint work in Eclipse

2011-03-09 Thread Bernard T. Higonnet
Hello, This actually an Eclipse question, but I hope someone will be kind enough to answer it. I have an android application which I'm debugging with Eclipse. I have defined a number of breakpoints all of which work except one. When I create it (toggle under right button) it creates the

[android-developers] How to set Parent ImageView Style

2011-03-09 Thread mac-systems
Hello, i've just cant figure out why this should be wrong ? style name=Logo parent=@android:style/Widget.ImageView item name=android:layout_widthwrap_content/item item name=android:layout_height@dimen/title_height/item item name=android:src@drawable/mv_logo/item item

[android-developers] appwidgets

2011-03-09 Thread b_t
Hi, some of my users complains that my appwidgets aren't found in the widget list so they can't add them to the dashboard. Does anyone know how it is possible? I reinstall my app many times from apk - not from the market - during development and sometimes I got the same problem and I have to

Re: [android-developers] How to set Parent ImageView Style

2011-03-09 Thread Kostya Vasilyev
09.03.2011 13:31, mac-systems пишет: Eclipse complain about the parent :error: Error retrieving parent for item: No resource found that matches the given name '@android:style/ Widget.ImageView'. Whats is different for an ImageView ? There isn't a Widget.ImageView style in Android as far as I

Re: [android-developers] Map API Key is not working generated through signup Certificate

2011-03-09 Thread Deepak Kumar
Hi All, Can anyone tell me the *solution for the problem that I asked above*?I urgently need solution because my app is ready for release but till now I used debug certificate generated Map API key but before release it should be sign up certificate generated Map API Key but

[android-developers] Re: startMethodTracing() can't open trace files

2011-03-09 Thread maccoy
I faced similar probelem, removing the uses-sdk... from manifest solved it. try removing uses-sdk android:minSdkVersion=5 android:targetSdkVersion=8 / and check. On Mar 9, 5:50 am, Mark Murphy mmur...@commonsware.com wrote: Do not hardcode /sdcard, as that is wrong on most

[android-developers] Re: custom attributes in library projects

2011-03-09 Thread C. Plantier
This has been fixed (tested with latest SDK tools 10, platform API 11). On Feb 24, 12:41 pm, Romain choicesm...@gmail.com wrote: Hi, Any chance this has been fixed - or a workaround is available? Library projects seem to be the best approach to release multiple versions of an app (ex:

[android-developers] Re: Am unable to make breakpoint work in Eclipse

2011-03-09 Thread C. Plantier
Can you show us a few lines of code with the position of the breakpoints? On Mar 9, 12:01 pm, Bernard T. Higonnet bthigon...@gmail.com wrote: Hello, This actually an Eclipse question, but I hope someone will be kind enough to answer it. I have an android application which I'm debugging

[android-developers] Re: How to create array object of SharedPreference to store various data

2011-03-09 Thread C. Plantier
See SharedPreferences.Editor.putStringSet(String key, SetString values) On Mar 4, 9:22 am, manish manishrajja...@gmail.com wrote: Hi, everyone .I am very new in android.I am trying to develop app which has a list view of various places name and each have its property (name, lat, long,

[android-developers] Re: How to set Parent ImageView Style

2011-03-09 Thread mac-systems
I'm still curios about that there is no parent style, my understanding was that a lot of the default behaviour comes from this styles? For example the scaletype has a default value,i think Thx a lot, Jens On 9 Mrz., 11:34, Kostya Vasilyev kmans...@gmail.com wrote: 09.03.2011 13:31,

[android-developers] Change incoming name in Dialer

2011-03-09 Thread viktor
Hi, Is it any tricks to change name in Dialer on the fly (when dialer is in Ringing state )? In dialer we can see Name with label Unknown, I want to replace it on my own label. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Xml Parser for Android Layout.

2011-03-09 Thread arindam
Dear Developers, I am currently trying to parse android layout xml file using simple xml parser. Actually this layout xml file is in sdcard. I am unable to parse. Is their any better way to do. Your kind information will help me a lot. Thanks regards Arindam Ghosh -- You

Re: [android-developers] Re: How to set Parent ImageView Style

2011-03-09 Thread Kostya Vasilyev
Well, I can only guess but - Image view attributes have to do with two things: what and how, as in, what image to display, and how it should be done. Having defaults for those probably doesn't make sense: would you want ImageView to have a default image, if src is not specified? The only

[android-developers] How android system establish a data connection

2011-03-09 Thread Amit
Hi All, How android system try to establish a data connection at the time of power up or when we set up an apn. As I checked the framework code, DataConnection.java is a state machine which interacts with RIL in order to activate/deactivate a data connection. But when I put up any debug log in

[android-developers] Identify phone number on web page

2011-03-09 Thread Anndy
Hi All, I have a html page which i am going to open in a WebView. Is there a way I can identify a phone number on the page and when click on it, calls the number. Regards, Anndy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Menu Help

2011-03-09 Thread Raghav Sood
Hi everyone, I have a menu in my game which currently has only a New Game option. I want it to have another option Reset Score. I wrote some code for it but it fails to work. My current code is: @Override public boolean onCreateOptionsMenu(Menu menu) {

[android-developers] Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-09 Thread draf...@gmail.com
I have recently downloaded the add on to Eclipse for the 2.3 SDK. My minSDK is 2.1update-1. Previously I only had up to the 2.2 SDK and I could change my XML files and drawables without hassle and the generated R.java file would regenerate properly. The same if I changed my aidl files, the stubs

Re: [android-developers] App not showing up Motorola Xoom's Market

2011-03-09 Thread Mark Murphy
The XOOM is not a phone. You are requiring the CALL_PHONE permission (which, to be honest, makes no sense to me for a aviation weather app). You probably do not have the proper uses-feature element to make that combination work. More details here:

Re: [android-developers] Menu Help

2011-03-09 Thread Mark Murphy
There is no onOptionsngSelected() method in Android. There is no onOptionsrsSelected() method in Android. If you want to find out when an options menu item is clicked, you must override onOptionsItemSelected(). On Wed, Mar 9, 2011 at 7:46 AM, Raghav Sood raghavs...@gmail.com wrote: Hi everyone,

Re: [android-developers] Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-09 Thread Kostya Vasilyev
I'm occasionally seeing this with ADT 10, SDK 2.2 (API 10), Eclipse 3.6.2. For now, I just clean my project when this happens (usually my code blows up in the main activity's setContent because of shifting resource IDs). -- Kostya 09.03.2011 15:52, draf...@gmail.com пишет: I have recently

Re: [android-developers] Menu Help

2011-03-09 Thread Kostya Vasilyev
I don't see any code connecting those menu items with onOptionsngSelected and onOptionsrsSelected (which are not Android framework methods). Read this for more info: http://developer.android.com/guide/topics/ui/menus.html -- Kostya 09.03.2011 15:46, Raghav Sood пишет: Hi everyone, I have

Re: [android-developers] Menu Help

2011-03-09 Thread Raghav Sood
I tried that too but it only works if I am checking only 1 of the options. I can't ghet it to work with both of the options. Any ideas? On 3/9/11, Mark Murphy mmur...@commonsware.com wrote: There is no onOptionsngSelected() method in Android. There is no onOptionsrsSelected() method in Android.

Re: [android-developers] Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-09 Thread Donal Rafferty
Clean is of no benefit to me in my case I'm afraid, does nothing. Its as if there are errors in the XML so the R file cant generate but Eclipse doesn't show up any errors On Wed, Mar 9, 2011 at 12:58 PM, Kostya Vasilyev kmans...@gmail.com wrote: I'm occasionally seeing this with ADT 10, SDK 2.2

Re: [android-developers] Menu Help

2011-03-09 Thread Raghav Sood
Okay. now I have changed the code to this: @Override public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); @SuppressWarnings(unused) MenuItem ng = menu.add(New Game); @SuppressWarnings(unused) MenuItem rs = menu.add(reset

Re: [android-developers] Menu Help

2011-03-09 Thread Mark Murphy
On Wed, Mar 9, 2011 at 8:03 AM, Raghav Sood raghavs...@gmail.com wrote: I tried that too but it only works if I am checking only 1 of the options. I can't ghet it to work with both of the options. Any ideas? Use a more worthwhile add() method, one that takes an id.

[android-developers] Change icon

2011-03-09 Thread iñaki
Hi, is possible you can change the icon when you click on it an overlay of a Mapview? Regards -- 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] Menu Help

2011-03-09 Thread Raghav Sood
I went through the XML example that mark provided as that is the way I would prefer it. Now my code is @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.game_menu, menu); return true; }

[android-developers] Problem stripping Log calls with ProGuard

2011-03-09 Thread Marcin Orlowski
Hi, I try to strip all log calls from release app using proguard (-assumenosideeffects) i noticed not all is removed. Some cases are clearly understandable to left some traces i.e. Log.i(foo + bar()); one, but I wonder what I can do (except manually comenting it out) this: if( ... ) { ... some

Re: [android-developers] Menu Help

2011-03-09 Thread Mark Murphy
Use breakpoints or log statements to debug your code. I see nothing obviously wrong with what you have here. Perhaps your difficulty lies in setBoard(). On Wed, Mar 9, 2011 at 8:27 AM, Raghav Sood raghavs...@gmail.com wrote: I went through the XML example that mark provided as that is the way I

Re: [android-developers] Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-09 Thread Donal Rafferty
Just to add to this I have now also deleted every single XML file under my res folder and the R.java file still did not rebuild, what is going on!?? On Wed, Mar 9, 2011 at 1:07 PM, Donal Rafferty draf...@gmail.com wrote: Clean is of no benefit to me in my case I'm afraid, does nothing. Its as

Re: [android-developers] Re: Install % drop again?

2011-03-09 Thread TreKing
On Wed, Mar 9, 2011 at 1:54 AM, DraganA dand...@gmail.com wrote: On the other hand, maybe Google realized that a lot of people are bored with seeeing the same old apps on the front Market page week in week out. Seriously. Every time I see the giant promo graphic for Talking Tom Cat on the

Re: [android-developers] Change icon

2011-03-09 Thread TreKing
On Wed, Mar 9, 2011 at 7:26 AM, iñaki inaki.s...@gmail.com wrote: Hi, is possible you can change the icon when you click on it an overlay of a Mapview? Yes, it is possible. - TreKing

Re: [android-developers] Re: Install % drop again?

2011-03-09 Thread Marcin Orlowski
On the other hand, maybe Google realized that a lot of people are bored with seeeing the same old apps on the front Market page week in week out. Seriously. Every time I see the giant promo graphic for Talking Tom Cat on the Market main screen, I want to punch my phone in the face. It's been

[android-developers] Bitmap recycle

2011-03-09 Thread b_t
Hi, when I use imageView.setImageResource(int) or imageView.setImageDrawable(packageManager.getApplicationIcon(packageName)) or imageView.setImageDrawable(resolveInfo.loadIcon(packageManager)) should I recycle bitmap inside the imageView when I change the image? Or not because the returned

Re: [android-developers] Re: Android 2.3 Causes memory intensive app to crash

2011-03-09 Thread appel
Follow up to my OT reply. It seems like I'm not the only one experiencing the no more pmem available error since updating to 2.3.3. Happens even when using only built-in applications (with market updates). http://code.google.com/p/android/issues/detail?id=15135 -- You received this message

[android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-09 Thread C. Plantier
Does the console show any error? On Mar 9, 3:04 pm, Donal Rafferty draf...@gmail.com wrote: Just to add to this I have now also deleted every single XML file under my res folder and the R.java file still did not rebuild, what is going on!?? On Wed, Mar 9, 2011 at 1:07 PM, Donal Rafferty

Re: [android-developers] Menu Help

2011-03-09 Thread Raghav Sood
Thanks Mark, I am reasonably sure there is nothing wrong with setBoard(); but I may be wrong so here is setVoard(): private void setBoard() { ai = new AI(); b = new Button[4][4]; c = new int[4][4]; won = (TextView) findViewById(R.id.won); drawn =

[android-developers] Re: Sharing data across Activities

2011-03-09 Thread DebUggEr
Seems like heres the answer. I am not an expert but do consider and let me know too. ANDROID.APP.APPLICATION CLASS Each Android application can have at most one android.app.Applicationassociated with it. You are responsible for sub-classing the Application Class, and it is used to maintain a

Re: [android-developers] Menu Help

2011-03-09 Thread Mark Murphy
android.util.Log, and you access it no differently than you do anywhere else (adb logcat, DDMS, or the DDMS perspective in Eclipse). On Wed, Mar 9, 2011 at 9:27 AM, Raghav Sood raghavs...@gmail.com wrote: Thanks Mark, I am reasonably sure there is nothing wrong with setBoard(); but I may be

[android-developers] Re: Which Mobile Advertising Site?

2011-03-09 Thread Jake Colman
Miguel, I did do some googling and I ended up getting confused! :-) Some general questions about this sort of thing, not vendor-specific: 1) Do developers integrate more than one SDK into an app in order to maximize impressions? Or do you pick one and stick with it? 2) The developer gets

Re: [android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-09 Thread Donal Rafferty
No, the console is blank and there are no problems reported in the problems tab On Wed, Mar 9, 2011 at 2:27 PM, C. Plantier clemplant...@gmail.com wrote: Does the console show any error? On Mar 9, 3:04 pm, Donal Rafferty draf...@gmail.com wrote: Just to add to this I have now also deleted

[android-developers] Re: App not showing up Motorola Xoom's Market

2011-03-09 Thread andrew_esh
Is there a way to gain CALL_PHONE permission when the program runs? For instance, could this app get CALL_PHONE when it happens to be running on a phone, and when it's on the XOOM, it does not provide the feature set that requires CALL_PHONE? If that decision can't be made at runtime, then two

Re: [android-developers] Re: Which Mobile Advertising Site?

2011-03-09 Thread TreKing
On Wed, Mar 9, 2011 at 8:32 AM, Jake Colman col...@ppllc.com wrote: 4) My app is a widget that runs all the time plus an activity that the user may or may not wish to view in order to see some extra information. If the user does display that activity it is likely to be displayed for just 20

Re: [android-developers] Re: App not showing up Motorola Xoom's Market

2011-03-09 Thread Marcin Orlowski
On 9 March 2011 15:41, andrew_esh andrew.c@gmail.com wrote: Is there a way to gain CALL_PHONE permission when the program runs? For instance, could this app get CALL_PHONE when it happens to be running on a phone, and when it's on the XOOM, it does not provide the feature set that requires

Re: [android-developers] Re: App not showing up Motorola Xoom's Market

2011-03-09 Thread Mark Murphy
On Wed, Mar 9, 2011 at 9:41 AM, andrew_esh andrew.c@gmail.com wrote: Is there a way to gain CALL_PHONE permission when the program runs? No, but you can still ask for the CALL_PHONE permission. You just need to adjust your manifest to include the proper uses-feature element to say that you

Re: [android-developers] Re: Which Mobile Advertising Site?

2011-03-09 Thread Justin Giles
I think you answered your own question: using ads this way is utterly pointless. Most of us make nearly nothing on ads in full-blown, interactive apps. You will probably make exactly nothing. I would consider a donate option in there instead. Or a link to the full version, if you have one. I

Re: [android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-09 Thread Aitor Mendaza Ormaza
This once happened to me once. I had an error in the AndroidManifest.xml file, but eclipse didn't show the error. Once fixed, everything went back to work again :) On Wed, Mar 9, 2011 at 3:34 PM, Donal Rafferty draf...@gmail.com wrote: No, the console is blank and there are no problems reported

Re: [android-developers] Xml Parser for Android Layout.

2011-03-09 Thread TreKing
On Wed, Mar 9, 2011 at 5:29 AM, arindam arindam2gh...@gmail.com wrote: I am currently trying to parse android layout xml file using simple xml parser. Why? Actually this layout xml file is in sdcard. Why? I am unable to parse. Why? Is their any better way to do. Better than

[android-developers] Please help me test my app

2011-03-09 Thread Raghav Sood
HI everyone, I have recently made a Knots and Crosses game. I have only one Android device and would like to get feedback on other devices. Also if anyone has suggestions for the AI please tell me. You can download it at https://www.raghavsood.com/downloads/android/apps/kac. Thanks -- Raghav

Re: [android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-09 Thread Donal Rafferty
I was hoping it would be something like that but its not, regeneration works fine on 2.2 SDK + a previous ADT but fails on 2.3 SDK + ADT 10, is there something in the Manifest I have to change for 2.3 SDK? On Wed, Mar 9, 2011 at 3:10 PM, Aitor Mendaza Ormaza aitorthe...@gmail.comwrote: This

Re: [android-developers] Problem stripping Log calls with ProGuard

2011-03-09 Thread Daniel Drozdzewski
Marcin, You have an interesting problem. ProGuard analyses the calls you have specified and only if it can determine that there is no return value, then the call gets removed. It is hard to speculate, what each call to Log.d(foo) can cause, and whether ProGuard can actually trace that there are

Re: [android-developers] Re: Create native typeface in 2.31

2011-03-09 Thread Nikolay Elenkov
On Mon, Mar 7, 2011 at 4:11 AM, kernelpanic j.m.roya...@gmail.com wrote: yep, I already rescinded my statement, jumped the gun there - my apologies. My font is actually a TrueType collection (ttc file). I see you are having problems with a regular ttf file so that may not be the issue, but

Re: [android-developers] Please help me test my app

2011-03-09 Thread Jeremy Cowgar
I tested on my Droid X. It would be nice for the tiles to scale. The game only occupied the upper left side of the screen. Also, the bottom text entry displays text that I cannot read because the text is maybe 2x larger than the entry widget. Thus, I can only see the bottom half of the text.

Re: [android-developers] Please help me test my app

2011-03-09 Thread Raghav Sood
Thanks Jeremy, I was expecting the layout problem as I am using an absolute layout for now but will change it to relative in the next version. As for the text widget that was unexpected but I shall try to fix it. I also know that my AI often lets go of obvious wins but haven't been able to fix

[android-developers] Develop Software or Systems? Earn Guaranteed $10 or have $10 donated to FIRST; Chance to Win an iPad 2

2011-03-09 Thread OnTargetEmbedded
VDC Research is conducting its annual survey of embedded engineers, and if you are involved in the engineering of mobile or embedded systems/software, this is your chance to influence key embedded solution suppliers. The research covers embedded software, hardware, tools, and development practices

[android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-09 Thread ericharlow
I am using the 1.6 SDK + ADT 10 just downloaded it yesterday. I have the same issue with no generated R.java file after cleaning the project. But if I click on the project and press F5 to refresh the error goes away and the project builds fine and R.java is present. Is this an error in ADT 10? On

[android-developers] Fragment.onActivityResult is not called

2011-03-09 Thread drasticp
I have an application that targets 2.1. I'm using the Android Compatibility Package to migrate the code in my Activities to Fragments. I had an Activity which was launching a contact picker as follows: Intent contactPickerIntent = new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI);

[android-developers] Gingerbread phone call recording?

2011-03-09 Thread Hank
I tried to make an app to record phone conversations using the MediaRecorder class for Froyo on my Nexus One, and it turned out unsuccessfully. I was wondering with the new firmware Gingerbread, if it was possible to record phone conversations now? -- You received this message because you are

[android-developers] Re: Lost libraries after updating ADT and SDK

2011-03-09 Thread Nathan
In preferences, under Java-Compiler, it most definitely says 1.6. But since Helios supports 64 bit now, there is just a chance that I need the 64 bit JDK now. Otherwise I'm not sure where to look. Nathan On Mar 8, 11:01 pm, Kostya Vasilyev kmans...@gmail.com wrote: Should 1.6, this error

[android-developers] Re: Is Nexus S NFC card sharing done with P2P or card emulation?

2011-03-09 Thread Dominik
It is P2P. The application can register an NDEF message with adapter.enableForegroundNdefPush. Typically this feature is enabled in onResume and disabled in onPause, but I expect that the P2P mode can also be active when the activity is not in the foreground. Dominik -- You received this

[android-developers] Re: Identify phone number on web page

2011-03-09 Thread drasticp
Take a look at the Linkify class. It may be quite useful. You would need to use it to add markup to the html before the webview renders it. http://developer.android.com/reference/android/text/util/Linkify.html On Mar 9, 6:22 am, Anndy see.n...@gmail.com wrote: Hi All, I have a html page which

[android-developers] Re: Honeycomb / Fragments: can't remove a fragment added in XML layout

2011-03-09 Thread drasticp
I reproduced your issue. It seems the same for me. FragmentTransaction.hide(Fragment) seems to work, but remove does not. Also, the second attempt generates an exception as you described. 1up. -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Re: Sharing data across Activities

2011-03-09 Thread Dianne Hackborn
That description is pretty misleading. It doesn't give you complete control over management of application lifecycle, and I really have no idea what it means in the second bullet point (you could just as well do what I think it is describing using a static global). On Wed, Mar 9, 2011 at 6:31

Re: [android-developers] Re: Lost libraries after updating ADT and SDK

2011-03-09 Thread Kostya Vasilyev
09.03.2011 17:54, Nathan пишет: In preferences, under Java-Compiler, it most definitely says 1.6. Did you check project-specific settings as well? Right click on a project, select Properties, then Java compiler. Make sure that project-specific settings are either off, or are also set to 1.6.

Re: [android-developers] Honeycomb / Fragments: can't remove a fragment added in XML layout

2011-03-09 Thread Dianne Hackborn
To be honest, I'm not sure if this should work. Defining fragments in XML is mostly intended for things that are going to stay around. If you are going to add and remove, you should probably consistently do it dynamically. I can look into this for a future release, but please note that whatever

Re: [android-developers] Fragment.onActivityResult is not called

2011-03-09 Thread Dianne Hackborn
Does the API demo for this work wherever you are running it? I have tested it on 3.0, 2.3, and 1.6, and it works in those places, not would I expect it to have any trouble elsewhere. (How this works is very simple, it just masks out the top X bits of the request code to determine which fragment

[android-developers] How to update the media database

2011-03-09 Thread Abhishek Talwar
Can we update the database?? Since i am deleting the songs from sdcard so i would like to show the updated list when delete button is clicked -- 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: Change incoming name in Dialer

2011-03-09 Thread dirk
I don't believe so. If it's a known number, the only thing I can think of is to add a contact for that number (with the user's approval, of course). Dirk On Mar 9, 2:58 am, viktor victor.scherb...@gmail.com wrote: Hi, Is it any tricks to change name in Dialer on the fly (when dialer is in

[android-developers] App Testing

2011-03-09 Thread DanielleM
Hello all: I saw that some people on this forum were asking for the help of others on here to test their apps on different devices and I was hoping to also get some help with this. You can download my app here: http://www.wusf.org/Android_App/WUSF_Android.html I've been having issues getting

[android-developers] Experiences with Application Licensing?

2011-03-09 Thread Chris Stewart
I had initially enabled Copy Protection prior to it being listed as deprecated and I have a growing concern over piracy when I compare my sales numbers from Checkout, to what the Android Market shows, and what Flurry is reporting. The numbers simply don't add up, and aren't even close really, so

Re: [android-developers] Experiences with Application Licensing?

2011-03-09 Thread TreKing
On Wed, Mar 9, 2011 at 11:33 AM, Chris Stewart cstewart...@gmail.comwrote: If you've evaluated application licensing and have thoughts on how it has worked out for you, or perhaps why you decided not to implement it, I'd appreciate hearing them.

Re: [android-developers] Gingerbread phone call recording?

2011-03-09 Thread TreKing
On Wed, Mar 9, 2011 at 10:24 AM, Hank hwang...@gmail.com wrote: I was wondering with the new firmware Gingerbread, if it was possible to record phone conversations now? http://developer.android.com/sdk/android-2.3.html http://developer.android.com/sdk/android-2.3.html

[android-developers] Re: Install % drop again?

2011-03-09 Thread DraganA
When I made my earlier post, the bloody cat was exactly what I had in mind ;) On Mar 9, 2:04 pm, TreKing treking...@gmail.com wrote: On Wed, Mar 9, 2011 at 1:54 AM, DraganA dand...@gmail.com wrote: On the other hand, maybe Google realized that a lot of people are bored with seeeing the same

[android-developers] Status Bar Notifications

2011-03-09 Thread Brad Stintson
How to create status bar notification which notifies me every day at 10 am? -- 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] Status Bar Notifications

2011-03-09 Thread Kostya Vasilyev
09.03.2011 20:53, Brad Stintson пишет: How to create status bar notification which notifies me every day at 10 am? 1 - Use AlarmManager to schedule reliable, persistent (until reboot) alarms that trigger a BroadcastReceiver in your application.

Re: [android-developers] Status Bar Notifications

2011-03-09 Thread Brad Stintson
Can u please provide sample code? I am new to this. On Wed, Mar 9, 2011 at 11:31 PM, Kostya Vasilyev kmans...@gmail.com wrote: 09.03.2011 20:53, Brad Stintson пишет: How to create status bar notification which notifies me every day at 10 am? 1 - Use AlarmManager to schedule reliable,

Re: [android-developers] Status Bar Notifications

2011-03-09 Thread TreKing
On Wed, Mar 9, 2011 at 12:14 PM, Brad Stintson geek.bin...@gmail.comwrote: Can u please provide sample code? Can u please read the links Kostya provided and attempt to do something on your own? Or use Google, there are plenty of examples to be found in the documentation and internets.

[android-developers] problem in parsing two xml files

2011-03-09 Thread Siva Kannabiran
I am a new developer. In my app I am trying to parse two xml files. The first xml file contains some list of data as follows: ?xml version=1.0? Subjects Chapter chapter-nameA/chapter-name packspackpacknameB/packname /packs /Chapter /Subjects The data will be

[android-developers] Re: Gingerbread phone call recording?

2011-03-09 Thread Hank
That's used for VOIP, which isn't the same as recording a phone conversation from a call using the mobile carrier network. On Mar 9, 12:46 pm, TreKing treking...@gmail.com wrote: On Wed, Mar 9, 2011 at 10:24 AM, Hank hwang...@gmail.com wrote: I was wondering with the new firmware Gingerbread,

Re: [android-developers] Status Bar Notifications

2011-03-09 Thread Kostya Vasilyev
Here is one example that does pretty much what you asked for: http://www.androidcompetencycenter.com/tag/alarmmanager/ -- Kostya 09.03.2011 21:14, Brad Stintson пишет: Can u please provide sample code? I am new to this. On Wed, Mar 9, 2011 at 11:31 PM, Kostya Vasilyev kmans...@gmail.com

Re: [android-developers] Re: Gingerbread phone call recording?

2011-03-09 Thread TreKing
On Wed, Mar 9, 2011 at 12:21 PM, Hank hwang...@gmail.com wrote: That's used for VOIP, which isn't the same as recording a phone conversation from a call using the mobile carrier network. I think my point was lost. You asked if X was possible wit Y version of the API. To answer this

Re: [android-developers] Status Bar Notifications

2011-03-09 Thread Kostya Vasilyev
09.03.2011 21:18, TreKing пишет: Can u please read the links Kostya provided and attempt to do something on your own? Thank you, Major, sir :) -- Kostya Vasilyev -- http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Change incoming name in Dialer

2011-03-09 Thread viktor
Thank, I can add contact without approval, but I don't know if Dialer sync contact by change or only at Dialer startup. On 9 Бер, 19:22, dirk dhaa...@gmail.com wrote: I don't believe so. If it's a known number, the only thing I can think of is to add a contact for that number (with the user's

[android-developers] Re: Status Bar Notifications

2011-03-09 Thread roberto
Hi Brad, you might want to consider using the BuzzBox SDK to do schedule a Task very quickly. You can use a cron string to schedule your task, in your case it would be: SchedulerManager.getInstance() .saveTask(this, 0 10 * * 1,2,3,4,5,6,7, YourTask.class); The BuzzBox SDK takes care of

Re: [android-developers] Re: Which Mobile Advertising Site?

2011-03-09 Thread LAM_Creations
I have been using Admob but recently I tried Ad/Leads by Pontiflex. It is a different type of advertising the has much higher payouts. For me the payout has been 10 to 20 times greater than Admob. It allows users to select products they would like to hear more about with out ever leaving your

Re: [android-developers] Experiences with Application Licensing?

2011-03-09 Thread Chris Stewart
Great thread, thanks for posting that. I guess more than anything the false positives (or, negatives?) scare me the most. Last thing I want to do is piss off a paid customer. Maybe for now I'll just wait and see how LVL improves in the future and consider it in the future. -- Chris Stewart

[android-developers] Re: Am unable to make breakpoint work in Eclipse

2011-03-09 Thread Gregg Reno
Also make sure you have android:debuggable=true in the application element of your manifest. -Gregg -- 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

Re: [android-developers] Re: Status Bar Notifications

2011-03-09 Thread Marcin Orlowski
On 9 March 2011 19:59, roberto roberto.fo...@gmail.com wrote: http://hub.buzzbox.com/android-sdk/ Looks interesting but I personally am not happy with it being closed source (which I could stand) but integration with their analics. Who knows what it analites when your app got internet

[android-developers] Re: Repeating alarms with AlarmManager and daylight saving / leap years

2011-03-09 Thread roberto
Check out the BuzzBox SDK http://hub.buzzbox.com/android-sdk/ You can actually use a cron string to schedule your task: SchedulerManager.getInstance() .saveTask(this, 0 8-19 * * 1,2,3,4,5, YourTask.class); I'm actively working on this, so I would love your personal feedback. Roberto

Re: [android-developers] Problem stripping Log calls with ProGuard

2011-03-09 Thread Marcin Orlowski
ProGuard analyses the calls you have specified and only if it can determine that there is no return value, then the call gets removed. Maybe I mistunderstood return value concept there, but I created Log wrapper class and all its public method return void. So to my understanding all calls

  1   2   3   4   >