[android-developers] Re: Multiple tasks within application

2011-07-06 Thread Ali Chousein
Mobile devices are quite personal and rarely shared between different people. How many times did you lend your mobile device to someone else? Are you sure you want to support multiple users on the same device for the same application? Does it mean that you want to support many users for an

[android-developers] Re: start binded service from broadcast receiver

2011-07-06 Thread kampy
Hi, On Jul 4, 3:38 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jul 4, 2011 at 1:57 AM, kampy narasimha1...@gmail.com wrote:  I am using AIDL , in that i am binding a service which sends messages to the phone numbers if the sim is changed . i need to start this service as soon as

[android-developers] Re: Multiple tasks within application

2011-07-06 Thread Roman Mazur
As I understand the reason the activity is started in the current task is the current task affinity. This affinity is preferable to run the requested activity. And I don't see the way to change it (number of affinities in my case is not static). So it's impossible to implement the described use

[android-developers] Re: Multiple tasks within application

2011-07-06 Thread Roman Mazur
It's supposed that one device will be used by a group of people. I understand you and share your thoughts. But that is the task :( On Jul 6, 9:16 am, Ali Chousein ali.chous...@gmail.com wrote: Mobile devices are quite personal and rarely shared between different people. How many times did you

[android-developers] i donot want facebook remember password dialog android sdk-webview

2011-07-06 Thread naveen kumar
Hello sir, when i am login on facebook by using android facebook sdk then popup alert dialog appear for save password history for browser, i want diaper that one, Thanks, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Patent Infringement notice by Lodsys.

2011-07-06 Thread LostKid
Hi We have a game 'Pocket Bingo' which is live in market. Recently got a Fedx from lodsys for a patent infringement on In-App billing. The notice asked us to take down a feature in the game, through which we redirected users to paid version of pocket bingo on the market. Lodsys not only has

[android-developers] Re: Rotate Google Map

2011-07-06 Thread gjs
Hi, Lookup compass sensor, View Group View.draw(). Put the map view in the bottom of the view group, on top put a custom view, ask the map view to draw() into the canvas of the custom view, rotate the custom view based on the compass sensor. Be aware that this might obscure the Google logo in

[android-developers] Re: Multiple tasks within application

2011-07-06 Thread Ali Chousein
If I was in your place, I would try to revise the workflow of the application so that it can easily comply with the framework. I know it's quite vague sentence, but from what I understand you are trying to implement your own activity stack, possibly with multiple instances, and maybe that's

[android-developers] a problem about PppLink.java

2011-07-06 Thread Carl Li
when i change the wap or net: java.io.FileNotFoundException: /sys/class/net/ppp0/operstate (No such file or directory) what's the reason? -- 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: starting learning Android

2011-07-06 Thread Ali Chousein
If online sources don't satisfy you much, then I would recommend you The Busy Coder's Guide to Android Development and The Busy Coders Guide to Advanced Android Development. The author is available in this platform and shares parts of his book for free to help everybody also. -- Ali

Re: [android-developers] Somebody invite me to the google+?

2011-07-06 Thread Raghav Sood
Please tell us as to what has this got to do with Android? On Wed, Jul 6, 2011 at 9:06 AM, Denny Shen,Yu Ming denny.s...@gmail.comwrote: Anyone helps? -- 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] Emulator connectivity

2011-07-06 Thread Navindian
I heard that Emulator needs wifi only to connect to internet. I dont have wifi but with the network connection through cable or usb it wont work? What to do if I dont have wifi and wish to connect to localhost restful service. -- You received this message because you are subscribed to the

Re: [android-developers] Emulator connectivity

2011-07-06 Thread Raghav Sood
The emulator will work fine if you connect via ethernet. The emulator will use it as a wifi connection. On Wed, Jul 6, 2011 at 2:25 PM, Navindian navind...@gmail.com wrote: I heard that Emulator needs wifi only to connect to internet. I dont have wifi but with the network connection through

Re: [android-developers] Phone Mic? - Does anyone have an example of how to make use of the mobile's mic (i.e. the part we talk into)

2011-07-06 Thread Raghav Sood
You could see the source of the voice recorder. On Tue, Jul 5, 2011 at 7:56 PM, muay_tb ast...@gmail.com wrote: Hi, I was wondering if anyone had an idea/or has an example of how to make use of the phone's/mobile's MIC (the bit we talk into). Thanks Az -- You received this message

Re: [android-developers] a problem about PppLink.java

2011-07-06 Thread Raghav Sood
You are getting a file not found exception. That means it cannot locate the file you are looking for. On Wed, Jul 6, 2011 at 1:46 PM, Carl Li huabeiyipil...@gmail.com wrote: when i change the wap or net: java.io.FileNotFoundException: /sys/class/net/ppp0/operstate (No such file or directory)

[android-developers] android facebook SDK disable password remember me popup functionality

2011-07-06 Thread naveen kumar
android facebook SDK disable password remember me popup functionality -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Android CPU affinity

2011-07-06 Thread Vikas KM
Hi All, I want to know how can i set *CPU affnity..* is there a precompiled *mpstat* or *taskset* utility avaiable is *SMP* fully supported in froyo or gingerbread? Please let me know if its asked anywhere.. -- Regards Vikas KM -- You received this message because you are

[android-developers] Calling second view will overlap TabHost

2011-07-06 Thread kengheng
Dear All, I've created a tabhost app. For the app, when I try to navigate to second view at tab (a listview within the tab), however the second view will overlap the whole tabhost screen. Below are my calling, any idea how to solve this ? : start--- ListView poiView =

[android-developers] Re: Patent Infringement notice by Lodsys.

2011-07-06 Thread String
With all due respect, I don't think this is Google's problem. If all you have is a Market link, that's a feature you built and put into your app yourself. It's not like the in-app purchases that Lodsys was basing its attacks on earlier, where devs were being targeted just for using a

Re: [android-developers] Re: start binded service from broadcast receiver

2011-07-06 Thread Mark Murphy
On Wed, Jul 6, 2011 at 2:27 AM, kampy narasimha1...@gmail.com wrote: there is no data to be transferred from intents and the service i am using shared preferences for the data which i need to sending data between them. the main purpose i am using the broadcast receiver here is to invoke this

[android-developers] Re: ActivityGroups in Tab Problem

2011-07-06 Thread Faison
please check your methods inside activity that extends Activity group for onBack button press.. On May 18, 2:32 pm, ceuur ce.ugurcetink...@gmail.com wrote: Hi everyone; I have 3 tabs in activity group. In Eachtab(Separate Activity group) there are around 4 activities and I'm switching

Re: [android-developers] Broadcast Receiver not working immediately after package installation

2011-07-06 Thread Thomas Economous
Someone stated that this is an intentional 3.1 policy change in another thread. Not sure if there is a good place to find information about changes like this. On Mon, Jul 4, 2011 at 4:29 AM, Mark Murphy mmur...@commonsware.com wrote: On Thu, Jun 30, 2011 at 2:01 PM, Thomas Economous

Re: [android-developers] Re: Patent Infringement notice by Lodsys.

2011-07-06 Thread Mark Murphy
On Wed, Jul 6, 2011 at 6:15 AM, String sterling.ud...@googlemail.com wrote: I recommend that you (and all Android devs, really) read the excellent article here: http://fosspatents.blogspot.com/2011/07/cost-efficient-way-for-app-developers.html. It makes abundantly clear that it's utterly

Re: [android-developers] Broadcast Receiver not working immediately after package installation

2011-07-06 Thread Mark Murphy
On Wed, Jul 6, 2011 at 6:34 AM, Thomas Economous econ0...@gmail.com wrote: Someone stated that this is an intentional 3.1 policy change in another thread. Not sure if there is a good place to find information about changes like this. Got a link to that thread? -- Mark Murphy (a Commons Guy)

Re: [android-developers] Re: Patent Infringement notice by Lodsys.

2011-07-06 Thread String
I don't recall suggesting anyone retain Florian Mueller as their counsel. But I find it difficult to refute a number of points he makes: - Lodsys isn't afraid to sue, i.e. these aren't idle threats they're making (note that idle != baseless). - Legal battles, especially over patents,

Re: [android-developers] Android Charting dll for plotting Graphs

2011-07-06 Thread s.rawat
yeah Mark even less than 10 secs..Thanks.. I will use it nd post the code once done.. Rgds, Saurabh ..pain is temporary.quitting lasts forever.. On Tue, Jul 5, 2011 at 6:56 PM, Mark Murphy mmur...@commonsware.com wrote: ChartDroid AndroidPlot AChartEngine There are probably

[android-developers] register and unregister listner???

2011-07-06 Thread souissi haythem
Hi, I want my application to manipulate accelerometer sensor. so i register the sensor from activiy1: sensorManager.registerListener(this, sensor, SensorManager.SENSOR_DELAY_GAME); now, i am in activity2 and i want to unregister the same sensor that i registred: solution1:

[android-developers] Path to META-INF/

2011-07-06 Thread Jeje
Hi, Please, what is the path in InputStream isEadsCert = new FileInputStream(Path-to-META-INF/MANIFEST.MF) ? Because I would like work on this file, and the system tell me there is no file with this path... -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Music - Youtube application

2011-07-06 Thread Shrinivas Sahukar
Hi all, consider this scenario-- start music app -- music is playing -- home button pressed -- music playing in background, Now while playing music in background start youtube app, start a video here audio from music app as well as youtube video both are playing simultaneously. should I have

Re: [android-developers] Re: Patent Infringement notice by Lodsys.

2011-07-06 Thread Mark Murphy
On Wed, Jul 6, 2011 at 6:48 AM, String sterling.ud...@googlemail.com wrote: Or, if not, present a reasonable alternative to knuckling under to Lodsys' demands? In chronological order, here is advice from some actual attorneys (Patrick Igoe and Mark Webbink):

Re: [android-developers] Path to META-INF/

2011-07-06 Thread Mark Murphy
There is no such file in an Android APK. Any code that expects there to be such a file needs to be modified to work with Android. On Wed, Jul 6, 2011 at 7:39 AM, Jeje jeromemalva...@gmail.com wrote: Hi, Please, what is the path in InputStream isEadsCert = new

[android-developers] android loop problem

2011-07-06 Thread mark2011
Dear All : I met a strange event. I write a simple code to display a screen once the user click a button to start. In the screen, the user can click some button to set up the factors that I use onclicklistener to accept the onclick. But the start button is that I use onclick to start. Once I

[android-developers] Re: Path to META-INF/

2011-07-06 Thread Jeje
Ok, but if a I would like work on another file in my application, what is the path ? Because the system will not find if I set : InputStream isEadsCert = new FileInputStream(FileName). It misses the path to my file, doesn't it ? On Jul 6, 1:45 pm, Mark Murphy mmur...@commonsware.com wrote:

Re: [android-developers] Re: Path to META-INF/

2011-07-06 Thread Mark Murphy
On Wed, Jul 6, 2011 at 8:04 AM, Jeje jeromemalva...@gmail.com wrote: Ok, but if a I would like work on another file in my application, what is the path ? Because the system will not find if I set : InputStream isEadsCert = new FileInputStream(FileName). It misses the path to my file, doesn't

[android-developers] Re: Database path and writing

2011-07-06 Thread NikolaMKD
Sorry there is mistake. Will openOrCreateDatabase open the database from /data/data/package/ file ? On Jul 6, 3:55 am, NikolaMKD nikola.despoto...@gmail.com wrote: I have external databases stored in /data/data/files/ Can I use openOrCreateDatabase( )? Will openOrCreateDatabase from that

[android-developers] Files that I write to the sdcard do not show in Windows explorer, for Acer Iconiatab?

2011-07-06 Thread Ab
In my application, I create files and write them to the Sdcard. This works fine on my Samsung Galaxy running 2.2, but has some issues on my Acer Iconcia Tab running 3.0. On the Galaxy, my created files show as expected in DDMS and in windows explorer (when the tab is mounted as a USB device).

Re: [android-developers] Files that I write to the sdcard do not show in Windows explorer, for Acer Iconiatab?

2011-07-06 Thread Mark Murphy
On Wed, Jul 6, 2011 at 8:31 AM, Ab abe.oppenh...@gmail.com wrote: So, do I need to create files differently in 3.0? No.  Or possibly my app needs to request a new permission in the mainfest file? No. Try refreshing your Explorer window. I don't know how Windows' built-in MTP client behaves

Re: [android-developers] Re: Multiple tasks within application

2011-07-06 Thread TreKing
On Wed, Jul 6, 2011 at 1:36 AM, Roman Mazur mazur.ro...@gmail.com wrote: It's supposed that one device will be used by a group of people. Idea: you maintain a profile for each user, which includes their settings as well as a navigation history of sorts. Essentially a breadcrumb of where they

[android-developers] Re: Files that I write to the sdcard do not show in Windows explorer, for Acer Iconiatab?

2011-07-06 Thread Ab
I have tried refreshing, restarting the device, and unplugging/ reconnecting the usb. It appears to files that I write to the sdcard never show up in windows explorer (for the Acer). However, if I use ES File Explorer (an file explorer app for android) to rename one of the files I wrote to the

Re: [android-developers] Re: Patent Infringement notice by Lodsys.

2011-07-06 Thread Jim Graham
On Wed, Jul 06, 2011 at 07:44:27AM -0400, Mark Murphy wrote: On Wed, Jul 6, 2011 at 6:48 AM, String sterling.ud...@googlemail.com wrote: Some sort of legal defense fund and pooled defense would seem like an excellent idea, but somebody with standing on this issue would need to talk to

[android-developers] Re: PC as USB Host for Android 2.3.4

2011-07-06 Thread Colin M
It's my understanding that android-platform is for Android OS source code and platform development. Do I have that wrong? I am working with the Android USB Accessory feature, not modifying the platform. My project requires that I work with OTS devices, so I may not even root devices, much

Re: [android-developers] Re: Files that I write to the sdcard do not show in Windows explorer, for Acer Iconiatab?

2011-07-06 Thread Mark Murphy
Try MediaScannerConnection and scanFile(), then. On Wed, Jul 6, 2011 at 8:45 AM, Ab abe.oppenh...@gmail.com wrote: I have tried refreshing, restarting the device, and unplugging/ reconnecting the usb.  It appears to files that I write to the sdcard never show up in windows explorer (for the

[android-developers] Re: Files that I write to the sdcard do not show in Windows explorer, for Acer Iconiatab?

2011-07-06 Thread Ab
Thanks, this worked! I used the below code, is this a smart usage? if not, could you recommend a better strategy? (I'd like it to be compatible with api version 7 and above) //called after writing file, from my activity if(Build.VERSION.SDK_INT = 11) { new SingleMediaScanner(this, path); }

[android-developers] Unable to write to database

2011-07-06 Thread NikolaMKD
Here is my method where insertion is done in Main public void addBuildingContent(Bundle addDb, String DBNAME) { if(addDb != null addDb.getBoolean(add city db, true)) { SQLiteDatabase db = null; Database dbobj = new

[android-developers] Re: Files that I write to the sdcard do not show in Windows explorer, for Acer Iconiatab?

2011-07-06 Thread Ab
This also works: sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse(file:// + Environment.getExternalStorageDirectory(; Though this doesn't: sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse(file:// + path))); On Jul 6, 9:49 am, Ab abe.oppenh...@gmail.com wrote:

Re: [android-developers] Re: Files that I write to the sdcard do not show in Windows explorer, for Acer Iconiatab?

2011-07-06 Thread Mark Murphy
On Wed, Jul 6, 2011 at 9:49 AM, Ab abe.oppenh...@gmail.com wrote: Thanks, this worked!  I used the below code, is this a smart usage? if not, could you recommend a better strategy?  (I'd like it to be compatible with api version 7 and above) MediaScannerConnection has been there since API

Re: [android-developers] Re: Files that I write to the sdcard do not show in Windows explorer, for Acer Iconiatab?

2011-07-06 Thread Mark Murphy
Oh, that's really not a good idea. I'm surprised the OS even lets you fake that event. On Wed, Jul 6, 2011 at 9:54 AM, Ab abe.oppenh...@gmail.com wrote: This also works: sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse(file:// + Environment.getExternalStorageDirectory(;

Re: [android-developers] Re: Patent Infringement notice by Lodsys.

2011-07-06 Thread String
On Wednesday, July 6, 2011 12:44:27 PM UTC+1, Mark Murphy (a Commons Guy) wrote: Developers should not take legal advice from the Internet, and especially not from a non-attorney blog or a software development podcast. I agree wholeheartedly. I wasn't trying to give advice either, just

Re: [android-developers] Re: starting learning Android

2011-07-06 Thread fuad ghalep
sorry i don't have any idea about what toy talk about i'm very sorry 2011/7/6 Ali Chousein ali.chous...@gmail.com If online sources don't satisfy you much, then I would recommend you The Busy Coder's Guide to Android Development and The Busy Coders Guide to Advanced Android Development. The

Re: [android-developers] Unable to write to database

2011-07-06 Thread Kostya Vasilyev
The default database location in internal storage is not under files, but rather under databases. Second, the /data/data/package name part may differ from device to device, e.g. on the Galaxy S it's something like /dbdata/databases/package name (IIRC). So - if you're trying to open a

[android-developers] Re: Unable to write to database

2011-07-06 Thread NikolaMKD
Edit this is the Database.class http://pastebin.com/ctR9fQpY Sorry -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Files that I write to the sdcard do not show in Windows explorer, for Acer Iconiatab?

2011-07-06 Thread Ab
Oh, yeah, something like ACTION_MEDIA_UPDATED would probably be safer. Regardless, I'll stick to creating and connecting to an instance of MediaScannerConnection (probably do something smart like have a member instance instead of instantiating on demand, etc...). On Jul 6, 9:56 am, Mark Murphy

[android-developers] Re: Unable to write to database

2011-07-06 Thread NikolaMKD
Kostya, when I try to copy the databases directory which come in the application as asset to data/data/package/databases, I got error that says the file is crypted or is not a database, whenever I try read/ write. How can i workaround this? -- You received this message because you are

Re: [android-developers] Re: Patent Infringement notice by Lodsys.

2011-07-06 Thread John Coryat
What choices do we have in regard to functions, to avoid being targeted by Lodsys? I'm within a couple of weeks for rolling out an upgrade to my main app with in-app purchasing. The last thing I want is to get one of those FedEx letters a month after release. Is the Lodsys attack only against

Re: [android-developers] Re: Files that I write to the sdcard do not show in Windows explorer, for Acer Iconiatab?

2011-07-06 Thread Mark Murphy
On Wed, Jul 6, 2011 at 10:10 AM, Ab abe.oppenh...@gmail.com wrote: Oh, yeah, something like ACTION_MEDIA_UPDATED would probably be safer. No, I'm saying that will be far less safe. Regardless, I'll stick to creating and connecting to an instance of MediaScannerConnection (probably do

Re: [android-developers] Re: Unable to write to database

2011-07-06 Thread Kostya Vasilyev
files vs. databases shouldn't really matter, wrt. to being able to open the database. But, are you sure that the path is correct? The sample code for this that I'm seeing on the 'net often has hard-coded paths, which is wrong. Try calling Context.getDatabasePath() somewhere in your code and

[android-developers] App not visible from Android Market on the device

2011-07-06 Thread Manuel R. Ciosici
Hello, We discovered yesterday that our Android app is no longer visible as a result on Android Market searches. It used to be there and appearing. If I send a link with Chrome2Phone the device starts the market on the app page. I can also see it if I search for pub:dev_name. We tried

[android-developers] App not visible from Android Market on the device

2011-07-06 Thread Manuel R. Ciosici
Hello, We discovered yesterday that our Android app is no longer visible as a result on Android Market searches. It used to be there and appearing. If I send a link with Chrome2Phone the device starts the market on the app page. I can also see it if I search for pub:dev_name. We tried

[android-developers] Re: Android Library and Resources

2011-07-06 Thread Guillaume
Thanks but I wouldn't have post here if it had worked. Other idea ? Why are the R.java merged into the same file ? On Jul 5, 7:23 pm, TreKing treking...@gmail.com wrote: On Tue, Jul 5, 2011 at 7:55 AM, Guillaume guillaume.dele...@gmail.comwrote: Please offer any ideas you might have to help!

[android-developers] search box for contacts

2011-07-06 Thread Android K
Hi, I am trying a implement a search box for list of contacts(using list view with check boxes) that my app uses. For example: When I type letter A it should display all the contacts with that letter and let me select multiple of them. What kind of widget should I go for? Is EditText way to go

Re: [android-developers] Re: Menu/Action Bar bug(?) in Honeycomb

2011-07-06 Thread Nikolay Elenkov
On Wed, Mar 9, 2011 at 12:30 PM, Zsolt Vasvari zvasv...@gmail.com wrote: For now, I got around the problem by creating the options menu from the TabActivity if running on 3.0. Did you do anything special to have the menu show up? I have an onCreateOptionsMenu() in my TabActivity, and it isn't

[android-developers] Re: setSpeakerphoneOn with AudioTrack

2011-07-06 Thread Sarbyn
Nobody can help me? On 5 Lug, 17:28, Sarbyn sar...@gmail.com wrote: Hi! I have a class that play a stream from internet, using an AudioTrack. I want to route the audio to the speakerPhone, using: AudioManager am = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);

Re: [android-developers] Android Charting dll for plotting Graphs

2011-07-06 Thread Fred Niggle
Hello. Try to drop the windows mindset when coding for android, in Linux there is no such thing as a dll (as for as I know). There are API's for creating graphs: http://android.arnodenhond.com/components/graphview and http://androidplot.com/wiki/Home are just two I found with a very quick

Re: [android-developers] Re: Database path and writing

2011-07-06 Thread Fred Niggle
Try it out and let us know. If your new to databases there are lots of sqlite and sqlite3 tutorials related to android via google search :-) On 06/07/2011, NikolaMKD nikola.despoto...@gmail.com wrote: Sorry there is mistake. Will openOrCreateDatabase open the database from

Re: [android-developers] Re: Android Library and Resources

2011-07-06 Thread Mark Murphy
On Wed, Jul 6, 2011 at 10:47 AM, Guillaume guillaume.dele...@gmail.com wrote: Why are the R.java merged into the same file ? Because they are supposed to be. The library is a container -- the application owns the resources, both its own and the library. -- Mark Murphy (a Commons Guy)

Re: [android-developers] App not visible from Android Market on the device

2011-07-06 Thread Mark Murphy
First, settle down. All you are doing is adding churn by constantly changing the application settings in the Market, publishing/unpublishing, etc. Second, if you would care to tell us what this app is called, others might elect to see if it is visible on their devices. On Wed, Jul 6, 2011 at

Re: [android-developers] search box for contacts

2011-07-06 Thread Fred Niggle
I'd recommend searching for an android contact tutorial, and when you have one set up and working then intergrate it into your 'working' project. Hope this helps, Fred On 06/07/2011, Android K interconnectt...@gmail.com wrote: Hi, I am trying a implement a search box for list of

[android-developers] Re: Android Library and Resources

2011-07-06 Thread Guillaume
On Jul 6, 5:36 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Jul 6, 2011 at 10:47 AM, Guillaume guillaume.dele...@gmail.com wrote: Why are the R.java merged into the same file ? Because they are supposed to be. The library is a container -- the application owns the resources,

Re: [android-developers] Re: Android Library and Resources

2011-07-06 Thread TreKing
On Wed, Jul 6, 2011 at 10:45 AM, Guillaume guillaume.dele...@gmail.comwrote: To own yes but not in the same file ? When using your library for instance, R library file is created in its correct package in the application, rather than merged into the application R file. Did you read this:

Re: [android-developers] search box for contacts

2011-07-06 Thread Android K
Thanks. I wasn't clear what I trying to do. I have already implemented the app that list contacts with phone number with check boxes next to it. But if there are too many contacts hard to scroll through them and find what you are looking for. So I want to implement a dynamic search which would

Re: [android-developers] Re: Patent Infringement notice by Lodsys.

2011-07-06 Thread String
At the moment, Lodsys seems to be targeting any sort of a purchase mechanism within an app. It started with in-app purchasing (via the API) on both iOS and Android, but has now expanded to include upgrade links and buttons in free apps that send the user back to the Market to buy a paid

[android-developers] Re: Android Library and Resources

2011-07-06 Thread Guillaume
But accessing the library resources should be done in the same way both in the library project and in the application : if com.lib is the lib package, I should be able to access com.lib.R from the application. In my case It's merged in com.app On Jul 6, 5:53 pm, TreKing treking...@gmail.com

Re: [android-developers] Re: Android Library and Resources

2011-07-06 Thread TreKing
On Wed, Jul 6, 2011 at 11:31 AM, Guillaume guillaume.dele...@gmail.comwrote: But accessing the library resources should be done in the same way both in the library project and in the application : if com.lib is the lib package, I should be able to access com.lib.R from the application. Um

Re: [android-developers] Re: Android Library and Resources

2011-07-06 Thread Mark Murphy
On Wed, Jul 6, 2011 at 12:37 PM, TreKing treking...@gmail.com wrote: In my case It's merged in com.app Exactly. I'm sorry, but which part of the SDK tools compile the library and merge its sources with those in the main project do you not get? No, the OP is correct -- I misunderstood the

Re: [android-developers] Re: Android Library and Resources

2011-07-06 Thread TreKing
On Wed, Jul 6, 2011 at 11:53 AM, Mark Murphy mmur...@commonsware.comwrote: On Wed, Jul 6, 2011 at 12:37 PM, TreKing treking...@gmail.com wrote: In my case It's merged in com.app Exactly. I'm sorry, but which part of the SDK tools compile the library and merge its sources with those in

Re: [android-developers] Re: Android Library and Resources

2011-07-06 Thread Kostya Vasilyev
06.07.2011 20:53, Mark Murphy пишет: As to why this one library is misbehaving, other than a malformed manifest file, I can't say. Maybe it has to do with this: 06.07.2011 20:31, Guillaume пишет: if com.lib is the lib package, I should be able to access com.lib.R from the application

Re: [android-developers] Re: Android Library and Resources

2011-07-06 Thread Mark Murphy
2011/7/6 Kostya Vasilyev kmans...@gmail.com: 06.07.2011 20:31, Guillaume пишет: if com.lib is the lib package, I should be able to access com.lib.R from the application Maybe it's just me, but I wouldn't call this a typical usage pattern. The way I do it, the library resources are accessed

[android-developers] Re: Installing APK + DB

2011-07-06 Thread hectordu...@yahoo.com
no kostya, by the moment it thasn't crash for that ... know i am geting conflicts with single and double click on a button .. :-( it looks like when i make a double click also tryes to execute some associates methods to single click ... plase help :-) hector On Jul 5, 1:33 pm, Kostya

[android-developers] Re: Android Library and Resources

2011-07-06 Thread Guillaume
On Jul 6, 6:37 pm, TreKing treking...@gmail.com wrote: On Wed, Jul 6, 2011 at 11:31 AM, Guillaume guillaume.dele...@gmail.comwrote: But accessing the library resources should be done in the same way both in the library project and in the application : if com.lib is the lib package, I

RE: [android-developers] Re: Patent Infringement notice by Lodsys.

2011-07-06 Thread Christopher Van Kirk
I think the lawyer that Mark Murphy posted makes a more compelling argument for resistance. The Lodsys model depends on many businesses yielding without a fight. If Lodsys faces an uphill battle with every single patent assertion, they'll make a loss on each one and we'll be rid of them in no time

[android-developers] Re: Android Library and Resources

2011-07-06 Thread Guillaume
On Jul 6, 7:06 pm, Mark Murphy mmur...@commonsware.com wrote: 2011/7/6 Kostya Vasilyev kmans...@gmail.com: 06.07.2011 20:31, Guillaume пишет: if com.lib is the lib package, I should be able to access com.lib.R from the application Maybe it's just me, but I wouldn't call this a

Re: [android-developers] Re: Android Library and Resources

2011-07-06 Thread TreKing
You may want to take a step back, re-explain the issue, and provide a clear description and example of the problem. I, for one, am thoroughly confused. - TreKing

Re: [android-developers] Re: Patent Infringement notice by Lodsys.

2011-07-06 Thread Miguel Morales
I would respond telling them to contact google. The app never presents the user with any interactive method for making a purchase. From the app level, we tell Android that a user has selected something that may be a product and Android checks if this something is a valid product. (There is no

[android-developers] Re: Fragment compatibility package + Android library project + running on API 11+ + DialogFragment in an Activity.

2011-07-06 Thread Nathan Ramsey
I have a UI chunk which is a subclass of android.support.v4.app.DialogFragment.  When running on devices with SCREENLAYOUT_SIZE_NORMAL or SCREENLAYOUT_SIZE_SMALL our library launches a new android.support.v4.app.FragmentActivity which displays theDialogFragmentin its embedded mode. All good

Re: [android-developers] Re: Patent Infringement notice by Lodsys.

2011-07-06 Thread John Coryat
I would respond telling them to contact google. I wish it were that simple. I think we all know that this is a totally bogus attempt by a blood sucking company to extort developers. Lodsys filed a suit against some big boys today:

[android-developers] Re: Android Library and Resources

2011-07-06 Thread Guillaume
The problem is in fact quite simple : The library's package is com.lib The application's package is com.app Instead of having in the hosting application's gen/ directory com.lib.R and com.app.R, I only have com.app.R, containing both the library and application resources. As a result, the lib

Re: [android-developers] Re: Android Library and Resources

2011-07-06 Thread Kostya Vasilyev
Did you by any chance make any library source code changes in the library source folder linked under the application project? If you did, make a change to a source in the library project proper. -- Kostya Vasilyev 06.07.2011 22:40 пользователь Guillaume guillaume.dele...@gmail.com написал: The

[android-developers] Re: in-memory caching?

2011-07-06 Thread fluxtah
You could store it in a static variable if its just that list but if you want something more then there is currently no decent caching mechanism out of the box, you would have to roll your own. For a run down of data storage options you could look here:

[android-developers] Re: Android Library and Resources

2011-07-06 Thread Guillaume
On Jul 6, 9:00 pm, Kostya Vasilyev kmans...@gmail.com wrote: Did you by any chance make any library source code changes in the library source folder linked under the application project? Absolutly not. If you did, make a change to a source in the library project proper. -- Kostya Vasilyev

[android-developers] Custom View

2011-07-06 Thread Gustavo Vargas
Hello all, I'm working on a custom view and I have some problems trying to define some custom XML attributes. Here is part of my definitions: declare-styleable name=ViewUpDown attr name=step format=float / attr name=value

[android-developers] Android 3.1 DevicePolicyManager.ACTION_ADD_DEVICE_ADMIN behavior

2011-07-06 Thread Steve
Running Galaxy Tab with Android 3.1. Am starting intent DevicePolicyManager.ACTION_ADD_DEVICE_ADMIN. Now, in 3.1, onActivityResult is called immediately. Previous versions of Android on Nexus One didn't call onActivityResult until the user accepted or rejected the device admin. I'm seeing this

Re: [android-developers] Re: Patent Infringement notice by Lodsys.

2011-07-06 Thread Jim Graham
On Wed, Jul 06, 2011 at 06:59:50AM -0700, String wrote: On Wednesday, July 6, 2011 12:44:27 PM UTC+1, Mark Murphy (a Commons Guy) wrote: On Wednesday, July 6, 2011 2:04:11 PM UTC+1, Spooky wrote: PS: I just barely missed being a part of this, too, having just decided not to go with

[android-developers] Re: App not visible from Android Market on the device

2011-07-06 Thread Manuel R. Ciosici
Hi Mark, Thanks for the reply and sorry for double posting. The app is called All operators' APN | Tweakker. Manuel On Jul 6, 5:38 pm, Mark Murphy mmur...@commonsware.com wrote: First, settle down. All you are doing is adding churn by constantly changing the application settings in the

Re: [android-developers] Re: App not visible from Android Market on the device

2011-07-06 Thread Mark Murphy
On Wed, Jul 6, 2011 at 5:48 PM, Manuel R. Ciosici manuelrcios...@gmail.com wrote: Thanks for the reply and sorry for double posting. The app is called All operators' APN | Tweakker. Beats me. At first, I thought you might be defeated by on-device auto-correct-style assistance. But you don't

Re: [android-developers] Re: App not visible from Android Market on the device

2011-07-06 Thread Kostya Vasilyev
I don't see it from my devices either. Might this be caused by the single quote or the vertical bar in the name? -- Kostya 07.07.2011 2:08, Mark Murphy пишет: On Wed, Jul 6, 2011 at 5:48 PM, Manuel R. Ciosici manuelrcios...@gmail.com wrote: Thanks for the reply and sorry for double posting.

[android-developers] Can't get WebView timers to stop - leak

2011-07-06 Thread Mark Wyszomierski
Hi, I have a WebView in my activity which loads some html pages which have timers. I can see the timers continue running after exiting the activity by logging WebViewClient.onLoadResource() statements. I have tried calling resumeTimers() + pauseTimers() in my onResume() + onPause() methods. Also

[android-developers] Writing applications uses ethernet instead of Wifi

2011-07-06 Thread tarek attia
Hi all, I've a board that doesn't have Wifi module,However it has an Ethernet connection .The browser works fine,however I want to write an Application that communicates with the internet,and and I want to tell my application to use the Ethernet connection instead of the Wifi in Android ... Any

Re: [android-developers] Writing applications uses ethernet instead of Wifi

2011-07-06 Thread Mark Murphy
Step #1: Visit http://source.android.com Step #2: Click on the Community tab Step #3: Choose a more appropriate list than this one for questions relating to custom firmware (e.g., [android-porting]) On Wed, Jul 6, 2011 at 7:14 PM, tarek attia tarek.m.at...@gmail.com wrote: I've a board that

Re: [android-developers] Writing applications uses ethernet instead of Wifi

2011-07-06 Thread tarek attia
Thank you for your response First :- Sorry for interrupting as well Second :-But actually just I thought implementing an Ethernet based application might be related to this group as the name of this group is Android Developers,so I thought that may be someone had this issue before ... On

[android-developers] How can Button clicks be sent to a View that has been disabled?

2011-07-06 Thread William Ferguson
I'm finding that some of my users are occasionally getting a button firing twice in rapid succession (less than 100 millis) even though the first thing the handler does is to disable the button. ie button.addOnClickListener(new OnClickListener() { public void onClick(View view) {

  1   2   >