[android-developers] Re: Android market hiding apps with bluetooth permissions from Android 1.5 and 1.6

2010-07-15 Thread Joe
Also the bluetooth documentation does not mention features at all - only permissions: http://developer.android.com/guide/topics/wireless/bluetooth.html#Permissions Could also do with an update, thanks On Jul 15, 3:41 am, Dianne Hackborn hack...@android.com wrote: Market does not filtering

[android-developers] Re: multiple mapviews

2010-07-15 Thread prachi
Hii In order to show two mapview u need to implement it in the same draw() method of the map activity.Put some condition check for two map views as suited to u for setting paramaeters for scaling up and scaling down taking the same canvas object. On Jul 14, 1:50 am, Michael michael...@gmail.com

[android-developers] Re: Why doesn't this discussion list function properly on Android phones?

2010-07-15 Thread Chister Nordvik
Same 401 error here also (Nexus One). I thought I was the only one :-) -- 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: LDAP connection error

2010-07-15 Thread Kritzli
Lately I solved it. So many mistakes in just a few lines of codes. Ok, here's what I changed: 1. Change Port Obviously Port 80 wasn't the right one, so I got the error above. After changing to Port 389 (Default Port) I got error code 49 (wrong credentials). 2. Change OU What I didn't know: I'm

[android-developers] Re: Getting phone number from default SMS activity

2010-07-15 Thread Nishant
Hi, You can pass any integer value. suppose 1 startActivityForResult(intent, 1) ; And in activity class you can override the onActivityResult() method. @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { // TODO Auto-generated method

[android-developers] Re: Motorola Droid - QCIF Camera Preview and Capture

2010-07-15 Thread Ignas
According to Motorola support, the problem will be gone once 2.2 update kicks in. On Jul 14, 3:44 pm, Ignas ignas.limanaus...@gmail.com wrote: I have heard rumors that this problem is not visible onMotorola Milestone, which seems to be a very similar HW. Can someone confirm if the same problem

[android-developers] Device's User-Agent from Application

2010-07-15 Thread Amit
Hi all, Please help me in getting the user-agent string in android devices from my application. I have come across the way of getting it through WebView like - String ua = m_webview.getSettings().getUserAgentString() ; But i dont want to show any webview to the user. Is there any other way?

[android-developers] How to startup one application programmatically from other application

2010-07-15 Thread Jeruliu
Say I have app A, in app A i want to set a schedule to startup the app B and C at specific time? Is it possible to do that? if yes how? Just need to know the code to fire the outside app. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] button layout

2010-07-15 Thread hatted
Hi, I created a button and set the background image on it. How can I set the text below the graphic to sit on the bottom but not on top of the graphic? hatted -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: GPS accuracy reliability

2010-07-15 Thread Jonas Petersson
Hi jgostylo, On 07/15/2010 07:01 AM, jgostylo wrote: All of this and people have only sort of answered my question. I understand that the answer may just be I don't really know what it would do and I understand that really isn't an answer people post on the forum because it does not fill the

Re: [android-developers] Re: Motorola Droid - QCIF Camera Preview and Capture

2010-07-15 Thread Kostya Vasilyev
And when is that? Any info? 15.07.2010 10:50 пользователь Ignas ignas.limanaus...@gmail.com написал: According to Motorola support, the problem will be gone once 2.2 update kicks in. On Jul 14, 3:44 pm, Ignas ignas.limanaus...@gmail.com wrote: I have heard rumors that this prob... -- You

[android-developers] Application that works on WAP connection

2010-07-15 Thread Shabs
Hi, I have an application using HttpClient HttpParams which works fine with a GPRS connection. But when i try with a WAP connection , the application does not connect. What am I missing to be able to make the application work with WAP. thanks, Shabs -- You received this message because you

Re: [android-developers] How to startup one application programmatically from other application

2010-07-15 Thread Jonas Petersson
On 07/15/2010 09:05 AM, Jeruliu wrote: Say I have app A, in app A i want to set a schedule to startup the app B and C at specific time? Is it possible to do that? if yes how? Are you sure your user will appreciate this? You can for instance use the AlarmManager and then just fire a suitable

[android-developers] Qt for Mobile Application Development for Education v1.0 Beta

2010-07-15 Thread James Baker
A really comprehensive knowledge enhancing training material from Forum Nokia, you guys should check out!! This training material is intended for educational purposes. The objective of the course is to teach students all the essential knowledge and skills to develop well-written cross-platform Qt

[android-developers] Re: How to import individual projects from Android Source Code

2010-07-15 Thread FrankG
Hello Tanco, Yes, this is my impression too. Eclipse can be used to change core apps, but then you have to use the standard android build system. Just my 2 cents. Frank On 15 Jul., 00:24, Tanco smarko...@gmail.com wrote: Hello Sajid, I am having the same problem, You have to make an eclipse

Re: [android-developers] Re: Memory Info

2010-07-15 Thread Dianne Hackborn
Note that these numbers are pretty meaningless. On Wed, Jul 14, 2010 at 10:40 PM, chethan kumar ckumar...@gmail.com wrote: Go thru this API , you may get some information. http://developer.android.com/reference/java/lang/Runtime.html you have some methods like FreeMemory, TotalMemory

[android-developers] button highlight

2010-07-15 Thread hatted
can i use trackball to move around buttons? then if i am on the button, can I change the background of the button just like highlight? -- 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: How to startup one application programmatically from other application

2010-07-15 Thread Jeruliu
I should made it more clear, i intent to let user specific the time to fire the chosen app. Which approach is better? notification or call intent from AlarmManger? Please be noted that the app B or C will be the existence third part application, i may not know which activity is the entry point.

[android-developers] hello

2010-07-15 Thread hatted
how come I can never see my questions in any emails from this group? is the group email filtered me or my gmail hate this group? -- 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] hello

2010-07-15 Thread Kostya Vasilyev
Google groups doesn't send a posted message back to sender. So you kind of have to go on faith :) 15.07.2010 12:30, hat...@gmail.com пишет: how come I can never see my questions in any emails from this group? is the group email filtered me or my gmail hate this group? -- You received this

Re: [android-developers] Re: How to startup one application programmatically from other application

2010-07-15 Thread Jonas Petersson
On 07/15/2010 10:24 AM, Jeruliu wrote: I should made it more clear, i intent to let user specific the time to fire the chosen app. Which approach is better? notification or call intent from AlarmManger? In my humble opinion, a notification is usually better (incoming phone calls are an

[android-developers] Re: problem accessing widget in Preference widgetLayout

2010-07-15 Thread AlanLawrence
findPreference finds the Preference, findViewById is what you want to get the button/widget... however, it seems (I had a similar problem) that the widget isn't being created at the time you addPreferences in your onCreate method, only later; presumably if you wrote a custom Preference subclass,

[android-developers] video encoding on device

2010-07-15 Thread berliner
Hi, I'm working on a project whose objective is to show synthesized video messages to the user. The first approach was to do the video / image processing directly on the device. But I'm not sure anymore that this is good idea. The basic workflow for the service (and the activity that shows the

Re: [android-developers] hello

2010-07-15 Thread hatted
oic. so my questions seems like this is the easiest question to answer but all my other questions too hard for anyone to answer. On Thu, Jul 15, 2010 at 4:40 PM, Kostya Vasilyev kmans...@gmail.com wrote: Google groups doesn't send a posted message back to sender. So you kind of have to go

Re: [android-developers] hello

2010-07-15 Thread Jonas Petersson
On 07/15/2010 10:40 AM, Kostya Vasilyev wrote: Google groups doesn't send a posted message back to sender. So you kind of have to go on faith :) Um, for me - subscribed on a non-gmail address (although I still forward it there for good measure) - the mails I send to the list certainly come

[android-developers] EglSwapBuffers

2010-07-15 Thread HaMMeReD
I noticed in the profiler that eglSwapBuffers is taking up about 5% of my time each frame in some opengl code I'm writing. It seems like quite a heavy for something that should just be a blit, is there anything in my egl setup I can do to optimize this more? -- You received this message because

[android-developers] Re: HttpPost and byte[] on Android?

2010-07-15 Thread Vinay S
try HttpPost.setEntity (ByteArrayEntity); On Jul 14, 5:11 pm, Dinesh Harjani goldrunner192...@gmail.com wrote: I believe this will be very helpful:http://evgeny-goldin.com/blog/2010/05/01/uploading-files-multipart-po... Download the source for the FileUpload (it should contain the

[android-developers] Re: button highlight

2010-07-15 Thread Pratap
Hi I think the default behaviour of the trackball is to change focus on all the focusable items. For any other specific purposes you can override the onTrackballEvent(MotionEvent event) and get notifications for trackball motion. In this method you can definitely change the background of buttons.

[android-developers] Re: button highlight

2010-07-15 Thread Pratap
Hi I think the default behaviour of the trackball is to change focus on all the focusable items. For any other specific purposes you can override the onTrackballEvent(MotionEvent event) and get notifications for trackball motion. In this method you can definitely change the background of buttons.

[android-developers] Re: auto generation of Android.mk file

2010-07-15 Thread gsmaker
Hi Y-C Wang, Thanks for your quick response. Actually I am new in Android development. I have understand your answer but i am not clear about Android.mk file for Android project. If you kindly make an Android.mk file for the which I have specified in the previous message, then it will be very much

[android-developers] Activity Stack Problem

2010-07-15 Thread Hassan Imtiaz
Hi All, When i leave my app after pressing home button and then re launch it from menus it behaves in a strange way. Sometimes it launches the same activity on which i pressed home button. But sometimes it launches the first activity of my app. One reason for this could be that whenever system

Re: [android-developers] Re: How to parse the html ?

2010-07-15 Thread zhou haitao
I know it's easier to parse xml file .But I have to parse the html. Any suggestions? On Thu, Jul 15, 2010 at 1:16 PM, prachi prachi.tya...@wipro.com wrote: hii It would be better if u use xml in place of html bcoz it is easy to parse it. On Jul 15, 8:12 am, 苗忠良 mzl...@gmail.com wrote:

[android-developers] data passed to handler overwritten?

2010-07-15 Thread Danny Backx
I'm passing data to a Handler for drawing in the UI thread. On of the pieces of code below. The DrawPolygon function is called from my code, and has the right data for the three calls. The DrawPolygonHandler however is executed three times but each time with the data for the last call. Am I

[android-developers] Is the EGL_CONTEXT_LOST error is occur on the Nexus One or other real devices ?

2010-07-15 Thread Alexey Kryshen
Hello! We are developing game for the Android platform using OpenGL ES for drawing. The EGL specification states that EGL_CONTEXT_LOST error may occur under some circumstances and there is constant in the Android API for this error code, but we have never seen that error on real Nexus One device

[android-developers] Re: auto generation of Android.mk file

2010-07-15 Thread gsmaker
Hello again everybody, Is Android.mk support in windows? I can make .apk in Ubuntu using Android.mk file. But in windows XP it is not working. So is there anyone who knows the solution? Please help me. Best Regards, gsmaker On Jul 15, 3:24 pm, gsmaker shahid0...@gmail.com wrote: Hi Y-C Wang,

[android-developers] Re: Android market hiding apps with bluetooth permissions from Android 1.5 and 1.6

2010-07-15 Thread Pent
At any rate, the correct thing for an app developer to do is explicitly state which features they care about, and you can there use android:required=false to tell Market not to filter your app based on it. I put this in my manifest: uses-feature

[android-developers] Re: EglSwapBuffers

2010-07-15 Thread Alexey Kryshen
Hello! 5% for the SwapBuffer is not a big deal. It is possible it took the 90% of frame time under some circumstances. Please note following: 1) SwapBuffer has implicit glFinish() semantic. All the GL commands issued prior the SwapBuffer will be completed before actual swap is occur. And it is

[android-developers] Re: Radar View

2010-07-15 Thread S_F_H
workin on an emulator,and not a real phone these softwares,offred by cyrket market,still available for an emulator? ps:thanks for helping,you'r doing too much On 14 juil, 23:28, TreKing treking...@gmail.com wrote: On Wed, Jul 14, 2010 at 3:35 PM, S_F_H nouha.khy...@gmail.com wrote: is it the

[android-developers] Re: EglSwapBuffers

2010-07-15 Thread HaMMeReD
Thanks for the response, It just takes a huge block in the profiler, but I do understand that the JNI calls are like a black hole to the profiler and I can't see what's happening inside them, nor do I understand the inner working mechanics of opengl all that well. I'll just forget about it for

Re: [android-developers] Re: Android market hiding apps with bluetooth permissions from Android 1.5 and 1.6

2010-07-15 Thread Samuel Lawson
Why don't you just set your target sdk higher? On Thu, Jul 15, 2010 at 6:38 PM, Pent tas...@dinglisch.net wrote: At any rate, the correct thing for an app developer to do is explicitly state which features they care about, and you can there use android:required=false to tell Market not to

[android-developers] Re: Android market hiding apps with bluetooth permissions from Android 1.5 and 1.6

2010-07-15 Thread Sam
Why don't you just set your target sdk higher? On Jul 15, 6:38 pm, Pent tas...@dinglisch.net wrote: At any rate, the correct thing for an app developer to do is explicitly state which features they care about, and you can there use android:required=false to tell Market not to filter your

[android-developers] Re: Device's User-Agent from Application

2010-07-15 Thread Nicholas Albion
Although systems like WURFL use the user agent to identify mobile devices and their capabilities, it's actually an identifier of the browser, not the device. Your PC may be a Mac, or a Windows box running on an AMD, Intel 486 or i7 - the user agent isn't going to reveal a lot about this - perhaps

[android-developers] integrating skyhook in android application

2010-07-15 Thread Nikhil
Hi all, I am trying to make an android application which uses geolocation via gps to find the result. Can you please help me understand how do i use skyhook instead of gps in my app. Regards, Nikhil -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Suggestions to remove on boot Service (aimed to detect incoming calls) and others

2010-07-15 Thread Mark Murphy
On Wed, Jul 14, 2010 at 11:20 PM, Garibay jgaribay...@hotmail.com wrote: In my strategy I am creating a Receiver that listens for RECEIVE_BOOT_COMPLETED action and launch an everlasting Service which sets up a PhoneStateListener. Boo! 1) Is there any other strategy to be always listening for

[android-developers] Re: How to parse the html ?

2010-07-15 Thread DanH
If the data is well-formed, to the latest HTML standard, you can parse it with an XML parser. But very little HTML adheres to even the old standards. On Jul 14, 10:05 pm, zhou haitao haitaozho...@gmail.com wrote: I want to get the data  which I need from a html, how can I do it ? Thanks --

[android-developers] Re: Permanent socket connection drains battery

2010-07-15 Thread Namrata
any answer?..This is blocking issue for me as it drains batter in couple of hours. On Jul 15, 2:29 pm, Namrata puranik.namr...@gmail.com wrote: Hi, I am developing an app which has one service running in the background even if the application is closed. This service basically listens to the

[android-developers] 2.2 Camera Orientation Problem

2010-07-15 Thread Vincent
Hi, In my camera application, I use the following code to change the screen orientation. Parameters params = mCamera.getParameters(); params.set(orientation, portrait); It worked for the most of devices. However, after updating my NexusOne to 2.2, the above code does not work!! Is there any

Re: [android-developers] Re: Permanent socket connection drains battery

2010-07-15 Thread Mark Murphy
On Thu, Jul 15, 2010 at 7:56 AM, Namrata puranik.namr...@gmail.com wrote: any answer?..This is blocking issue for me as it drains batter in couple of hours. You may wish to watch the C2DM presentation from Google I|O 2010, as they provide a few hints on how they try to minimize battery usage.

[android-developers] How to attach source code to android.jar?

2010-07-15 Thread Michael K.
Hello, I would like to attach sources to android.jar, which is located in the Android 2.x classpath container of an eclipse android project. Normally it's no problem to attach sources for a jar with eclipse, but unfortunately it is not allowed for the android-framework part of an Android

[android-developers] Re: How to know if child activity exit by unexpected exception (onActivityResult() is not called)

2010-07-15 Thread irbaboon
I have exactly the same problem as you. And I made the same hack. It works fine for the cases when the started activity crashes. However, there is another case when onActivityResult() is broken: -limit the number of process to 1 in dev setting -start your activity -let your activity call

Re: [android-developers] How to parse the html ?

2010-07-15 Thread TreKing
On Wed, Jul 14, 2010 at 10:05 PM, zhou haitao haitaozho...@gmail.comwrote: I want to get the data which I need from a html, how can I do it ? When I had this need, first thing I did was do a search for a Java html parser http://tinyurl.com/3yf5jk3. That eventually led me to HTML Cleaner

[android-developers] Re: Permanent socket connection drains battery

2010-07-15 Thread Namrata
Thanks Mark.. On Jul 15, 5:06 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Jul 15, 2010 at 7:56 AM, Namrata puranik.namr...@gmail.com wrote: any answer?..This is blocking issue for me as it drains batter in couple of hours. You may wish to watch the C2DM presentation from Google

Re: [android-developers] Blacklisted Apps

2010-07-15 Thread TreKing
On Thu, Jul 15, 2010 at 12:26 AM, Bhavya Siddappa bhavs...@gmail.comwrote: Does froyo have the feature of blocking installation of blacklisted apps ? What's a blacklisted app? - TreKing - Chicago

Re: [android-developers] How to startup one application programmatically from other application

2010-07-15 Thread TreKing
On Thu, Jul 15, 2010 at 2:05 AM, Jeruliu jeru@gmail.com wrote: Say I have app A, in app A i want to set a schedule to startup the app B and C at specific time? That's not a question ... Is it possible to do that? if yes how? Yes. With AlarmManager and startActivity(). Just need to

Re: [android-developers] button layout

2010-07-15 Thread TreKing
On Thu, Jul 15, 2010 at 2:07 AM, hat...@gmail.com wrote: How can I set the text below the graphic to sit on the bottom but not on top of the graphic? Whenever you have question on layout, first thing to do is look at the Eclipse property page for the widget and see all the attributes you can

[android-developers] Re: how to check if the current thread is in the ui thread?

2010-07-15 Thread guich
Hey, what about answering the original question? Even if I already implemented what Mark suggested, it would be nice to know it. guich -- 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] Re: Permanent socket connection drains battery

2010-07-15 Thread Miguel Morales
Do you really need to have a socket open at all times? Why not periodically check the server using an Alarm, or only keep the socket open while the user is actually using the application. Also, any loop will drain your battery, you might try sleeping at the end of it. On Thu, Jul 15, 2010 at

[android-developers] Re: Android market hiding apps with bluetooth permissions from Android 1.5 and 1.6

2010-07-15 Thread Pent
Why don't you just set your target sdk higher? I think this may be a 'doh' moment and going slightly off topic. I've been building the cupcake version of my app with the project target 3 because if I build it with a higher target eclipse shows a big red cross there when going to install it on

[android-developers] Re: WebView / HTTPClient shared cookies ?

2010-07-15 Thread Chister Nordvik
An Android app I am building requires web authentication for users to make data calls. In Adobe AIR and later the iPhone, we did this by rendering a login page in a webview-equivalent page and setting a cookie when the user signs in. Subsequent data calls use the same Cookie Jar and so are

[android-developers] Re: Permanent socket connection drains battery

2010-07-15 Thread Namrata
Do you really need to have a socket open at all times? yes, my application is based on push technique for which I always need to keep it open only keep the socket open while the user is actually using the application. yup I am doing it. Actually the fuctionality of app includes minimization of

Re: [android-developers] Re: Radar View

2010-07-15 Thread TreKing
On Thu, Jul 15, 2010 at 5:39 AM, S_F_H nouha.khy...@gmail.com wrote: workin on an emulator,and not a real phone these softwares,offred by cyrket market,still available for an emulator? No, cyrket is not a market, it's just a market index to show you data from the market. If you need this app

Re: [android-developers] integrating skyhook in android application

2010-07-15 Thread TreKing
On Thu, Jul 15, 2010 at 6:13 AM, Nikhil nikaga...@gmail.com wrote: Can you please help me understand how do i use skyhook instead of gps in my app. It will take you about 9 seconds to find what you need using Google.

Re: [android-developers] Re: Android market hiding apps with bluetooth permissions from Android 1.5 and 1.6

2010-07-15 Thread Samuel Lawson
When you compile you won't be able to use any APIs introduced after your target SDK. It won't prevent your app from appearing on earlier devices, that's purely down to the your minimum SDK chosen. Of course make sure you test on the the minimum SDK you define - to check your app behavior and

[android-developers] Re: How to delete directory from SD card on uninstall?

2010-07-15 Thread Tina
Thank you for your answer, Mark! In Android 2.2+, if you use getExternalFilesDir() or getExternalCacheDir(), those directories will be removed when your app is uninstalled. Does in means that on any devices with API Level 7 or lower I can not delete my directory form SD card on uninstall, only

Re: [android-developers] button layout

2010-07-15 Thread hatted
thx for reply. Actually I solved the problem after I emailed out an hour. Coz the terms in Android(Google) is different from other programmings, which is not easy to find a solution from this long document. This is how different of a programmer and designer. They can never live together

Re: [android-developers] 2.2 Camera Orientation Problem

2010-07-15 Thread TreKing
On Thu, Jul 15, 2010 at 7:00 AM, Vincent y.ikeda.asa...@gmail.com wrote: It worked for the most of devices. It worked for most? And that was good enough for you? However, after updating my NexusOne to 2.2, the above code does not work!! What does does not work!! mean? Is there any

Re: [android-developers] Re: Android market hiding apps with bluetooth permissions from Android 1.5 and 1.6

2010-07-15 Thread Samuel Lawson
Actually it is nicely explained here: http://developer.android.com/guide/topics/manifest/uses-sdk-element.html On Thu, Jul 15, 2010 at 10:08 PM, Samuel Lawson samuel.law...@gmail.com wrote: When you compile you won't be able to use any APIs introduced after your target SDK. It won't prevent

Re: [android-developers] Re: button highlight

2010-07-15 Thread hatted
I used another way to solve the problem by using layout in xml. (coz I am not good in programming) but just want to know if I can automatically highlight the first one in listview? hatted On Thu, Jul 15, 2010 at 5:22 PM, Pratap ajit@gmail.com wrote: Hi I think the default behaviour of

[android-developers] Re: Android market hiding apps with bluetooth permissions from Android 1.5 and 1.6

2010-07-15 Thread Pent
Of course make sure you test on the the minimum SDK you define - to check your app behavior and check you haven't used any APIs that were introduced in later versions. That is an advantage of working with the matching SDK version of course... But anyway, looks like it's going to work, thanks

Re: [android-developers] Re: Permanent socket connection drains battery

2010-07-15 Thread Connick
Possible to leverage Googles cloud messaging instead? You can push intents down to the device. On Thu, Jul 15, 2010 at 9:41 AM, Namrata puranik.namr...@gmail.com wrote: Do you really need to have a socket open at all times? yes, my application is based on push technique for which I always

Re: [android-developers] Re: how to check if the current thread is in the ui thread?

2010-07-15 Thread TreKing
On Thu, Jul 15, 2010 at 8:15 AM, guich guiha...@gmail.com wrote: Hey, what about answering the original question? There's not built in way to do this, AFAIK. You could probably get away with saving a reference to the current thread in onCreate or somewhere you know is running in the main

[android-developers] PackageManager denies my app DEVICE_POWER permission

2010-07-15 Thread ls02
PackageManager denies my app DEVICE_POWER permission. I get in LogCat: PackageManager not granting android.permission.DEVICE_POWER to package Why does this happen? My app .apk file is signed and all other permissions are granted. -- You received this message because you are subscribed to

[android-developers] the emulator doesnt show up

2010-07-15 Thread Harsha
Hi, I have a problem my emulator when i click on start button to run the AVD tehre is a command window that opens up and then there is nothing, the emulator window doesnt show up. I have extracted the sdk folder several time. deleted teh .android folder everytime . Can somebody tell me what is

[android-developers] Re: debugging just the apk file

2010-07-15 Thread Matty
As a developer, I often find it useful enough if I get a logcat dump with a crash or bug. More information can be found about 'adb logcat' here: http://developer.android.com/guide/developing/tools/adb.html On Jul 14, 8:59 pm, rahul jain jainwolver...@gmail.com wrote: Hi there ! I am not

[android-developers] LG-debug

2010-07-15 Thread ranjan ar
Hello all, I am trying to Deploy my code from Eclipse to LG Ally mobile, I need to test it on LG Ally. My laptop wouldn't recognize the device, I need to test my code, what do I do now. I did not find the drivers online. I have droid , and it is working fine, is there a way I can transfer the .apk

Re: [android-developers] the emulator doesnt show up

2010-07-15 Thread Kostya Vasilyev
Have you created an emulator? Installing Android tools doesn't create any, you are supposed to create them yourself, with the specific options you require for development (Android version, screen size density, etc.) http://developer.android.com/guide/developing/eclipse-adt.html#AVD --

[android-developers] Re: How to get all the children views of a layout

2010-07-15 Thread Matt
what were they thinking when they named this parameter layout_width? Doesn't the very name naturally suggest a numeric value measuring the width, rather than rule for deriving that value from elsewhere? You actually can set the layout_width to a numeric value measuring the width. For

[android-developers] close activity A that invoked activity B

2010-07-15 Thread Boozel
Is there any way to close the activity the launched another activity? So if activity A starts activity B can activity B close activity A? I know there is the tag android:finishOnTaskLaunch=true but i only want it to happen if a button is pressed so im looking for a method to do it. Any help would

Re: [android-developers] close activity A that invoked activity B

2010-07-15 Thread TreKing
On Thu, Jul 15, 2010 at 10:56 AM, Boozel boozelcl...@gmail.com wrote: but i only want it to happen if a button is pressed What is the use case you are trying to solve? In other words, why do you want to do this?

[android-developers] Re: the emulator doesnt show up

2010-07-15 Thread Harsha
Yes i have. i was working on android for past 4 weeks. But all of sudden my emulator is just stopped being displayed On Jul 15, 8:50 am, Kostya Vasilyev kmans...@gmail.com wrote: Have you created an emulator? Installing Android tools doesn't create any, you are supposed to create them

Re: [android-developers] Re: the emulator doesnt show up

2010-07-15 Thread Kostya Vasilyev
Does it show up in AVD Manager in Eclipse? If not, what happens when you try to create a new one, either there or with android avd create? Also, have you tried doing the magic thing - avd kill-server followed by avd start-server? -- Kostya 15.07.2010 20:08, Harsha пишет: Yes i have. i

[android-developers] Re: close activity A that invoked activity B

2010-07-15 Thread Boozel
another activity will launch my activity which is a set of terms and conditions. if they are declined i want to close the terms and conditions activity and the activity that launched the terms and conditions activity. On Jul 15, 6:06 pm, TreKing treking...@gmail.com wrote: On Thu, Jul 15, 2010

[android-developers] Re: Radar View

2010-07-15 Thread S_F_H
ok TreKing, i'll see what can i do Thanks a lot ( Jazakom Allah khayran in arabic) On 15 juil, 15:46, TreKing treking...@gmail.com wrote: On Thu, Jul 15, 2010 at 5:39 AM, S_F_H nouha.khy...@gmail.com wrote: workin on an emulator,and not a real phone these softwares,offred by cyrket

[android-developers] Videoview and surfaceView problems

2010-07-15 Thread Hwa Rang Na
Hi. I have been reading loads of posts from different android sites and developers to avoid a redundant question. The problem looks like this. First case scenario is that i have a streaming video that i display through SurfaceView. Works fine, with entire full screen in landscape. But i cant

[android-developers] Re: the emulator doesnt show up

2010-07-15 Thread Harsha
in eclipse it says Launching a new emulator with Virtual Device 'Phone1' in console thats it an d there is no other error. Not even in error log or logcat In avd manager, there is this cmd window which is blank which pops up and the emulator window doesnt show up and there is no errors as in i

[android-developers] Re: How to obtain ID of an image by the id of the thumbnails?

2010-07-15 Thread Tabman
IMAGE_ID of the Thumbnail record is the id of the original image. On Jun 25, 2:27 pm, ReyLith jesus...@gmail.com wrote: Hi! I'm developing animageeditor for android. In the main activity, I get to show all images by viewing thethumbnailsto make the process faster. The problem it's that I

Re: [android-developers] Re: the emulator doesnt show up

2010-07-15 Thread Kostya Vasilyev
Can you try launching the emulator from the command line? This way you should see the errors, if any. I think it's android start 'name', but I could be wrong. 15.07.2010 20:40 пользователь Harsha harsha.bl...@gmail.com написал: in eclipse it says Launching a new emulator with Virtual Device

[android-developers] Re: Blacklisted Apps

2010-07-15 Thread JP
A blog post you might find interesting http://android-developers.blogspot.com/2010/06/exercising-our-remote-application.html On Jul 14, 10:26 pm, Bhavya Siddappa bhavs...@gmail.com wrote: Hi, Does froyo have the feature of blocking installation of blacklisted apps ? ./bhavya -- You

Re: [android-developers] Re: close activity A that invoked activity B

2010-07-15 Thread Frank Weiss
Perhaps it should be the other way around. Activity A, started by an external intent, checks to see if the TC needs to be displayed. Activity A then starts for result activity B. If the result is affirmative, Activity A records the status and proceeds, otherwise simple finishes, or goes into a

[android-developers] Re: the emulator doesnt show up

2010-07-15 Thread DanH
Did you upgrade your anti-virus? I've found that I have to turn off much of my antivirus software for the emulator to work. I have Norton, and eventually ended up turning off Insight, Antispyware, and SONAR, leaving on only the basic Antivirus. Also, under Windows (Vista) Computer/System

[android-developers] Re: the emulator doesnt show up

2010-07-15 Thread Harsha
I tried start guess it is something else searching what is the command On Jul 15, 9:45 am, Kostya Vasilyev kmans...@gmail.com wrote: Can you try launching the emulator from the command line? This way you should see the errors, if any. I think it's android start 'name', but I could be wrong.

Re: [android-developers] Re: close activity A that invoked activity B

2010-07-15 Thread TreKing
On Thu, Jul 15, 2010 at 11:13 AM, Boozel boozelcl...@gmail.com wrote: another activity will launch my activity which is a set of terms and conditions. if they are declined i want to close the terms and conditions activity and the activity that launched the terms and conditions activity. Ah,

[android-developers] Re: the emulator doesnt show up

2010-07-15 Thread Harsha
emulator -avd avd_name is the command, No use no emulator window popped up and no error is displayed On Jul 15, 9:45 am, Kostya Vasilyev kmans...@gmail.com wrote: Can you try launching the emulator from the command line? This way you should see the errors, if any. I think it's android start

[android-developers] button text in new line

2010-07-15 Thread hatted
I know I can set android:singleLine=false to set text to multi-line in a button. but can I set where to break into a new line instead of Android do it? I tried a\nb but doesn't work. any suggestion? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: button text in new line

2010-07-15 Thread hatted
ok, fixed by program. layout does not read \n as new line. On Jul 16, 1:36 am, hat...@gmail.com wrote: I know I can set android:singleLine=false to set text to multi-line in a button.  but can I set where to break into a new line instead of Android do it?  I tried a\nb but doesn't work.  any

[android-developers] Re: the emulator doesnt show up

2010-07-15 Thread Harsha
Ya the antivirus was updated, do you think that might be the issue. On Jul 15, 10:27 am, Harsha harsha.bl...@gmail.com wrote: emulator -avd avd_name is the command, No use no emulator window popped up and no error is displayed On Jul 15, 9:45 am, Kostya Vasilyev kmans...@gmail.com wrote:

[android-developers] Selected listview item with a shadow effect at boundaries

2010-07-15 Thread Sandy
Is there a way to have selected listview item appear to be on top of its adjacent list items ? Gallery seems to be supporting this. Selected list item seems to have a shadow effect at the boundaries and appears to be on top of its next and previous items. Appreciate any pointers/tip on how to

[android-developers] Re: close activity A that invoked activity B

2010-07-15 Thread Boozel
Ya i wanted B to close A but it isnt possible so i just ended up starting b for result and then closing a if the result was wrong. Thanks for the help On Jul 15, 7:26 pm, TreKing treking...@gmail.com wrote: On Thu, Jul 15, 2010 at 11:13 AM, Boozel boozelcl...@gmail.com wrote: another activity

[android-developers] Load images from a device and store in the app memory

2010-07-15 Thread nep0x
Hi all I m developing an app in which the user can choose an image stored in the phone to use it as the image of the background. The context is next: 1.- User click on a button called load 2.- Then appears a gridview that load the image from the phone's memory not from resources/drawable 3.- The

[android-developers] Problem with Multicast sockets

2010-07-15 Thread Cpudan80
Hello folks, I'm running some code on the nexus one - and I am having a very strange issue. The server sends UDP packets out on the multicast socket that the phone is joined to. The phone receives and sends stuff to the multicast group fine, but it appears that the phone chokes when it receives a

  1   2   >