[android-developers] How did android.R.id.list got into android.R.java file??

2008-10-05 Thread Satya Komatineni
Can one change R.java file manually? (I take it is auto generated based on res files) How did "android.R.id.list" constant got into android.R.java file? was there a layout in android that said " Thanks Satya --~--~-~--~~~---~--~~ You received this message becau

[android-developers] Re: Cannot create new Android Projects

2008-10-05 Thread Anm
Another couple of clarifications to the below message: I have no problems building Java projects. I'm running Ganymede on Mac 10.5. On Oct 5, 11:01 am, Anm <[EMAIL PROTECTED]> wrote: > My Eclipse framework no longer create new Android Projects.  I get the > following error: > > Cannot create

[android-developers] Re: JNI support in 1.0

2008-10-05 Thread Ahmet A. Akin
middle wire.. sounds funny. On Sun, Oct 5, 2008 at 11:52 PM, Neil. He <[EMAIL PROTECTED]> wrote: > What about the development of a hardware driver or middle wire on android? > 2008/9/30 hackbod <[EMAIL PROTECTED]> >> >> To be clear: native code is not a supported part of the 1.0 SDK. If >> you u

[android-developers] Re: How did android.R.id.list got into android.R.java file??

2008-10-05 Thread dai
Satya, you could not edit R.java manually. This have been generated automatically by understanding layout files etc. is correct. R.id. comes from "android:id="@+id/" (the "+" means that Android platform creates automatically the id on condition that the id does not exsist yet) id

[android-developers] Re: skia : error in decode file

2008-10-05 Thread Sudha
Hi My code is like imageStream = new FileInputStream(new File(""+imageNames[position])); imageShow = BitmapFactory.decodeFile(""+imageNames[position]); imageStream.close(); for the first image, position = 0 its coming fine but from next image onwards its showing the skia exception --~--~---

[android-developers] Re: JNI support in 1.0

2008-10-05 Thread Neil . He
What about the development of a hardware driver or middle wire on android? 2008/9/30 hackbod <[EMAIL PROTECTED]> > > To be clear: native code is not a supported part of the 1.0 SDK. If > you use it, your application will most likely break with future > platform updates. > > On Sep 29, 8:48 am, Jo

[android-developers] Re: Trouble opening a raw resource

2008-10-05 Thread Steve Oldmeadow
On Oct 6, 11:07 am, kelseywright <[EMAIL PROTECTED]> wrote: > This is where I am n00bish. I don't know what it even means by package > the R file is created in - I think I don't know enough about the R > files.  I mean, this file is in a package in my source tree. Is it > meanign that package? O

[android-developers] Re: Why did I delete the project, but it still run ?

2008-10-05 Thread Ludwig
If nothing helps, read the documentation: http://code.google.com/android/intro/develop-and-debug.html#uninstalling 2008/10/5 Baonq86 <[EMAIL PROTECTED]> > > I have a project. I don't need it more and I deleted it. But when I > run android simulator, I still see it and it still run well. How can I

[android-developers] Re: Trouble opening a raw resource

2008-10-05 Thread kelseywright
This is where I am n00bish. I don't know what it even means by package the R file is created in - I think I don't know enough about the R files. I mean, this file is in a package in my source tree. Is it meanign that package? Or is it something else? Kelsey On Oct 5, 10:18 pm, Steve Oldmeadow <

[android-developers] Re: Trouble opening a raw resource

2008-10-05 Thread Steve Oldmeadow
What package is your R file being created in? --~--~-~--~~~---~--~~ 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 thi

[android-developers] Re: how to send a text sms message with a port?

2008-10-05 Thread anywhere
hi experts would you please help me for above questions? Thanks On Sep 24, 10:15 am, anywhere <[EMAIL PROTECTED]> wrote: > hi all > >      I want to know whether Android support sending a text message > with a port? > If not, whether will be supported in future release? >       I find SmsMan

[android-developers] Re: Problem with MapView

2008-10-05 Thread Ricardo
Hi all, I´m also having this problem, with the MapView in SDK 1.0 .. my AndroidManifest also has the ACCESS_COARSE_LOCATION and INTERNET permissions, and the tag too. Sometimes it works, but in 90% of times LogCat logs this message "ERROR/MapActivity(9520): Couldn't get connection factory cli

[android-developers] Re: INSTALL_FAILED_UPDATE_INCOMPATIBLE

2008-10-05 Thread Christine
Yes, that worked, I did "emulator -wipe-data. Thanks. On Oct 5, 11:33 pm, Christine <[EMAIL PROTECTED]> wrote: > Mark, thanks, I'll give it a try. > > On Oct 5, 11:10 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > > > Christine wrote: > > > When I install my app on the emulator using adb install, a

[android-developers] Re: INSTALL_FAILED_UPDATE_INCOMPATIBLE

2008-10-05 Thread Christine
Mark, thanks, I'll give it a try. On Oct 5, 11:10 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > Christine wrote: > > When I install my app on the emulator using adb install, after signing > > the app, I get "INSTALL_FAILED_UPDATE_INCOMPATIBLE". The app is not > > installed. How do I find out wha

[android-developers] Re: Issue with installing ADT for Eclipse Ganymede 3.4

2008-10-05 Thread Fräntz Miccoli
Nobody has an idea ? On 4 oct, 14:42, Fräntz Miccoli <[EMAIL PROTECTED]> wrote: > Yeah, i've realized after post that the problem wasn't the same. > > I've tried to use the archive in order to install and i got this when > I'm trying to make a new Android project : > > Plug-in com.android.ide.ecl

[android-developers] Re: INSTALL_FAILED_UPDATE_INCOMPATIBLE

2008-10-05 Thread Mark Murphy
Christine wrote: > When I install my app on the emulator using adb install, after signing > the app, I get "INSTALL_FAILED_UPDATE_INCOMPATIBLE". The app is not > installed. How do I find out what's wrong? > > Before installing, I did remove the copy of the app that was installed > by Eclipse. Wo

[android-developers] INSTALL_FAILED_UPDATE_INCOMPATIBLE

2008-10-05 Thread Christine
When I install my app on the emulator using adb install, after signing the app, I get "INSTALL_FAILED_UPDATE_INCOMPATIBLE". The app is not installed. How do I find out what's wrong? Before installing, I did remove the copy of the app that was installed by Eclipse. --~--~-~--~~---

[android-developers] Re: n00b question - Phone Detection?

2008-10-05 Thread Nikkelitous
Well there are some significant issues with this. Now, there are several different wireless options available on the G1 and most if not all Android systems should have at least ONE wireless option, however, this doesn't guarantee any way to use it. There are several apps designed to "find friend

[android-developers] Re: Why did I delete the project, but it still run ?

2008-10-05 Thread Karthik P
This is just that user data is still present, if you want to clear off entire user data then use wipe command either from command line or while you do Run Configuration->Target->Wipe User data (Check this). This will clear off all user data. Thanks, Karthik 2008/10/5 Baonq86 <[EMAIL PROTECTED]>

[android-developers] Re: PackageManager??

2008-10-05 Thread nknize
Adding android.permission.INSTALL_PACKAGES to the manifest results in the following: 10-05 18:50:45.631: WARN/PackageManager(57): Not granting permission android.permission.INSTALL_PACKAGES to package com.test (protectionLevel=2 flags=0x44) Subsequently tried the following without any luck... t

[android-developers] Re: PackageManager??

2008-10-05 Thread nknize
This is exactly what I want to do - let the user choose to install an apk. How do you go about doing this without involving PackageManager.installPackage() (that inevitably throws a permission denied exception)? Right now I'm providing the user with an "install" Button whose onClick method calls

[android-developers] Cannot create new Android Projects

2008-10-05 Thread Anm
My Eclipse framework no longer create new Android Projects. I get the following error: Cannot create linked resource '/.org.eclipse.jdt.core.external/ folders/.link0'. The parent resource is not accessible. After clicking past the error, I see a stub project with three errors: one.test.Main

[android-developers] Re: phone to phone applications?

2008-10-05 Thread Mark Murphy
whitehexagon wrote: > I'm really struggling to find information on if it's possible to get > two android handsets talking to each other without an intermediate > server. In theory this should be possible via wireless or more likely > BlueTooth. But both API's seem crippled to prevent this, or am

[android-developers] phone to phone applications?

2008-10-05 Thread whitehexagon
I'm really struggling to find information on if it's possible to get two android handsets talking to each other without an intermediate server. In theory this should be possible via wireless or more likely BlueTooth. But both API's seem crippled to prevent this, or am I missing something? I fin

[android-developers] Re: Trouble opening a raw resource

2008-10-05 Thread kelseywright
No one has any suggestions on how to troubleshoot this? =( On Oct 4, 11:21 pm, kelseywright <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to open a file in res/raw. I've tried to open it with code > similar to the following: > > int file = R.raw.myfilename; > System.err.println("file:" + fi

[android-developers] Re: httpclient and timeout

2008-10-05 Thread dai
I dont a bug about it, but how'bout using SDK1.0? On 10月5日, 午後6:27, arnouf <[EMAIL PROTECTED]> wrote: > Nobody have a solution? Or an idea? > > Regards > > On 4 oct, 20:43, arnouf <[EMAIL PROTECTED]> wrote: > > > Hello all, > > > in previous versions there was a bug on setTimeOut(long) checking a

[android-developers] Re: Web service using XML-RPC working on Android SDK 0.9

2008-10-05 Thread Cezar Augustus Signori
Hi! You could connect to the web service and get the response. Later you could handle the xml and extract your objects from them. The firt part how-to, is avaiable here: http://forum.android.pro.br/forums/1/topics/115 it is in portuguese, but the code is Java :P Cheers, Cezar On Oct 4, 4:33

[android-developers] Re: going to the metal

2008-10-05 Thread Vinegar Tasters
I understand what you are driving at and I agree with the point you are making. But you gotta understand that there is a major problem with interpreted applications. They are too damn slow! And the market place kind of reflect this: try to name any java games for sale that you can buy in stores

[android-developers] Re: Restriction on Android.jar!

2008-10-05 Thread arnouf
I think that problem was using Android 0.9. For people want use FilePart, Multipart and others read the follwing thread http://groups.google.com/group/android-developers/browse_frm/thread/e4230ed22c196772 On Oct 5, 3:59 pm, arnouf <[EMAIL PROTECTED]> wrote: > Hello, > > What is this error > The c

[android-developers] Restriction on Android.jar!

2008-10-05 Thread arnouf
Hello, What is this error The constructor FilePart(String, File) is not accessible due to restriction on required library E:\Android\android.jar I've two project. One is working don't have this error, the other yes!! I'm using the same environment. What's the problem? Thanks for your help. Reg

[android-developers] Re: going to the metal

2008-10-05 Thread Al Sutton
Errrmmm... How can you say something is too damn slow when you've not used the device? With processing power the way it is it's no longer about squeezing every last drop of performance out of a system it's about delivering something that is acceptable to the use. I coded on set top systems in

[android-developers] Re: httpclient and timeout

2008-10-05 Thread dai
I dont use setTimeout(long) method in the package(http:// code.google.com/android/reference/org/apache/http/conn/params/ ConnManagerParamBean.html...?) I'm using the HttpConnectionParams#setConnectionTimeout() in org.apache.commons.httpclient.params package. When setting time out, no error happen

[android-developers] Re: going to the metal

2008-10-05 Thread Mark Murphy
Vinegar Tasters wrote: > But you gotta understand that there is a major problem > with interpreted applications. They are too damn slow! That depends on what sort of app you want to create. You seem fixated on games. Android is not necessarily designed to be a gaming platform. And, it's possi

[android-developers] How to distinguish between dialing and active call states?

2008-10-05 Thread legerb
I would like to catch the moment when an outgoing dialing call becomes active, that is accepted at the other side. according to the documentation the CALL_STATE_OFFHOOK : "Device call state: Off-hook. At least one call exists that is dialing, active, or on hold, and no calls are ringing or waiting

[android-developers] Re: making temporary files

2008-10-05 Thread MrSnowflake
The G1 from t-mobile will be delivered with a 1GB MicroSD, but when it's not present you could make an error dialog which says you program needs an SD card. On Oct 4, 2:12 am, Jason Proctor <[EMAIL PROTECTED]> wrote: > hi justin, > > thanks for the response. > > supposing i'm running on a real de

[android-developers] Re: Sending DTMF

2008-10-05 Thread legerb
I'm trying to send DTMF tones during outgoing call this way in my PhoneStateListener. Is this the right way to send DTMF - using the STREAM_VOICE_CALL. Also i want to send the DTMF sequence after the call is answered, so CALL_STATE_OFFHOOK doesn't seem to be right, what should be the appropriate s

[android-developers] Re: Sending DTMF

2008-10-05 Thread legerb
In public void onCallStateChanged(int state, String incomingNumber) { // TODO Auto-generated method stub super.onCallStateChanged(state, incomingNumber); switch (state) { case TelephonyManager.CALL_STATE_OFFHOOK: ToneGenerator toneGenerator

[android-developers] Re: MediaRecorder recording video?

2008-10-05 Thread MrSnowflake
What is the reason why video recording is not supported? On 28 sep, 23:46, Filipe Abrantes <[EMAIL PROTECTED]> wrote: > Alright... fair enough :P... at least we know it is a matter of time > until it is supported. Thanks for your hard work. > > Cheers, > Filipe > > Megha Joshi wrote: > > Hi Filip

[android-developers] Program stopped unexpectedly when access database

2008-10-05 Thread iamaelephant
I'm brand new to Android development (and mobile development in general) so please bare with me. I'm trying to write a very simple app that will display a list of items from a database to get myself acquainted with the environment. Everything works fine until I try to access the database. In my ma

[android-developers] Re: Why did I delete the project, but it still run ?

2008-10-05 Thread Baonq86
Ok. It works well !! Thank you ! On Oct 5, 3:36 pm, dai <[EMAIL PROTECTED]> wrote: > If what you are saying "project" is an Android project on Eclipse, you > maybe delete app(.apk) via DDMS view. > You can go there by DDMS view, then go down data/app folder. You'd see > apps you've build so far.

[android-developers] Re: httpclient and timeout

2008-10-05 Thread arnouf
Thanks dai. I'm using 0.9...could you give me a part of your code where you use the setTimeout? Regards On 5 oct, 11:58, dai <[EMAIL PROTECTED]> wrote: > I dont a bug about it, but how'bout using SDK1.0? > > On 10月5日, 午後6:27, arnouf <[EMAIL PROTECTED]> wrote: > > > Nobody have a solution? Or an

[android-developers] Re: on-screen 12-key keyboard

2008-10-05 Thread skink
On 5 Paź, 06:06, sullitf <[EMAIL PROTECTED]> wrote: > android.view.KeyCharacterMap seems to be exactly what I'm looking for > but there are no constructors or setter methods.  Once I found this it > seemed like I should easily be able to build an Activity with a > KeyCharacterMap view of PREDIC

[android-developers] Re: httpclient and timeout

2008-10-05 Thread arnouf
Nobody have a solution? Or an idea? Regards On 4 oct, 20:43, arnouf <[EMAIL PROTECTED]> wrote: > Hello all, > > in previous versions there was a bug on setTimeOut(long) checking a > lost web connection. > Is there a solution now? I'm using SDK 0.9 but I didn't find a > solution. > > Thanks a lot

[android-developers] Re: Why did I delete the project, but it still run ?

2008-10-05 Thread dai
If what you are saying "project" is an Android project on Eclipse, you maybe delete app(.apk) via DDMS view. You can go there by DDMS view, then go down data/app folder. You'd see apps you've build so far. On 10月5日, 午後5:16, Ludwig <[EMAIL PROTECTED]> wrote: > If nothing helps, read the > docume

[android-developers] Fwd: Send DTMF

2008-10-05 Thread legerb
Joining this one. Is it possible to send DTMF during an ongoing call in SDK 1.0? The Phone.java was removed from the new SDK, and I couldn't find an equivalent to sendDTMF in other classes. -- Forwarded message -- From: Renato Mangini <[EMAIL PROTECTED]> Date: Jan 10, 9:36 pm Sub