[android-developers] Library projects --> Build path error

2011-11-12 Thread J
Hi, I've just upgraded my instalation of the Android SDK and I'm facing a new problem. Let's see if someone else have faced it. I've created a project AppCore, and a projects App. AppCore is a library project (project -> properties -> android -> Is Libray), while App and AppAds have AppCore a

[android-developers] Custom made Clikable buttons

2011-11-12 Thread s.rawat
HI , Is it possible to make the custom clickable buttons (from the clip art , button image, or any fancy looking figure) and add to the android UI, just like paper camera Application . I have been trying the same on Honeycomb and they ave something good

Re: [android-developers] Re: Thresholding a Bitmap

2011-11-12 Thread Melaka Atalugamage
thank you very much. On 12 November 2011 21:55, Brion Emde wrote: > Take a look at the ZXing library. They use a monochrome bitmap class > that is the basis of the barcode scanning, and the algorithms to turn > photo bitmaps into the monochrome form. Using that might help you. > > http://code.go

[android-developers] Re: Does this Bluetooth call execute in the UI thread?

2011-11-12 Thread BCS
insert a block of code in ( where ever you want it ) then ... uh, so I can think, a lot of people dont get it on that thread thing which you clearly seem to grasp,... anyway you write "code" for any data the UI thread has set aside for output and just put that right after the read ( where ever you

[android-developers] Location - GPS/Network

2011-11-12 Thread Siva Prakash
Hi I'm trying to take the current location using GPS or Network which ever is connected. The following code works fine to me if my mobile connected with WiFi or GPS turned ON. But if both of them turned ON/Connected then it doesnt give me any result locationManager.requestLocationUpdates(Location

[android-developers] Re: Does this Bluetooth call execute in the UI thread?

2011-11-12 Thread RLScott
On Nov 12, 7:57 pm, BCS wrote: > the official Bluetooth sample show the main UI calling a blocking > method because it is wrong .. Well, if it is wrong, then what would be the proper solution? I have one that suits my application, but it is not very general. It works like this: The worker th

Re: [android-developers] onCreate vs onStart

2011-11-12 Thread Mark Murphy
On Sat, Nov 12, 2011 at 6:56 PM, bob wrote: > How does a layman decide which initialization code goes in onCreate > and which initialization code goes in onStart? I wouldn't think as much about onStart() as onResume(). Stuff that you want ONLY going on while the activity is in the foreground wou

[android-developers] Re: Does this Bluetooth call execute in the UI thread?

2011-11-12 Thread BCS
the official Bluetooth sample show the main UI calling a blocking  method because it is wrong ~ I went through a not-dis-similar issue with an experienced code engineer with a lifetime of writing code trying to explain to a musician from euro trying to get a midi device coded - a "thread" is a path

[android-developers] onCreate vs onStart

2011-11-12 Thread bob
How does a layman decide which initialization code goes in onCreate and which initialization code goes in onStart? -- 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 u

Re: [android-developers] Does this Bluetooth call execute in the UI thread?

2011-11-12 Thread Kristopher Micinski
I don't remember offhand, but the code might just be like that, it's supposed to be a simple example. There's an easy way to find out. Take your debugger, put a breakpoint on that line of the code and find out what thread you're in! kris On Sat, Nov 12, 2011 at 11:20 AM, RLScott wrote: > I am t

Re: [android-developers] Looking for more coders

2011-11-12 Thread Farhan Tariq
Sounds really cool, but how would you ensure anyone that he would really get paid? As in, you could just elope with the code and all, without having to pay a penny to the resource you get along ! If you got any convincing ideas, i would be more than happy to join in. On Thu, Nov 10, 2011 at 6:19

Re: [android-developers] transferring information from one application to another

2011-11-12 Thread tarun sablok
just add the data by using the functions putExtra() on the intent object and extract it at the receiving activity by using getIntent().getExtra() On Sun, Nov 13, 2011 at 12:10 AM, Narendra Singh Rathore < nsr.curi...@gmail.com> wrote: > ok, so u mean..in the same way transferring data from

Re: [android-developers] Way to save edittext box data in the xml code itself?

2011-11-12 Thread TreKing
On Mon, Nov 7, 2011 at 9:42 AM, Neeta wrote: > Is there a way of saving data users have entered in an EditText box in the > xml itself? > What is "the xml itself" ? I don't want to have to write Java code to have to grab the entered data > and save it. > That would be like 5 lines of Java co

Re: [android-developers] Selecting a location from google map and send it to an Application

2011-11-12 Thread TreKing
On Fri, Nov 11, 2011 at 10:00 AM, Hacktor wrote: > Is there any sample code or tutorial for Selecting a location from google > map (like restaurant, school etc) and forward to the application which > includes more information about that place? > That would require the Maps app to return that as

[android-developers] Re: A Universal "Contact us first before rating poorly" statement for Customers?

2011-11-12 Thread BCS
I think we have an issue here that should be expanded ->some<- as I was looking at Mark's work and that person pumps out a feed of well- done work that is consistent with what you are asking but when I went yesterday trying once-again to "see what was going on" I found reason to believe Android & o

Re: [android-developers] Please help me out with problem of indefinite service

2011-11-12 Thread TreKing
On Fri, Nov 11, 2011 at 10:15 PM, phannguyen wrote: > Dear all, > I have an app that contains Activity A and MyService which this service > runs in background indefinitely. > No it doesn't - that's not possible. > I want myservice run in background indefinitely > Again, that's not possible.

Re: [android-developers] transferring information from one application to another

2011-11-12 Thread Narendra Singh Rathore
ok, so u mean..in the same way transferring data from an activity to another. I need to try it first. -- 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 fr

Re: [android-developers] transferring information from one application to another

2011-11-12 Thread TreKing
On Sat, Nov 12, 2011 at 11:19 AM, Narendra Singh Rathore < nsr.curi...@gmail.com> wrote: > Can anyone plz suggest me how to transfer access to particular information > in another application/package. "Transfer access" ? If you're looking to pass data, just put them in the intent object itself.

Re: [android-developers] A Universal "Contact us first before rating poorly" statement for Customers?

2011-11-12 Thread Mark Murphy
On Sat, Nov 12, 2011 at 1:02 PM, Binxalot wrote: > Does anyone here have a way they catch these types of force close > issues that don't result in a "send feedback" screen being shown? Sure. Catch the exception. Typically, for unhandled exceptions, you use Thread and setDefaultUncaughtExceptionHa

[android-developers] A Universal "Contact us first before rating poorly" statement for Customers?

2011-11-12 Thread Binxalot
I'm pretty fed up with the marketplace and the way it works. We're starting to place a disclaimer at the bottom of our app description text: "We strive to provide a solid gaming experience to everyone but this ultimately impossible due to the way Android OS was made available on multiple devices,

Re: [android-developers] Re: Obsoleting 1.5

2011-11-12 Thread jtoolsdev
Because on a 7" the older tabbed system looks and works just fine. 10" and larger it is absurd so using the different layout worked. -- 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@g

Re: [android-developers] Get position in GLSurfaceView

2011-11-12 Thread s.rawat
what do u mean by position?? "..pain is temporary.quitting lasts forever.." On Fri, Nov 11, 2011 at 5:42 AM, Victor Basurto wrote: > Hi, i am doing an app with the camera with GLSurfaceView, but when i > want to get the position of an image that i drawn previously in the > camera view

[android-developers] transferring information from one application to another

2011-11-12 Thread Narendra Singh Rathore
Hi all, I used intent for switching from one application to another by the following code: Intent i = new Intent(Intent.ACTION_MAIN); PackageManager manager = getPackageManager(); i = manager.getLaunchIntentForPackage("package name"); i.addCategory(Intent.CATEGORY_LAUNCHER); startActivity(i);

Re: [android-developers] NFC App self-launched

2011-11-12 Thread tarun sablok
You can restrict launching of your app when the card is brought close by mentioning the Data type as well in the NDEF intent ... i was also facing the same problem so i included the data field in the NDEF intent part and everytihng worked fine . On Fri, Nov 11, 2011 at 10:27 PM, k0nig wrote:

[android-developers] Password Swipe Panel

2011-11-12 Thread Qin Ding
I'd like to build a password swipe panel for my application. My basic requirement is when user tries to start my application, rather than presenting a traditional login page with username and password and submit button, I'd like to challenge the user with a panel of 9 balls, user needs to swipe on

[android-developers] Re: Thresholding a Bitmap

2011-11-12 Thread Brion Emde
Take a look at the ZXing library. They use a monochrome bitmap class that is the basis of the barcode scanning, and the algorithms to turn photo bitmaps into the monochrome form. Using that might help you. http://code.google.com/p/zxing/ On Nov 11, 12:13 am, melakamc wrote: > How to Threshold a

[android-developers] Does this Bluetooth call execute in the UI thread?

2011-11-12 Thread RLScott
I am trying to understand the Bluetooth example given in the Android Developer docs and I am wondering about this issue: The example shows a "ConnectedThread" class which extends the standard Thread class. There is a custom constructor and a run() method which executes in the newly-created thread

[android-developers] Re: How to read data off a website into an Android app

2011-11-12 Thread Brion Emde
Take a look at the WebView sample here: http://developer.android.com/resources/tutorials/views/index.html On Nov 11, 6:06 am, Jungle Jim wrote: > I need to write an android app that will read data off a webpage and > then display it in an activity in my app. Unfortunately, I am fairly > new to bo

Re: [android-developers] Re: Urgent help required

2011-11-12 Thread Jim Graham
On Fri, Nov 11, 2011 at 02:30:05AM -0800, Sunil Mishra wrote: > home.html > > www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > http://www.w3.org/1999/xhtml"; xml:lang="en"> > > ODMS This is code for you web server? I never knew that a complete web SERVER could be written in HTML.

[android-developers] Re: gathering all chats messages to be in one application

2011-11-12 Thread yael876
Thank for your reply, i didn't ask but i will. i hope they will tell me. On Nov 11, 6:03 am, TreKing wrote: > On Thu, Nov 10, 2011 at 12:17 AM, yael876 wrote: > > can you help me with that please? how can i get messages of > > other applications? > > You ask the developers of those other appli

Re: [android-developers] how to implement sync mobile data base and online mysql server

2011-11-12 Thread Ratheesh Valamchuzhy
plse go thrugh this http://www.helloandroid.com/tutorials/connecting-mysql-database -- 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, sen

Re: [android-developers] Android operating system

2011-11-12 Thread Jim Graham
On Thu, Nov 10, 2011 at 09:54:26AM -0800, pavan kumar wrote: > 1) How android operating system different from other operating system? > 2) What are the advantages that we have with this operating system? > 3) How the hardware parts supports. What is the basis for it. > Suggest me a site to make me

Re: [android-developers] What unit is on AudioTrack.getMinBufferSize()

2011-11-12 Thread Gergely Juhász
bytes On 12 November 2011 14:17, Ólafur Egilsson wrote: > Does anyone know what the number that AudioTrack.getMinBufferSize() > returns represents ? > Is it bytes, shorts, frames, samples, ... ? > > see: > http://developer.android.com/reference/android/media/AudioTrack.html#getMinBufferSize(int,

[android-developers] What unit is on AudioTrack.getMinBufferSize()

2011-11-12 Thread Ólafur Egilsson
Does anyone know what the number that AudioTrack.getMinBufferSize() returns represents ? Is it bytes, shorts, frames, samples, ... ? see: http://developer.android.com/reference/android/media/AudioTrack.html#getMinBufferSize(int,%20int,%20int) -- You received this message because you are subscri

[android-developers] Sending SMS message: Delivered pending intent is not broadcasted on emulator

2011-11-12 Thread Ali Chousein
Hi, I'm experimenting with sending SMS text messages from one emulator to another. The blueprint of the code is as given below. The SMS message is sent successfully to the target emulator. In the code I receive the broadcast received when the SMS is sent sucessfully (e.g. I see the message "Receiv

[android-developers] Re: Is it possible that LINK/CALL a class in another package as a library or plug-in?

2011-11-12 Thread hhenne
In my keyboard app (http://www.maxikeys.com) the keyboard LAYOUTS are services provided as seperate apks, which dynamically plugs in the keyboard ENGINE service. You have to make an intent to the plugin service and a serviceConnection with callback methods , and then call the bindService method. I

[android-developers] Re: Is it possible that LINK/CALL a class in another package as a library or plug-in?

2011-11-12 Thread Build account
I'm considering a kind of plug-in system. Is there any example to implement this? (I had reviewed tic-tac-toe and others, but I couldn't found clear answer). Pls comment me more about how to implement detail or code snippet. Thx On Nov 12, 4:13 pm, BCS wrote: > there are (definitely) possibilit

Re: [android-developers] How to publish app on android market from India

2011-11-12 Thread Raghav Sood
The same way you would for any other country. Sign up for an account, and upload it with the details. You cannot sell paid apps from India. Thanks On Sat, Nov 12, 2011 at 1:51 PM, Rahul Verma wrote: > -- > You received this message because you are subscribed to the Google > Groups "Android Deve

[android-developers] Re: Urgent help required

2011-11-12 Thread skink
Thomas napisał(a): > Hello, > > You state you want to share this on a public network. What is the URL > where the html and and other files live"? The code is straight > forward enough if that is what you want to do. > > Best, > Tom B OP problem is that he has at least some files as app resour

[android-developers] How to publish app on android market from India

2011-11-12 Thread Rahul Verma
-- 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+unsubscr...@googlegroups.com For more options, visit