Re: [android-developers] session management in android

2011-02-16 Thread Dianne Hackborn
Define session. On Tue, Feb 15, 2011 at 10:26 PM, pramod.deore deore.pramo...@gmail.comwrote: Hi everybody, Someone please provide some information (some links)about how to handle session management in android. -- You received this message because you are subscribed to the

Re: [android-developers] Being able to touch two buttons at once

2011-02-16 Thread Dianne Hackborn
Prior to Honeycomb you will need to implement your two buttons as a custom View that handles multitouch input manually. As of HC, the view hierarchy can take care of splitting multitouch events across views. On Tue, Feb 15, 2011 at 3:14 PM, brian purgert brianpurge...@gmail.comwrote: So i

[android-developers] Unable to start activity ComponentInfo during TabActivity initialization

2011-02-16 Thread MerlinBG
Hi, I am creating a simple TabActivity by following the example: http://developer.android.com/resources/tutorials/views/hello-tabwidget.html However, when started I get Unable to start activity ComponentInfo and in the details: android.view.InflateException: Binary XML file line #24: Error

[android-developers] Re: Unable to start activity ComponentInfo during TabActivity initialization

2011-02-16 Thread MerlinBG
Sorry, forgot to mention - in the activiry that should be displayed in the tab, there is include clause, if this is important. Again, the activity is displayed fine when not in tab. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Picking a contact in a PreferenceActivity

2011-02-16 Thread Mattias Svala
On Wednesday, February 16, 2011 2:18:35 AM UTC+1, TreKing wrote: On Mon, Feb 14, 2011 at 2:50 AM, Mattias Svala theb...@gmail.com wrote: I'm looking for a way to select a contact from the phones list of contacts in a PreferenceActivity. What is the best way to approach this? Best is

[android-developers] Camera Access through WebView

2011-02-16 Thread perumal316
Hi All, Is it possible to invoke the camera through a WebView instance? Can HTML5 be used? I want to have a Android Web App which can access the Camera Hardware in the Android phone. Can this be done? Regards, Perumal -- You received this message because you are subscribed to the Google

[android-developers] Re: session management in android

2011-02-16 Thread pramod.deore
I mean I want to develope an application in which user enter user name and password and hit the login button. If user enter both the field correct then - Returns the session id on successful login. Now user can hit other links of that application and if user logout from that application and

[android-developers] Re: Corrupted images when uploading to server via POST

2011-02-16 Thread alex c
yeah. i tried it with WIFI and via tethering through usb to my laptop pppoe connection. and it works. fine. but the problem is that my clients use quite slow wifi connection in Andorra and they have this same issue and images they upload though app get almost 100% corrupt. as for htc hd2 - yeah,

Re: [android-developers] Picking a contact in a PreferenceActivity

2011-02-16 Thread Jonas Petersson
2011-02-16 09:43, Mattias Svala skrev: On Wednesday, February 16, 2011 2:18:35 AM UTC+1, TreKing wrote: On Mon, Feb 14, 2011 at 2:50 AM, Mattias Svala theb...@gmail.com wrote: I'm looking for a way to select a contact from the phones list of contacts in a

Re: [android-developers] Picking a contact in a PreferenceActivity

2011-02-16 Thread Kostya Vasilyev
16.02.2011 11:43, Mattias Svala ?: OK. I think that is the way to go too. I have made some attempts at implementing this but has so far not found a way to set the actual preference value when I get hold of the picked contact. Preference does not have a setValue method. How did you

Re: [android-developers] tcp dump of android phone through wifi..please help

2011-02-16 Thread Kostya Vasilyev
Ever try WireShark? 16.02.2011 9:26, nivedita arora пишет: hi, i want to study tcp dump for a school project.i have phone connected through wifi of my laptop(i used connectify on win7 as adhoc connections are not recognised by android phones,and i did not feel like rooting and then transfer it

[android-developers] Re: It's not the browser?

2011-02-16 Thread DanH
Are you sure there's an outstanding HTTP request for the data? One that didn't time out? You should be able to set up a wifi router with a sniffer between it and the server connection. On Feb 15, 10:47 pm, kypriakos demet...@ece.neu.edu wrote: Hey DanH, good pt for the case of old data. But

Re: [android-developers] Re: Corrupted images when uploading to server via POST

2011-02-16 Thread Kostya Vasilyev
Alex, Ok, let's see if I understand it: - Your clients are having this problem with data corruption; - You are not having this problem, the code works just fine every time. Right? If so, let me go on: - Your clients use some kind of slow WiFi and experience data corruption between the phone

Re: [android-developers] question about FindPreference.setDependency and CheckBoxPreference.setDependency

2011-02-16 Thread Kostya Vasilyev
Dependencies are registered by the child preference with the parent (whatever is dependent registers with whatever it's dependent on).

Re: [android-developers] Camera Access through WebView

2011-02-16 Thread perumal subramaniam
Hi Sogan, Thanks for the info. But the links does not offer a solution. Has this been done? Or Camera API access through browser will only be available in future releases of Android? Regards, Perumal On Wed, Feb 16, 2011 at 4:50 PM, sogan xie soga...@gmail.com wrote: Some links. FYI.

[android-developers] Re: hprof-conv error

2011-02-16 Thread Amit
My problem got resolved by installing memory profiler. Thanks, On Feb 15, 2:10 pm, Amit agrawalamit2...@gmail.com wrote: Hi, I am having Android 1.6 SDK and running application on Platform2.2. When i took memory dump, i am not able to convert hprof file captred by DDMS tool. hprof-conv

[android-developers] Re: Porting valgrind-3.6.0 on Android-2.2.

2011-02-16 Thread redkrzy
can u share the android.mk? -- 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] Camera Access through WebView

2011-02-16 Thread Miguel Morales
You may want to try phonegap, I believe they have camera support, and they're open source. On Wed, Feb 16, 2011 at 1:10 AM, perumal subramaniam perumal...@gmail.com wrote: Hi Sogan, Thanks for the info. But the links does not offer a solution. Has this been done? Or Camera API access through

[android-developers] How to receive WAP push programatically

2011-02-16 Thread Karteek N
I am sending wap push using now sms software.I have a android development phone. The following is my code to receive wap push Android Manifest file receiver android:enabled=true android:name=.PushMsgReceiver intent-filter action android:name=android.provider.Telephony.WAP_PUSH_RECEIVED / action

Re: [android-developers] Re: Unable to start activity ComponentInfo during TabActivity initialization

2011-02-16 Thread Richard Leggett
I'm afraid you may have to post your layout XML, or as much of it as you can. This error is usually related to an incorrectly names/qualified custom control or something along these lines. On 16 Feb 2011, at 08:28, MerlinBG wrote: Sorry, forgot to mention - in the activiry that should be

Re: [android-developers] Re: Unable to start activity ComponentInfo during TabActivity initialization

2011-02-16 Thread Richard Leggett
...but it can also be the referenced control throwing an error in onCreate(), so a few things to look into, I'd start by looking at the XML, and then stepping through any custom controls' onCreate() methods. On 16 Feb 2011, at 10:07, Richard Leggett wrote: I'm afraid you may have to post your

[android-developers] Re: OpenGL ES 2.0 for Live Wallpapers

2011-02-16 Thread laurent mallet
The blurred lines livewallpaper doesn't work on Samsung Galaxy S (and Galaxy Tab), Droid, and Milestone. It works only on my Nexus One. The GLWallpaperService doesn't work either. We have a black screen or green screen. That's strange because many LWP with OpenGL ES 1.x as Aquarium are working.

[android-developers] Re: Corrupted images when uploading to server via POST

2011-02-16 Thread alex c
not exactly i experience this same problem on my slow 3G (Megafon) connection too, but don't have this on WIFI or wire network. but! if i connect my laptop to internet via my phone (winmobile 6.5) 3g connection, it works perfect. a bit slow, but none of content i see on laptop is corrupt. i

[android-developers] About package android.util does not exist

2011-02-16 Thread ooowjc
Hi, developers~ I have a ubuntu containing the complete source code of android OS. I would like to see whether the default Browser utilizes android-x86/ dalvik/libcore/luni/src/main/java/java/net/Inet6Address.java so that I put Log.v( ) and import android.util.Log in the Inet6Address.java. But

Re: [android-developers] About package android.util does not exist

2011-02-16 Thread Kostya Vasilyev
Try asking here: http://groups.google.com/group/android-porting The people there actually build the platform and know something about it. -- Kostya 16.02.2011 13:49, ooowjc пишет: Hi, developers~ I have a ubuntu containing the complete source code of android OS. I would like to see whether

[android-developers] Problem reading shared preferences in Gingerbread

2011-02-16 Thread Reddy
Hello everyone, I am facing a problem when i am reading the shared preferences (defaults.xml) in Gingerbread. Following is the code snippet, what i am using. SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); mystring = prefs.getString(tag_name,default_value); When

Re: [android-developers] Problem reading shared preferences in Gingerbread

2011-02-16 Thread Kostya Vasilyev
What's your code to store values? 16.02.2011 14:16, Reddy пишет: Hello everyone, I am facing a problem when i am reading the shared preferences (defaults.xml) in Gingerbread. Following is the code snippet, what i am using. SharedPreferences prefs =

[android-developers] Re: About package android.util does not exist

2011-02-16 Thread ooowjc
yeah, but i think it may just be a fundamental java problem... On Feb 16, 7:03 pm, Kostya Vasilyev kmans...@gmail.com wrote: Try asking here: http://groups.google.com/group/android-porting The people there actually build the platform and know something about it. -- Kostya 16.02.2011

Re: [android-developers] Re: About package android.util does not exist

2011-02-16 Thread Kostya Vasilyev
Yes, in a way it is: java.net package is below any android.* package in the layer hierarchy. Fixing it will probably require switching to some other logging facility, but that's just a guess on my part (Android Java runtime just has to have a logging facility that doesn't require importing

[android-developers] Mms-Sms database Thread Id Issue

2011-02-16 Thread Madhavi
Hi All, In my application I have tried to get thread id using following code. public static long getThreadIdFromAddress(ContentResolver resolver, String address) { if (address == null) { return 0;

[android-developers] How to handle?

2011-02-16 Thread Abhilash baddam
Hi, How to handle the Home key functionality. Suppose in my app i am having 5 activities. When the user in 3rd activity if he clicks on Home button i want to finish my app. If he starts the app again then i want to start the app from starting onwards. I did like this but its not working,

[android-developers] Re: How to handle?

2011-02-16 Thread Hari Edo
You don't respond to the HOME key, it is handled by the OS and only by the OS. Add android:clearTaskOnLaunch to your top-level activity tag in the manifest, and the OS does what you describe. http://developer.android.com/guide/topics/manifest/activity-element.html On Feb 16, 7:00 am, Abhilash

Re: [android-developers] Re: Corrupted images when uploading to server via POST

2011-02-16 Thread Miguel Morales
Try setting the multipart/form-data header in your connection. Might be easy to use HTTPUrlConnection. See: http://stackoverflow.com/questions/4896949/android-httpclient-file-upload-data-corruption-and-timeout-issues On Wed, Feb 16, 2011 at 2:38 AM, alex c alex.chuny...@gmail.com wrote: not

[android-developers] Avoiding getIdentifier calls.

2011-02-16 Thread Samuh
We have about 300 drawables/icons in our application and each drawable/ icon is associated with an Id meaningful within the functional context of our app. These icons are to be displayed in a Gallery and when the user makes a selection, the relevant Id for the selected icon needs to be passed to

[android-developers] Re: Honeycomb Preview SDK: HTTP Live Streaming support validation

2011-02-16 Thread Samuh
@Fox Mulder: I have filed a bug: http://code.google.com/p/android/issues/detail?id=14646q=stars%3D2colspec=ID%20Type%20Status%20Owner%20Summary%20Stars hopefully, someone at google will find some time out to comment. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: HTTP Live Streaming

2011-02-16 Thread Samuh
AFAIK, MMS is not supported on Android. -- 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: Corrupted images when uploading to server via POST

2011-02-16 Thread Miguel Morales
Sorry, missed the part where you already tried URLConnection. You should post that code here, because using non-standard classes, specially for network communication, is not recommended. On Wed, Feb 16, 2011 at 4:23 AM, Miguel Morales therevolti...@gmail.com wrote: Try setting the

Re: [android-developers] Re: Corrupted images when uploading to server via POST

2011-02-16 Thread Miguel Morales
Bah, sorry it's late. Noticed you are using DefaultHTTPClient. In any case, have you tried setting the multi-part header yourself? Did you see it set when you were using tcpdump? On Wed, Feb 16, 2011 at 4:35 AM, Miguel Morales therevolti...@gmail.com wrote: Sorry, missed the part where you

[android-developers] Re: Avoiding getIdentifier calls.

2011-02-16 Thread Hari Edo
I think the advice is to caution you not to do this for all of your UI elements everywhere, just as you don't use Java Reflection for all method calls. Looking a few things up by name in response to an activity start-up or a user interaction should not be a big deal. On Feb 16, 7:30 am, Samuh

[android-developers] Re: Avoiding getIdentifier calls.

2011-02-16 Thread Hari Edo
On Feb 16, 7:30 am, Samuh samuh.va...@gmail.com wrote: Questions: What are other alternatives that we can try? How should such resources be bundled so that they can be addressed in code efficiently? If you do find yourself making many calls, especially from the same name multiple times,

[android-developers] How to detect whether my app is installed on SD card by programmatically?

2011-02-16 Thread San Zhang
My app can be autostarted when system completed boot. However, this feature would be disabled if user intall the app on SD card. I want to disable AUTOSTART option in settings screen in my own code if it may be detected whether the app is installed on SD card. Is it possible? If answer yes, how

Re: [android-developers] How to detect whether my app is installed on SD card by programmatically?

2011-02-16 Thread Marcin Orlowski
On 16 February 2011 13:53, San Zhang dahua007...@gmail.com wrote: My app can be autostarted when system completed boot. However, this feature would be disabled if user intall the app on SD card. I want to disable AUTOSTART option in settings screen  in my own code if it may be detected whether

[android-developers] Small feature request for forthcoming Market android client

2011-02-16 Thread Marcin Orlowski
Hi, Since Market devs lurks among subscribers - can next version of Market use Intent.EXTRA_SUBJECT to prefil mail subject with application name (and/or package name) while user hit Send email to developer on app's details page? And another request: could View more applications (button above said

Re: [android-developers] How to detect whether my app is installed on SD card by programmatically?

2011-02-16 Thread San Zhang
Thanks Marcin Orlowski. Your answer is very useful for me. 2011/2/16 Marcin Orlowski webnet.andr...@gmail.com On 16 February 2011 13:53, San Zhang dahua007...@gmail.com wrote: My app can be autostarted when system completed boot. However, this feature would be disabled if user intall the

Re: [android-developers] How to detect whether my app is installed on SD card by programmatically?

2011-02-16 Thread Kevin R. Octavian
how to make an app can be autostartup? On 2/16/11, San Zhang dahua007...@gmail.com wrote: Thanks Marcin Orlowski. Your answer is very useful for me. 2011/2/16 Marcin Orlowski webnet.andr...@gmail.com On 16 February 2011 13:53, San Zhang dahua007...@gmail.com wrote: My app can be

Re: [android-developers] How to detect whether my app is installed on SD card by programmatically?

2011-02-16 Thread San Zhang
http://stackoverflow.com/questions/1056570/how-to-autostart-an-android-application 2011/2/16 Kevin R. Octavian kevin.r.octav...@gmail.com how to make an app can be autostartup? On 2/16/11, San Zhang dahua007...@gmail.com wrote: Thanks Marcin Orlowski. Your answer is very useful for me.

Re: [android-developers] How to detect whether my app is installed on SD card by programmatically?

2011-02-16 Thread Marcin Orlowski
On 16 February 2011 14:13, Kevin R. Octavian kevin.r.octav...@gmail.com wrote: how to make an app can be autostartup? Do not pollute existing threads with new questions. Start new thread. As for your question set up broadcast listener on that:

Re: [android-developers] How to detect whether my app is installed on SD card by programmatically?

2011-02-16 Thread San Zhang
Aslo you have to add a permission in AndroidManifest.xml as bellow: uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED/ 2011/2/16 San Zhang dahua007...@gmail.com http://stackoverflow.com/questions/1056570/how-to-autostart-an-android-application 2011/2/16 Kevin R.

[android-developers] Need Android Developer in Hollywood, Los Angeles, CA

2011-02-16 Thread Chiru
Hi, My client is looking for Android Developer in Hollywood, CA. If you are available please send me your resume as soon as possible. Only US Citizens, Green Card holders and EAD. Local or regional consultants are preferred. Title : Android Software Engineer

[android-developers] How to get the best double buffering?

2011-02-16 Thread MobileVisuals
I am painting polygons with the Paint class in an animation. New polygon shapes are created for every new frame. These are painting over parts of the screen. The parts of the screen which are not painted in the new frame flicker in a disturbing way. I am using lockCanvas(null); and

Re: [android-developers] Picking a contact in a PreferenceActivity

2011-02-16 Thread Mattias Svala
On Wednesday, February 16, 2011 10:04:09 AM UTC+1, Kostya Vasilyev wrote: Storing the value is your preference's responsibility. Typically, you have something like this in your preference: public void setValue(int value) { mValue = value; persistInt(value); }

Re: [android-developers] Mms-Sms database Thread Id Issue

2011-02-16 Thread sukumar bhashyam
hi , Uri content://mms-sms doesn't point to any table in mmssms db, Its just a base uri. To check for address, I guess, you need to run below steps... -- First query canonical_addresses table and get the _id, If query has 0 count then address is not found. -- If not, then look for _id in

Re: [android-developers] Publishing / log.d

2011-02-16 Thread Marcin Orlowski
On 15 February 2011 18:23, Dianne Hackborn hack...@android.com wrote: http://developer.android.com/reference/android/util/Log.html It's a lie.  Well I think it is trying to say that they aren't shown by default, but the code is definitely not stripped, and you absolutely do not want to leave

Re: [android-developers] Picking a contact in a PreferenceActivity

2011-02-16 Thread TreKing
On Wed, Feb 16, 2011 at 7:53 AM, Mattias Svala thebra...@gmail.com wrote: OK. I was exploring TreKing's initial suggestion. If I interpreted him correctly than I should be able to use a Preference instance, without subclassing it, and setting the on click handler on it to launch some activity

Re: [android-developers] Picking a contact in a PreferenceActivity

2011-02-16 Thread Kostya Vasilyev
16.02.2011 16:53, Mattias Svala пишет: OK. I was exploring TreKing's initial suggestion. If I interpreted him correctly than I should be able to use a Preference instance, without subclassing it, Why not, if you'd like to avoid subclassing. and setting the on click handler on it to launch

Re: [android-developers] Multiple ListViews in a screen

2011-02-16 Thread TreKing
On Mon, Feb 14, 2011 at 9:04 PM, KrisK rad...@gmail.com wrote: How do I assign the images to the lists and handle click events in both the lists? You need an adapter for each list that will load and manage the images and return or update an ImageView to the list. If this does not make sense,

Re: [android-developers] Force close on null return

2011-02-16 Thread TreKing
On Mon, Feb 14, 2011 at 1:00 PM, BMO b...@allyourdroidarebelongto.uswrote: If you choose the back/return button on your phone without choosing a file a force close is caused. Use your debugger and logcat to figure out where your force close is caused. At the very least, always post a stack

[android-developers] Re: let users select a audio file on tmobile mytouch 4g - activity not found exception

2011-02-16 Thread Kai
why are the activities only not found on mytouch 4g? what can I do to make it work on mytouch 4g? On Feb 16, 10:56 am, TreKing treking...@gmail.com wrote: On Tue, Feb 15, 2011 at 8:50 AM, Kai snowst...@gmail.com wrote: what's going on here? An activity is not found to handle the intent

[android-developers] Android binary SMS sending and receiving is not working

2011-02-16 Thread Ganesh Pisal
I am using SmsManager sendDataMessage funtion to send byte[] to another device. I was using port to send message. I was working fine, but suddenly after one day or so it stoped working.(without single line of change). I tried to set different ports - 80, 8080, 16001, 12345 But still it is

Re: [android-developers] Picking a contact in a PreferenceActivity

2011-02-16 Thread Jonas Petersson
2011-02-16 15:20, Kostya Vasilyev skrev: 16.02.2011 16:53, Mattias Svala пишет: [...] Which would suggest that I need to sublclass Preference in order to create a contact picking preference. I'd implement a self-contained Preference subclass, but maybe that's just me. 100% agree. If you go

Re: [android-developers] Activities and Intents

2011-02-16 Thread Danielle Murkerson
Ok, so I found this article on the web: http://www.kidfloor.com/gamma-point/content/android-how-have-multiple-activities-under-single-tab-tabactivity which seemed like what I was trying to do. Basically, I've got a tabbed interface where each tab contains an activity, and a few of these

Re: [android-developers] Re: let users select a audio file on tmobile mytouch 4g - activity not found exception

2011-02-16 Thread TreKing
On Wed, Feb 16, 2011 at 8:34 AM, Kai snowst...@gmail.com wrote: why are the activities only not found on mytouch 4g? Probably because on a MyTouch 4G the Activities do not exist. This is like how launching the Market intent on the emulator will crash. what can I do to make it work on

Re: [android-developers] Activities and Intents

2011-02-16 Thread TreKing
On Wed, Feb 16, 2011 at 8:59 AM, Danielle Murkerson dmurkerso...@gmail.comwrote: So I guess my question is...is there a better way to get the behavior I want visually along with the behavior I want functionally? Thanks for the detailed explanation. I have not used Tabs, so I can't speak much

Re: [android-developers] Screen rotation clears TextView

2011-02-16 Thread TreKing
On Tue, Feb 15, 2011 at 12:40 PM, David Parker parker.davi...@gmail.comwrote: However, when the device is rotated, the Activity resets and that TextView gets cleared. Does anyone know what the problem might be? Any way to make sure this Activity does not reset on rotation? I read the

Re: [android-developers] Activities and Intents

2011-02-16 Thread Danielle Murkerson
Ok thanks...I do have a question about saving the state of my activities as I know I will have to do this anyway based on the responses I'm seeing about orientation changes. Do you know how I would save the state of a MediaPlayer object...I've seen a few examples on these sites about saving

Re: [android-developers] Cannot use AXMLPrinter2 to translate binary xml correctly in Honeycomb-version apk

2011-02-16 Thread Marcin Orlowski
On 15 February 2011 08:22, Gary Wang zcw...@gmail.com wrote: Any format change to binary XML in Honeycomb?! My *guess* is some new elements 3.0 brings (like i.e. Fragment) could perhaps be the cause there? You may simply want to check AXMLPrinter2 sources for confirmation though:

Re: [android-developers] Custom Dialogs with big messages

2011-02-16 Thread Andrew Gregory
On 16 February 2011 05:28, TreKing treking...@gmail.com wrote: Try giving your RelativeLayout a weight of 1 (take up all the space you need) and the ScrollView a weight of 0 (take the space that's left). Thanks for your reply. I tried that, but it didn't work. I then tried several other

[android-developers] App Broken After Android Refactoring Rename Application Package / android.view.InflateException

2011-02-16 Thread Mariano Kamp
I want to create a new version of my app that caters to the needs of users with Android 1.5/1.6/2.0 devices and move ahead with the normal version of my app. For that I copied my app directory then applied the Rename Application Package refactoring. That helped a lot. So far I mostly had to fix

Re: [android-developers] Activities and Intents

2011-02-16 Thread TreKing
On Wed, Feb 16, 2011 at 9:47 AM, Danielle Murkerson dmurkerso...@gmail.comwrote: Do you know how I would save the state of a MediaPlayer object. Never used it, so no, not really. However, as it's just extends Object, you'd have to manage it's state yourself, I would think. The first option

Re: [android-developers] Activities and Intents

2011-02-16 Thread Danielle Murkerson
Ok thanks for your thoughts...I'll have to look into those two new methods from that first site and see if I can get something to work. On Wed, Feb 16, 2011 at 11:07 AM, TreKing treking...@gmail.com wrote: On Wed, Feb 16, 2011 at 9:47 AM, Danielle Murkerson dmurkerso...@gmail.com wrote: Do

[android-developers] Re: About package android.util does not exist

2011-02-16 Thread ooowjc
Thanks, may be Log cannot be used here, as you said. I will let you know if i figure out how to solve this~ On Feb 16, 7:35 pm, Kostya Vasilyev kmans...@gmail.com wrote: Yes, in a way it is: java.net package is below any android.* package in the layer hierarchy. Fixing it will probably

[android-developers] Re: Corrupted images when uploading to server via POST

2011-02-16 Thread alex c
yeah. that post on stackoverflow was actually mine =) and after not getting any useful replies on there i decided to post it here i tried to create multipart bundle myself and actually it was much easier to debug the output. it doesn't matter what i use. the tcpdump on android is perfect. tcpdump

[android-developers] Re: Unique device id - which one to choose

2011-02-16 Thread gcstang
What did you use to get the MAC, when I tried it on my Droid (gen 1) with the wifi off I get a NullPointerException On Feb 15, 4:48 pm, Oceanblue ns1...@gmail.com wrote: Thanks for your input Brad. I've decided to go with MAC address for now. I tested with my device with wi-fi switched off

Re: [android-developers] Dynamic localization

2011-02-16 Thread TreKing
On Sun, Feb 13, 2011 at 8:36 AM, Thomas Amsler onyx.blackb...@gmail.comwrote: So if I parse my xml I want to print out the localized name. If I understand you correctly, I think this: http://developer.android.com/reference/android/content/res/Resources.html#getIdentifier(java.lang.String,

Re: [android-developers] Unable to create new AVD

2011-02-16 Thread TreKing
On Mon, Feb 14, 2011 at 3:44 AM, bilalhaider bilalhaide...@gmail.comwrote: But under Build Target settings i am unable to locate any target? Also when window-Android SDK and AVD manager - virtual devices-create. Target drop down in disabled. How can I troubleshoot this problem? Run through

Re: [android-developers] multi-language support in android

2011-02-16 Thread TreKing
On Mon, Feb 14, 2011 at 12:42 AM, nagaraj shetty vnagarajshe...@gmail.comwrote: how to make android application work with other than english language? http://developer.android.com/guide/topics/resources/localization.html

[android-developers] Re: OpenGL ES 2.0 for Live Wallpapers

2011-02-16 Thread Michael
I am testing my live wallpaper on a Galaxy Tab, and it works. On Feb 16, 5:12 am, laurent mallet laurent.mal...@gmail.com wrote: The blurred lines livewallpaper doesn't work on Samsung Galaxy S (and Galaxy Tab), Droid, and Milestone. It works only on my Nexus One. The GLWallpaperService

Re: [android-developers] Showing a custom dialog, a question about a DatagramSocket Services...

2011-02-16 Thread TreKing
On Mon, Feb 14, 2011 at 1:51 AM, ThaMe90 theprophes...@gmail.com wrote: Now this is where the custom dialog shows up. On it I have 2 EditTexts, and 2 Buttons. However, when I try to add handlers to the Buttons, they returned as null, at first. After some searching, I found out I used the

Re: [android-developers] Problem with application on real device

2011-02-16 Thread TreKing
On Sun, Feb 13, 2011 at 4:45 AM, Radeg radegas...@gmail.com wrote: Main run Edit. Edit has onStop() method. onStop() { super.onStop; finish(); } Why are you calling finish() in onStop()? Edit run View. View has onKey(...) method and onStop too. @Override public boolean

Re: [android-developers] How to get my device's source code?

2011-02-16 Thread TreKing
On Mon, Feb 14, 2011 at 8:00 AM, Nesim TUNÇ nesimt...@gmail.com wrote: Is it possible to view my Samsung Galaxy S's Andoriod source code? If Samsung has put their modified version up somewhere for viewing, sure. You just have to find where that is. This list is probably not the place to find

[android-developers] Re: How to get my device's source code?

2011-02-16 Thread Tomislav Vujec
You can get the sources for various Samsung Galaxy phones at http://opensource.samsung.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

[android-developers] DIstribution license terms for LVL

2011-02-16 Thread rajorshi
Is the LVL distributed under any kind of license? I am going to use a modified version of the LVL in my app to take advantage of Android Market Licensing. Do I have to mention this in my app's documentation or EULA? Does the type of the app (game, map, dictionary, etc) make any difference to this?

Re: [android-developers] Guidelines to create eyecandy homes activity?

2011-02-16 Thread TreKing
On Mon, Feb 14, 2011 at 7:02 AM, Álex González agonzale...@gmail.comwrote: I'm new on android developer and my biggest problem is find a guidelines to create android eyecandy applications. If you mean guides on creating good looking UIs, there's probably not much. This is what artists and UI

Re: [android-developers] Canvas or Gesture??

2011-02-16 Thread Robin Talwar
On Tue, Feb 15, 2011 at 6:35 PM, Marcin Orlowski webnet.andr...@gmail.comwrote: On 15 February 2011 13:10, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Saving this bitmap and String path = Environment.getExternalStorageDirectory().toString(); OutputStream fOut = new FileOutputStream(

Re: [android-developers] Canvas or Gesture??

2011-02-16 Thread Robin Talwar
Alright So now i have 2 classes in my application. the one is the custom view extending view and has all touch events on key down and on key up. This view is being called in my main.xml through the package name. The other one is my main class which has the code to call options menu. One menu item

[android-developers] Google Maps API error message but working

2011-02-16 Thread SEWilco
I've started getting the error E/MapActivity(18368): Couldn't get connection factory client in logcat when I start my application. I haven't changed layout/main.xml so android:apiKey is still there. Maps do still seem to be working. How can I get more detailed information about why that error

Re: [android-developers] Google Maps API error message but working

2011-02-16 Thread Mark Murphy
That error message is benign, as far as I have been able to tell. On Wed, Feb 16, 2011 at 2:20 PM, SEWilco sewi...@gmail.com wrote: I've started getting the error E/MapActivity(18368): Couldn't get connection factory client in logcat when I start my application.  I haven't changed

[android-developers] Re: Update activity A from another activity B

2011-02-16 Thread Ivan
Thanks, I tried out the startActivityForResult in the end and it worked nicely. I was not sure if after coming back from C, A would be updated but in fact it does. For the interested this is what I do (simplified with 2 activities, 3 is basically the same process with passing the position):

[android-developers] Honeycomb SDK Refresh?

2011-02-16 Thread Gregg Reno
I really appreciate being able to play with the Honeycomb SDK, and have even started porting one of my apps to it. The fragments concept is great. However, the emulator sure is buggy. For example, you can't touch anything on the browser without it crashing. I made some progress getting my app

[android-developers] Re: App with usb connectivity

2011-02-16 Thread FrankG
Most of the devices support multiple usb modi and you have no standard way to know which one is currently used. IMHO many usb details are currently vendor specific. Their is also no sdk support for your requirement. To point you in a possible direction could be for standard usb mass storage

Re: [android-developers] Looks like there are two canvases being written to?

2011-02-16 Thread TreKing
On Mon, Feb 14, 2011 at 11:18 AM, Michael Helland mobyd...@gmail.comwrote: Any idea why? Well, for starters, manually calling onDraw and using random values in your draw call is liable to lead to sporadic behavior.

Re: [android-developers] To implement listner on checkbox in a listview

2011-02-16 Thread TreKing
On Mon, Feb 14, 2011 at 11:30 AM, ashish kumarashish.k...@gmail.com wrote: My problem is that when user clicks on a particular checkbox ,total price should get be updated and changes should be done in sqlite database. Wherever you're creating each entry in your list, find the CheckBox and

Re: [android-developers] First App Development- Web App for checking grades

2011-02-16 Thread TreKing
On Mon, Feb 14, 2011 at 12:07 PM, David dcamp...@gmail.com wrote: Any suggestions or help on where to get started would be greatly appreciated, such as links to tutorials, helpful websites, and possibly even other source code that I can use as a reference when creating my app.

[android-developers] setTextColor dynamically, major phail

2011-02-16 Thread Oldarney
The following do not work: myDate.setTextColor(0x00FF); myDate.setTextColor(Color.argb(250,250,0,250)); The reason being is that it wants a reference to the XML object. Search after search I find that no one in the androidverse has been able to programatically set a custom color. Can anyone

Re: [android-developers] Do you know any open source game or media player on android phone?

2011-02-16 Thread kkoo kkoo
Where is the NPR? who can give me the source? 2011/2/16 ecss utdallas dianyuangua...@gmail.com Thank you very much. That's exactly the one I am looking for. On Fri, Feb 11, 2011 at 4:51 AM, kavitha b kkavith...@gmail.com wrote: Media Player open source project is NPR.It is pretty good for

[android-developers] WebView mouseover event

2011-02-16 Thread Rajkumar
Hi folks, Is it possible to enable mouseover event in the Android WebView? Currently :hover pseudo class is not working. Thanks n Regards, Raj. -- 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] How to generate system.img from Froyo for HTC HERO G2

2011-02-16 Thread Ritesh Jhaa
I am able to build FROYO and getting system.img. Is it the same system.img which I can flash in HTC HERO G2? If it is not then could you pls let me know the steps to build to Froyo system.img for HTC HERO G2? I have heard some cross compilation is needed for the (.img) files to flash on HTC HERO

[android-developers] How to flash Froyo on HTC HERO G2

2011-02-16 Thread Ritesh Jhaa
I have urgent issue. Made some changes in Froyo Source Code in Application/Framework area. Want to flash it to HTC HERO G2. Taken the backup of HTC HERO. Created one backup folder which is having 5 images. (1)boot.img (2) cache.img (3) data.img (4)recovery.img (5)system.img Note: I can take

[android-developers] Playing video with an alpha channel

2011-02-16 Thread Drezden
I have a project that requires playing a video with an alpha channel (transparent background) over the top of a background image but so far I can't figure out a way to do it. Does anyone know if this is possible or not? I've searched every possible combination without finding anything useful.

[android-developers] how to render video YUV frame?

2011-02-16 Thread kkoo kkoo
I want to use FFmpeg to make a player on android,but how to render video YUV frame? Who can give me some idea? -- 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

  1   2   >