[android-developers] bluetooth erratic behavior

2010-06-21 Thread Indu
We use bluetooth SPP profile to transfer data. Lately, what I see is erratic behavior in the throughput. this happens both on nexus one and Droid. Is anyone else experiencing? Are there any tools to investigate or debug why so? thanks for your help. -- You received this message because you are

[android-developers] calling servlet from android application

2010-06-21 Thread jp
I need to call a servlet from my android app and send/receive some data can anyone give me some example ? -- 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: HttpURLConnection and data roaming

2010-06-21 Thread Cydrike
No one face this problem ? I've noticed that the browser hasn't this problem when switching from 3G to wifi. Can someone explain me how to do ? Thanks On 19 juin, 17:40, Cydrike cedric.bruck...@gmail.com wrote: Some additional info : I'm running with Android 2.1. The phone I use id a HTC

[android-developers] Re: onKeyDown not being called in TabActivity

2010-06-21 Thread Zsolt Vasvari
Just curious, why was the Activity inside TabActivity functionality introduced into the SDK, if it's such as bad idea? This option not only seems like the main culprit of stock overflow errors in an Android app, but it adds significant complexity to the SDK, both API and implementation-wise.

[android-developers] Re: Pick a telephone number

2010-06-21 Thread Zsolt Vasvari
I think the PICK activity only returns the ID of the contact picked. From that you could query the Contact provider and if there are multiple phone numbers, prompt the user to select one of them. On Jun 21, 1:00 am, Jaap jaap.hait...@gmail.com wrote: Hi, In my app I want to have the user

[android-developers] Re: Android Corba

2010-06-21 Thread ko5tik
On Jun 19, 10:07 am, Squ36 romain.goncal...@gmail.com wrote: OK... So, if I can't use CORBA, what is the best way to program multi-users apps ? I'm insisting on the fact that it needs to run without a server access, because I'm a student, and I can't afford to buy or rent a dedicated

[android-developers] Re: Accessing Common methods among activities

2010-06-21 Thread Bob Kerns
Not only is it not an Activity, but an Application -- it may not even be YOUR Application in some cases. You should never use getApplicationContext(). Just use the current activity itself, or if you need YOUR application, call getApplication(). Accessing other activities is a mistake. It

[android-developers] Re: Layout margin left/right issue in 2.2?

2010-06-21 Thread Zsolt Vasvari
From my experience, within LinearLayouts, the behavior is the same, but RelativeLayouts behave differently. I have a layout which I tried to convert from LinearLayout to RelativeLayout to save one nesting level, but I couldn't make the RelativeLayout look the same on 2.2 as on previous versions.

[android-developers] android 2.2 source code available

2010-06-21 Thread kiran
Hi All When will be the android 2.2 source code available to download, as of now android 2.2 sdk is only available. Regards Kiran -- 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: Dubious extra call to OnCreate on orientation change

2010-06-21 Thread Bob Kerns
I would claim it's a mistake for these to cause side effects. Create followed by destroy should merely be an expensive null operation. I don't know why it's happening for you; I agree it's strange. One thing that occurs to me -- does your activity allow the background to be seen? Perhaps the

[android-developers] Re: can't anymore show light notification

2010-06-21 Thread reda
Hi ravi, But only issue is.. they have blocked the permission to change the LED. I removed this line : notif.ledARGB = Color.WHITE; but I still can't see light on my trackball. Is it because I'm compiling with api 3 (sdk1.5) ? Thanks. On 21 juin, 04:34, sachin ravi sachinravi...@gmail.com

[android-developers] How to receive message in a chat application

2010-06-21 Thread Suhas Mannar
HI I am new to Android. I am trying to implement a chat application in android 2.1. Till now i am able to retrieve buddy list and send message to a person on the buddy list. I am facing a problem in receiving messages from that person. So please help me -- You received this

[android-developers] Re: Set result of svnversion to tag android:versionName

2010-06-21 Thread lucky4me
Another svn revision retrieving trick (place into ant build file): exec executable=svn output=svninfo.xml arg line=info --xml/ /exec xmlproperty file=svninfo.xml collapseattributes=true/ property

[android-developers] How to manage connection to a socket?

2010-06-21 Thread qwesthead
I would like to know what is the recommendation for socket connection management in Android? In our App we would like to be connected to a TCP/IP server when our app is in the foreground or paused. So, create a connection to a TCP/ IP server when the App starts --basically, On Create of the

[android-developers] Re: Loading random image when activity is brought up...Not working any ideas?

2010-06-21 Thread jamesc
I've only scanned your code and note that you're using an Intent on the same class to essentially get the 'redraw/reload of a random image' to occur. I'm not sure that this would be the best way of going about what you want to achieve. (As an aside try using logcat to see what's happening; is

Re: [android-developers] Re: Maintaining the state when changing the orientation

2010-06-21 Thread Alok Kulkarni
Thanks Dianne for your response. I have solved the leaks almost completely . What wrong i was doing is i was also saving the array of list items drawn on the UI and reassigning it to the new activity.It takes some time to understand what really should be saved and what not to be saved , also

[android-developers] Intercepting an outgoing call

2010-06-21 Thread mike
hi guys, i saw many people have raise the same question but could not find the solution and mine is little bit different. this application is working properly in HTC TATTOO but in Motorola Milestone i'm getting this issue. in milestone outgoing call is detecting and even it's been pass to

Re: [android-developers] How to manage connection to a socket?

2010-06-21 Thread Miguel Morales
Use a service: http://developer.android.com/reference/android/app/Service.htm On Mon, Jun 21, 2010 at 12:05 AM, qwesthead qwesth...@gmail.com wrote: I would like to know what is the recommendation for socket connection management in Android? In our App we would like to be connected to a

[android-developers] Re: How to add application settings in android device

2010-06-21 Thread FrankG
Hi Jesús, thanks for the link, but he will not add Preferences to his own application. How far as I understood, you would like to extend the existing Settings of the device. Thanks ! Frank On 15 Jun., 14:18, Jesús Díaz master...@gmail.com wrote: Hi It is possible using the

[android-developers] Delete Call Log entry Exception

2010-06-21 Thread mike
hi guys, i have a BroadCastReceiver which will listen to incoming calls. and once the call is finish or users ignores the call i'm deleting the number from the CallLog. i have tested this with HTC TATTOO and it works fine there. but when i tested this with Motorola MilesTone i'm getting a

Re: [android-developers] Re: How to add application settings in android device

2010-06-21 Thread Rajesh Pelluru
Hi Jesús, Thanks for your reply and my requirement: In settings I want to add my application specific settings to enter data specific to my application. I didn't get proper doc and code to acheive above one. --Rajesh Pelluru On Mon, Jun 21, 2010 at 1:41 PM, FrankG

[android-developers] Re: Delete Call Log entry Exception

2010-06-21 Thread Kumar Bibek
Clearly a permission issue. Only HTC can help you/ Motorola also. Thanks and Regards, Kumar Bibek http://tech-droid.blogspot.com On Jun 21, 1:11 pm, mike hasitharand...@gmail.com wrote: hi guys, i have a BroadCastReceiver which will listen to incoming calls. and once the call is finish or

[android-developers] READ_PHONE_STATE and WRITE_EXTERNAL_STORAGE automatically required?

2010-06-21 Thread Viktor Linder
My app does not require the READ_PHONE_STATE and WRITE_EXTERNAL_STORAGE permissions (there's no clause about this in the manifest), but it seems they are implicitly added by the SDK when minSdkVersion is set to 3. Will the user on a 1.6 or higher phone be queried about these permissions when

[android-developers] About Monkey Script

2010-06-21 Thread Prue Meng
I want point a folder,but the scrip only have the hold-press, captureDispatchPointer(5109520,5109520,0,230,358,0,0,0,0,0,0,0), DispatchKey(downTime, //@param: The time (in {...@link android.os.SystemClock#uptimeMillis}) at which this key code originally went down.毫秒 eventTime, //at which

[android-developers] Youtube Streaming not working on Andriod 2.1

2010-06-21 Thread kiran
Hi All When i click the you-tube video links in the browser, the Media-player gives the following error and the Browser say can't play the Video D/dalvikvm( 1011): GC freed 7893 objects / 546512 bytes in 112ms E/PV ( 753):

[android-developers] Best httpclient re-use stategy

2010-06-21 Thread MoxFulder
Hi there, I'm new using android sdk/httpclient I'm writing a small application which needs httpclient lib, basically to manage the cookie/session automatically. The website I'm targeting needs a valid session, so, between each http call, I need to send the cookie. Httpclient does it well. This is

[android-developers] Re: Fwd: OnSharedPreferenceChangeListener never receives callback

2010-06-21 Thread FrankG
Hi Stace, and who sends the intent, if the Preference changed ? Thanks ! Frank On 21 Jun., 04:51, Connick oconn...@gmail.com wrote: Hi, I'm not sure I understand what you are trying to do ...but if it helps any, I ended up using a broadcast/receiver to relay the preference change. While I

[android-developers] app not working ,need help

2010-06-21 Thread pranay
hi,for long i am trying to develop an app which would inform the user of any incoming message via speech, i have three classes, TextSpeaker, Receiver and SpeakerService. When i start the app and click on Start button, i get runtime error: 06-21 13:54:36.088: ERROR/AndroidRuntime(528): Uncaught

[android-developers] How to Draw a Button in a View

2010-06-21 Thread mike
hi guys, i have a class which extends a View and i'm drawing few images in the canvas. and i want to draw two buttons as well. could someone tell me how to do this??? this is my class public class DrawView extends View { private ColorBall colorball1; String[] str; int

[android-developers] Re: Delete Call Log entry Exception

2010-06-21 Thread mike
hi Bibek, what make you think like that it's the same application. i didn't change a single line of code. both application has same permissions. regards, MIke -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: app not working ,need help

2010-06-21 Thread pranay
i corrected the runtime error by making mtts as static and using TextSpeaker.mtts instead of tspker.mtts . Now i am able to receive the message in a Toast but i am not able to hear any sound . the new log messages are : 06-21 14:45:04.488: DEBUG/Receiver(586): Message received successfully 06-21

[android-developers] Re: Extract text from image

2010-06-21 Thread SREEHARI
Pls helpIts urgent SREEHARI. -- 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] Re: Extract text from image

2010-06-21 Thread Toni Menzel
Its called ORC (http://en.wikipedia.org/wiki/Optical_character_recognition) Checkout those resources and look for Java based Implementations.. On Mon, Jun 21, 2010 at 11:58 AM, SREEHARI sreehari.madhusooda...@wipro.com wrote: Pls helpIts urgent SREEHARI. -- You received this

[android-developers] Re: Delete Call Log entry Exception

2010-06-21 Thread Kumar Bibek
Well, the content providers might have been changed by HTC or Motorola.IF they disabled the delete action from the call logs, your app cannot delete. Had it been the same manufacturers or devices, then I would have thought about some other problem. java.lang.UnsupportedOperationException:

[android-developers] Re: Area map / Area plan

2010-06-21 Thread SREEHARI
Try the below codeStore ur image in drawable and give that name for R.drawable._ import android.app.Activity; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import

[android-developers] Re: java.lang.NoClassDefFoundError: com.google.android.maps.MapView

2010-06-21 Thread SREEHARI
Hi Anup, Check this link. It will help u http://mobiforge.com/developing/story/using-google-maps-android Regards, SREEHARI -- 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] Get a permisssion to a known source

2010-06-21 Thread Idan
Hi, I`am working for Motorola, and I would like to know if there is any way of being in the list of companies who doesnt consider as 'unknown source' when there is installation on our android phones. thanks. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Finish an activity not started from the service

2010-06-21 Thread SREEHARI
Hi Manju, Do you want to stop the activity after going to another activity?? If so give finish() inside onStop() of the activity to be finished. I dont know this is ur requirement. Regards, SREEHARI -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Extract text from image

2010-06-21 Thread SREEHARI
Hi Toni, Thanks for the information. Can you provide any sample code for this. Regards, SREEHARI -- 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

[android-developers] Clockwise landscape orientation

2010-06-21 Thread Vytautas Šaltenis
Hi, Apparently, since Froyo it's possible to display app in clockwise landscape orientation (e.g. as demoed here: http://www.youtube.com/watch?v=R4YazuITS1o). However, I can't find anything related in the SDK. How can I display my app this way? Thanks, Vytautas -- You received this message

Re: [android-developers] Clockwise landscape orientation

2010-06-21 Thread Mark Murphy
2010/6/21 Vytautas Šaltenis vytau...@unity3d.com: Apparently, since Froyo it's possible to display app in clockwise landscape orientation (e.g. as demoed here: http://www.youtube.com/watch?v=R4YazuITS1o). However, I can't find anything related in the SDK. How can I display my app this way?

[android-developers] Re: Delete Call Log entry Exception

2010-06-21 Thread mike
hi Bibek, which is a good point. so i decide to update the call log for the same uri. then i'm getting a null pointer exception. int x = context.getContentResolver().update(uri, null, null,null); what will be the issue?? do i have to pass values here?? regards, MIke -- You received this

[android-developers] help on singleinstance launchmode

2010-06-21 Thread Vibhor Mahajan
Hello, What is launch mode of an activity, which is launched from an activity with launch mode as singleinstance. I tried the following code. My application has two activities i.e. A B. Activity A has singleinstance launchmode set and activity B has standard launch mode set. Android manifest

Re: [android-developers] Clockwise landscape orientation

2010-06-21 Thread Vytautas Šaltenis
On Mon, Jun 21, 2010 at 2:21 PM, Mark Murphy mmur...@commonsware.com wrote: I imagine you just support landscape orientation in your app. After all, the landscape version looks the same, no matter which landscape side is up. Yeah, probably -- but how can I request a certain orientation

[android-developers] Access adbd from within Android app

2010-06-21 Thread Roel
Hello all, I would like to issue a request to the adbd from within my application so i can retrieve the framebuffer contents. I've setup a small test which connects to 127.0.0.1:5037 and sends the framebuffer: command. The response i got was Got reply 'FAIL', diag='closed' public class

Re: [android-developers] Access adbd from within Android app

2010-06-21 Thread Mark Murphy
On Mon, Jun 21, 2010 at 7:48 AM, Roel roel.stol...@gmail.com wrote: I would like to issue a request to the adbd from within my application so i can retrieve the framebuffer contents. This should not be possible. If it is, it is a security hole. Otherwise, applications could capture screens from

Re: [android-developers] Clockwise landscape orientation

2010-06-21 Thread Jonas Petersson
On 06/21/2010 01:21 PM, Mark Murphy wrote: 2010/6/21 Vytautas Šaltenisvytau...@unity3d.com: Apparently, since Froyo it's possible to display app in clockwise landscape orientation (e.g. as demoed here: http://www.youtube.com/watch?v=R4YazuITS1o). However, I can't find anything related in the

[android-developers] Re: creating and opening sqlitedb on sdcard for api7

2010-06-21 Thread kamiseq
is there anyone there who tried creating a database on an SD card? I ve found how to create and start emulator with sdcard image but how to manage the sdcard on emulator without eclipse plugin? which tool should I use to browse and copy data from and to sd card?? -- You received this message

Re: [android-developers] Re: creating and opening sqlitedb on sdcard for api7

2010-06-21 Thread Mark Murphy
On Mon, Jun 21, 2010 at 8:07 AM, kamiseq kami...@gmail.com wrote: which tool should I use to browse and copy data from and to sd card?? DDMS's File Manager, or the adb pull command. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

[android-developers] problem in taking log

2010-06-21 Thread Honest
Hello, I want to take log but my USB cabel is facing problem as there is issue in driver. is there any ohter alternate of it ? -- 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] Using OpenGL to draw bitmap in Oval shape

2010-06-21 Thread Abhinav
Hi All, Can OpenGL manipulate the Bitmap reference that is passed, to show in any shape e.g., Oval, curve and draw it on the Canvas? Thanks -- 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] Application Menu

2010-06-21 Thread Jason Van Anden
I have the same question. If you were able to come up with a solution, please share! If not - does anyone else know the answer to this? j On Mon, Jul 27, 2009 at 1:19 PM, par parg...@gmail.com wrote: Hi, Is it possible to attach Menu to an application rather than each activity in the

Re: [android-developers] how to startup the emulator with landscape orientation instead of portrait

2010-06-21 Thread Rogério de Souza Moraes
Create an layout skin, definig the display properties like this: device { display { width 800 height 480 x 0 y 0 } } Regards, Rogerio 2010/6/19 pawan nimje pawanni...@gmail.com Try with other ctrl button

Re: [android-developers] onPreferenceChangeListener question

2010-06-21 Thread TreKing
On Sat, Jun 12, 2010 at 12:02 AM, schwiz sch...@gmail.com wrote: Does this mean that it won't be called if I am changing the preference without user interaction in an PreferenceActivity but instead with Preference.edit().commit() ? Implement it, put a breakpoint or debug log message, and see

Re: [android-developers] discoverability

2010-06-21 Thread TreKing
On Sat, Jun 12, 2010 at 2:15 PM, greg sep...@eduneer.com wrote: It seems that a menu icon and/or a long click icon in the status bar (i.e., along with the battery status icon) would help users know which activities have menus and/or views that have long click functionality. Not really -

[android-developers] Re: Application Menu

2010-06-21 Thread greg
Have you tried putting your commonly shared menu in a class that is super to your activities that need the menu? (I haven't done this for menus, but I've done it for other Activity UI components that I wanted to share among many activities.) - greg On Jun 21, 8:51 am, Jason Van Anden

Re: [android-developers] Re: Application Menu

2010-06-21 Thread Jason Van Anden
yes. tried. the weird thing is that the menu gets called and appears fine. I get this response when an item is clicked via logcat: InputManagerService Window already focused thx, j On Mon, Jun 21, 2010 at 9:17 AM, greg sep...@eduneer.com wrote: Have you tried putting your commonly shared

Re: [android-developers] Re: Application Menu

2010-06-21 Thread Jason Van Anden
this may have been a red herring - wrong method may have been used. let's hold this thought for a moment. j On Mon, Jun 21, 2010 at 9:38 AM, Jason Van Anden jason.van.an...@gmail.comwrote: yes. tried. the weird thing is that the menu gets called and appears fine. I get this response when

[android-developers] Re: creating and opening sqlitedb on sdcard for api7

2010-06-21 Thread kamiseq
you are my man :D thanks On 21 June, 14:12, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jun 21, 2010 at 8:07 AM, kamiseq kami...@gmail.com wrote: which tool should I use to browse and copy data from and to sd card?? DDMS's File Manager, or the adb pull command. -- Mark Murphy (a

[android-developers] Android Database and PC Applications

2010-06-21 Thread Boardy
Hi all, I am currently doing some research on a program that I would like to develop for the Android platform. The android device will store information for the program using the internal SQLite3 Database. I also would like to to develop a program in either C# or Java (preferably C#) that will

Re: [android-developers] Android Database and PC Applications

2010-06-21 Thread Mark Murphy
On Mon, Jun 21, 2010 at 10:30 AM, Boardy board.christop...@googlemail.com wrote: How can I get a PC application ideally in C# to be able to get the information out of the android device, is there a way that I can use the ADB without having to have the Android SDK installed on the PC. Have the

[android-developers] Re: help on singleinstance launchmode

2010-06-21 Thread MobDev
Actually, to me it sounds it's behaving correctly... If Activity B is standard then it might be re-used, so it's not obliged to create a new Instance... Thats what happens in ur case, first time it get's created, then you go to activity A, then when you ask for Activity B the old activity B is

[android-developers] Re: help on singleinstance launchmode

2010-06-21 Thread MobDev
Btw, got this from documentation, concentrate on the last sentence : Every time there's new intent for a standard activity, a new instance of the class is created to respond to that intent. Each instance handles a single intent. Similarly, a new instance of a singleTop activity may also be created

Re: [android-developers] READ_PHONE_STATE and WRITE_EXTERNAL_STORAGE automatically required?

2010-06-21 Thread Sean Hodges
Can't say I've seen this before. Do you mean the permissions are automatically added to the AndroidManifest.xml, or that your app requests those permissions even without the uses-permission entries present? If it's the former, have you tried just removing those permissions from your manifest?

[android-developers] Re: discoverability

2010-06-21 Thread greg
Perhaps the status bar isn't a good solution, but I think there must be some better way of conveying that an activity has a menu other than requiring the user to press the menu icon to see if a menu pops up and hoping the user remembers that the activity has a menu. For example, the Nexus One has

[android-developers] Using the native predictive text dictionary?

2010-06-21 Thread Raymond Ingles
I'm attempting to create an input method, and I'd like to use the predictive-text library that the LatinIME uses. Unfortunately, it looks like that's stored in its own resource area (R.raw.main). Is there a way for other code to hook into that? I'd assume not, but just in case, I figured I'd ask.

Re: [android-developers] Re: discoverability

2010-06-21 Thread Mark Murphy
On Mon, Jun 21, 2010 at 11:01 AM, greg sep...@eduneer.com wrote:  Why should the menu button be lit if the menu doesn't exist? Some applications use the MENU button for things other than menus. While I will argue that doing so is a mistake, there is little doubt that some people are doing it,

Re: [android-developers] Re: discoverability

2010-06-21 Thread TreKing
On Mon, Jun 21, 2010 at 10:01 AM, greg sep...@eduneer.com wrote: Perhaps the status bar isn't a good solution, but I think there must be some better way of conveying that an activity has a menu other than requiring the user to press the menu icon to see if a menu pops up and hoping the user

[android-developers] Re: Android Database and PC Applications

2010-06-21 Thread Nathan
On Jun 21, 7:30 am, Boardy board.christop...@googlemail.com wrote: Hi all, I am currently doing some research on a program that I would like to develop for the Android platform. The android device will store information for the program using the internal SQLite3 Database. I also would

[android-developers] Transparent textures in OpenGL ES.. How?

2010-06-21 Thread Navigateur
I can't seem to get GLUtils.texImage2D to use my full RGBA (A=my alpha component). I've tried doing setEGLConfigChooser(8, 8, 8, 8, 0, 0); getHolder().setFormat(PixelFormat.RGBA_); I've tried converting the source image (.png in ARGB) to RGBA.. which works ok for the ordering of data before

Re: [android-developers] how to test if app is installed on sd

2010-06-21 Thread TreKing
On Sun, Jun 13, 2010 at 4:24 PM, arnoldl arn...@fortuin.nl wrote: With froyo users can move a app to the sd card... Only if you allow it, AFAIK. How can i test if my app is on internam memory or on sd? Not sure, but what does it matter?

[android-developers] Re: Maven and Android

2010-06-21 Thread Manfred Moser
The android jar artifacts now hit maven central. http://www.simpligility.com/2010/06/android-artifacts-hit-maven-central/ and you can get a lot of mileage out of using the maven android plugin if you build is more than just the standard build. If you start modifying the stock ant scripts you

[android-developers] Re: Google Analytics - starting the tracker.

2010-06-21 Thread Nathan
So has anyone used Google Analytics referrer tracking successfully? Nathan On Jun 18, 3:57 pm, Nathan critter...@crittermap.com wrote: (NOTE: do not start the GoogleAnalyticsTracker in your Application onCreate() method if using referral tracking). Well, of course I'd like to use referral

[android-developers] Android jar files available in Maven central

2010-06-21 Thread Manfred Moser
Just a quick heads up that thanks to a combined community effort the android jar files are now available in maven central. http://www.simpligility.com/2010/06/android-artifacts-hit-maven-central The artifacts are usable from Maven via the Maven Android Plugin or also other build tools that use

[android-developers] Re: Transparent textures in OpenGL ES.. How?

2010-06-21 Thread Navigateur
I should add, maybe GL10's glTexImage2D is the way to go here but I can't get that working at all. Maybe I have the pixel buffer pixels in the wrong order, since I use Bitmap's copyPixelsToBuffer to create the pixels buffer (what's the correct ordering for pixels in this buffer)? Or is

Re: [android-developers] problem in taking log

2010-06-21 Thread Felipe Silveira
There are some applications on market that collect logcat and send by email. You can find them by looking for logcat on market. Felipe On Mon, Jun 21, 2010 at 9:40 AM, Honest honestsucc...@gmail.com wrote: Hello, I want to take log but my USB cabel is facing problem as there is issue in

Re: [android-developers] Re: discoverability

2010-06-21 Thread Frank Weiss
It's merely an interesting idea without some usability data. What's the actual problem? I would say that every Android user assumes there's a menu for each activity. Adding an extra UI element to indicate whether there is or not tends to violate the law of parsimony - and more strongly, YAGNI (ya

[android-developers] Display events in a Calendar like View

2010-06-21 Thread loril...@gmail.com
Hi, As a part of my application, I need to display months in a scrollable view similar to android native calendar app. I also need to include events to the calendar. From the information in the link (http://www.developer.com/ws/ article.php/3850276/Working-with-the-Android-Calendar.htm) I

[android-developers] saving sharedPreferences collapse my app... for advanced dev I think

2010-06-21 Thread Kofa
I've done an game and it works right, the task it's compossed by a main activity (main menu) where you can load, start a new game, options, etc... when you are playing let's say you're in the activity B, you save the game and quit, so I save every data with sharedPreferences (a lot of data)

Re: [android-developers] [OpenGL ES] 2D controls over 3D world

2010-06-21 Thread Leigh McRae
I myself wouldn't do this every frame. I would have both the 3D and 2D projection matrices cached someplace and bang it in with glLoadMatrix each frame. You likely are using these for culling and other stuff anyways. I wouldn't bother with push/pop but in reality it's likely a very small

[android-developers] Re: Transparent textures in OpenGL ES.. How?

2010-06-21 Thread Navigateur
Correction: if I use the original ARGB format of the .png without converting it to RGBA, it doesn't work at all. (But with RGBA it has the problem as stated). On Jun 21, 5:30 pm, Navigateur naveen.c...@googlemail.com wrote: I should add, maybe GL10's glTexImage2D is the way to go here but I

[android-developers] Events in Android Calendar

2010-06-21 Thread NishantKumar
Hi, I am developing an application for information extraction from Android phone. I want to confirm a doubt. Just like google calendar, Is there any Calendar in Android that stores event? I cannot find it in my emulator. I mean, a user can stores event in his calendar on phone. I want to

[android-developers] Re: Transparent textures in OpenGL ES.. How?

2010-06-21 Thread Navigateur
I got it working! The right data order is ARGB, but it just wasn't accepting my original data for some reason (even though the data is fine)... so by writing it, pixel by pixel, to a new Bitmap.. it works (that's why RGBA version was treating the A as B) Can anyone tell me why I have to write a

Re: [android-developers] Events in Android Calendar

2010-06-21 Thread Mark Murphy
On Mon, Jun 21, 2010 at 1:21 PM, NishantKumar nishant.cs...@gmail.com wrote: Just like google calendar, Is there any Calendar in Android that stores event?  I cannot find it in my emulator. The Calendar is not part of the Android SDK (though you will see a couple of permissions for it still

Re: [android-developers] Re: Extract text from image

2010-06-21 Thread Sean Hodges
Sreehari, OCR is not really an Android topic, I'd be surprised if anyone had any out-of-the-box sample code you could just use. One relatively straight-forward solution might be to use an OCR Web service to convert your images. A quick search brings up: http://www.ocrwebservice.com/, which has a

[android-developers] Re: Questions for the group regarding URL Launchers

2010-06-21 Thread gojuryu
Have you received any direct responses for this yet? I'm interested in the same. On Jun 17, 5:49 pm, AfMob affiliatesmob...@gmail.com wrote: I have long had my WAP pages built and had myURLlaunchers built by an outsourced group in India. I now have a requirement to update my .apk files to 2.2

Re: [android-developers] how to test if app is installed on sd

2010-06-21 Thread arnold ligthart
User's can force a app to sd , even if it's not allowed in the manifest. My app uses alarmmanager to set alarms for important event from the user (calendar). If on sd , and sd is unmouted (connect to pc) then all alarms are lost...and people will blame the app. So i want to test for sd install

[android-developers] Re: Avoid non-static inner classes in an activity?

2010-06-21 Thread Bob Kerns
My claim is that it is always incorrect but will usually work. (A bad combination!) I've raised the issue many times, and nobody, from Google or otherwise, has come up with an example of when it is correct to use it. (Unless I missed it, which is possible, but I think the reason is simply there is

[android-developers] Re: Avoid non-static inner classes in an activity?

2010-06-21 Thread Nathan
True enough. In the case I am using it, I would be happy with an activity context *if* Google Analytics would not hold on to it, causing a huge memory leak and subsequent crashes. Nathan On Jun 21, 10:46 am, Bob Kerns r...@acm.org wrote: My claim is that it is always incorrect but will

[android-developers] Re: Hi, anyone knows how to install python on android?

2010-06-21 Thread intbt
Go to this blog for ASE, it worked on my Eclipse running 2.0 http://www.akeric.com/blog/?p=879 On Jun 19, 8:39 pm, asicwizard asicwiz...@gmail.com wrote: Read: Command your shiny Android inPythonhttp://indefinitestudies.org/2009/06/20/command-your-shiny-android-in... Have fun. On Jun

[android-developers] “Failed to find provider info for android.server.checkin ” ?

2010-06-21 Thread tarek attia
Hi , I'm doing a GPS application ,and it worked fine till I updated the SDK for API 8 ,,then after close and open eclipse once again I got this error in my LgCat “Failed to find provider info for android.server.checkin ” and anytime I call Location =

[android-developers] Sip stack

2010-06-21 Thread André Barbosa
hi all, i need to porting a sip stack to android! after search in google and read several posts in android groups, i think that the best choice is sofia-sip or PJSIP. At this time, i think in use the PJSIP! what is your opinion? after download the PJSIP, i saw your code and i understand how

[android-developers] Re: Loading random image when activity is brought up...Not working any ideas?

2010-06-21 Thread BryBam
Well I appreciate the thought on another way I could go about doing this. However I have a very similar approach on another activity with text and it works great. I probably will want to look into your suggestion later on. But for now im simply looking to see what i'm doing wrong with my current

[android-developers] What maps is Google Maps for Android available for?

2010-06-21 Thread GGGames
I've read that Google Maps is not available for the Android version of the Acer Aspire. It would like to get an Android netbook or tablet, but Maps is a requirement. Does Google Maps, Turn by Turn navigation, etc not work at all, or are just not installed by default? Thank you, Russ -- You

[android-developers] TCP connections from android device as client

2010-06-21 Thread Sanju
Hello, I am trying to do a simple program where in I need to communicate between a TCP Server and a client (android device). First I simulated the complete communication on local server and things worked fine. Now I tried to test it from device. I installed my activity on the device and tried to

[android-developers] Using living infornmation in an application

2010-06-21 Thread Todilo
I am going to create an app which basicly is like a charachter builder for a game. I will have a lot of buttons for each hero type which will be bitmaps, that part should not be too hard. The thing is that it is not once-created-it-is-done-app. Instead when the game it refers to is updated new

[android-developers] List all groups for an account

2010-06-21 Thread jmatthewsr
Hi, Is it possible to list all of the ContactsContract.Groups for a particular Account? It looks like account_type and account_name from ContactsContract.RawContacts can be used along with the GroupMembership from the ContactsContract.Data table to build a list of all of the Groups currently in

[android-developers] Android to be published and sold on private website

2010-06-21 Thread SaiSriOrl
Dear All, Regarding the publishing strategy in response to Linkedin. The Apps will be published and sold on private web sites Not Andorid market, or Not App Store. So we are seeking code imbedded in the apps to prevent duplication. Sri -- You received this message because you are subscribed to

[android-developers] Getting user input and turning it into int,double,float

2010-06-21 Thread kille6525
Does anyone know how to get user input for floats,doubles,ints. I have tried looking everywhere on here and there hasnt been anything that could help me. All it has is EditText.GetText().toString() very fustrated that there isnt a tutorial for this. -- You received this message because you are

[android-developers] How to click multiple buttons through sliding motion

2010-06-21 Thread yousefm
Hello, I was wondering if there is a way to click multiple items (buttons,checkboxes,radiobuttons,etc) by doing a sliding over multiple items in one motion. For example, say I have a vertical layout of three buttons and I would like to click them all quickly. I want to be able to slide my finger

  1   2   >