[android-developers] Re: Binding to a Remote service

2011-07-01 Thread gjs
Hi, Yes they can. http://developer.android.com/guide/developing/tools/aidl.html Note: Using AIDL is necessary only if you allow clients from different applications to access your service for IPC and want to handle multithreading in your service. If you do not need to perform concurrent IPC

[android-developers] Samsung Galaxy S kill my app

2011-07-01 Thread Károly Holczhauser
Hello Boys and Girls! I had wrote an app which plays the backgournd music with MediaPlayer. I had tested the app, and it is works on Htc Desire perfectly, but when I try to test it on Samsung Galaxy S it dies with nullpointer exception on the following part: mp_bg_music.play(); Yes, I had used

Re: [android-developers] back button problem

2011-07-01 Thread TreKing
On Fri, Jul 1, 2011 at 12:11 AM, ragupathi ragupathi ragumm...@gmail.comwrote: im new one for in android. im developing one application. im using database if i calling new activity to store the values in database it working fine. but when i came back to previous activity it not reloaded that

Re: [android-developers] Android Libray projects can not be launched

2011-07-01 Thread TreKing
On Fri, Jul 1, 2011 at 12:14 AM, bhaskar bommala bhaskar...@gmail.comwrote: I have made my project as library project You can't launch a library project ... since it's a library and not an app. -

Re: [android-developers] Android Libray projects can not be launched

2011-07-01 Thread bhaskar bommala
Hi Treking , thanks for your reply,Can i have solution for this ,is there any steps to solve... Thanks in Advance.. On Fri, Jul 1, 2011 at 12:15 PM, TreKing treking...@gmail.com wrote: On Fri, Jul 1, 2011 at 12:14 AM, bhaskar bommala bhaskar...@gmail.comwrote: I have made my project as

[android-developers] Re: KML Layers on Google Maps

2011-07-01 Thread Slicc
Thank you both. On Jun 30, 6:30 pm, Danny D daniel.m.dev...@gmail.com wrote: I don't believe that you can just pass the KML file to maps, at least I have not seen a way to do this. I am currently doing something similar, and I think you will need to draw the polygon manually on the canvas.

Re: [android-developers] Android Libray projects can not be launched

2011-07-01 Thread GopalaKrishnan D
u just include Facebook sdk as library in ur projects -- ~* Regards* *GopalaKrishnan D* -- 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,

Re: [android-developers] Android Libray projects can not be launched

2011-07-01 Thread bhaskar bommala
Hi Gopala, I have done already that still its giving problem ,anyway thanks for your reply ,if you have any sample to launch like this library projects can you please share me Thanks in Advance. On Fri, Jul 1, 2011 at 12:34 PM, GopalaKrishnan D gopall...@gmail.comwrote: u just include Facebook

[android-developers] How to hadle bulk of XML response in Java/Android

2011-07-01 Thread naveen kumar
Hi All Android developer, Till now i am not getting perfect solution for === i am getting large server response in XML format.i am not able to save that all response in String for parser. getting Outofmemory exception, so i am taking line line by line response that works . but i want to

[android-developers] Re: are ads worth the effort?

2011-07-01 Thread Doug
On Jun 30, 1:38 pm, Spooky spooky1...@gmail.com wrote: Any comments/suggestions would be greatly appreciated...even if only a simple forget the ads or yeah, do the ads response. :-) Paid version: full functionality Free version: ads + limited functionality In other words, withhold the most

Re: [android-developers] Re: are ads worth the effort?

2011-07-01 Thread Nikolay Elenkov
On Fri, Jul 1, 2011 at 4:33 PM, Doug beafd...@gmail.com wrote: On Jun 30, 1:38 pm, Spooky spooky1...@gmail.com wrote: Any comments/suggestions would be greatly appreciated...even if only a simple forget the ads or yeah, do the ads response. :-) Paid version: full functionality Free version:

[android-developers] Not able to find MonkeyImage.java in android 2.3 SDK

2011-07-01 Thread Gaytri
Hi All, I am stuck in very basic problem of monkeyrunner. I have android 2.3 installed on my ubuntu machine. And I am working on monkeyrunner. My framework is like I have written shell scripts for clearing the sdcard and calling monkeyrunner python scripts. Now, I need to capture images. But in

[android-developers] Re: Exit function in android application

2011-07-01 Thread Ali Chousein
If I understand you right, you are trying to exit your application. You may try implementing a simple logic (e.g. an ExitManager class where the activities register themselves in their onCreate and deregister themselves in their onDestroy) which calls the finish() method of all your activities.

[android-developers] Can local image be shown in the web browser?

2011-07-01 Thread PostPC Developer
I know that for security reason src in img tag or input tag can't be referring to a local file. But I am just wondering how the web browser was able to show the local file if I type in the local file URI in the address bar (ex. file://sdcard/pictures/sample.jpg)? Is that an internal feature of

[android-developers] Bundle.toString() and then create a Bundle from String

2011-07-01 Thread Ali Chousein
Hi, I'm trying to do the following: // I have a Bundle and convert it to string Bundle _bundle; // Meanwhile I put intergers, booleans etc in _bundle String _strBundle = _bundle.toString(); Later in my code I need to create a Bundle from _strBundle. How do I do that? So far I couldn't find any

[android-developers] Device Suspend and Wakeup and Unlock screen

2011-07-01 Thread raki
I want to achieve the following as part of testing automation. Go to device suspend/sleep state Wait for 30 sec. Then Wakeup and unlock screen Do the above 2 operations for n number of times. Is there a way to achieve the above? I am using Windows OS. I tried to use power buton click through

[android-developers] Re: sending c2dm: java.security.cert.CertificateException: No subject alternative DNS name matching android.apis.google.com found.

2011-07-01 Thread Shereef Marzouk
I do not know how can they see your reply and not thank you … I apologize for them for making you wait this long Thank YOUU Mr. DanH -- 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] How to hadle bulk of XML response in Java/Android

2011-07-01 Thread NaveenShrivastva
On Fri, Jul 1, 2011 at 12:54 PM, naveen kumar kumarnaveen.si...@gmail.comwrote: Hi All Android developer, Till now i am not getting perfect solution for === i am getting large server response in XML format.i am not able to save that all response in String for parser. getting

Re: [android-developers] How to hadle bulk of XML response in Java/Android

2011-07-01 Thread Robin Talwar
use arrayList of some getter/setter class create start element and end element methods in your parser class which extends default handler On Fri, Jul 1, 2011 at 1:55 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: On Fri, Jul 1, 2011 at 12:54 PM, naveen kumar

[android-developers] How to check ip is available in network or not?

2011-07-01 Thread shubh
I have an list of IP which I am getting using UDP broadcasting, so on the bases of Alive/Death packet ,i got to know whether user alive or went off. But i have an single case suppose user went out from network before sent death packet, then how can I detect user live or not. - Solution which i

[android-developers] Re: MapView Overlay problem

2011-07-01 Thread Felix Garcia Lainez
Hi, So you are doing something similar to my draw method? I have just tested without alpha and anti-alising and it is faster, but when there is big zoom level the mapactivity is closed (i think this is due to memory usage) How should i profile this case? Really as i said there is not any

[android-developers] Re: MapView Overlay problem

2011-07-01 Thread Felix Garcia Lainez
Ok it sounds good... The problem is that i don't know what initial value to use for tolerance parameter... What would you recommend? 5 meters? Thanks! On 1 jul, 03:41, JP joachim.pfeif...@gmail.com wrote: I haven't had to use the Douglas-Peucker algorithm, but I understand others have so with

Re: [android-developers] How to hadle bulk of XML response in Java/Android

2011-07-01 Thread NaveenShrivastva
On Fri, Jul 1, 2011 at 2:05 PM, Robin Talwar r.o.b.i.n.abhis...@gmail.comwrote: use arrayList of some getter/setter class create start element and end element methods in your parser class which extends default handler On Fri, Jul 1, 2011 at 1:55 PM, NaveenShrivastva

[android-developers] Re: About All apps Launcher Button

2011-07-01 Thread bhavani sankari
Thanks! I have stripped out all apps except my application since i'm developing for non phones.I have registered for RECEIVE_BOOT_COMPLETED.After bootup,I got the default Home screen (i.e with all app button)then i got my application launched by itself. I tried removing default home screen and

[android-developers] Re: How to hadle bulk of XML response in Java/Android

2011-07-01 Thread skink
On Jul 1, 11:23 am, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: On Fri, Jul 1, 2011 at 2:05 PM, Robin Talwar r.o.b.i.n.abhis...@gmail.comwrote: use arrayList of some getter/setter class create start element and end element methods in your parser class which extends default

[android-developers] Re: How to bind multi-layer Java class to JavaScript by using addJavascriptInterface() on WebView

2011-07-01 Thread marco li
hi Mark Thank you for your help. I've got it. This is my code to load js file dynamic after load Web page. I hope it will help other friends who troubled by same question. android code begin final class MyWebViewClient extends WebViewClient { @Override public void

Re: [android-developers] Exit function in android application

2011-07-01 Thread Mark Murphy
On Fri, Jul 1, 2011 at 12:14 AM, nageswara rao rajana nagu.raj...@gmail.com wrote:      In application i have 4 activities, and also exit in my menu option if i click exit in any activity it is destroying the current activity      and displaying the previous activity. But my requirement is if  

Re: [android-developers] Android Libray projects can not be launched

2011-07-01 Thread Mark Murphy
On Fri, Jul 1, 2011 at 3:09 AM, bhaskar bommala bhaskar...@gmail.com wrote: I have done already that still its giving problem ,anyway thanks for your reply ,if you have any sample to launch like this library projects can you please share me You cannot launch a library project, by definition,

Re: [android-developers] back button problem

2011-07-01 Thread Mark Murphy
I'd just reload the data in onResume(). If you are using managed cursors or the Loader framework, that sort of thing should happen automagically. On Fri, Jul 1, 2011 at 2:43 AM, TreKing treking...@gmail.com wrote: On Fri, Jul 1, 2011 at 12:11 AM, ragupathi ragupathi ragumm...@gmail.com wrote:

Re: [android-developers] Bundle.toString() and then create a Bundle from String

2011-07-01 Thread Mark Murphy
On Fri, Jul 1, 2011 at 4:02 AM, Ali Chousein ali.chous...@gmail.com wrote: I'm trying to do the following: // I have a Bundle and convert it to string Bundle _bundle; // Meanwhile I put intergers, booleans etc in _bundle String _strBundle = _bundle.toString(); Later in my code I need to

Re: [android-developers] Bundle.toString() and then create a Bundle from String

2011-07-01 Thread Mark Murphy
On Fri, Jul 1, 2011 at 7:29 AM, Mark Murphy mmur...@commonsware.com wrote: Bundles are Parcelables, meaning they are designed to marshaled to and from byte arrays, not strings. You are welcome to take a byte array and create a string representation of it and convert it back that way. Actually,

Re: [android-developers] Intents for performing Touch events

2011-07-01 Thread Mark Murphy
On Fri, Jul 1, 2011 at 12:42 AM, rohit rjl013...@gmail.com wrote: Are there any intents for generating touch events on android at a particular point on the screen? No. I would like to generate touch events on the screen using a background service on the screen. Sorry, AFAIK this is not

[android-developers] Android add a new framework

2011-07-01 Thread Aravind
Hi, I am new to android. I have been exploring the possible ways to add a new framework on Android Froyo. I need to run hello-jni program as a part of framework layer. In application level i can write some code to bring the output. Can any one help me in this regard. Thanks in advance. -- You

Re: [android-developers] Android add a new framework

2011-07-01 Thread Kumar Bibek
Your question isn't clear, atleast to me. Can you share some more details? *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Fri, Jul 1, 2011 at 5:08 PM, Aravind aravindana...@gmail.com wrote: Hi, I am new to android. I have been exploring the

Re: [android-developers] Android add a new framework

2011-07-01 Thread Mark Murphy
Please define framework, as you use it. On Fri, Jul 1, 2011 at 7:38 AM, Aravind aravindana...@gmail.com wrote: Hi, I am new to android. I have been exploring the possible ways to add a new framework on Android Froyo. I need to run hello-jni program as a part of framework layer. In

[android-developers] Implementing a REST web Server and Client in android device.

2011-07-01 Thread Aravind
Hi All, I need help in building a web server in android froyo. I used i jetty, paw, kws and atjeews web server for android. But i didnt succeed. In ijetty i didnt find any way to deploy my webapps(war) file using jetty and download my webapp to the device. They have mentioned about using the dx

[android-developers] Caused by: android.database.sqlite.SQLiteException: unrecognized token: :: , while compiling: insert into tblShows (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon) val

2011-07-01 Thread naveen kumar
Caused by: android.database.sqlite.SQLiteException: unrecognized token: :: , while compiling: insert into tblShows (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon) values (http://a725.phobos.apple.com/us/r1000/054/Video/e4/50/b7/mzl.qynukdwm. 133x100-99.jpg,,Comedy,30

Re: [android-developers] Implementing a REST web Server and Client in android device.

2011-07-01 Thread Mark Murphy
On Fri, Jul 1, 2011 at 7:45 AM, Aravind aravindana...@gmail.com wrote: I need help in building a web server in android froyo. Why? I used i jetty, paw, kws and atjeews web server for android. But i didnt succeed. In ijetty i didnt find any way to deploy my webapps(war) file using jetty and

[android-developers] Problem Caputring video in HTC Desire HD

2011-07-01 Thread Christina Androulaki
Hello everyone, I have created an app that records video. It works great on HTC Wildfire and on HTC Desire, but when I run it on HTC Desire HD the quality is very bad. I tried changing the parameters, but I had no luck. Is there a change on how I should call the MediaRecorder class or the

Re: [android-developers] Caused by: android.database.sqlite.SQLiteException: unrecognized token: :: , while compiling: insert into tblShows (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon)

2011-07-01 Thread Mark Murphy
You need to quote your strings, as you do in just about every SQL database ever invented. On Fri, Jul 1, 2011 at 7:56 AM, naveen kumar kumarnaveen.si...@gmail.com wrote:  Caused by: android.database.sqlite.SQLiteException: unrecognized token: :: , while compiling: insert into tblShows

Re: [android-developers] Caused by: android.database.sqlite.SQLiteException: unrecognized token: :: , while compiling: insert into tblShows (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon)

2011-07-01 Thread NaveenShrivastva
Thx sir i am trying On Fri, Jul 1, 2011 at 5:33 PM, Mark Murphy mmur...@commonsware.com wrote: You need to quote your strings, as you do in just about every SQL database ever invented. On Fri, Jul 1, 2011 at 7:56 AM, naveen kumar kumarnaveen.si...@gmail.com wrote: Caused by:

Re: [android-developers] Caused by: android.database.sqlite.SQLiteException: unrecognized token: :: , while compiling: insert into tblShows (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon)

2011-07-01 Thread NaveenShrivastva
Sir my sql statement is String sql = insert into tblLocations (locType,locUrl,refUuid) values (+ map.get(type).toString()+,+map.get(URL).toString()+,+refuuid+); getting value from hashmap then inserting .What is mistake hare .please help me On Fri, Jul 1, 2011 at 5:40 PM,

[android-developers] unregistering a single Intent filter from a broadcast receiver which is listening to multiple intents

2011-07-01 Thread Sreekanth Rao
Hi, I'm working on a service which receives multiple intents and processes it. Dynamically Intents can be enabled or disabled. I have a single broadcast receiver which is listening to all the intents. When an Intent is enabled, I'm registering that intent filter with the receiver, but

Re: [android-developers] Caused by: android.database.sqlite.SQLiteException: unrecognized token: :: , while compiling: insert into tblShows (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon)

2011-07-01 Thread Mark Murphy
Use rawQuery() with ? placeholders rather than trying to concatenate everything yourself. Android and SQLite will properly quote and escape any strings as necessary. On Fri, Jul 1, 2011 at 8:13 AM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: Sir my sql statement is         String sql =

Re: [android-developers] unregistering a single Intent filter from a broadcast receiver which is listening to multiple intents

2011-07-01 Thread Mark Murphy
Use independent BroadcastReceiver objects, each with its own IntentFilter. Normally, this would not be needed, but few applications require the dynamic add/remove receiver support that you're seeking. On Fri, Jul 1, 2011 at 8:15 AM, Sreekanth Rao dns...@gmail.com wrote: Hi,   I'm working on a

[android-developers] Re: Bundle.toString() and then create a Bundle from String

2011-07-01 Thread Ali Chousein
Thank you Mark, it's also possible to use JSONObject I think, but so far I had a sentimental weakness to Bundles :-) If String-to-Bundle was possible out of the box, I think I had a terrific software design idea, but I guess I have to revise the design and make it less terrific :-) --

[android-developers] Re: Youtube Logo

2011-07-01 Thread Peter Stacey
The links are already in the thread. Try the very first one that was posted, which was in the first reply to your question. You won't have to do anything other than click the link, watch, click the next link and then read. On Jun 30, 6:15 pm, JCC banr...@gmail.com wrote: Fine, then mind giving

[android-developers] em...@android.com

2011-07-01 Thread souissi haythem
can i have an émail : myn...@android.com ??? -- 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] em...@android.com

2011-07-01 Thread Jorge Luis
no. 2011/7/1 souissi haythem haythe...@gmail.com can i have an émail : myn...@android.com ??? -- 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: em...@android.com

2011-07-01 Thread souissi haythem
Why, it's only for person who work in android sociaty??? On Jul 1, 2:50 pm, Jorge Luis jorgelferr...@gmail.com wrote: no. 2011/7/1 souissi haythem haythe...@gmail.com can i  have an émail   :   myn...@android.com   ??? -- You received this message because you are subscribed to the

Re: [android-developers] Caused by: android.database.sqlite.SQLiteException: unrecognized token: :: , while compiling: insert into tblShows (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon)

2011-07-01 Thread NaveenShrivastva
On Fri, Jul 1, 2011 at 5:55 PM, Mark Murphy mmur...@commonsware.com wrote: Use rawQuery() with ? placeholders rather than trying to concatenate everything yourself. Android and SQLite will properly quote and escape any strings as necessary. On Fri, Jul 1, 2011 at 8:13 AM, NaveenShrivastva

Re: [android-developers] Re: em...@android.com

2011-07-01 Thread Jorge Luis
yes. 2011/7/1 souissi haythem haythe...@gmail.com Why, it's only for person who work in android sociaty??? On Jul 1, 2:50 pm, Jorge Luis jorgelferr...@gmail.com wrote: no. 2011/7/1 souissi haythem haythe...@gmail.com can i have an émail : myn...@android.com ??? --

[android-developers] Re: em...@android.com

2011-07-01 Thread souissi haythem
are you sure??? On Jul 1, 3:04 pm, Jorge Luis jorgelferr...@gmail.com wrote: yes. 2011/7/1 souissi haythem haythe...@gmail.com Why, it's only for person who work in android sociaty??? On Jul 1, 2:50 pm, Jorge Luis jorgelferr...@gmail.com wrote: no. 2011/7/1 souissi haythem

[android-developers] Re: About All apps Launcher Button

2011-07-01 Thread bhavani sankari
To override default HomeScreen Is there any limitions on using widgets. In my splash activity i'm using Linearlayout,Textview, Image view only. But still not getting displayed properly. Please help On Jul 1, 2:47 pm, bhavani sankari bhavani...@gmail.com wrote: Thanks! I have stripped out all

[android-developers] Re: Implementing a REST web Server and Client in android device.

2011-07-01 Thread Streets Of Boston
I've tried to use iJetty. I followed their instructions and it worked. Note that your war file can't use many pieces of J2EE's functionality... it's just not available on iJetty. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Re: em...@android.com

2011-07-01 Thread Jorge Luis
yes. 2011/7/1 souissi haythem haythe...@gmail.com are you sure??? On Jul 1, 3:04 pm, Jorge Luis jorgelferr...@gmail.com wrote: yes. 2011/7/1 souissi haythem haythe...@gmail.com Why, it's only for person who work in android sociaty??? On Jul 1, 2:50 pm, Jorge Luis

Re: [android-developers] Implementing a REST web Server and Client in android device.

2011-07-01 Thread Streets Of Boston
We were contemplating putting an iJetty server on the phone with our app. Our app does require a server connection and you can't do a self-sign-up. With iJetty, we would be able to show some demo-like behavior of our app, by having the user specify 'localhost' for the main entry point URL into

Re: [android-developers] Caused by: android.database.sqlite.SQLiteException: unrecognized token: :: , while compiling: insert into tblShows (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon)

2011-07-01 Thread Mark Murphy
Then use multiple question marks. Or, better yet, use the insert() method to insert data into a database: public void insert(String name, String address, String type, String notes) { ContentValues cv=new ContentValues(); cv.put(name, name);

[android-developers] Multiple image on single image.

2011-07-01 Thread Satya
I want to create a bitmap / image which has many images like Collage which has more then one images in a single picture. I have overlay all my images in a view but now i want to create a single image from all those images. And even i implement image move but can't implement rotation and re-size

[android-developers] Re: Intent / PendingIntent

2011-07-01 Thread kypriakos
Right - and this is not a blocking operation but rather an asynchronous callback to the onActivityResult right? For some reason the callback was not occurring but I think I found an issue in the spawned thread. Thanks Kostya, I got it ... On Jun 30, 1:53 pm, Kostya Vasilyev kmans...@gmail.com

Re: [android-developers] Caused by: android.database.sqlite.SQLiteException: unrecognized token: :: , while compiling: insert into tblShows (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon)

2011-07-01 Thread NaveenShrivastva
On Fri, Jul 1, 2011 at 6:54 PM, Mark Murphy mmur...@commonsware.com wrote: Then use multiple question marks. Or, better yet, use the insert() method to insert data into a database: public void insert(String name, String address, String type, String notes) { ContentValues

Re: [android-developers] Caused by: android.database.sqlite.SQLiteException: unrecognized token: :: , while compiling: insert into tblShows (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon)

2011-07-01 Thread Mark Murphy
On Fri, Jul 1, 2011 at 9:38 AM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: i have already done that concept for insert in db but it takes more time. And your proof of this is... what, exactly? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

[android-developers] RE:Urgent need for SAP ABAP Expert@@@WA

2011-07-01 Thread vikram murari
** ** ** ** Hi, Greeting’s Reply to mvik...@sureitinc.com and vik.sur...@gmail.com. ** ** *Title: **SAP ABAP Expert* *Location: **Tacoma, WA* *Duration: **6-12 months* ** **Chosen candidate will require a standard background check * * *Job Responsibilities: * Resolve errors

[android-developers] Re: MapView Overlay problem

2011-07-01 Thread JP
You could conceivably use a change in zoom level to drive the thinning of the poly lines, or other factors that help you determine the level of thinning. This is not trivial - you'll want to run the algorithm outside of your Overlay.draw() and probably not draw any lines until the algorithm has

[android-developers] AsyncTask, Runnable Thread, ???

2011-07-01 Thread Jorge Luis
I need to retrieve a few JSON URLS and put then in the UI... which is the best way to do it? AsyncTask, Thread+Handler, any other? In addition could you give an example, or tell me where do i get a nice tutorial to do it? Thx. -- Jorge Luis Ferrari Cé Desenvolvedor / Web Designer Siga

[android-developers] Controlling mutually exclusive preference categories with a single parent checkbox

2011-07-01 Thread Phil
I'm trying to work out how to implement a preferences XML file that has two mutually exclusive preference categories, only one of which is displayed and enabled based on a parent checkbox preference. When checked, category 'a' should be displayed and 'b' hidden. When unchecked, category 'a' should

Re: [android-developers] AsyncTask, Runnable Thread, ???

2011-07-01 Thread Kostya Vasilyev
AsyncTask is a good start to get something working. Add code to carry it over configuration (orientation) changes, and, depending on the requirements, you may be already done. You can always move the code into a service (IntentService or WakefulIntentService) to decouple it from the UI

[android-developers] Fragments

2011-07-01 Thread Jayanthi
Hi All, I am doing application in Honeycomb but i am not clear with Fragments 1.How Fragments is used 2. When the activity call fragments refered lots of article yet not clear all the article have same listview as example can you please few more example like button with onclickListener

Re: [android-developers] Controlling mutually exclusive preference categories with a single parent checkbox

2011-07-01 Thread Kostya Vasilyev
Phil, A couple of options are: - Subclass preference category b, override onDependencyChanged, and invert the logic - Subclass the checkbox preference, override notifyDependencyChange, and fire onDependencyChanged to two separate dependency lists - Easiest of all, do not use the built-in

[android-developers] Aw: AsyncTask, Runnable Thread, ???

2011-07-01 Thread Rutton
You may also take IntentService into account. I would prefer that or HandlerThread/Handler. AsyncTask is a bit an overkill, as you may want to call your urls independently and then AT would create a Thread for each REST call. R. -- You received this message because you are subscribed to the

Re: [android-developers] Re: About All apps Launcher Button

2011-07-01 Thread osc foss
Am top posting here, because my question is also related to home launcher.(Apologies for the top posting) . Dear Bhavani And Mark, I have customised the home screen sample application which was there in Android SDK samples, and now trying to add a clock widget there.This home screen sample

Re: [android-developers] Aw: AsyncTask, Runnable Thread, ???

2011-07-01 Thread Mark Murphy
On Fri, Jul 1, 2011 at 10:22 AM, Rutton rut...@web.de wrote: AsyncTask is a bit an overkill, as you may want to call your urls independently and then AT would create a Thread for each REST call. Actually, AsyncTask will use a thread out of a thread pool for each REST call. Performing multiple

Re: [android-developers] Card Game Android

2011-07-01 Thread Diogo Salaberri
Hello, thanks for the answer. Which LIB do you normally use for this purpose ? Thanks, bye. On Fri, Jul 1, 2011 at 12:54 AM, Greg Donald gdon...@gmail.com wrote: On Thu, Jun 30, 2011 at 2:42 PM, Diogo Salaberri caxix...@gmail.com wrote: I was researching some way to developer a Card Game

[android-developers] Re: MapView Overlay problem

2011-07-01 Thread Felix Garcia Lainez
Ok thank you. I will try to see how they do this. On 1 jul, 15:49, JP joachim.pfeif...@gmail.com wrote: You could conceivably use a change in zoom level to drive the thinning of the poly lines, or other factors that help you determine the level of thinning. This is not trivial - you'll want to

Re: [android-developers] Re: are ads worth the effort?

2011-07-01 Thread TreKing
On Fri, Jul 1, 2011 at 2:33 AM, Doug beafd...@gmail.com wrote: Paid version: full functionality Free version: ads + limited functionality In other words, withhold the most helpful features of your app for the paying customers. Plug the upgrade every time they try a restricted feature.

Re: [android-developers] Re: MapView Overlay problem

2011-07-01 Thread TreKing
On Fri, Jul 1, 2011 at 4:00 AM, Felix Garcia Lainez fgarcialai...@gmail.com wrote: So you are doing something similar to my draw method? Yup - nearly identical. What I don't do is use anti-aliasing (unless it's on be default, I don't know) or alpha. I also only use moveTo() once (first point)

Re: [android-developers] Re: MapView Overlay problem

2011-07-01 Thread Kostya Vasilyev
TraceView and dmtracedump: http://developer.android.com/guide/developing/debugging/debugging-tracing.html 01.07.2011 19:26, TreKing ?: How should i profile this case? Really as i said there is not any strange thing on the code... Simply a map with an overlay... No idea. Look at

[android-developers] bindLong for primary key

2011-07-01 Thread naveen kumar
i want to bindLong primary key with auto increment . i have many coloumns with many value but -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Re: Card Game Android

2011-07-01 Thread Mike
that flew over like a 747 On Jul 1, 9:26 am, Diogo Salaberri caxix...@gmail.com wrote: Hello, thanks for the answer. Which LIB do you normally use for this purpose ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: MapView Overlay problem

2011-07-01 Thread Felix Garcia Lainez
I have improved the responsiveness using some of MyTrack approaches, but i am still getting this exception, simply doing zoom in and zoom out sometimes java.lang.OutOfMemoryError: bitmap size exceeds VM budget at android.graphics.Bitmap.nativeCreate(Native Method) at

[android-developers] Ain't this supposed to work?

2011-07-01 Thread Jorge Luis
http://pastebin.com/Fk0eXGXH I'm alway getting Erro at the first HTTP Request D: The debugger shows nothing :/ -- Jorge Luis Ferrari Cé Desenvolvedor / Web Designer Siga @JLFerrari -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: MapView Overlay problem

2011-07-01 Thread TreKing
On Fri, Jul 1, 2011 at 11:29 AM, Felix Garcia Lainez fgarcialai...@gmail.com wrote: I have improved the responsiveness using some of MyTrack approaches, but i am still getting this exception, simply doing zoom in and zoom out sometimes I doubt there's much you can do about that - the

[android-developers] Re: Card Game Android

2011-07-01 Thread John Coryat
You might want to take a look at this: http://code.google.com/p/solitaire-for-android/ It's the very popular solitaire game and it's open source. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Ain't this supposed to work?

2011-07-01 Thread TreKing
Tips: 1) Give your post a relevant title: Ain't this supposed to work? tells us nothing about your problem. 2) Give a small snippet of your exact issue - linking to a giant blob of code with no explanation is good way to get completely ignored.

[android-developers] Re: Fragments

2011-07-01 Thread Streets Of Boston
Take a look at these videos: http://www.google.com/events/io/2011/sessions/designing-and-implementing-android-uis-for-phones-and-tablets.html http://www.google.com/events/io/2011/sessions/honeycomb-highlights.html -- You received this message because you are subscribed to the Google Groups

[android-developers] RE:Urgent need for Hyperion HFM Consultant@CA

2011-07-01 Thread vikram murari
** Hi, Greeting’s Reply to mvik...@sureitinc.com and vik.sur...@gmail.com. ** ** Position: Hyperion HFM Consultant Location: Mountain View, CA Length: 6+ months Start: ASAP Interview :phone ** ** ** ** **· **Must have 3-5 years of Hyperion HFM

[android-developers] Camera Problem

2011-07-01 Thread Ankit Kasliwal
Hello Everyone Can any one explain me what was the problem in my camera activity code i run that application on my 1.6 android device it run proper but when i run that application on my new Android 2.1 device it give me some error and my page layout also disturb not proper showing spinner and edit

[android-developers] Image Map Type style Overlay in MapView

2011-07-01 Thread Scott Kennedy
I have a website where I use the Javascript Maps API, and I use an Image Map (http://code.google.com/apis/maps/documentation/javascript/ maptypes.html#ImageMapTypes) to display my custom tiles on top of a map. These tiles use the tile/pixel coordinates as defined by Google in that document. This

[android-developers] Re: MapView Overlay problem

2011-07-01 Thread JP
The stack trace does not include any calls to your code. I suspect it has to do with the loading of map tiles. Nothing you can do that I know of. I am seeing this for years now, but not at an alarming clip. How time flies... Anyway, it would be lovely to learn about this some more. Perhaps

Re: [android-developers] Camera Problem

2011-07-01 Thread TreKing
On Fri, Jul 1, 2011 at 12:20 PM, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: i m not able to trace the error coz the 2.1 device at my frnd place i send him APK file. So what exactly to you expect us to do for you ?

Re: [android-developers] Camera Problem

2011-07-01 Thread Ankit Kasliwal
the second one error (Layout Problem) On Fri, Jul 1, 2011 at 11:06 PM, TreKing treking...@gmail.com wrote: On Fri, Jul 1, 2011 at 12:20 PM, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: i m not able to trace the error coz the 2.1 device at my frnd place i send him APK file. So what

Re: [android-developers] Re: MapView Overlay problem

2011-07-01 Thread TreKing
On Fri, Jul 1, 2011 at 12:26 PM, JP joachim.pfeif...@gmail.com wrote: As a side note, I never bothered to check, I'm sure this problem has a record in some issues database already, where you could push a button or star. As a matter of fact ...

[android-developers] DoNut Eat

2011-07-01 Thread bob
I want to make an app called DoNut Eat that helps you find donut places near you. Is there an easy way to get the latitude and longitude of all the Dunkin Donuts out there? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] DoNut Eat

2011-07-01 Thread Mark Murphy
On Fri, Jul 1, 2011 at 1:44 PM, bob b...@coolgroups.com wrote: Is there an easy way to get the latitude and longitude of all the Dunkin Donuts out there? This question has nothing to do with Android application development. -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] Camera Problem

2011-07-01 Thread TreKing
On Fri, Jul 1, 2011 at 12:39 PM, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: the second one error (Layout Problem) We're not psychics. http://www.catb.org/~esr/faqs/smart-questions.html -

[android-developers] Re: Android Libray projects can not be launched

2011-07-01 Thread nadam
If you're using Eclipse just go to the project properties, click Android and then uncheck the Is Library checkbox. Should look something like this: http://hi-android.info/docs/images/developing/adt-props-libRef.png On 1 Juli, 09:09, bhaskar bommala bhaskar...@gmail.com wrote: Hi Gopala, I have

Re: [android-developers] Aw: AsyncTask, Runnable Thread, ???

2011-07-01 Thread Rutton
Mark Murphy schrieb: On Fri, Jul 1, 2011 at 10:22 AM, Rutton rut...@web.de wrote: AsyncTask is a bit an overkill, as you may want to call your urls independently and then AT would create a Thread for each REST call. Actually, AsyncTask will use a thread out of a thread pool for each REST

Re: [android-developers] Aw: AsyncTask, Runnable Thread, ???

2011-07-01 Thread Mark Murphy
On Fri, Jul 1, 2011 at 2:04 PM, Rutton rut...@web.de wrote: Interesting. Its not *really* in the AsyncTask reference page (only mentioned as a side note). Where can I read more about this? U... in the source code? The JavaDocs for API Level 11 also show where you can provide your own

Re: [android-developers] Aw: AsyncTask, Runnable Thread, ???

2011-07-01 Thread Kostya Vasilyev
One more thing that may prove useful in this context... In 3.0, async tasks are by default executed sequentially, while in earlier versions more than one could be executed in parallel. -- Kostya 01.07.2011 22:04, Rutton ?: Mark Murphy schrieb: On Fri, Jul 1, 2011 at 10:22 AM,

[android-developers] Re: Youtube Logo

2011-07-01 Thread JCC
@TreKing: Thanks for clarifying this :) On 30 jun, 10:00, TreKing treking...@gmail.com wrote: On Thu, Jun 30, 2011 at 9:43 AM, JCC banr...@gmail.com wrote:  @TreKing may I know why this has nothing to do with this list? http://groups.google.com/group/android-developers/about Discuss

  1   2   >