[android-developers] Re: Does android calendar support meeting request?

2008-11-16 Thread plargo
BTW what does it actually mean for below code comments? private void updateEventAttendeeStatus(SQLiteDatabase db, ContentValues attendeeValues) { // Get the event id for this attendee long eventId = attendeeValues.getAsLong(Attendees.EVENT_ID); // Currently, we only fetch the

[android-developers] Does android calendar support meeting request?

2008-11-16 Thread plargo
I didn't see options for meeting request in SDK/emulator, either in calendar source code or calendar videos in Youtube. But I do see scource code about attendees. Can anyone give a overview picture on meeting request of android calendar? Thanks --~--~-~--~~~---~--~~

[android-developers] Jythonroid: Jython runs successfully on Android Emulator

2008-11-16 Thread [EMAIL PROTECTED]
What is jythonroid --- Jythonroid is a project for porting jython on Android platform. Created by ClassFoo. Jythonroid is console only at this time. It means oneday Android has console/terminal app in device, you could use jython on real android phone. (or please poin

[android-developers] AlarmManager not always waking device (using RTC_WAKEUP)

2008-11-16 Thread Adam K
Hi all, I noticed that AlarmManager does not always seem to wake the device correctly when using types RTC_WAKEUP or ELAPSED_REALTIME_WAKEUP. It seems like whatever intent was pending is triggered later after the Menu key is hit. I realize you need to hold a wakelock for any activity fired afte

[android-developers] Deployment of native C library

2008-11-16 Thread adlaiti
I have a Java application that uses JNI to call a native C library (.so). This application works fine with an older version of the SDK and emulator. The library was copied to folder /system/lib on the emulator. With the current version of the emulator, that comes with Android 1.0 SDK, the folder

[android-developers] Any one know how to create a new project on android.git.kernel.org?

2008-11-16 Thread Eric Miao
Or whom to contact, if you know pls. --~--~-~--~~~---~--~~ 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] Wifi communication

2008-11-16 Thread Prashant Kalkar
Hi, I am working on an application that need to communicate between two devices. Initially the application was going to use bluetooth for communication between devices, but since android does not support bluetooth communication, we are forced to think of other ways. We are now thinking of using wi

[android-developers] Re: Apidemo MapView getting "IOException in HttpClient: host is unresolved www.google.com:80"

2008-11-16 Thread mybuddy
i am facing same problem please help me On Oct 30, 6:59 am, Dikers <[EMAIL PROTECTED]> wrote: > When I run Mapview that in android ApiDemo, > Some warn messages was given in Log .--- "IOException in > HttpClient:hostisunresolvedwww.google.com:80". > Does anyone know what's wrong with this app,

[android-developers] Displaying Equations on Android

2008-11-16 Thread [EMAIL PROTECTED]
I am currently working on an application that is essentially an equation "cheat sheet." I want to make the equations look good when they are displayed, so I am thinking of using MathML, but I don't know how I would implement this and include everything in a packaged application. Any advice on how

[android-developers] The difference between "Runtime.getRuntime().freeMemory();" and "ActivityManager.MemoryInf.availMem"

2008-11-16 Thread dailyLife
In Android System, 1,Runtime.getRuntime().freeMemory(); 2,ActivityManager.MemoryInf.availMem Is anyone know the difference between both above. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Re: File permission about MediaPlayer

2008-11-16 Thread Gery
Oops.. so it is. Thanks a lot, Dave, gonna check it on a G1 phone.. On 11月15日, 上午12时41分, Dave Sparks <[EMAIL PROTECTED]> wrote: > Windows Media is not supported in the emulator due to licensing > issues. The T-Mobile G1 supports WMA/WMV because that device is > specifically licensed to use the

[android-developers] How to know when the map is really done zooming

2008-11-16 Thread Dave
When you perform a zoom operation on the map you'll notice that first you get a zoomed map image and then some (usually short) time later you get the updated map pixels. I am trying to do some optimized drawing in the map overlay and to do this I need to know when the actual updated map is displa

[android-developers] Re: OpenGL Hardware Acceleration in G1

2008-11-16 Thread Romain Guy
OpenGl is hardware accelerated on the G1 On Nov 16, 2008 6:07 PM, "razialx" <[EMAIL PROTECTED]> wrote: DSmith: Right, but Android does not require hardware acceleration of the OpenGL ES Api. Do you happen to know if it hardware accelerates the OpenGL or if it is a software implementation? Tha

[android-developers] Integration with other applications

2008-11-16 Thread hodg
Does anyone know how to integrate with other apps within Android? For instance, if you wanted to link into the Amazon MP3 store? If anyone knows or can point me toward some good documentation that would be of great assistance! --~--~-~--~~~---~--~~ You received th

[android-developers] Re: MediaRecorder on G1

2008-11-16 Thread Sean Sullivan
Same here. My application calls start() on the MediaRecorder and then I observe a RuntimeException with the message "start failed" I am running the application in the Android 1.0 R1 SDK emulator on Mac OS X. Sean On Nov 11, 5:39 pm, cirion <[EMAIL PROTECTED]> wrote: > Hi g1ster - are you ru

[android-developers] Re: Change layout for different orientation

2008-11-16 Thread hodg
Thx guys, worked like a charm! On Nov 16, 3:23 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Check out the following links. I haven't looked in to them too much, > but I think you will find your answer here: > > http://androidguys.com/?p=2084http://androidguys.com/?p=2642http://androidguys

[android-developers] Re: Change layout for different orientation

2008-11-16 Thread hodg
Thanks guys, worked like a charm! On Nov 15, 4:12 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > hodg wrote: > > I was hoping someone might guide me in the best direction.  I want to > > apply a different layout depending on the orientation of the phone. > > For example, when the keyboard is closed

[android-developers] Re: OpenGL Hardware Acceleration in G1

2008-11-16 Thread razialx
DSmith: Right, but Android does not require hardware acceleration of the OpenGL ES Api. Do you happen to know if it hardware accelerates the OpenGL or if it is a software implementation? Thanks. On Nov 15, 12:18 pm, DSmith <[EMAIL PROTECTED]> wrote: > Android supports OpenGL ES, which is a subse

[android-developers] Re: MediaPlayer looping bug?

2008-11-16 Thread Cool Frood
On Nov 16, 3:37 pm, Cool Frood <[EMAIL PROTECTED]> wrote: > On Nov 16, 10:49 am, Cool Frood <[EMAIL PROTECTED]> wrote: > > > I'm trying to write play a sound once using a MediaPlayer object: > > > MediaPlayer p1 = MediaPlayer.create(ctx, R.raw.tick); > > p1.setLooping(false); > > p1.start(); > >

[android-developers] Re: weird button behavior in emulator

2008-11-16 Thread Craig
I still don't understand why the different actions are connected, but I did dig in and got my code to work; I hope this helps someone else: I made a PressableButton subclass of Button with: OnPressListener onPressListener; boolean wasPressed = false; public PressableButt

[android-developers] Re: Problem accessing r.drawable.somestuff

2008-11-16 Thread Cool Frood
Fräntz, Make sure that you're not importing android.R into your .java file. I had the same problem once. If you import android.R, your own R will not be visible. Akshat On Nov 16, 6:38 pm, Fräntz Miccoli <[EMAIL PROTECTED]> wrote: > I've understood something new on my problem, I can not use m

[android-developers] Re: ListActivity and progressbars?

2008-11-16 Thread Randy McEoin
When I implemented a progress bar I had to place the processing I needed within a thread. It looked something like the following: setProgressBarIndeterminateVisibility(true); myThread = new Thread(new Runnable() { public void run() { doProc

[android-developers] Re: encryption software

2008-11-16 Thread Randy McEoin
Take a look at Android Password Safe. http://code.google.com/p/android-passwordsafe/ On Nov 14, 6:20 pm, yakuza <[EMAIL PROTECTED]> wrote: > Has there been any softwares developed to encrypt data on Android > platform? --~--~-~--~~~---~--~~ You received this messa

[android-developers] Re: Missing Import "android.provider.Telephony"

2008-11-16 Thread Romain Guy
Marc, I apologize again for your issues but we always, at least I believe we did on the mailing lists, made clear that the public APIs would not be frozen until the Android SDK 1.0. We actually changed many thins from M3 to M5 then from M5 to 0.9. It should not be surprising that the same th

[android-developers] Re: Problem accessing r.drawable.somestuff

2008-11-16 Thread Fräntz Miccoli
I've understood something new on my problem, I can not use my assets outside of my Activity class. Does somebody know why ? On 16 nov, 01:32, Fräntz Miccoli <[EMAIL PROTECTED]> wrote: > Eclipse tells me that there's an error but I can't see where it is ... > > It said that in the following code t

[android-developers] Re: Missing Import "android.provider.Telephony"

2008-11-16 Thread Marc
Hi Mark, Sorry if I do sound a bit harsh, but I'm really very disappointed. Of course a lot if possible, if you are ready to spend the efforts, the money, the collaboration required. But the whole point why I took the Android path about 6 months ago was that it was advertised and marketed to be

[android-developers] Re: weird button behavior in emulator

2008-11-16 Thread Craig
To test further, I created a new project that just has a Button inside a LinearLayout, with the Activity stub created by the Android Eclipse plugin. Pushing the 5 on the number pad and the emulator's center dpad button both pressed the button. How/why would these inputs be hooked up to a button?

[android-developers] Re: How to monitor android application memory

2008-11-16 Thread luyen
Hello, Have you tried with this one: http://androidcore.com/index.php?option=com_fireboard&Itemid=102&func=view&catid=11&id=12#12 On Nov 7, 6:24 am, Luthien <[EMAIL PROTECTED]> wrote: > Hi: > > Does there some tool could monitor applicationmemory, like TPTP > Object allocationanalysis. > or d

[android-developers] Re: Missing Import "android.provider.Telephony"

2008-11-16 Thread Mark Murphy
Marc wrote: > Android is NOT the open platform as was once advertised Sure it is. Open does not mean easy, however. > Not only can you not replace core applications 1. You can take the SDK-level approach that Mr. Guy described 2. You can contribute your modifications to core applications as p

[android-developers] Re: Replacing standard default applications

2008-11-16 Thread Marc
The prototypes I developed implement some tricky filters on things like contacts, received and sent messages (sms, mms etc.) logs of incoming / outoing calls. Strong encryption based on TriplsDES of any communication data stored on the phone etc. The same filters (added mainly as additional attrib

[android-developers] Re: Replacing standard default applications

2008-11-16 Thread Romain Guy
I am very sorry to hear you cannot do exactly what you want with the telephony features but it is still true that you can replace core apps. Like I explained in another thread, we removed APIs that we felt we would not be comfortable maintaining forever. I know it's annoying but it's better for ev

[android-developers] Re: Replacing standard default applications

2008-11-16 Thread Marc
That was true, until SDK 1.0, as many promises over the past months... Where is provider.Telephony now? I've spend weeks developing a working prototype based on announcements and the previous version of the API. Sorry mate, but all of this is becoming a joke, really... Thanks for your answer. Good

[android-developers] Re: Missing Import "android.provider.Telephony"

2008-11-16 Thread Romain Guy
Hi Marc, I am very sorry to hear that but the APIs that were removed from the SDK 1.0 were removed simply because we didn't feel they were ready. Any public API in SDK 1.0 will have to be maintained forever and we're rather expose these APIs later but correctly, than sooner but incorrectly. On S

[android-developers] Re: Missing Import "android.provider.Telephony"

2008-11-16 Thread Marc
I've been working on a commercial distribution of all major "standard" applications based on the previous Android release. I want to do things like filter incoming calls, sms's and only let them through to the user if he's in an environment where he wants to see them based on his own criteria (I'

[android-developers] Re: Playing sounds multiple times using MediaPlayer

2008-11-16 Thread Cool Frood
Hi, What is the length of the files that you are trying to play? I'm trying to do the same with 0.2s long WAV files, but I just can't MediaPlayer to behave well. At first I tried 1 MediaPlayer, but it was too laggy. In my application, I'm trying to play the sound about 75 times a minute, that

[android-developers] Re: Replacing standard default applications

2008-11-16 Thread Romain Guy
Hi, You cannot replace them physically in the system partition. However, you can make your application respond to the same intents as the core apps (for instance, HOME for the Home app) and the user will then have the choice (with the option of which application to use by default) between the cor

[android-developers] weird button behavior in emulator

2008-11-16 Thread Craig
I have an interface that handles dpad key events and has Buttons for similar actions - my intention was to have code that works for touchscreens and phones with dpads. When testing, both the 5 on my number pad and using the mouse to click the emulator's center dpad button presses a Button I have

[android-developers] Re: Android Source Code implementation

2008-11-16 Thread Mark Murphy
20lives wrote: > I have download the full source code, made my modifications and > compiled the files > (System.img , userdata.img, ramdisk.img) > > i can run it in my Android Emulator but i have no idea how i can > implement the new OS on the real device, > > any suggestions ? Wait for a devic

[android-developers] Re: MediaPlayer looping bug?

2008-11-16 Thread Cool Frood
On Nov 16, 10:49 am, Cool Frood <[EMAIL PROTECTED]> wrote: > I'm trying to write play a sound once using a MediaPlayer object: > > MediaPlayer p1 = MediaPlayer.create(ctx, R.raw.tick); > p1.setLooping(false); > p1.start(); > > R.raw.tick is a short OGG file.  This always causes the MediaPlayer t

[android-developers] Re: Allocation too large for this process

2008-11-16 Thread EboMike
I'm reading JPGs off the storage device, and they are typically 1024x768 since they came straight from a server. The VM typically errors out allocating ~1MB of memory. (One time, it errored allocating 30KB even though the gc freed up 900KB just prior to that). Yeah, I could have the server crunch

[android-developers] Network downloads in realworld uses

2008-11-16 Thread trisk
I'm currently writing an application that will be downloading potentially large files from the net (50-100 mb). I am currently using a URLConnection and things are working great on my emulator. However, I'm fairly concerned about how this will work in the real world. I have found very little dis

[android-developers] Replacing standard default applications

2008-11-16 Thread Marc
Hi, Does anyone know for sure whether it is possible to replace the default standard applications (under /system/app) with my own. There have been quite some messages about this, but no concrete and simple yes/no answer. (With a pointer to a concrete example or some "official instructions". In th

[android-developers] Adding new menu items to the Browser

2008-11-16 Thread dalelane
RE: Adding yourself to menus on other applications (http:// code.google.com/android/kb/commontasks.html#addmenuitems) I've tried to add a new Activity that can be used with web pages open in the Browser, but my first efforts have been unsuccessful - I don't see any errors, but there is nothing ad

[android-developers] How install (load/program) the android firmware onto a E2831 phone

2008-11-16 Thread ludo42fr
Hello everybody ! I've got the Android SDK, and the famous E2831 phone, which is one of the first phone to run Android without any modifications. I want to know how can I load the system's image into the nand flash of my phone, and, of course where can I find the tools to do it. Many thanks, Be

[android-developers] Re: Chronometer + Eclipse = NullPointerException in layout view

2008-11-16 Thread Rodrigo
I've been having the same problem: The layout preview only says "NullPointerException: null". It is happening to me with multiple layout files, and I can't seem to identify the problem... On Oct 6, 10:55 pm, Bob Whiteman <[EMAIL PROTECTED]> wrote: > Disclaimer: I'm just starting with Android.

[android-developers] Re: Change layout for different orientation

2008-11-16 Thread [EMAIL PROTECTED]
Check out the following links. I haven't looked in to them too much, but I think you will find your answer here: http://androidguys.com/?p=2084 http://androidguys.com/?p=2642 http://androidguys.com/?p=2723 hodg wrote: > I was hoping someone might guide me in the best direction. I want to > ap

[android-developers] Downloading Android apps

2008-11-16 Thread Gaaren
I just got a G1 with T-Mobile, & was looking for apps--I found the list of 50 who won Google contest, & the Android Market & a site for 101bestAndroidApps.com. But the only one I have actually been able to download & install is the Weather Channel. I've been able to read about the others, but no

[android-developers] Android Source Code implementation

2008-11-16 Thread 20lives
I have download the full source code, made my modifications and compiled the files (System.img , userdata.img, ramdisk.img) i can run it in my Android Emulator but i have no idea how i can implement the new OS on the real device, any suggestions ? --~--~-~--~~~---~--

[android-developers] '%' problem in WebView

2008-11-16 Thread [EMAIL PROTECTED]
My HTML file contains '%'. I was trying to use WebView to open it, but failed. I then replaced "%" with "\\%", it failed again. Any comments on this problem. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "A

[android-developers] encryption software

2008-11-16 Thread yakuza
Has there been any softwares developed to encrypt data on Android platform? --~--~-~--~~~---~--~~ 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@googlegro

[android-developers] Re: unable to see # in webview

2008-11-16 Thread [EMAIL PROTECTED]
I have the similar problem with % (%). On Nov 15, 1:00 pm, sori <[EMAIL PROTECTED]> wrote: > I have the same problem and cannot find a solution.  Any help? > -sori > > On Nov 6, 7:47 am, vel <[EMAIL PROTECTED]> wrote: > > > > >        finalWebViewwv = (WebView) findViewById(R.id.msgs); > >      

[android-developers] Re: Eclipse Plug-in Site down?

2008-11-16 Thread Sohail Mirza
Actually, I can confirm that the http site isn't working either. Both appear to be down. Navigating to either in your browser gets you the following HTTP 404 message: "The requested URL /android/eclipse/ was not found on this server. " Google may be moving the plugin to a new location but have

[android-developers] MediaPlayer looping bug?

2008-11-16 Thread Cool Frood
I'm trying to write play a sound once using a MediaPlayer object: MediaPlayer p1 = MediaPlayer.create(ctx, R.raw.tick); p1.setLooping(false); p1.start(); R.raw.tick is a short OGG file. This always causes the MediaPlayer to loop. Even if I use an OnCompletionListener, it is never invoked. Is

[android-developers] Re: AuthenticationException when accessing Google Spreadsheets

2008-11-16 Thread Waldo
I'm having the same "not verified" problem myself. Anyone come up with a solution? w On Oct 30, 6:28 am, atrus123 <[EMAIL PROTECTED]> wrote: > Did you ever have any luck getting this to work?  I'm also interested > in accessing Google Spreadsheets, but before I spend a bunch of man > hours tryi

[android-developers] ExpandableListView Groups with no children?

2008-11-16 Thread junker37
I have an ExpandableListView where not every group has children, however, the arrow indicator shows up for every group. I would think that returning 0 from public int getChildrenCount(int groupPosition) would be enough info for it to tell that it doesn't have any children. Does anyone know h

[android-developers] Re: Eclipse Layout Editor Errors

2008-11-16 Thread andres
I had the same problem. I fix the problem doing this: File->Switch Workspace->other Click on "Copy Settings" to expand mark Workbench Layout On Oct 28, 6:18 pm, Ken Adair <[EMAIL PROTECTED]> wrote: > I'm having this issue too... > > On Oct 17, 11:00 pm, atrus123 <[EMAIL PROTECTED]> wrote: > > > I

[android-developers] Typo Error on InstrumentationTestCase

2008-11-16 Thread Marc Lester Tan
hi folks, don't know where to report this but maybe somebody can file a typo error in android.test.InstrumentationTestCase on method public void injectInsrumentation(Instrumentationinstrumentation) Cheers, Marc --~--~

[android-developers] How to find android.opengl.Object3D;android.pim.DateUtils;

2008-11-16 Thread [EMAIL PROTECTED]
Hi, I am trying to compile the Andriod Global Time application in eclipse on ubuntu. But it can't find the following classes. Can you please tell me where is the jar file for those classes? import android.opengl.Object3D; import android.pim.DateUtils; Thank you. --~--~-~--~~--

[android-developers] on testing a webserver on the android emu

2008-11-16 Thread mysmallbrain
Hi All, today I've made a little test with a small webserver that I've found on the web at http://www.jibble.org/miniwebserver/ . with: ./adb forward tcp:1777 tcp:1777 to call http://localhost:1777/ in the remote browser and a little test program running the following code: .. import org.jibble

[android-developers] Re: unable to see # in webview

2008-11-16 Thread [EMAIL PROTECTED]
Please replace # with %23 On Nov 15, 1:00 pm, sori <[EMAIL PROTECTED]> wrote: > I have the same problem and cannot find a solution.  Any help? > -sori > > On Nov 6, 7:47 am, vel <[EMAIL PROTECTED]> wrote: > > > > >        finalWebViewwv = (WebView) findViewById(R.id.msgs); > >        wv.loadDat

[android-developers] Re: Allocation too large for this process

2008-11-16 Thread Romain Guy
What is the size of the Bitmap you are trying to create? On Sun, Nov 16, 2008 at 11:33 AM, EboMike <[EMAIL PROTECTED]> wrote: > > Um, yes... except that I'm randomly getting OutOfMemoryExceptions when > I create a new bitmap :) > > > On Nov 16, 11:13 am, Romain Guy <[EMAIL PROTECTED]> wrote: >> 1

[android-developers] Re: SimpleCursorAdapter to Spinner getting CursorIndexOutOfBoundsException

2008-11-16 Thread Mark Murphy
> After this I decided to implement a for loop just to see if I could > display all the cursor information before I actually try to use it > somewhere. Here's my loop: Did you call c.moveToFirst() before entering the loop? For unclear reasons, Cursors from the database are positioned before the

[android-developers] Re: processing camera preview before display

2008-11-16 Thread Sean
On Nov 14, 8:49 am, Dave Sparks <[EMAIL PROTECTED]> wrote: > You might be able to get away with not passing a surface into the > camera object. I don't think we've ever tested that. If it doesn't > work, let me know and we'll file a bug to get if fixed. It appears that not passing a surface into

[android-developers] Re: Allocation too large for this process

2008-11-16 Thread EboMike
Um, yes... except that I'm randomly getting OutOfMemoryExceptions when I create a new bitmap :) On Nov 16, 11:13 am, Romain Guy <[EMAIL PROTECTED]> wrote: > 16 MB is the maximum limit of the heap. Your app can use at most 16 > MB.  The heap in your application will grow as more memory is needed.

[android-developers] Re: OnItemLongClickListener!?

2008-11-16 Thread g1ster
I made it to work - operator error! Thanks. --~--~-~--~~~---~--~~ 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: My application doesn't appear in the application's list. (on the G1)

2008-11-16 Thread Romain Guy
It stays only if you created a shortcut on the Home screen, it will not stay in the list of all apps. On Sun, Nov 16, 2008 at 10:55 AM, Lunch <[EMAIL PROTECTED]> wrote: > > Solved. > > I had commented out the > > in AndroidManifest.xml a while by accident. > Annoyingly, this didn't have an immed

[android-developers] Re: Allocation too large for this process

2008-11-16 Thread Romain Guy
16 MB is the maximum limit of the heap. Your app can use at most 16 MB. The heap in your application will grow as more memory is needed. If you're currently at 3/4 MB, then everything's fine :)) On Sun, Nov 16, 2008 at 11:00 AM, EboMike <[EMAIL PROTECTED]> wrote: > > Thanks for your answer, Roma

[android-developers] Re: Allocation too large for this process

2008-11-16 Thread EboMike
Thanks for your answer, Romain! How much of those 16MB are accessible to the app? When I look at the Heap view in the DDMS, I only see one heap with a total size of 3MB, sometimes 4MB. If I add up all the allocations (either in the VM Heap or the allocation tracker), I don't get anywhere near 16

[android-developers] Re: My application doesn't appear in the application's list. (on the G1)

2008-11-16 Thread Lunch
Solved. I had commented out the in AndroidManifest.xml a while by accident. Annoyingly, this didn't have an immediate impact on my application, because the icon stayed around from previous installs. Even if I uninstall an application, the icon for it stays on my home screen. --~--~-~--~-

[android-developers] MediaRecorder question

2008-11-16 Thread Teo
Can only SD card paths be given as an output to MediaRecorder? Thanks in advance, Teo --~--~-~--~~~---~--~~ 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

[android-developers] Re: Including SQLite database with application

2008-11-16 Thread G
Do you think you could include some sample code for how to execute an sql script thats been included as raw? On Nov 15, 7:59 pm, "Dan B." <[EMAIL PROTECTED]> wrote: > I think your best 2 options are as the previous poster stated. > > 1) package the db file as a raw resource, then just use a file

[android-developers] Two developer G1s on one machine

2008-11-16 Thread ScottG
The USB connector to the G1 seems to be G1-specific. Plug in one G1 and the download goes fine. Plug in another and you get "USB device not recognized". Anybody know why or more importantly how to support more than one G1 in a developer mode on one machine? Thanks for any insight. Cheers, Sco

[android-developers] Re: ADB via USB

2008-11-16 Thread vovkab
I have ubuntu 8.10 and adb from sdk not working for me. I build sdk from source and then it see my phone. Try to copy adb from: http://ironphone.ru/wp-content/uploads/2008/11/adb.tar.gz to your sdk/tools folder. Don't forget to backup old adb file. If it's not working for you, try to build sdk

[android-developers] Re: My application doesn't appear in the application's list. (on the G1)

2008-11-16 Thread Lunch
One more thing. The application installs correctly, with an icon in the applications list when I run it through the emulator. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] My application doesn't appear in the application's list. (on the G1)

2008-11-16 Thread Lunch
My application doesn't appear on the applications list on my G1 after it's installed. There are no errors in Eclipse and when I install it from Eclipse, the app will run on the G1 immediately. If I go into Settings > Applications > Manage Applications my app is listed there, just not on the main

[android-developers] Re: ADB via USB

2008-11-16 Thread willfe
On Nov 15, 4:56 pm, nt94043 <[EMAIL PROTECTED]> wrote: > Isn't that the exact same set of instructions I'm saying don't work? > I've done all that.  There is still a permissions problem unless I run > the adb server as root. Yup; I missed that part of the thread early on. Sorry about that. The s

[android-developers] Re: Question about Contacts

2008-11-16 Thread [EMAIL PROTECTED]
It worked! Thanks a lot --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Eclipse Plug-in Site down?

2008-11-16 Thread Hong Ji
Thanks. It works now. The doc at http://code.google.com/android/intro/installing.html#installingplugin is still wrong. On Nov 15, 8:02 pm, "Matt Schmulen" <[EMAIL PROTECTED]> wrote: > Just remove the s and get it http// instead of https// > > On Nov 15, 2008 3:57 PM, "Hong Ji" <[EMAIL PROTECTED]

[android-developers] Re: Eclipse Plug-in Site down?

2008-11-16 Thread Hong Ji
Thanks. It works now. The doc at http://code.google.com/android/intro/installing.html#installingplugin is still wrong. On Nov 15, 8:02 pm, "Matt Schmulen" <[EMAIL PROTECTED]> wrote: > Just remove the s and get it http// instead of https// > > On Nov 15, 2008 3:57 PM, "Hong Ji" <[EMAIL PROTECTED]

[android-developers] SimpleCursorAdapter to Spinner getting CursorIndexOutOfBoundsException

2008-11-16 Thread Stu
Hi everyone. I'm trying to populate a spinner from a database. I've been debugging it slowly to see what's going wrong. I have created my own database which is packaged in the asset directory and moved over to /data/data/my.app/databases/myappdata when the application is launched. I've written a

[android-developers] Re: OnItemLongClickListener!?

2008-11-16 Thread Guillaume Perrot
What is your issue with long clicks ? There's no trick. On Nov 15, 7:54 pm, g1ster <[EMAIL PROTECTED]> wrote: > Anyone has a working example for "OnItemLongClickListener" on a > listview? > > I have a simple ArrayAdapter listview, but could not get the > OnItemLongClickListener to work. > > Thank

[android-developers] Re: Globabl Orientation Change

2008-11-16 Thread Alex
So a bit of looking around and it seems that to do this you'd have to use the SET_ORIENTATION permission The problem is you can't: from AndroidSource/frameworks/base/core/res/AndroidManifest.xml Key line there is protectionLevel="signature" This ensures that only an app with the same s