Re: [android-developers] Asynchronous Http Request

2010-06-01 Thread Martins Streņģis
Mark you forgot while(1){ HttpGet get = new HttpGet(http://www.microsoft.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] Re: How do I programatically push my app to run in background?

2010-06-01 Thread NightGospel
Hi Archana, On 6月1日, 下午1時00分, Archana archana.14n...@gmail.com wrote: Hi  ,thanks for your reply,can you tell me how can i check wedr my app is running in background.Now I am checking by long press Home key.Is their any other way? Sure. If you are using Eclair , you can check background

[android-developers] Re: MusicVis live wallpaper

2010-06-01 Thread HaMMeReD
Thank you for your response. Has this functionality been standardized or made available in froyo? I can't seem to get it to work there either? Just a bit annoying to have features I want to implement but nice to know it isn't from lack of trying. Was doing some development around that feature,

[android-developers] Re: How do I programatically push my app to run in background?

2010-06-01 Thread Archana
Hi,Thanks for the example.So is it possible to exit from my app without using finish() .Actually in my main activity while calling finish I am unbinding/ stopping the service and exiting from app. But I dont require this in some scenario like when I am launching it from third party.like my app

Re: [android-developers] Re: Developing Online Android Game

2010-06-01 Thread Miguel Morales
Ok, you don't HAVE to learn about OTP and behaviours, you can add these features after. It mostly has to do with fault tolerance. I would recommend chapter 11, which contains a server-client IRC example. You'd just transfer the client code to java, I think if you can master that, you'll be set.

[android-developers] Re: CANNOT manage to get ADB working whatever I do.

2010-06-01 Thread Per
I initially had the same problem (HTC Desire, which I believe is 99.9%=Nexus One) on Win32 (Vista, XP). SDK USB driver didn't work. I came across a recommendation to install the HTCSync exe that was on the SD card - and that did it. I assume that something equivalent exists for the N1? BR Per

[android-developers] Port based sms in android

2010-06-01 Thread Sudeep Jha
Hi , Is it possible to use port numbers(to Send SMS) in Android App like we use in J2ME. So that only those App with the same Port Number can listen to SMS’s. I don't want data message to goto the inbox. Warm Regards, Sudeep -- You received this message because you are subscribed to

[android-developers] Re: How do I programatically push my app to run in background?

2010-06-01 Thread Archana
Hi,Thanks for the example.So is it possible to exit from my app without using finish() .Actually in my main activity while calling finish I am unbinding/ stopping the service and exiting from app. But I dont require this in some scenario like when I am launching it from third party.like my app

[android-developers] Re: How do I programatically push my app to run in background?

2010-06-01 Thread Archana
Hi,Thanks for the example.So is it possible to exit from my app without using finish() .Actually in my main activity while calling finish I am unbinding/ stopping the service and exiting from app. But I dont require this in some scenario like when I am launching it from third party.like my app

[android-developers] Re: How do I programatically push my app to run in background?

2010-06-01 Thread Archana
Hi,Thanks for the example.So is it possible to exit from my app without using finish() .Actually in my main activity while calling finish I am unbinding/ stopping the service and exiting from app. But I dont require this in some scenario like when I am launching it from third party.like my app

[android-developers] Re: How do I programatically push my app to run in background?

2010-06-01 Thread Archana
Hi,Thanks for the example.So is it possible to exit from my app without using finish() .Actually in my main activity while calling finish I am unbinding/ stopping the service and exiting from app. But I dont require this in some scenario like when I am launching it from third party.like my app

[android-developers] Re: How do I programatically push my app to run in background?

2010-06-01 Thread Archana
Hi,Thanks for the example.So is it possible to exit from my app without using finish() .Actually in my main activity while calling finish I am unbinding/ stopping the service and exiting from app. But I dont require this in some scenario like when I am launching it from third party.like my app

[android-developers] Re: How do I programatically push my app to run in background?

2010-06-01 Thread Archana
Hi,Thanks for the example.So is it possible to exit from my app without using finish() .Actually in my main activity while calling finish I am unbinding/ stopping the service and exiting from app. But I dont require this in some scenario like when I am launching it from third party.like my app

[android-developers] Re: How do I programatically push my app to run in background?

2010-06-01 Thread Archana
Hi,Thanks for the example.So is it possible to exit from my app without using finish() .Actually in my main activity while calling finish I am unbinding/ stopping the service and exiting from app. But I dont require this in some scenario like when I am launching it from third party.like my app

[android-developers] Re: How do I programatically push my app to run in background?

2010-06-01 Thread Archana
Hi,Thanks for the example.So is it possible to exit from my app without using finish() .Actually in my main activity while calling finish I am unbinding/ stopping the service and exiting from app. But I dont require this in some scenario like when I am launching it from third party.like my app

Re: [android-developers] Re: MusicVis live wallpaper

2010-06-01 Thread Romain Guy
This API is not in Android 2.2. On Mon, May 31, 2010 at 11:21 PM, HaMMeReD adamhamm...@gmail.com wrote: Thank you for your response. Has this functionality been standardized or made available in froyo? I can't seem to get it to work there either? Just a bit annoying to have features I want

[android-developers] Project idea

2010-06-01 Thread student
Hi Developers, i need sum idea to develop the project in 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] App Widget Lifecycle?

2010-06-01 Thread Mariano Kamp
Not really. I meanwhile just stopped feeling that I was doing it wrong ;-) It's probably meant to be used this way. I now display my widget in an invalid state first and then configure it afterwards. On Sun, May 30, 2010 at 9:35 AM, Yuvi yuvidr...@gmail.com wrote: Hey, have you solved this

Re: [android-developers] Android cursor lifetime

2010-06-01 Thread Mariano Kamp
The code you show doesn't contain the issue you describe as there is no code that would use the cursor. It seems strange that you close the database before reading from the cursor. The usual course of events is open the database, create the cursor, read from the cursor, close the cursor, close

[android-developers] Help CSSParser.cpp build error in the 2.1 Source Code

2010-06-01 Thread igo where
external/webkit/WebCore/css/CSSParser.cpp: In function 'int WebCore::cssValueKeywordID(const WebCore::CSSParserString)': external/webkit/WebCore/css/CSSParser.cpp:5190: error: expected initializer before '*' token external/webkit/WebCore/css/CSSParser.cpp:5191: error: 'hashTableEntry' was not

[android-developers] Re: Advanced UI tutorials

2010-06-01 Thread Andreas Agvard
I am glad you like the tutorials! :) 4 parts have been posted now. Most recently part 2 of the list tutorial where you'll be shown how to add 3d effects to your own list. Don't forget to download the application from Android Market, just search for sony ericsson tutorials and you'll find it!

[android-developers] Re: Flash on Froyo Emulator

2010-06-01 Thread drt...@gnospamthxmail.com
Note that you _can_ run Flash on the emulator as a standalone 'AIR' application; i.e. not a browser plugin. Functionally it's much the same thing of course as far as your Flash app is concerned. You need to install the AIR runtime (which = the flash player) which is available as an APK download

[android-developers] Re: Socket freezes using GSM connection

2010-06-01 Thread ayanir
Thanks for your replays. Kostya, I did as you suggested and I'm now looking for the delimiter ('\0') on the of the last read buffer and not just the last byte. I didn't understand how can I check the return value in the write() method since it is declared as void. is there another way? Mark,

[android-developers] group views in Layouts and set states of children

2010-06-01 Thread Benny
Hi folks, is it possible to group the content of a layout and set the state of every view if one of the hole group was touched or focused? ListView rows theme to do so but i don't know how to to that with a RelativeLayouts Thank you so much and cheerio Benny -- You received this message

Re: [android-developers] Re: Socket freezes using GSM connection

2010-06-01 Thread Kostya Vasilyev
Ah, so those are data streams. Sorry I missed that (using NIO socket channels here :) Then you should be ok with packet fragmentation - as long as your read method checks for '\0' anywhere within the buffer. -- Kostya 01.06.2010 11:43, ayanir пишет: Kostya, I did as you suggested and I'm

[android-developers] Re: How to best work with web services? REST

2010-06-01 Thread Moss
You could try with a lightweight XMLRPC implementation, there is already an android one for it: http://code.google.com/p/android-xmlrpc/ On Jun 1, 7:48 am, Nando Scheidecker nando.andr...@gmail.com wrote: Are there any examples out there to best work with web service? I know that there is a

[android-developers] How to send date from service to activity

2010-06-01 Thread Karteek N
Hi, I have one service in one application. In my second application i am binding to that service using aidl tool . Now i want to send some data from my service to activity which is running in second application. How can i achieve this. Any help please, -- You received this message because you

[android-developers] Re: Can't we add shared libraries without use of android ndk tools

2010-06-01 Thread karteek
You are wright. Now i compiled with following commands arm-none-linux-gnueabi-gcc -fPIC -c sample.c -o sample.o arm-none-linux-gnueabi-gcc -shared -Wl,-soname,libmylib.so -o libmylib.so sample.o even though iam getting the same problem On May 29, 2:34 am, mah m...@heilpern.com wrote: That

[android-developers] the problem of Geocoder.getFromLocationName()

2010-06-01 Thread gujian
hi,all.I met with a problem.I can get the result from Geocoder.getFromLocationNamefile:///D:/docs/reference/android/location/Geocoder.html#getFromLocationName(java.lang.String, int)(String locationName, int maxResults) .but can't work with adding the *parameters of *(double lowerLeftLatitude,

Re: [android-developers] Re: Tvout with Android Phones

2010-06-01 Thread Dilip Dilip
Hello Frank, Thanks a lot for the reply. I found out that the SAMSUNG galaxy S I9000 ( Android ) supports tv out. http://www.umnet.com/phone/3234-Samsung_i9000_Galaxy_S Best Regards, Vivek R On Mon, May 31, 2010 at 8:35 PM, FrankG frankgru...@googlemail.com wrote: Hello Dileep, I'm not

Re: [android-developers] Re: Cannot Write file into SDCard

2010-06-01 Thread Indrajit Kumar
On 5/31/2010 11:39 PM, Bob Kerns wrote: Your description is a little unclear, but I think what you're seeing is that Android does not support simultaneous access between the PC and the SD card. Once you mount the SD card on the PC, it is not available on the device. To access it on the device

[android-developers] Why do I get XmlPullParserException: attr value delimiter missing! when use XmlPullParser to parse page in Android

2010-06-01 Thread Jesson
When parsing html attribute without quotes such as: STYLE type=text/ css, I will get an Exception like this: org.xmlpull.v1.XmlPullParserException: attr value delimiter missing! (position:START_TAG STYLE type='text/css'@37:13 in java.io.inputstreamrea...@437b1088) . But it can do a prefect job

[android-developers] Problem in loading data in webview Pagevise

2010-06-01 Thread brijesh masrani
Hello I have a HTML file and i want to open it in webview Page by Page. I think i have to implement gesture but i don't know how to use Gesture and load data Page vise. So if anyone knows please reply as soon as possible. -- Regards, Brijesh Masrani -- You received this message because you

[android-developers] Re: VideoView cannot play long path video

2010-06-01 Thread Magic
Hello, 1.videoview I found that it is not a path lenth issue but a file permission issue If I change the /data/data/com.abc.android.abcd/content/ Transformers.mp4 to 777 by adb shell it can be played. and if the file permission is 600, it cannot be played 2.jpeg I dont know why, it now seems

[android-developers] sendWallpaperCommand() behavior changed in 2.2

2010-06-01 Thread String
I'm seeing a bothersome change in behavior of the live wallpaper SDK in Android 2.2. Specifically, it's the windowToken parameter to WallpaperManager.sendWallpaperCommand(); in the docs it's described as The window who these offsets should be associated with, as returned by View.getWindowToken().

Re: [android-developers] sendWallpaperCommand() behavior changed in 2.2

2010-06-01 Thread Romain Guy
Hi, From where are you sending a command? Commands are supposed to be sent by the Home application. In which case you have views and you can get the window token from any of these views. On Tue, Jun 1, 2010 at 2:44 AM, String sterling.ud...@googlemail.com wrote: I'm seeing a bothersome change

[android-developers] Re: Signup for C2DM ?

2010-06-01 Thread qvark
Any update? Has anyone received access to C2DM? On 25 mayo, 23:47, Eurig Jones eurigjo...@gmail.com wrote: Me too. no reply yet. On May 25, 11:38 am, qvark joseluishuertasfernan...@gmail.com wrote: Eagerly waiting here to start testing... has anybody received a response? On 22 mayo,

[android-developers] Search for Custom CursorAdapter

2010-06-01 Thread mike
hi guys, i have implemented a Custom CursorAdapter which will display all the contacts with there images. this is my code and it is working fine. now i want to have a Search for this screen. i have tried a lot but couldn't find a way out. so could some one please help me out public class

[android-developers]

2010-06-01 Thread vikrant singh
-- Vikrant Singh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] Re: How to send date from service to activity

2010-06-01 Thread NightGospel
Hi Karteek, You should try to register one callback method from activity to service. Then service can call this method to trigger event. The following page has sample codes to reference: http://developer.android.com/guide/developing/tools/aidl.html NightGospel On 6月1日, 下午4時24分, Karteek N

[android-developers] Re: Can't we add shared libraries without use of android ndk tools

2010-06-01 Thread mah
From what I've seen, the library not found error doesn't only occur if the library cannot be found, however your first step now should probably be to see if it should be found... open an adb shell to your platform, and change directory to /data/data/ your.package.name.here. Does the lib directory

[android-developers] Re: sendWallpaperCommand() behavior changed in 2.2

2010-06-01 Thread String
On Jun 1, 10:48 am, Romain Guy romain...@android.com wrote: From where are you sending a command? Commands are supposed to be sent by the Home application. I see; that's not mentioned in the docs. I'm sending a command from elsewhere in my own app (not a Home app, btw), essentially telling the

[android-developers] Re: Google Map Key issue please help

2010-06-01 Thread mah
The Android shell tells you permission denied even when the command you're trying to execute simply doesn't exist on the device. On May 26, 3:14 pm, Ali Murtaza mralimurt...@gmail.com wrote: Hi I use this code to get the finger print in android emulator i got message keystore: permission

Re: [android-developers] Re: Google Map Key issue please help

2010-06-01 Thread Ali Murtaza
Yap therefor you should go to the location where JAVA JDK is Installed lets go to location in command line c:\program files\java\jdk\bin and then run the query which is mention above On Tue, Jun 1, 2010 at 4:38 PM, mah m...@heilpern.com wrote: The Android shell tells you permission denied

[android-developers] Background images to fit different screens

2010-06-01 Thread Neilz
Hi all. I developed a game on my Hero, v1.5, which has a screen size of 480 * 320. The image gets loaded as a Bitmap from the res/drawable folder, and used within a 2D Canvas. The image doesn't fit the screen when I switch to newer devices with different screen ratio, such as a Nexus with 800 *

[android-developers] Re: Background images to fit different screens

2010-06-01 Thread String
On Jun 1, 12:49 pm, Neilz neilhorn...@gmail.com wrote: The image doesn't fit the screen when I switch to newer devices with different screen ratio, such as a Nexus with 800 * 480... there's a gap at the bottom. First, you should read this:

[android-developers] Page resize on HD Devices like Nexus One

2010-06-01 Thread guruk
Hi, our Webpage: http://www.checkdent.com/mobile/sv.php?id=12332181087788749 looks fine on Android G1, but comes resized on the Google Nexus (higher resolution) Half part of the Page is outside of the View! I implemented as mentioned at several places the : target- densityDpi=device-dpi meta

[android-developers] Re: CANNOT manage to get ADB working whatever I do.

2010-06-01 Thread HLL
Worth a shoot, could you upload this thing? cuz i don't have this thing on my card that came with the device... On Jun 1, 9:29 am, Per p...@care2wear.com wrote: I initially had the same problem (HTC Desire, which I believe is 99.9%=Nexus One) on Win32 (Vista, XP). SDK USB driver didn't work. I

Re: [android-developers] Re: SIGSEGV in system_server

2010-06-01 Thread Anonymous Anonymous
How did you decoded that stack :D ? On Sat, May 29, 2010 at 3:33 AM, fadden fad...@android.com wrote: On May 28, 10:13 am, Dmitriy dmitriy.kostyuche...@gmail.com wrote: The application I wrote HTTP POSTs a file to a remote web server. If, during this upload the phone is going through a lot

[android-developers] [Eclair] Exception from setupwizard(android.setupwizard.AccountIntroActivity)

2010-06-01 Thread Anonymous Anonymous
Hello All, Sometimes when i try to use login am gettign the below exception, but kinda clue less, have any one faced this? *just happens with setupwizard.. 06-01 12:07:01.923 E/Checkin ( 1996): Error reporting crash 06-01 12:07:01.923 E/Checkin ( 1996): Crash logging skipped, too soon after

[android-developers] Re: Background images to fit different screens

2010-06-01 Thread Neilz
Thanks String. I'm familiar with most of that, it's just different bitmaps and resource folders that are new to me. I've setup a new project, with minSdk=3 targetSdk=8, and have seen that there are now three different folders in the res directory. I've put the same images in all folders, for the

Re: [android-developers] Re: Background images to fit different screens

2010-06-01 Thread Mark Murphy
Neilz wrote: Thanks String. I'm familiar with most of that, it's just different bitmaps and resource folders that are new to me. I've setup a new project, with minSdk=3 targetSdk=8, and have seen that there are now three different folders in the res directory. I've put the same images in

[android-developers] How to build calculator?

2010-06-01 Thread sandma...@libero.it
Hi, I'd like to build the calculator2 app supplied with android as a starting point for some mods I'm thinking about. How can I build it in eclipse? In the android source I've found only the .java files, but not the .xml like manifest, main and so on. Thanks. Ciao -- You received this

Re: [android-developers] How to build calculator?

2010-06-01 Thread Mark Murphy
sandma...@libero.it wrote: I'd like to build the calculator2 app supplied with android as a starting point for some mods I'm thinking about. How can I build it in eclipse? The built-in Android applications are not designed to be built independently of the firmware. You may encounter many

[android-developers] Is it possible to debug the native code in this development environment

2010-06-01 Thread Jins Varghese
Hi all, I need to debug some issues in the native C code. I know by using GDB its possible. But i doubts , if can debug in the following development environment. My workstation is a XP machine . My android code is residing on some linux machine . I am connecting to this linux machine only

[android-developers] start native google maps app from webview

2010-06-01 Thread guruk
Hi, I develop an app for iphone and android. while my iphone user click in my webview on a link like: http://maps.google.com/maps?saddr=46.17121744,24.36878222daddr=wien the NATIVE Google Maps opens. But in Android the HTML Version appears. How does have my call looks like so also on an

[android-developers] OMAP Zoom 2

2010-06-01 Thread Abhi
Is anyone here working on the TI Zoom 2 kit? I am building an application on Zoom 2 and had a couple of questions around it. Abhi -- 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: Background images to fit different screens

2010-06-01 Thread Neilz
Thanks Mark. Is it ok to have so many directories? At the moment, on this advice, I will have: /drawable-hdpi /drawable-ldpi /drawable-mdpi /drawable-mdpi-v3 (...or) /drawable This app relies heavily upon bitmaps, so there will be a lot of duplication, and hence a much higher download size

Re: [android-developers] Re: Background images to fit different screens

2010-06-01 Thread Mark Murphy
Neilz wrote: Thanks Mark. Is it ok to have so many directories? At the moment, on this advice, I will have: /drawable-hdpi /drawable-ldpi /drawable-mdpi /drawable-mdpi-v3 (...or) /drawable This app relies heavily upon bitmaps, so there will be a lot of duplication, and hence a

[android-developers] Re: Socket freezes using GSM connection

2010-06-01 Thread ayanir
is the NIO works better then the usual Socket? by works better I mean no freezing. I have no problem working with NIO if it will make the difference. ayanir On Jun 1, 10:55 am, Kostya Vasilyev kmans...@gmail.com wrote: Ah, so those are data streams. Sorry I missed that (using NIO socket

[android-developers] SectionIndexer Tweak

2010-06-01 Thread Lee
I've had so many emails about how to get SectionIndexer to pick up a change in the dataset that I'm publishing my tweak here. It works the same whether you're using a GridView or ListView. private void jiggleGrid() { int newWidth = flag( FLAG_THUMB_PLUS ) ?

[android-developers] Re: android-themes.com

2010-06-01 Thread Moto
Just submitted ticket too ;) Thanks... but there are way to many sites distributing my content it's about 100% pirated according to my Motally numbers... :( VERY VERY SAD! On May 31, 7:06 pm, Andrew Brampton bramp...@gmail.com wrote: I've just sent a complaint

[android-developers] Gallery View Customization

2010-06-01 Thread RS.Giridaran
Hi All, i want to customize the Gallery widget like a conveyer belt having icons. Please note that this icons conveyer chain is of circular nature that is if there are 5 icons and user is navigating towards left side so icons which gets disappeared at right side, again appears back on left side

[android-developers] Hybrid positioning System(XPS)

2010-06-01 Thread subrat kumar panda
Hi all, i want only the xps latitude longitude not all. but which method in SkyHook Wireless update the latitude longitude. the changed latitude longitude should transmit to the server. from these methods: public void done(){} public WPSContinuation handleError(WPSReturnCode error){} public

Re: [android-developers] Re: Socket freezes using GSM connection

2010-06-01 Thread Kostya Vasilyev
Ayanir, NIO is non-blocking, so it's easier to serve multiple connections from one thread. Also, NIO is easier to interrupt / shutdown, which I think is important for an Android app. But other than that, I personally think it's a matter of taste, since there has to be a worker thread for both

[android-developers] Android 2.1+ on G1 dev phone

2010-06-01 Thread mikek
Will google or HTC make 2.2 available on the G1 dev phone? Is there a one stop shop for monitoring what is available or approximately when new OSs will be available? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Can't we add shared libraries without use of android ndk tools

2010-06-01 Thread karteek
mah thanks for your reply 1 I checked in /data/data/mypackage/libs my library is present in the above folder Second aproach you suggested me is I am able to work with ndk tools I observed both libraries that mean one my build and second one is through ndk tools i used nm tool to see what is in

[android-developers] Application stop in sleep mode

2010-06-01 Thread JV29
Hi, I'm developping a LiveWallpaper on Android 2.1. This application must download an image every fifteen minutes and draw it on the screen. Everything works except when the phone is in sleep mode. Do you think it is possible to run an application like this when the phone is in sleep mode? And if

[android-developers] Re: Background images to fit different screens

2010-06-01 Thread Neilz
Since I changed the structure as suggested, all my devices now pick up the images from /res/drawable. I have a images in other folders, but they never get used. I am trying a Nexus One, which I believe to be 480 * 800 high density. How do I get it to pick up the correct set of images? On Jun 1,

Re: [android-developers] Re: Background images to fit different screens

2010-06-01 Thread Mark Murphy
Neilz wrote: Since I changed the structure as suggested, all my devices now pick up the images from /res/drawable. I have a images in other folders, but they never get used. Do you have a proper supports-screens element in your manifest? Android is supposed to choose the stronger match, so if

Re: [android-developers] Android 2.1+ on G1 dev phone

2010-06-01 Thread Toni Menzel
http://gizmodo.com/5544136/android-22-will-never-come-to-the-g1 On Tue, Jun 1, 2010 at 5:00 PM, mikek mik...@gmail.com wrote: Will google or HTC make 2.2 available on the G1 dev phone? Is there a one stop shop for monitoring what is available or approximately when new OSs will be available?

[android-developers] A clear, concise tutorial on PreferenceActivity Preferences?

2010-06-01 Thread draf...@gmail.com
I was wondering can anyone direct me to a detailed Preferences tutorial? Or provide me with a bit of help here? I have my preferences saved in preferences.xml as follows: PreferenceScreen xmlns:android=http://schemas.android.com/apk/res/ android PreferenceCategory android:title=Wifi Settings

[android-developers] Re: sendWallpaperCommand() behavior changed in 2.2

2010-06-01 Thread String
I've figured this one out on my own. Once I stopped looking for a built-in way to ping a live wallpaper (as the docs would have you believe sendWallpaperCommand() is), I realized that it was easy enough to just register a BroadcastReceiver for a refresh action of my own making. Works fine. String

R: Re: [android-developers] How to build calculator?

2010-06-01 Thread sandma...@libero.it
It helps, but still some parts are missing, i.e. R.java for example, or maybe I have done something wrong... which are the correct steps to get this program into eclipse? Tnxs Messaggio originale Da: mmur...@commonsware.com Data: 01/06/2010 15.28 A: android-developers@googlegroups.com

Re: [android-developers] A clear, concise tutorial on PreferenceActivity Preferences?

2010-06-01 Thread Mark Murphy
draf...@gmail.com wrote: I was wondering can anyone direct me to a detailed Preferences tutorial? Or provide me with a bit of help here? I have my preferences saved in preferences.xml as follows: PreferenceScreen xmlns:android=http://schemas.android.com/apk/res/ android

[android-developers] Test if ContentProvider exists ?

2010-06-01 Thread Lee
How can I test if there's a ContentProvider for a Uri ? I'm currently doing a query on it and checking for a null cursor, but that generates an error in the system log each time, which I don't like to do. Pent -- You received this message because you are subscribed to the Google Groups Android

Re: R: Re: [android-developers] How to build calculator?

2010-06-01 Thread Kostya Vasilyev
Hi, R.java is generated automatically during build. Have you set up Eclipse for Android development as described here? http://developer.android.com/sdk/index.html If not, you should go through it, and work through the example on that page, just to get started, before importing another

[android-developers] a real-time Walkie Talkie for beta test

2010-06-01 Thread flea papa
Hello friends, We have just released a real-time Push-To-Talk application on Android Market. Thanks to Speex and NDK, the voice streams take much less network/CPU bandwidth than PCM or G.711. Voice streams are peer-to-peer to minimize delay whenever it is possible to do so between parties

Re: [android-developers] A clear, concise tutorial on PreferenceActivity Preferences?

2010-06-01 Thread Donal Rafferty
Thanks Mark. To access my preferences outside my PreferenceActivity in another Activity or a Service can I use PreferenceManager. getDefaultSharedPreferences() also? In your code here:

[android-developers] Re: Issue with setBuiltInZoomControls on HTC Incredible

2010-06-01 Thread David at TRC
It appears the issue has been resolved, if you check out this thread over on the HTC forum: http://community.htc.com/na/htc-forums/android/f/91/p/2332/8538.aspx -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: android-themes.com

2010-06-01 Thread Moto
FYI, I emailed the host and website people: Hi , Thank you for your e-mail. We e-mailed to our client and asked to remove the all illegal content from his site, otherwise we will suspend his account. -- Kind regards, Simon Diaz Just Host www.justhost.com On Jun 1, 10:04 am, Moto

[android-developers] Re: Background images to fit different screens

2010-06-01 Thread Neilz
This is exactly what I have now, but all the images get taken from the default directory, including when used by the Nexus. I have the following in the manifest: uses-sdk android:minSdkVersion=3 android:targetSdkVersion=8 / supports-screens android:largeScreens=true

[android-developers] Re: VP8 Video Codec

2010-06-01 Thread NimeshChanchani
its in gingerbread. http://www.webmproject.org/about/faq/ On May 25, 5:24 pm, Mark Murphy mmur...@commonsware.com wrote: Andy Savage wrote: I am wondering if there is any timeframe for VP8 to be included into Android? It is not in there now, as the specs were apparently nailed down too

[android-developers] Load https requests with Webkit

2010-06-01 Thread psaltamontes
Hello, I'm trying to load https requests with a Webkit object but It shows only a blank page, with http requests I don't have problems, It shows the page correctly. Could be that there is a problem with the certificate? Where webkit goes to look the authorized certificates? Thank you. -- You

Re: [android-developers] A clear, concise tutorial on PreferenceActivity Preferences?

2010-06-01 Thread Mark Murphy
Donal Rafferty wrote: Thanks Mark. To access my preferences outside my PreferenceActivity in another Activity or a Service can I use PreferenceManager. getDefaultSharedPreferences() also? Yes. That will return the same preferences for this application. In your code here:

Re: [android-developers] Test if ContentProvider exists ?

2010-06-01 Thread Mark Murphy
Lee wrote: How can I test if there's a ContentProvider for a Uri ? You should be able to use methods on PackageManager for that. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's

[android-developers] Strange Problem with 1.5 Image Saving...Please Help

2010-06-01 Thread Tommy
Hi everyone, I have created an activity which uses the camera to take a picture and save that image to the sd card. This works perfectly on 2.0+ but on a 1.5 phone the image that gets saved is simply a black box. I can not figure out why the image is coming back pure black. I have pasted the code

R: Re: R: Re: [android-developers] How to build calculator?

2010-06-01 Thread sandma...@libero.it
Yes, I did. I've developed some other (simple) apps without problems. Ciao Messaggio originale Da: kmans...@gmail.com Data: 01/06/2010 17.50 A: android-developers@googlegroups.com Ogg: Re: R: Re: [android-developers] How to build calculator? Hi, R.java is generated automatically

Re: [android-developers] Re: sendWallpaperCommand() behavior changed in 2.2

2010-06-01 Thread Romain Guy
You can use sendWallpaperCommand() to send your own commands if you wish. On Tue, Jun 1, 2010 at 8:24 AM, String sterling.ud...@googlemail.com wrote: I've figured this one out on my own. Once I stopped looking for a built-in way to ping a live wallpaper (as the docs would have you believe

Re: [android-developers] Best way to live demo apps

2010-06-01 Thread Stuart Reynolds
Thanks DroidAtScreen seems to work OK, if a little slow. I can work with that for now. (Thanks!) The OP solution is good but also won't work for me. HDMI will be great once its available and supports outputting the device's screen. The hardware clearly supports streaming full audio and video

Re: [android-developers] Best way to live demo apps

2010-06-01 Thread Mark Murphy
Stuart Reynolds wrote: Does anyone know if its possible to access to the root View of the current Activity (of existing apps, without code changes)? It damned well better not be, at least without root. There are applications such as Display Shot that seem to overlay images on top of

[android-developers] Android Address Book Search

2010-06-01 Thread mike
hi guys, i have developed a application which loads all the contacts in the native address book. since i have many contacts i created a search. my address book contains contacts like this. Alan Bill and then again Alex Cooper Dillon 1. even in the native address book it's the same. may i

[android-developers] Google apps-for-android code samples

2010-06-01 Thread Neilz
I once got pointed in the direction of this great set of examples: http://code.google.com/p/apps-for-android/ These samples look like they're in some way connected with this forum. Is that the case? There's one app in particular which I would like to discuss with the developers, the

[android-developers] Re: Test if ContentProvider exists ?

2010-06-01 Thread Lee
Looks promising, thanks. Lee On Jun 1, 5:40 pm, Mark Murphy mmur...@commonsware.com wrote: Lee wrote: How can I test if there's a ContentProvider for a Uri ? You should be able to use methods on PackageManager for that. -- You received this message because you are subscribed to the Google

Re: [android-developers] Google apps-for-android code samples

2010-06-01 Thread Mark Murphy
Neilz wrote: I once got pointed in the direction of this great set of examples: http://code.google.com/p/apps-for-android/ These samples look like they're in some way connected with this forum. Is that the case? They were written by Googlers, back in the day. -- Mark Murphy (a Commons

[android-developers] Re: Google apps-for-android code samples

2010-06-01 Thread Neilz
Googlers? Is that some kind of rare and protected species? :-) So I guess everyone's moved on then? Do you know if any of them would be willing to discuss the project? On Jun 1, 6:36 pm, Mark Murphy mmur...@commonsware.com wrote: Neilz wrote: I once got pointed in the direction of this great

[android-developers] Image zooming/panning inside of a Gallery

2010-06-01 Thread Eric F
I'm trying to combine the capability of doing image zoom/panning inside of a Gallery view. The problem is controlling which touch events are processed by each. In a horizontal drag on the image, the ImageView needs to process the drag in order to pan, up until the edge of the image is reached then

[android-developers] Geting Activity from package

2010-06-01 Thread Ali Murtaza
Hi All I want to get activity from a package like final PackageManager packageManager = getPackageManager(); Intent intent = packageManager.getLaunchIntentForPackage(com.android.alarmclock); But infact i want the activity in which i send the time and that will set the alarm

[android-developers] Android to PC communication trough USB

2010-06-01 Thread Felipe Ovalle
Hello, anybody knows a code example for communicate one android application to a desktop java application to do something like update one desktop mysql database for example? I want this connection trough usb cable (i think). I don´t wanna make this connection trough http. thanks! -- Felipe

[android-developers] Re: Android to PC communication trough USB

2010-06-01 Thread Alexander Kipar
Hi, There isn't a system way to do this, but there aer some tricks. You could use ADB to forward PC port to Device port and create, for example, Socket connection between them. On Jun 1, 9:11 pm, Felipe Ovalle ftova...@gmail.com wrote: Hello, anybody knows a code example for communicate one

  1   2   3   >