[android-developers] Re: Developing a 2D game on Android

2008-08-28 Thread Steve Oldmeadow
Thanks Romain. I must admit to thinking that is some damn tricky stuff to pull off, I look forward to seeing it eventually. Back to the drawing board for me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android D

[android-developers] Re: Developing a 2D game on Android

2008-08-28 Thread Romain Guy
Yes, it will be dropped for 1.0. We didn't have enough time to make this feature rock solid, so there are some important problems left. The mapping is also incomplete between the 2D API and the OpenGL pipeline. Because of this, we decided to disable this feature in 1.0. On Thu, Aug 28, 2008 at 11

[android-developers] Re: pop up menu

2008-08-28 Thread jalandar
plz give me code , to create popup menu eg. when I create on Options there should be list of menu Items Options-->1.New note-->a.send ,b.delete,c.exit 2.help 3.exit Again when I Click on New Note ,there should be list of sub_items send , delete and exit is this possib

[android-developers] Re: Developing a 2D game on Android

2008-08-28 Thread Steve Oldmeadow
What is happening with the FEATURE_OPENGL flag? The docs still indicate it will allow 2D APIs to be hardware accelerated. Is this being dropped for 1.0? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] Re: Feature Request: Virtual Contacts Content Provider

2008-08-28 Thread jtaylor
Well, what is this android.content.SyncProvider and android.content.SyncableContentProvider? A Virtual Contacts Provider does alot with Sync. That's probably the main thing it does, while reputation etc. is on the server. It may have a special table as part of the provider/database where different

[android-developers] Linux on the iPhone

2008-08-28 Thread Brill Pappin
I havnt been following the group yet, but a g*search came up with a post about linux on the iphone and how it was unlikely. In case people here have not seen it: http://www.iphonelinux.org/index.php/Main_Page I assume that if you can get Linux running on an iPhone, you can get Android on an iPho

[android-developers] Re: question about service and thread

2008-08-28 Thread april
Thanks. I found a useful tutorial to share with friends here: http://developerlife.com/tutorials/?p=290 April On Aug 26, 11:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > you need to create handler = new android.os.Handler() attached to the > current thread and use this function called

[android-developers] Re: How to install system fonts?

2008-08-28 Thread hackbod
Yeah I am sure this will be improved in the future. If the fully qualified class name is an issue, you can overide Activity.onCreateView() to provide a shorter alias for it. On Aug 28, 2:56 pm, Andrew Dupont <[EMAIL PROTECTED]> wrote: > On Aug 28, 4:41 pm, hackbod <[EMAIL PROTECTED]> wrote: > >

[android-developers] Re: question about service and thread

2008-08-28 Thread april
I am interested in " Having the service be in a whole 'nuther process", could you give me an example? Thanks! April On Aug 27, 5:13 am, Mark Murphy <[EMAIL PROTECTED]> wrote: > april wrote: > > I am doing a game, which needs to update server player's status. In my > > code , I first put those in

[android-developers] Re: problem Porting to 0.9 sdk, anyone please guide me... thanks...

2008-08-28 Thread Wesley
Hi, When I try on ApiDemos on 0.9 sdk... I got this error o... [2008-08-29 11:48:59 - ApiDemos] aidl: unable to open file for read: C:\wDir\eclipse\ApiDemos\src\com\google\android\samples\app\IRemoteService.aidl How to solve it??? Any one have any idea??? Wesley. On Thu, Aug 28, 2008 at 2:12

[android-developers] Re: How to install system fonts?

2008-08-28 Thread Andrew Dupont
On Aug 28, 4:41 pm, hackbod <[EMAIL PROTECTED]> wrote: > No, there isn't an easier way built in to the system.  Sorry.  You > could make your own subclass of text view that applies the font you > want, and use that instead of the regular text view, but whatever you > do will need to be your own co

[android-developers] AutoCompleteTextView showing filtered results

2008-08-28 Thread sacoskun
Hello, I am using AutoCompleteTextView with my custom adapter which implements Filterable. On the getFilter() method, I am able create a new Filter instance and override performFiltering() method to find the matched results. Inside performFiltering all the matched results are added into FilterRe

[android-developers] 'adb wait-for-device' does not work in beta SDK

2008-08-28 Thread Cheryl Sedota
The 'wait-for-device' adb flag does not work in the beta SDK... I try executing this: adb wait-for-device shell am start -a android.intent.action.MAIN -n com.frogdesign.sampleapp/com.frogdesign.sampleapp.MyActivity ... and I get this: Error type 2 Error: Unable to connect to activity manager; i

[android-developers] Re: Generic ADT problem?

2008-08-28 Thread Teo Hong Siang
Well, it appears that the problem has something to do with the java version under Preferences/Java/Installed JRE. I was using 64-bit Java 1.6.0. When I switch to 64-bit java 1.5.0, the "Generic ADT problem" disappears. I wonder if this is a bug. On Aug 27, 12:03 pm, "Megha Joshi" <[EMAIL PROTEC

[android-developers] Re: onNewIntent in v0.9

2008-08-28 Thread hackbod
On Aug 28, 3:42 pm, hackbod <[EMAIL PROTECTED]> wrote: > In addition, you can use "adb dumpsys activity" to see the current > state of the activity stack to try to diagnose what is going on in > your application. Sorry this should be "adb shell dumpsys activity" --~--~-~--~~-

[android-developers] Re: onNewIntent in v0.9

2008-08-28 Thread hackbod
Hi Guillaume, there is really not enough information here to help you. The onNewIntent() and onRestoreInstanceState() methods do generally work, they are used in many places. You'll need to be more specific about what you are doing to be able to get help. It also can be useful to include the ou

[android-developers] Re: Custom Components in a different package?

2008-08-28 Thread hackbod
Correct, we don't support shared libraries in 1.0. If you want to directly link against a class, you'll need to build it directly in to each .apk that links with it. On Aug 28, 3:02 pm, Jey <[EMAIL PROTECTED]> wrote: > Thanks Brad.  Thats my understanding, that we cannot share jar files. > I tho

[android-developers] Re: How to push a .so file to /system/lib in version beta 0.9???

2008-08-28 Thread hackbod
This stuff is out of the bounds of developing applications with the SDK, so the discussion perhaps more belongs on the android internals group. Note that making these kinds of changes is not something that we are supporting at all until the future when the platform is open- sourced and you can ma

[android-developers] Re: StackOverflowError when clearing and refocusing a ghosted text view

2008-08-28 Thread Romain Guy
The ghost text you are talking about is called "hint" in TextView/EditText. On Thu, Aug 28, 2008 at 3:19 PM, Cheryl Sedota <[EMAIL PROTECTED]> wrote: > > I am getting a StackOverflowError when I try to clear a ghosted text > view's focus - see below. I have gotten this error in the past when > m

[android-developers] StackOverflowError when clearing and refocusing a ghosted text view

2008-08-28 Thread Cheryl Sedota
I am getting a StackOverflowError when I try to clear a ghosted text view's focus - see below. I have gotten this error in the past when my UI layout hierarchy was very deep but in this case it's not extremely deep. Is there an alternate way I can clear focus from a field and update the ghost te

[android-developers] Re: How to push a .so file to /system/lib in version beta 0.9???

2008-08-28 Thread Cheryl Sedota
Even still, if I rebuild the system image the emulator will not successfully load that new system image. In my case I am swapping the default Droid font out for my own font and the emulator just loops through initialization code but never actually comes up with the modified beta system image. I

[android-developers] Re: ListView issues in 0.9 beta

2008-08-28 Thread kingkung
Okay, it seems to have something to do with the focus. My layout contains a title button followed by a ListView, and the title button has focus first. When I press DOWN once, the first item of the ListView is then highlighted, but the list has not reloaded as it should. However, when I press UP

[android-developers] Re: Custom Components in a different package?

2008-08-28 Thread Jey
Thanks Brad. Thats my understanding, that we cannot share jar files. I thought you had(cked) a way to pass jar files to dx, which I could follow. Never mind. thanks for the response, -Jey On Aug 28, 10:58 am, Brad Larson <[EMAIL PROTECTED]> wrote: > I was able to get it working in Eclipse by

[android-developers] Android Maps source code

2008-08-28 Thread nader
Hi all, I added this page on my web site, it might help you, it contains Maps application code :), it was hard, but worth it http://nader.shalabi.googlepages.com/androidapplications If there is an interest in the code of the other applications, drop me email, I am still working on them. Nader A

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

2008-08-28 Thread Antonio Villar
I followed the 8 steps, but always get the same: 08-28 23:42:42.888: DEBUG/LocationSample(157): location changed : Location[mProvider=gps,mTime=0,mLatitude=0.0,mLongitude=0.0,mHasAltitude=true,mAltitude=10.0,mHasSpeed=false,mSpeed=0.0,mHasBearing=false,mBearing=0.0,mHasAccuracy=false,mAccuracy=0.

[android-developers] Re: Feature Request: Virtual Contacts Content Provider

2008-08-28 Thread hackbod
There is no need for a new type of ContentProvider. A ContentProvider is just a very abstract interface to a structured data store. I can't imagine anything about a "virtual contacts provider" that would require a new kind of basic content provider. As far as device to device communication, yes

[android-developers] Re: Developing a 2D game on Android

2008-08-28 Thread hackbod
If you are doing a game where FPS matters, use OpenGL. OpenGL isn't just for 3d, it is a very good high performance 2d or 3d drawing API that can be hardware accelerated. Just switch what you are doing in the SurfaceView from the Canvas API to the OpenGL API. On Aug 28, 1:36 pm, ross <[EMAIL PR

[android-developers] Re: How to install system fonts?

2008-08-28 Thread hackbod
No, there isn't an easier way built in to the system. Sorry. You could make your own subclass of text view that applies the font you want, and use that instead of the regular text view, but whatever you do will need to be your own concoction. On Aug 28, 2:39 pm, Cheryl Sedota <[EMAIL PROTECTED]

[android-developers] Re: How to install system fonts?

2008-08-28 Thread Cheryl Sedota
But if I do it that way, the only way that I know of to apply that font to all of my text views in my ~ 10 android applications is to create a Typeface java object and manually set it (in java code) on each of those text views... is there an easier way that you know of, because that is absolutely

[android-developers] Re: Problem with bindService

2008-08-28 Thread Justin (Google Employee)
What is this "com.android.example.MUSIC_SERVICE" that you are referring to? Regards, Justin Android Team @ Google On Aug 25, 12:08 pm, marielisacr <[EMAIL PROTECTED]> wrote: > Hi, > > I am working on an application and I am trying to migrate it to 0.9 > I am trying to use a remote service but wh

[android-developers] Re: Abort SMS broadcast

2008-08-28 Thread Justin (Google Employee)
As I said, you *can't* do this. Consider how dangerous this would be. Users are generally charged per SMS or per SMS over a certain limit, even "unlimited" plans usually have some limit where they charge you more or terminate your service. What you want to do could end up cost some users great amo

[android-developers] Re: Developing a 2D game on Android

2008-08-28 Thread ross
Hi Romain, Thanks for the info. I am actually using a SurfaceView now. I am doing something like the following in my main game thread: public void run() { , SurfaceHolder holder = while( infinity! ;) ) { update! Canvas canvas = holder.lockCanvas(); myPaint(ca

[android-developers] Re: Order of Axis Values in onSensorChanged

2008-08-28 Thread Justin (Google Employee)
> I assume it's [x, y, z] No, those are not how orientation coordinates are given. I think you want http://code.google.com/android/reference/android/hardware/SensorManager.html#SENSOR_ORIENTATION As http://code.google.com/android/reference/android/hardware/SensorListener.html said, see SensorMa

[android-developers] sd card

2008-08-28 Thread Amin
Can anyone tell me how can I open a file(text file, word file, ...) of my sd card image through my application(file browser)... I tried this Intent myIntent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("file://home/sdcard.img/test.txt")); but didn't

[android-developers] Re: Feature Request: Virtual Contacts Content Provider

2008-08-28 Thread jtaylor
Correction: I was meaning a 'Virtual Contacts Provider' not a new type of Content Provider. However, I ended up meaning probably both a Provider (like contacts) and a new type of Content Provider. - Juan T. On Aug 27, 4:17 pm, jtaylor <[EMAIL PROTECTED]> wrote: > The problem with Contacts in mo

[android-developers] Re: Developing a 2D game on Android

2008-08-28 Thread Romain Guy
> My understanding was that 2D graphics implemented on top of the Canvas > class would also be accelerated to some extent on the device. Is this > not the case? No, currently the Canvas class uses pure software rendering. This may change in the future though. > Are 2D graphics operations done

[android-developers] Re: Developing a 2D game on Android

2008-08-28 Thread ross
Hi hackbod, My understanding was that 2D graphics implemented on top of the Canvas class would also be accelerated to some extent on the device. Is this not the case? Are 2D graphics operations done on top of OpenGL substantially faster on device than 2D graphics operations done on top of Canva

[android-developers] Re: GPS LocationProvider journey simulation

2008-08-28 Thread munzelmann
For those who are still struggling with ddms and location updates: I got this issue solved by moving my development tools from a German Windows XP to Debian Linux with an English locale. So it seems that ddms location updates are broken on Windows XP and/or German (or any non english?) Locale. -

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

2008-08-28 Thread munzelmann
After two days fishing in the dark I get now correct location updates from ddms with both manual updates and gmx files. What did I do? I moved from a German Windows XP to Linux with an English locale. So it seems that ddms location updates are broken on Windows XP and/or German (or any non english

[android-developers] Re: ListView issues in 0.9 beta

2008-08-28 Thread kingkung
Update... getListView().invalidateViews() seems to be called just fine... it's just that the ListAdapter doesn't seem to be re-calling getView() on the list items, even though invalidateViews() has been called... On Aug 28, 12:07 pm, kingkung <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having issues

[android-developers] ListView issues in 0.9 beta

2008-08-28 Thread kingkung
Hi, I'm having issues with ListView in 0.9 beta that worked fine in m5. I have an onItemSelectedListener registered on my listview, so when I select an item in the list, the list should invalidate and the item should expand to reveal more information. getListView().setOnItemSele

[android-developers] Re: How to install system fonts?

2008-08-28 Thread Mark Murphy
> Will there be any support for adding a system font in Android 1.0? In theory, you shouldn't need to. Most applications should be able to just use their own embedded TrueType fonts (plus the Droid built-in series). A system font, to me, suggests something multiple applications will be assuming i

[android-developers] Re: HttpPost - setting parameters but the web page is not receiving them?

2008-08-28 Thread Justin (Google Employee)
Thanks Mark, that pretty much exactly what I was going to say! Cheers, Justin Android Team @ Google On Aug 27, 6:13 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > Zack wrote: > > I'm definitely missing something here. Seems like a catch 22 to me. > > Can't setEntity w/o setContent w/o magically

[android-developers] Re: Remote 3GP video in 0.9 SDK

2008-08-28 Thread Justin (Google Employee)
I don't believe RTSP will work in the emulator. The emulator currently has some issues with handling UDP packets, which RTSP uses. Sorry. Regards, Justin Android Team @ Google On Aug 28, 3:02 am, jayant <[EMAIL PROTECTED]> wrote: > Hi All, > > Can anyone post an rtsp link which works fine.. > gu

[android-developers] Re: MapView and Zoom Control in 0.9 SDK

2008-08-28 Thread marcel-182
Hi all, I extended the MapActivity with some basic functionality for my project to avoid redundant work. Zoom controls are also working fine. So if anyone is interested, you can get a demo here: http://www.marcelp.info/files/BasicMapDemo.zip Feel free to use it in your applications. On 27 Aug.,

[android-developers] Re: How to install system fonts?

2008-08-28 Thread Cheryl Sedota
Will there be any support for adding a system font in Android 1.0? On Aug 17, 2:49 pm, giolekva <[EMAIL PROTECTED]> wrote: > Thanks it helped me ;) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Re: Extracting Cookies from Http Responses etc.

2008-08-28 Thread Justin (Google Employee)
If you are using the same HttpClient object for all the requests, the cookie handling should be done for you automatically. If you want to change the value of Cookies or add additional ones, then use DefaultHttpClient.getCookieStore() and manipulate them from there. Cheers, Justin Android Team @

[android-developers] Re: Errors with android httpclient (Thread forbids HTTP requests)

2008-08-28 Thread Justin (Google Employee)
No, you should be using that class. Use org.apache.http.impl.client.DefaultHttpClient (or other applicable client class in that package). org.apache.http.impl.* is also undocumented, but *should* have been and will be in the next release of the SDK. However, you *should not* be doing http request

[android-developers] Re: Logging to File

2008-08-28 Thread dyonis
how do I work on google - Original Message - From: "Justin (Google Employee)" <[EMAIL PROTECTED]> To: "Android Developers" Sent: Thursday, August 28, 2008 2:11 PM Subject: [android-developers] Re: Logging to File > > The problem is with the path you suppled. By saying "droid.log", it >

[android-developers] Re: Comunication Server->Phone: SMS directed to an application (0.9 SDK)

2008-08-28 Thread Megha Joshi
2008/8/26 Cristina <[EMAIL PROTECTED]> > > Hi! > > We are designing an application for android phones. In our application > there is a central server, and this server must send some application > information to the phone. > So, we thought to use SMS in order to communicate with our application > i

[android-developers] Re: Logging to File

2008-08-28 Thread Justin (Google Employee)
The problem is with the path you suppled. By saying "droid.log", it will try to write to /droid.log , which you don't have write access to. Android applications on have write access to their subdirectory of the file system, generally speaking. Your code should look like this: handler

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

2008-08-28 Thread Brett Chabot
Hi all: Please try the following: 1. Download and extract LocationSample.zip from http://groups.google.com/group/android-developers/files 2. From Eclipse main menu, select File > Import ... Existing Projects into Workspace, and import extracted LocationSample into workspace 3. From Package Explor

[android-developers] Re: Custom Components in a different package?

2008-08-28 Thread Brad Larson
I was able to get it working in Eclipse by setting my project to include the source from the library project. I was never able to get it to work if I used .jar files. The including source route works because the source gets built into the same /bin folder, and dx converts any .class files in the

[android-developers] Re: Errors with android httpclient (Thread forbids HTTP requests)

2008-08-28 Thread rajesh
Also the require permission is available in manifest file. On Aug 28, 10:55 pm, rajesh <[EMAIL PROTECTED]> wrote: > public class AndroidHttpActivity extends Activity { >         private Context context; > >          /** Called when the activity is first created. */ >   @Override >   public void o

[android-developers] Re: Errors with android httpclient (Thread forbids HTTP requests)

2008-08-28 Thread rajesh
public class AndroidHttpActivity extends Activity { private Context context; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.http);

[android-developers] Re: Geeting Error in New SDK:- emulator: broken configuration file doesn't have 'window' element

2008-08-28 Thread Dipen
Thanks for your Ralf. I have solved this problem. I just added emulator path to my variable environment, and error disappeared. Dipen On Aug 26, 11:31 am, Dipen <[EMAIL PROTECTED]> wrote: > Ralf, > > I am using Windows XP Pro., if i launch emulator from command line i > get error which I mentio

[android-developers] Re: Errors with android httpclient (Thread forbids HTTP requests)

2008-08-28 Thread Justin (Google Employee)
There's not enough information here to really know what you're doing, can you post your code? Cheers, Justin Android Team @ Google On Aug 28, 6:47 am, Snem <[EMAIL PROTECTED]> wrote: > Put in a thread (Handler handler = new android.os.Handler(); > handler.post(httpHandler);) > added > to manife

[android-developers] Re: Will android provide Mail API??

2008-08-28 Thread Mark Murphy
> 1. Will android provide Mail API?? There does not appear to be a public API for mail, such as javax.mail, in the 0.9 SDK. That being said, JavaMail worked under M5, if you found the right JAR files. I haven't tried it yet under 0.9, but I should within a week. -- Mark Murphy (a Commons Gu

[android-developers] Re: Errors with android httpclient (Thread forbids HTTP requests)

2008-08-28 Thread Snem
Put in a thread (Handler handler = new android.os.Handler(); handler.post(httpHandler);) added to manifest file Still error "java.lang.RuntimeException: This thread forbids HTTP requests" logcat log: W/System.err( 484): java.lang.RuntimeException: This thread forbids HTTP requests W/System.er

[android-developers] Will android provide Mail API??

2008-08-28 Thread elvisw
Hi, everyone, Some questions here.. 1. Will android provide Mail API?? 2. there are mail implementation under apps/Email/ folder, does IMAP stuff under the folder follow IMAP4 protocol ?? elviselle. --~--~-~--~~~---~--~~ You received this message becau

[android-developers] Re: active note application

2008-08-28 Thread jalandar
Thanks a lot For your valuable help --~--~-~--~~~---~--~~ 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,

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

2008-08-28 Thread Antonio Villar
I have the same problem with DDMS throgh eclipse. I tried in linux and windows, with eclipse 3.3 and 3.4 and always got location 0,0. I hope to fix this problem soon On Aug 26, 3:44 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > In the standard maps application, my position is always at latit

[android-developers] Re: Developing a 2D game on Android

2008-08-28 Thread hackbod
Our graphics APIs are OpenGL and the android.graphics.Canvas classes. You can use the parts of those that you want, but there isn't any special "2d game API" with just simple 2d operations. On Aug 28, 7:40 am, crayon- <[EMAIL PROTECTED]> wrote: > Well I'm making a 2D RPG, or at least my plan is t

[android-developers] Re: Custom action code problem

2008-08-28 Thread hackbod
On Aug 28, 1:13 am, hilti <[EMAIL PROTECTED]> wrote: >                 Intent intent = new Intent("custom.action.SECOND_ACTION"); Of course that isn't -really- the name you are using for the action, right? You are scoping it to your own personal namespace, correct? --~--~-~--~~-

[android-developers] Re: Browser crash

2008-08-28 Thread qvark
OK, issue 836 created with the 'adb bugreport' output attached ;) http://code.google.com/p/android/issues/detail?id=836 On 27 ago, 23:58, Brett Chabot <[EMAIL PROTECTED]> wrote: > Yes, please do submit a bug in the tracker. Thanks for the report. > > Regards, > Brett. > > On Aug 27, 2:51 pm, qva

[android-developers] Re: Unable to display maps in API Demo

2008-08-28 Thread nader
Hi my old friend, I added this page on my web site, it might help you, it contains Maps application code :), it was hard, but worth it http://nader.shalabi.googlepages.com/androidapplications If there is an interest in the code of the other applications, drop me email, I am still working on them

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

2008-08-28 Thread Chris Chiappone
Seems like not much point in overriding ItemizedOverlay, what added functionality do you really get then just overriding Overlay? On Thu, Aug 28, 2008 at 3:24 AM, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > > Contact and LocationOverlayItem (extending OverlayItem to set fields > based on a Cont

[android-developers] ddms Error

2008-08-28 Thread Dipen
Hi, Group ! How do i resolve following ddms error? 09:08 E/ddms: shutting down due to uncaught exception 09:08 E/ddms: java.lang.UnsatisfiedLinkError: /home/fdd001/android/ android-sdk-linux_x86-0.9_beta/tools/lib/libswt-pi-gtk-3232.so: /home/ fdd001/android/android-sdk-linux_x86-0.9_beta/tools/

[android-developers] Video in resource

2008-08-28 Thread bleucalme
Hi, Is it planned to support playing videos contained in the resource? I would like my application to play with a video intro contained in the .apk. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android D

[android-developers] Re: Developing a 2D game on Android

2008-08-28 Thread crayon-
Well I'm making a 2D RPG, or at least my plan is to do that, so really the only actual graphical tools I need are for placing images, or to be more precise, placing tiles, like in SDL that a character can move on etc. Basically I don't need advanced graphical features, I really just need the basic

[android-developers] Re: Crash reading by 16384 of file

2008-08-28 Thread Jon Webb
That's all done -- issue 811. Android has confirmed the bug and will assign it to an engineer. -- J On Aug 27, 3:42 pm, Ralf <[EMAIL PROTECTED]> wrote: > Please file a bug in the tracker with a little snippet of code to reproduce > it. > > R/ > > On Wed, Aug 27, 2008 at 9:06 AM, Jon Webb <[EMAIL

[android-developers] Re: BroadcastReceiver not receiving PROXIMITY_ALERTs

2008-08-28 Thread woodm
Nevermind...it was a /stupid/ mistake. The PendingIntent I was supplying was fetched from PendingIntent.getActivity() where as it should have been called with PendingIntent.getBroadcast(). It works fine now :-) On Aug 28, 2:43 pm, woodm <[EMAIL PROTECTED]> wrote: > Thanks for getting back to me

[android-developers] Re: BroadcastReceiver not receiving PROXIMITY_ALERTs

2008-08-28 Thread woodm
Nevermind...it was a /stupid/ mistake. The PendingIntent I was supplying was fetched from PendingIntent.getActivity() where as it should have been called with PendingIntent.getBroadcast(). It works fine now :-) On Aug 28, 2:43 pm, woodm <[EMAIL PROTECTED]> wrote: > Thanks for getting back to me

[android-developers] Re: BroadcastReceiver not receiving PROXIMITY_ALERTs

2008-08-28 Thread woodm
Thanks for getting back to me so quickly. I've altered my code to define my own intent (.action.PROXIMITY_ALERT). However, doing this simply yielded the same results. I also added the following line: proxIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); prior to creating the PendingIntent. I then

[android-developers] Re: onNewIntent in v0.9

2008-08-28 Thread Guillaume Perrot
Another lifecycle problem: onRestoreInstanteState is never called when I relaunch my activity after pressing HOME (and the onCreate is not called so the activity hasn't been recreated). On Aug 28, 1:38 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > In M5 I used notifications with intents (with

[android-developers] Re: Droid Fonts License: does it allows to redistribute them?

2008-08-28 Thread Peter
Is this mailing list correct place for this question? If not, where should I ask? Thank you. On 26 авг, 13:12, Peter <[EMAIL PROTECTED]> wrote: > Hello. Android SDK contains fonts which are really nice by themselves. > But what license are they covered by? Is it possible for us to use in > our pr

[android-developers] Re: tabhost nextfocus

2008-08-28 Thread dai
Ok...let me know please if you have examples. On 8月28日, 午後10:02, "dyonis" <[EMAIL PROTECTED]> wrote: > someone has examples of a program to Android > > - Original Message - > From: "dai" <[EMAIL PROTECTED]> > To: "Android Developers" > Sent: Thursday, August 28, 2008 8:59 AM > Subject: [

[android-developers] Re: tabhost nextfocus

2008-08-28 Thread dyonis
someone has examples of a program to Android - Original Message - From: "dai" <[EMAIL PROTECTED]> To: "Android Developers" Sent: Thursday, August 28, 2008 8:59 AM Subject: [android-developers] tabhost nextfocus > > Hi, guys. Does anyone know how to set nextFoucsUp/Down/Left/Right > wit

[android-developers] tabhost nextfocus

2008-08-28 Thread dai
Hi, guys. Does anyone know how to set nextFoucsUp/Down/Left/Right within Tabhost View? I wanna move focus within each tab.. Thanks in advance, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group

[android-developers] Re: ListView - If you have a item that can focus you can select the Item

2008-08-28 Thread marielisacr
Thanks very much for the suggestions and the answer, I will try that. --~--~-~--~~~---~--~~ 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.c

[android-developers] SharedPreferences not stored betweed 2 emulator launch

2008-08-28 Thread CG
Hi, I have the following unexpected behaviour : -> 1 start my application -> I define a preference, thanks to the new mechanism (preferences inflated from XML) -> I stop my application OPTION 1 : -> I start my application for a second time, I check the preferences, value is OK OPTION 2 : -> I c

[android-developers] Re: Feature Request: Virtual Contacts Content Provider

2008-08-28 Thread jtaylor
And then RPC, this device to device communication I don't believe is even going to work without being on top of a social app infrastructure. - Juan T. On Aug 28, 6:03 am, Peli <[EMAIL PROTECTED]> wrote: > > Yeah too late for 1.0. :}  But you know, there is no reason someone > > else couldn't wr

[android-developers] Re: Feature Request: Virtual Contacts Content Provider

2008-08-28 Thread jtaylor
It would nice to explore how to build a whole infrastructure (through a "Virtual Contacts Content Provider") for Social Apps. A company like Facebook probably doesn't just want to be on webkit. It wants the profiles to be in a content provider for fast access outside the network, syncing from time

[android-developers] Re: Feature Request: Virtual Contacts Content Provider

2008-08-28 Thread jtaylor
Why was I thinking the contacts provider was different and standard? :) - Juan T. On Aug 28, 2:03 am, hackbod <[EMAIL PROTECTED]> wrote: > Yeah too late for 1.0. :}  But you know, there is no reason someone > else couldn't write such a thing -- the contacts provider itself is > just an app and

[android-developers] Re: BroadcastReceiver not receiving PROXIMITY_ALERTs

2008-08-28 Thread Mark Murphy
woodm wrote: > Actually. after having a closer look at the Intent documentation does > PROXIMITY_ALERT even exist anymore!? There's nothing to say you need to use their namespace for your action. In fact, I'm under the impression you should use your own namespace, to prevent potential collision

[android-developers] Re: Custom action code problem

2008-08-28 Thread hilti
Yap, it works. Thanks for your help. On 28 Aug., 11:33, Teo Hong Siang <[EMAIL PROTECTED]> wrote: > Try specifying the CATEGORY_DEFAULT in your intent filter for the > second activity. > > From android.content.Intent: > "Activities will very often need to support the CATEGORY_DEFAULT so > that t

[android-developers] onNewIntent in v0.9

2008-08-28 Thread Guillaume Perrot
In M5 I used notifications with intents (with extra arguments) to handle special commands. If my activity was already started (the main activity of my application), onNewIntent was called. My activity has the singleTop launch mode manifest attribute. In v0.9, onNewIntent is not called anymore, how

[android-developers] Re: Simulator is slow to start up

2008-08-28 Thread kevinr
Ralf, I would say the Android emulator should have a comparable startup time to the iPhone simulator (which is extremely fast to startup and also to reuse - seconds for each of those actions). Since the emulator can be reused once started, that's very usable. But I think the Android developers

[android-developers] Re: BroadcastReceiver not receiving PROXIMITY_ALERTs

2008-08-28 Thread woodm
Actually. after having a closer look at the Intent documentation does PROXIMITY_ALERT even exist anymore!? woodm wrote: > Hey guys, > > I'm have a registered BroadcastReceiver that should receive proximity > alerts. I've added the proximity alerts to the objects and that is > successful, LogCat a

[android-developers] BroadcastReceiver not receiving PROXIMITY_ALERTs

2008-08-28 Thread woodm
Hey guys, I'm have a registered BroadcastReceiver that should receive proximity alerts. I've added the proximity alerts to the objects and that is successful, LogCat also gives me the message when I am in proximity of an object: 08-28 09:55:05.344: INFO/LocationManagerService(53): Entered alert

[android-developers] Re: Feature Request: Virtual Contacts Content Provider

2008-08-28 Thread Peli
> Yeah too late for 1.0. :}  But you know, there is no reason someone > else couldn't write such a thing -- Indeed, it sounds like a great extension for OpenIntents :-) We already have an open shopping list provider, a tags provider, a locations provider - so why not a virtual contacts provider?

[android-developers] Re: Remote 3GP video in 0.9 SDK

2008-08-28 Thread jayant
Hi All, Can anyone post an rtsp link which works fine.. gunaaa, can you please provide the external URL that was played.. All I am doing here is setting the path variable in the API Demo(MediaPlayerDemo) example to different links But none seems to work...In the error log I am getting followin

[android-developers] Re: Custom action code problem

2008-08-28 Thread Teo Hong Siang
Try specifying the CATEGORY_DEFAULT in your intent filter for the second activity. >From android.content.Intent: "Activities will very often need to support the CATEGORY_DEFAULT so that they can be found by Context.startActivity()." On Aug 28, 1:13 am, hilti <[EMAIL PROTECTED]> wrote: > Hi > > I

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

2008-08-28 Thread Guillaume Perrot
Contact and LocationOverlayItem (extending OverlayItem to set fields based on a Contact) are custom classes I created for my application, they're not important to understand my code. On 28 août, 11:20, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > Here is a code which is actually working, but wit

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

2008-08-28 Thread Guillaume Perrot
Here is a code which is actually working, but with manual draw, you can imitate my workaround for now. I hope an official answer will come up fast... /** Map layer displaying contact locations */ public class LocationOverlay extends ItemizedOverlay { /** Contacts with known location */ privat

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

2008-08-28 Thread Guillaume Perrot
Hi [EMAIL PROTECTED], I have no problem when using the geo telnet command. The position is correct and reverse geocoding works pretty well in France. I use the provider "gps". The only problem I have is that nothing works via Eclipse. I didn't try a programmatic mock provider. Did you set the righ

[android-developers] Custom action code problem

2008-08-28 Thread hilti
Hi I tried to define a private action code and use it in an Activity. But this ended up in an error: AndroidRuntime ... No Activity found to handle Intent { action=custom.action.SECOND_ACTION } It would be nice if someone could tell me if I'm doing something wrong. Here's the code. AndroidMan

[android-developers] Re: Is android:choiceMode implemented?

2008-08-28 Thread Guillaume Perrot
Of course it will be fixed in a later version, no doubt for that :p Unfortunately I always use the current version, not the next one, I am very unlucky. On 27 août, 17:55, "Romain Guy" <[EMAIL PROTECTED]> wrote: > It is a bug in the SDK 0.9 that we fixed since then. Sorry for the > inconvenience.