[android-developers] Re: Load a class from another .apk file dynamic?

2008-04-22 Thread Macro
There are none code at SVN? I want to reference how to use DexFile correctly... On 4月21日, 下午6时31分, tu [EMAIL PROTECTED] wrote: I have a solution based on android.dalvik.DexFile. see my projecthttp://code.google.com/p/rcpandroid/ 2008/4/21, frankl [EMAIL PROTECTED]: Hi chris.p,

[android-developers] Re: updating proximity alerts

2008-04-22 Thread Michael Rueger
hackbod wrote: It looks like a bug in the system, I'd suggest filing a bug report. :) It is already in the tracking system. Although I have a hard time understanding why it is only set to medium, as it touches an important core API of the system. But then, maybe developers don't make use of

[android-developers] Re: Bug in Snake and Lunar Landing with onKeyDown?

2008-04-22 Thread hanni
Hi! I believe this problem is due to a issueI have been following closely, issue #319. In my application, after using the touch device, the first DPAD keypress is consumed completely and there is nothing to do about it. The bug should be fixed now and the fix should be included in the next

[android-developers] Re: Load a class from another .apk file dynamic?

2008-04-22 Thread tu
See tips in http://blog.luminis.nl/luminis/entry/osgi_on_google_android_using I got the idea from this blog. 在08-4-22,Macro [EMAIL PROTECTED] 写道: There are none code at SVN? I want to reference how to use DexFile correctly... On 4月21日, 下午6时31分, tu [EMAIL PROTECTED] wrote: I

[android-developers] Network interface behaving erratically

2008-04-22 Thread Nitin Khanna
Hi! I am working on a Peer to Peer application. When I run this application in debug mode with emulator attached, the application and send and receive packets, however, when I run the application in Standalone mode, by simply launching it from the emulator. Sockets dont give any error, but they

[android-developers] How to set SQLite's write permission In SQLiteDatabase class?

2008-04-22 Thread Macro
There is a flag named OPEN_READWRITE in SQLiteDatabase, but how to use it in SQLiteDatabase.create()? In the document it said that OPEN_READWRITE is default, but while I create an database use SQLiteDatabase.create(String path), the other application cann't write it? How to create an database

[android-developers] How to communicate between two android devcies?

2008-04-22 Thread Pierre
Hi, all, If I want to send a multimedia message(text, image, video) from one devcie to another devcie, how to do that? How to make all the things(text, image, video) together to send them? Is it possible to send a file(image or video or text) as an attachment? Tkank you! Pierre

[android-developers] Re: RemoteService not found

2008-04-22 Thread WildLuka
sure, I have simply followed the RemoteService and RemoteServiceBinding example, declaring aidl interfaces. Mind you I'm running on windows and not sure whether that migth be the culprit. When I first tried to use aidl's I declared my own interfaces but I realized something went wrong, so I

[android-developers] Color State List Urgent

2008-04-22 Thread Greg
how can i use colors for two states HEllo mText.setTextColor(new ColorStateList( new int[][] { new int[] { android.R.attr.state_selected}, new int[1] }, new int[] { Color.rgb(255, 255,

[android-developers] Problem in Setting XMPP

2008-04-22 Thread Brijesh_Mindtree
Hi, I am using GTalkDataMessageSender demo from API Demos. I am facing the follwoing problem while setting XMPP setting in Dev Tools. The Error Says :- Network Error :- There was a network error while trying to authenticate specified gmail account. I am setting the XMPP behind the proxy. can

[android-developers] Re: Launching an activity from the web browser

2008-04-22 Thread David Given
Megha Joshi wrote: [...] Could you provide your relevant code to help understand your issue and debug this further... The relevant chunk from my manifest.xml looks like this: activity android:name=InstallerActivity android:theme=@android:style/Theme.Dialog intent-filter

[android-developers] Re: updating proximity alerts

2008-04-22 Thread Spencer Riddering
I'm also running into this problem. For anyone wanting to track this issue, the bug report is here: http://code.google.com/p/android/issues/detail?id=633 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Managed Cursor

2008-04-22 Thread Flik
I use managedQuery to start a managed cursor. That accomplishes the same thing right? On Apr 21, 5:44 pm, Megha Joshi [EMAIL PROTECTED] wrote: Hi, If you call Activity's startManagingCursor() method, it should automatically take care of the cursor based on Activity's lifecycle. You can

[android-developers] Re: How to dinamically change the activity that is launched when selecting the app icon?

2008-04-22 Thread André Oriani
Can I use a Activity that does not display nothing, ie, no calls to setContentView and make it manage what activity shall be displayed? I will have a service running while user is logged in. So my application will be running forever until I stop the service. While the service is running, will

[android-developers] The program msn version 8.5

2008-04-22 Thread dgggrg
Hello The program msn version 8.5 Without stabilization Download http://www.zshare.net/download/103048557e99aa74 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] iPhone SDK lacks mapping function

2008-04-22 Thread Biosopher
Yes...you read this post's title correctly. The iPhone SDK lacks the basic mapping API required by application developers hoping to tie the mobile experience to a geo-specific location. The only mapping function provided by the iPhone SDK is to send a URL to the iPhone's built-in Google map

[android-developers] Re: How to dinamically change the activity that is launched when selecting the app icon?

2008-04-22 Thread Dan U.
I'm not sure why you would want an extra Activity that you would never see. Really, you only need the login screen and then choose whether to display it or forward to the main screen based upon the current login state. It might be similar to a chain of responsibility design pattern. The user

[android-developers] Re: RemoteService not found

2008-04-22 Thread Dan U.
This sounds like the same issue I helped with a day or two ago. The code you posted looks like it handles callbacks from the service. I'd guess that has nothing to do with the problem. It'd be more helpful I think to see all your code since there is a lot more going on in the remote service

[android-developers] Bug in date picker?

2008-04-22 Thread OmarFlores
Hi, It appears that there is a bug in the date picker. Description: I am using the apk TooDo submitted by Edouard Mercier (http://edouardmercier.fr/toodo/download) and found out that when I try to select Monday April 21, the date picker shows April 22 for Monday:

[android-developers] Intents

2008-04-22 Thread WildLuka
Hi, I'm still in the process of grasping the true concept of intents. Surely I do understand that they are events and that they can propagate through the system. Obviously I'm not referring to the kind of intents used to fire Activities. Now, I'm trying to develop a local service, which one day

[android-developers] Re: Bug in date picker?

2008-04-22 Thread Dan U.
I'm not sure about the original problem, but the time being off might be an issue I reported a long time ago about the emulator not displaying the time using the computers timezone. Apparently it's a problem with specific timezones and/or operating systems. On Apr 22, 12:30 pm, OmarFlores [EMAIL

[android-developers] Updating the UI via IPC, Handler runs on the wrong thread

2008-04-22 Thread vol
Some quick background: In an effort to teach myself Services, IPC, and the general interplay, I have been creating a Music Player program. There is a Music Player Activity, and a Music Player Service. The Activity binds to the Service, and in the onServiceConnected method starts the Service. The

[android-developers] Re: Updating the UI via IPC, Handler runs on the wrong thread

2008-04-22 Thread Romain Guy
Hi, Use onPause.post(Runnable), it's safer. -- Romain Guy www.curious-creature.org On Apr 22, 2008, at 13:25, vol [EMAIL PROTECTED] wrote: Some quick background: In an effort to teach myself Services, IPC, and the general interplay, I have been creating a Music Player program. There is a

[android-developers] Re: Updating the UI via IPC, Handler runs on the wrong thread

2008-04-22 Thread vol
Nevermind, I just realized (had pointed out) that I was using dispatchMessage instead of handleMessage. Thanks anyway! vol wrote: Some quick background: In an effort to teach myself Services, IPC, and the general interplay, I have been creating a Music Player program. There is a Music Player

[android-developers] Re: How to dinamically change the activity that is launched when selecting the app icon?

2008-04-22 Thread André Oriani
If I just want to start a service, It is not needed to display an UI On 22 abr, 14:27, Dan U. [EMAIL PROTECTED] wrote: I'm not sure why you would want an extraActivitythat you would never see. Really, you only need the login screen and then choose whether to display it or forward to the main