Lotto Magic: Home Business Produces High Profits For Members

2008-09-04 Thread [EMAIL PROTECTED]
Thank you for your interest in Lotto Magic. So what is Lotto Magic you ask? Well its a Home Business and benefits club/savings club. Meaning you can earn $100s or $1000s per month and gain access to discounts from top name online stores, huge savings on vacations, entertainment tickets such as

[android-developers] Re: Code working in standalone java; doesnot work in android (android-sdk-windows-0.9_beta)

2008-09-04 Thread schtieF
So any news on this topic, am i able to use google data apis (gdata) on android? thanx stefan On 25 Aug., 22:40, Justin (Google Employee) [EMAIL PROTECTED] wrote: You didn't answer what type myService is here. Cheers, Justin Android Team @ Google

[android-developers] Quirky behavior when rotating screen in API Demos sample, Progress dialog

2008-09-04 Thread blindfold
If one runs the SDK 0.9 beta sample application API Demos | App | Dialog | Progress dialog, one finds that turning the emulator view by pressing key 9 while the progress bar is showing causes that the progress bar never gets dismissed. Playing with mProgressDialog.dismiss(); in onDestroy or

[android-developers] Re: Using the ItemizedOverlay and OverlayItem

2008-09-04 Thread Guillaume Perrot
OK overlay items are drawn with the setBounds trick. But overlay title or snippet is never drawn even if we tap on it. How to use these overlay items fields ? On Sep 3, 12:09 pm, Peter Stevenson [EMAIL PROTECTED] wrote: Chris Chiappone wrote: Marcel, Thanks for that seems to work as you

[android-developers] Re: Downloading any file using browser.

2008-09-04 Thread Peli
You could write an intent filter in the following way: activity android:name=.MyActivity android:label=@string/ app_name intent-filter action android:name=android.intent.action.VIEW / category android:name=android.intent.category.DEFAULT /

[android-developers] Re: Android Music Player

2008-09-04 Thread Eric
What is the URL of this Pocket Android Player project? Thanks Eric Portable Electronics Ltd www.hdmp4.com On Sep 4, 6:03 am, Leszek Broniarczyk [EMAIL PROTECTED] wrote: Hi I would like to introduce project Pocket Android Player in 4 page comics -- Regards Leszek Broniarczyk  1.jpg

[android-developers] Re: Downloading any file using browser.

2008-09-04 Thread szeldon
Thanks. It really works. Knowledge +1 On Sep 4, 1:28 pm, Peli [EMAIL PROTECTED] wrote: You could write an intent filter in the following way:        activity android:name=.MyActivity android:label=@string/ app_name             intent-filter                 action

[android-developers] Re: Orientation changes simulation

2008-09-04 Thread blindfold
Hmm, it will indeed be interesting to see how having interpreted Dalvik, i.e., without a JIT, will impact performance of my core routines that are not delegated to coarse grain native code (and hardware) calls like one can do with typical CPU-intensive graphics operations. Looking forward to

[android-developers] Re: Android Music Player

2008-09-04 Thread Peli
I like your concept. If you don't find anyone else to team up with you, feel free to post your concept in our developer's group: http://groups.google.com/group/openintents We already have a basic media player (see here: http://www.openintents.org/en/node/15 ) but it would be good if we could

[android-developers] Re: How to transfer Image bytes from MediaStore.Image ContentProvider to byte [] array

2008-09-04 Thread Graeme
Hi Alexa thanks for your pointers. rgds Graeme On Sep 3, 3:36 pm, alexa [EMAIL PROTECTED] wrote: Bitmap bitmap = Media.getBitmap(getContentResolver(), imageUri); ByteArrayOutputStream bytes = new ByteArrayOutputStream(); bitmap.compress(Bitmap.CompressFormat.JPEG, 90, bytes);

[android-developers] Re: Using the ItemizedOverlay and OverlayItem

2008-09-04 Thread Chris Chiappone
I had to manually draw those inside the onTap method. On Thu, Sep 4, 2008 at 3:51 AM, Guillaume Perrot [EMAIL PROTECTED] wrote: OK overlay items are drawn with the setBounds trick. But overlay title or snippet is never drawn even if we tap on it. How to use these overlay items fields ? On

[android-developers] Re: Quirky behavior when rotating screen in API Demos sample, Progress dialog

2008-09-04 Thread Romain Guy
This is the correct behavior. The dialog should remain visible after a screen orientation change. There is a bug though, the progress bar should be filled automatically even after a screen rotation. On Thu, Sep 4, 2008 at 2:01 AM, blindfold [EMAIL PROTECTED] wrote: If one runs the SDK 0.9 beta

[android-developers] Re: Quirky behavior when rotating screen in API Demos sample, Progress dialog

2008-09-04 Thread blindfold
Yes the dialog should remain visible but be automatically dismissed after the progress bar fills up, just like when one does not change the screen orientation. It is the restarting of the application (I noticed that in my own app) that apparently gets the running progress dialog handling messed

[android-developers] Re: ACTION_PICK_ACTIVITY: anyone have this working?

2008-09-04 Thread Mark Murphy
*bump* Mark Murphy wrote: I'm attempting to use ACTION_PICK_ACTIVITY. According to the docs: Pick an activity given an intent, returning the class selected. So, I've used ACTION_PICK to pick a contact, which I get back in my onActivityResult() as an Intent. What I can't quite figure

[android-developers] Use dynamic string instead of Integer in findViewById

2008-09-04 Thread Kavi
Currently, findViewById uses a R.id.viewid which is an Integer to find views. Is it possible to give findViewById a string like R.id.field_1_text? The reason i want to know this is then, i can use a loop and change the values for fields like R.id.field_1_text, R.id.field_2_text,

[android-developers] Re: Use dynamic string instead of Integer in findViewById

2008-09-04 Thread Romain Guy
Hi, You could also find by id the container of all the children you need and iterate over its children using getChildCount() and getChildAt(). Note that there is also a way to get an id's integer using its name as a String. Use Context.getResources().getIdentifier():

[android-developers] Re: Quirky behavior when rotating screen in API Demos sample, Progress dialog

2008-09-04 Thread Romain Guy
It's actually easy to circumvent. On orientation change, the activity should save the current progress value in its Bundle (in onSaveInstanceState().) Then, when the activity is recreated, it should read this value back and resume the progress from where it stopped. On Thu, Sep 4, 2008 at 8:52

[android-developers] Re: Use dynamic string instead of Integer in findViewById

2008-09-04 Thread Kavi
I'll try both and see which one works better Thanks Mark and Romain Guy. . --~--~-~--~~~---~--~~ 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: Quirky behavior when rotating screen in API Demos sample, Progress dialog

2008-09-04 Thread blindfold
For my own use I do not care if the progress dialog continues from where it was or starts all over, so I need no save/restore of its state. However, the fact that the progress bar does not start at all after changing screen orientation suggests a bug. The impression I got is that the progress

[android-developers] Re: Quirky behavior when rotating screen in API Demos sample, Progress dialog

2008-09-04 Thread Romain Guy
The bug is just in the sample application: it should call mProgressHandler.sendEmptyMessage(previousProgress) after an orientation change and if the progress dialog is showing. There is no cleanup problem or conflict or anything like this. On Thu, Sep 4, 2008 at 9:58 AM, blindfold [EMAIL

[android-developers] Re: Wi-Fi tutorail

2008-09-04 Thread Mark Murphy
Oskeol wrote: Hi everybody. Can someone make up a Tutorial on how to use Wi-Fi? How can be two emulator instaces conected using Wi-Fi? Can this thing be done ? Help please, WiFi is just Internet access. You can use whatever Internet-based protocols you like, either using built-in

[android-developers] TabActivity throws SecurityException in specific cases only

2008-09-04 Thread i_am_on_android
Hi, I am trying to replace the default contacts view in the Contacts Application, but I get a SecurityException. Does it have something to do that Contacts uses TabActivity and each Activity is in a different process? Could it be a bug in SDK 0.9? java.lang.RuntimeException: Unable to start

[android-developers] Re: MediaPlayer and LocalSocket problem

2008-09-04 Thread 3,14
On Sep 4, 11:28 am, scorpio [EMAIL PROTECTED] wrote: just try with this, FileInputStream media = new FileInputStream(system/media/ audio/alarms/Alarm_Classic.ogg); thanks Nithin M Warier Actuall a scenario with reading from file just an example. Original task is to receive RTP packets

[android-developers] Re: location is always latitude 0 longitude 0 altitude 10 in v0.9

2008-09-04 Thread austin_rockz
Hi, I had the same problem, also switched locale and it works... Guess it has nothing do do with the locale itself, more with the way the OS is formatting date, time, ... So you have to make sure that not only the language is changed to english but also the formatting rules. I'm running MAC OS X

[android-developers] VideoPlayer Fast Forward/Rewind

2008-09-04 Thread Iroid
Hello all, I am developing a VideoPlayer based on MediaPlayer provided by Android. In this video player, I have to implement Fast Forward(FF) and Fast Rewind(FR) too apart from other basic play/pause/seek functionality. I could not find any Direct(fastForward(speed)/fastRewind(speed)) or

[android-developers] flash memory

2008-09-04 Thread Payal
Is there anything like flash in android? like I can create some file and store it in. Or I can copy a file from my sdcard to flash? I found that user data image but I am not sure about that. Can anybody help me with this? Thanks --~--~-~--~~~---~--~~ You

[android-developers] Re: Android Music Player

2008-09-04 Thread Bronek
I wrote to OpenIntents my idea.. :) Se Ya There --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] Orientation sensor definition correct?

2008-09-04 Thread Peli
In the documentation I find: Sensor values are yaw, pitch and roll. Yaw is the compass heading in degrees, range [0, 360[ 0 = North, 90 = East, 180 = South, 270 = West Pitch indicates the tilt of the top of the device, with range -90 to 90. Positive values indicate that the bottom of the device

[android-developers] Re: flash memory

2008-09-04 Thread Mark Murphy
Payal wrote: Is there anything like flash in android? like I can create some file and store it in. Or I can copy a file from my sdcard to flash? I found that user data image but I am not sure about that. Can anybody help me with this? Your activity can work with files in a

[android-developers] Re: VideoPlayer Fast Forward/Rewind

2008-09-04 Thread Megha Joshi
Android MediaPlayer does not support playback at speeds greater than 1, because its very resource intensive to decode video faster than that. The recommended way right now is to skip forward/backwards by some number of seconds, which I think you are already doing. 2008/9/4 Iroid [EMAIL

[android-developers] Re: google sdk and eclipse plugin

2008-09-04 Thread Megha Joshi
Try using http:// instead of https://. 2008/9/4 [EMAIL PROTECTED] [EMAIL PROTECTED] I wanted to try to develop some application for Android and downloaded SDK and wanted to get Eclipse Android plugin. But location https://dl-ssl.google.com/android/eclipse/ wasn't found. And from Eclipse

[android-developers] Re: [Mac OS X] webView.loadUrl question

2008-09-04 Thread RPO
I have the same problem with the new version (0.9) of the SDK. The following code: package com.good.atg.browserSample; import android.app.Activity; import android.os.Bundle; import android.webkit.WebView; public class BrowserSample extends Activity { WebView browser; public void

[android-developers] Re: Wi-Fi tutorail

2008-09-04 Thread Oskeol
Thanks Mark. Now i'm really clear about it. I would like to develop a distributed application. Each device should automatically explore the local environment searching for other compatible devices. Devices can be posesed by people i do not know. I guess Bluetooth would be just fine for me, and

[android-developers] Re: Wi-Fi tutorail

2008-09-04 Thread Mark Murphy
Oskeol wrote: I guess Bluetooth would be just fine for me, and wi-fi doesn't help? Bluetooth would work for extremely local (i.e., Bluetooth-range) distances, but the Android 1.0 SDK will not have the Bluetooth API for you to use. Perhaps it will in a future release. WiFi or 3G/EDGE-type

[android-developers] Re: [Mac OS X] webView.loadUrl question

2008-09-04 Thread Mark Murphy
RPO wrote: I have the same problem with the new version (0.9) of the SDK. The following code: snip produces the Web page not available message. And yes, I added uses-permission android:name=android.permission.INTERNET / to my AndroidManifest.xml file. I am running on a Windows

[android-developers] Re: TabActivity throws SecurityException in specific cases only

2008-09-04 Thread hackbod
In 1.0 you can't replace activities embedded inside of another (unless you are running with the same uid as the container), you can only replace the entire top-level container. On Sep 4, 2:52 am, i_am_on_android [EMAIL PROTECTED] wrote: Hi, I am trying to replace the default contacts view in

[android-developers] Re: ACTION_PICK_ACTIVITY: anyone have this working?

2008-09-04 Thread hackbod
I'm not really sure I understand what you want to do. The protocol for PICK is very simply: the data is the URI of items you want to pick from, and the result returned is a URI of the one that was picked, as described here:

[android-developers] Updated Masa to 0.9 SDK

2008-09-04 Thread Shane Isbell
I checked in some fixes into trunk for Masa (Maven plugins). Android 0.9 SDK is now supported. Feel free to check it out and report any problems. http://code.google.com/p/masa/ Thanks, Shane --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Quirky behavior when rotating screen in API Demos sample, Progress dialog

2008-09-04 Thread blindfold
Adding one debug output line to AlertDialogSamples.java to get super.handleMessage(msg); Log.i(OIC, mProgress = + mProgress); shows that the handler keeps incrementing mProgress under the condition that I mentioned, but without dismissing the dialog when mProgress reaches 100 (and indeed

[android-developers] Re: Quirky behavior when rotating screen in API Demos sample, Progress dialog

2008-09-04 Thread Romain Guy
Because it's the old Handler for the old ProgressDialog. A new ProgressDialog is created when the screen orientation change. That new progress dialog should have a new handle to take care of it. And the activity should stop the handler in onDestroy() to avoid keeping it running for a while after

[android-developers] Re: Web search

2008-09-04 Thread android_dev
Any plans to have business and/or local search in 1.0? On Sep 3, 2:02 pm, Megha Joshi [EMAIL PROTECTED] wrote: 2008/9/3 android_dev [EMAIL PROTECTED] How to get web search results in an application (without launching the browser)? Can the getFromLocationName(...) be used for getting

[android-developers] Re: Web search

2008-09-04 Thread Megha Joshi
2008/9/4 android_dev [EMAIL PROTECTED] Any plans to have business and/or local search in 1.0? No..these APIs will not be ready in time for 1.0 launch. On Sep 3, 2:02 pm, Megha Joshi [EMAIL PROTECTED] wrote: 2008/9/3 android_dev [EMAIL PROTECTED] How to get web search results in

[android-developers] Re: ACTION_PICK_ACTIVITY: anyone have this working?

2008-09-04 Thread hackbod
The PICK_ACTIVITY action may be implemented in some code that isn't included with this SDK. What are you trying to do accomplish with it? What it is usually used for is to display to the user a list of activities for them to pick -- such as the top-level main main activities you can launch. I

[android-developers] Re: ACTION_PICK_ACTIVITY: anyone have this working?

2008-09-04 Thread Mark Murphy
hackbod wrote: The PICK_ACTIVITY action may be implemented in some code that isn't included with this SDK. What are you trying to do accomplish with it? Write about it in a chapter in my book. These sort of introspection mechanisms (e.g., addIntentOptions(), the discarded

[android-developers] Re: ACTION_PICK_ACTIVITY: anyone have this working?

2008-09-04 Thread hackbod
On Sep 4, 3:57 pm, Mark Murphy [EMAIL PROTECTED] wrote: Write about it in a chapter in my book. Ah! I'm not sure how much this one is worth covering, but anyway. :) These sort of introspection mechanisms (e.g., addIntentOptions(), the discarded ActivityAdapter/ActivityIconAdapter) are one

[android-developers] Re: How to use SmsManager.sendDataMessage() to send the message

2008-09-04 Thread plusminus
*bump* I'd like to know that too. How to receive DataMessages then? Btw: your bug may be reated to this one: http://code.google.com/p/android/issues/detail?id=856 Best Regards, plusminus # http://www.anddev.org - Worlds largest Android Development Community On 26 Aug., 05:13, anywhere [EMAIL

[android-developers] Re: ACTION_PICK_ACTIVITY: anyone have this working?

2008-09-04 Thread Mark Murphy
hackbod wrote: Actually I don't think I would structure the example that way -- it isn't really the kind of UI flow you would do, so this isn't how the action is intended to be used. What it is mainly used for is when you want to pop up a list of things for the user to choose from to fill in

[android-developers] IPsec support in Android

2008-09-04 Thread Henry Katz
Hello, Is there any support for software IPsec tunnels in Android? Does it have IKE, IKEv2 port? --~--~-~--~~~---~--~~ 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] Abstract Classes and Layouts

2008-09-04 Thread Jerome O'Neil
I have a couple of widgets that I would like to appear on each Activity within my application. I've been trying to set up an AbstractHandler that extends Activity that implements these common bits of code, and then have each of my Activity classes extend that, and then have those classes

[android-developers] Re: ACTION_PICK_ACTIVITY: anyone have this working?

2008-09-04 Thread hackbod
One thing I noticed -- the current implementation of the default CHOOSER activity does not quite work the same as when you get when using Menu.addIntentOptions() -- it will show all of the activities that match the intent, however it does not take care of filling in the intent action field if one

[android-developers] Re: Some help with webservices?!

2008-09-04 Thread Cezar Augustus Signori
Thanks for the response! Well, i still getting no results... i am using the following: permission xmlns:android=http://schemas.android.com/apk/res/android; android:name=android.permission.INTERNET/permission and.. uses-permission android:name=android.permission.INTERNET / something wrong or

[android-developers] Can't call startActivity() - real easy, please help

2008-09-04 Thread Mark Wyszomierski
Hi, Just downloaded the new beta version. I can't launch a new activity from my start activity. I followed the Forwarding.java example. This is what I have: Intent intent = new Intent(); intent.setClass(Forwarding.this, ForwardTarget.class);

[android-developers] Re: Can't call startActivity() - real easy, please help

2008-09-04 Thread Peli
Is your start activity class called Forwarding? If not, you should change the second line to the name of your class. In most cases you can just use this (instead of Forwarding.this). Does this help? If not, it would be useful if you could post the logcat error message, or more of your code.

[android-developers] Re: Can't call startActivity() - real easy, please help

2008-09-04 Thread Mark Wyszomierski
Hi Peli, Thanks for the info. I think I found what it was, I accidentally remembered something about the manifest file in the old SDK versions. Sure enough, we need to explicitly add the Activity names in the app before starting them. It would be useful if the exception thrown mentioned that

[android-developers] No internet connectivity - no browser, no maps?

2008-09-04 Thread Mark Wyszomierski
Hi, Just got the latest beta 0.9 version on my win32 system. I can't access any web pages through the web browser, or any map data through the maps sample applications. I know I'm connected to the internets because, well I'm writing this to you all right now. I'm not behind a firewall, don't

[android-developers] Re: Replacement for MapView's OnLongPressListener

2008-09-04 Thread plusminus
So for everyone who is interested, this is my solution: http://www.anddev.org/viewtopic.php?p=# (Funny post-id ^^) Best Regards, plusminus for anddev.org On 3 Sep., 17:05, Megha Joshi [EMAIL PROTECTED] wrote: 2008/9/3 Megha Joshi [EMAIL PROTECTED] 2008/9/1 plusminus [EMAIL

[android-developers] Map won't display

2008-09-04 Thread [EMAIL PROTECTED]
I have subclassed the MapActivity and created the new MapView but when I launch my application it won't display a map. The Maps app that comes with the SDK does work. here is my code: public class perimeter extends MapActivity { protected MapView MyMapView = null; /** Called

[android-developers] Re: Map won't display

2008-09-04 Thread Mark Wyszomierski
I think you need to add these to your manifest file: manifest xmlns:android=http://schemas.android.com/apk/res/android; package=myfingpackage uses-permission android:name=android.permission.INTERNET / uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION /