[android-developers] Re: Current Preference Screen? (easyy)

2009-03-30 Thread craig3353
Actually, Noam, I think you need to clarify where your problem is. Here are some method names to become familiar with: Activity.onCreate(Bundle) Activity.onSaveInstanceState(Bundle) The first time through onCreate, the Bundle parameter will be null. Before pausing, your onSaveInstanceState

[android-developers] Re: Problem on creating Socket

2009-03-30 Thread guishenl...@gmail.com
For the PC side, the server code is just the same as usual java server code. And for the emulator side, you need to change the ip address represent local machine from 127.0.0.1 to 10.0.2.2. On Mar 28, 6:04 am, ndefo arnauld wrote: > hi, > please, it is possible to use a socket a android emulator

[android-developers] How to Zoom out a picture

2009-03-30 Thread guishenl...@gmail.com
Hi all, If I have a picture file stored in the phone memery (.jpg .bmp etc.),can I use Android API to zoom it out.For example, convert a picture of size 800*800 to 80*80. If anyone knows, please give me some sample code. Thank you in advance! --~--~-~--~~~---~--~---

[android-developers] Re: Multi Touch support in Android

2009-03-30 Thread Jean-Baptiste Queru
There are no multi-touch APIs in Android. JBQ On Mon, Mar 30, 2009 at 9:30 PM, Pratap wrote: > > > > Thanks Rajesh for your inputs. > Can somebody from Google provide an official stand on multi finger > touch capability on android. > > Regards > > > -- Jean-Baptiste M. "JBQ" Queru Android E

[android-developers] Retrieving street info as in Google maps application

2009-03-30 Thread Pratap
Hi I am developing a simple maps application that displays map in street mode. I want to display street name and a snapshot when a particular street is selected. Is it possible to get the street snapshot as is displayed by the native maps application using android APIs. Also on native maps app wh

[android-developers] Re: Multi Touch support in Android

2009-03-30 Thread Pratap
Thanks Rajesh for your inputs. Can somebody from Google provide an official stand on multi finger touch capability on android. Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To p

[android-developers] Re: fullscreen rendering and MEMORY_TYPE_GPU?

2009-03-30 Thread Jint3i
Actually, if you're using GlSurfaceView check the following function: private void guardedRun() throws InterruptedException Specifically the section regarding wait: if(needToWait()) { while (needToWait()) { // wait(); /* I commented out this line*/ } } It seems to ha

[android-developers] Re: cant read file from data/data/pkg/files/...

2009-03-30 Thread Komal
Hi, if somebody can solve my doubt ,please help me!!! Thanks in advance!!! On Mar 31, 12:32 pm, Mark Murphy wrote: > Komal wrote: > > Can i read from data/data/pkg/files/filenm in java script/html page? > > I don't know. I have never tried it. > > -- > Mark Murphy (a Commons > Guy)http://commo

[android-developers] Fring on Android Dev Phone 1 (HTC) AT&T provider

2009-03-30 Thread Vladimir Kelman
Is Fring VOIP software compatible with Android Dev Phone 1 (AT&T provider)? --~--~-~--~~~---~--~~ 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@googlegrou

[android-developers] Re: fullscreen rendering and MEMORY_TYPE_GPU?

2009-03-30 Thread Jint3i
To add, when I hit the back button to exit the application the last frame of the scene is rendered properly but of course because I'm exiting the application at that point it does me little good. On Mar 30, 1:19 am, Jint3i wrote: > I would like to know why this doesn't work as well. I'm able to

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-30 Thread Noam
Does anyone have a solution? Thanks, Noam. --~--~-~--~~~---~--~~ 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] Error on adb push

2009-03-30 Thread guishenl...@gmail.com
Hi all, When I tried to copy a file in my PC to the Android Emulator, I used the command "C:\Documents and Settings\Alioth>adb push D:\Data\Android\1.jpg \data \data\". But the it didn't work and the error message was "failed to copy 'D:\Android\1.jpg' to '\data\data\': Read-only file system".

[android-developers] Re: why I can't access http://developer.android.com

2009-03-30 Thread Nio
Thanks all. On 3月30日, 下午10时59分, Evan JIANG wrote: > Use this url:http://androidappdocs.appspot.com > > > > On Fri, Mar 27, 2009 at 2:09 PM, kingfu wrote: > > > Now I am in China. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread Quartz
I did an android game using just the SurfaceView and it performs fairly decent (it averages 50-to-60 fps). It was a simple game I put together to benchmark the VM. It is certainly not the best rated game out there--actually it is one of the worst come to think of it-- :), but it does have smooth v

[android-developers] Re: Photo Picker

2009-03-30 Thread Bobbie
I must have a bad phone or something... Now the program force closes on me? Here's what I have for "onActivityResult." Cursor cursor = getContentResolver().query(intent.getData(), null, null, null, null); int idx = cursor.getColumnIndex(ImageColumns.DATA); String fname = cursor.getString(idx);

[android-developers] Re: setRequestedOrientation call flow

2009-03-30 Thread Dianne Hackborn
It's complicated and involves the activity manager, window manager, current window manager policy, and eventually a rotation on the surface flinger. If you want to know generally what is going on, I would suggest just looking at the code; if you have a specific thing you are trying to accomplish,

[android-developers] Re: dispatchTouchEvent works differently when finger hold on touch screen in G1 & emulator

2009-03-30 Thread Streets Of Boston
Override you dispatchTouchEvent(...), as you do right now, and forward its MotionEvent to a GestureDetector you created. public class MyView { GestureDetector mGD = new GestureDetector(this); public MyView(...) { ... ... mGD.setIsLongPressEnabled(true); ...

[android-developers] Re: dispatchTouchEvent works differently when finger hold on touch screen in G1 & emulator

2009-03-30 Thread Oceanedge
Thank you very much! But my current usecase is not to detect motion, but hold. I have a PhotoView which display an icon. It needs to respond to click and hold event. If user click on it, it will scroll other widget content in one step. If user touch & hold on it, it will scroll the widget content

[android-developers] Init Gallerys load images

2009-03-30 Thread birdy
When init Gallerys ,in GalleryPicker.java onResume() call rebake() , rebake will call mAdapter.init(). In init() function , only when assumeMounted == true ( means sdcard has mount and not scanning ) will call ImageManager.instance ().allImages that try to add some image list . if assumeMounted ==

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread Stoyan Damov
On Tue, Mar 31, 2009 at 4:29 AM, dm1973 wrote: > > I think you should learn OpenGl (even for 2D games). I haven't tried > it on Android yet but I image you can get much better results by doing > your animation using it than by doing drawing using the android APIs. > Off the top of my head, I don'

[android-developers] Re: cant read file from data/data/pkg/files/...

2009-03-30 Thread Mark Murphy
Komal wrote: > Can i read from data/data/pkg/files/filenm in java script/html page? I don't know. I have never tried it. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.html --~--~-~-

[android-developers] Re: cant read file from data/data/pkg/files/...

2009-03-30 Thread Komal
Thanx mark, Can i read from data/data/pkg/files/filenm in java script/html page? Thanx komal On Mar 31, 11:34 am, Mark Murphy wrote: > Komal wrote: > >  but i cant save image at runtime in the assets folder using > > file:///android_asset/filename.jpg > > Assets are packaged inside the APK an

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread dm1973
I think you should learn OpenGl (even for 2D games). I haven't tried it on Android yet but I image you can get much better results by doing your animation using it than by doing drawing using the android APIs. Off the top of my head, I don't know the hardware specs of the G1 but if it is anything

[android-developers] Re: Photo Picker

2009-03-30 Thread Streets Of Boston
int idx = cursor.getColumnIndex(ImageColumn.DATA); String fname = cursor.getString(idx); On Mar 30, 7:45 pm, Bobbie wrote: > Wow... It's so simple, but still got an error... I got this: > > Cursor cursor = getContentResolver().query(datatoget, null, null, > null, null); > String fname = cursor.g

[android-developers] Re: DDMS running on Vista64

2009-03-30 Thread John Doe
any help would be greatly appreciated :( On Mar 29, 10:04 am, John Doe wrote: > I installed both version but how can i open DDMS with x86 version of > Java? > > On Mar 29, 4:56 am, Tseng wrote: > > > Sorry for double post. Rereading the error message the reason also > > could be that you only h

[android-developers] Re: dex failure

2009-03-30 Thread Dan Bornstein
On Mon, Mar 30, 2009 at 5:46 PM, BeWillDir wrote: > The dx command worked OK on the original system, but > not on the new one. Here's why: > > The proximate cause was that I was sloppy installing java. The new > (Debian) system has a java command that does this: > > b...@gizmo:~/android/Apprise

[android-developers] Re: dex failure

2009-03-30 Thread BeWillDir
Thank you. The dump operation helped me isolate the problem. The class files are indeed identical (confirmed by cmp). The problem was more insidious. The dx command worked OK on the original system, but not on the new one. Here's why: The proximate cause was that I was sloppy installing java

[android-developers] setRequestedOrientation call flow

2009-03-30 Thread Max R.
Hi, what's the actual call (function) flow from setRequestedOrientation (java) down to SurfaceFlinger(cpp)? Specially, can someone explain where the parameter 0 of setRequestedOrientation get translated into ROTATION_90? Max --~--~-~--~~~---~--~~ You received this

[android-developers] Re: cant read file from data/data/pkg/files/...

2009-03-30 Thread Mark Murphy
Komal wrote: > but i cant save image at runtime in the assets folder using > file:///android_asset/filename.jpg Assets are packaged inside the APK and are read-only. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://co

[android-developers] Re: cant read file from data/data/pkg/files/...

2009-03-30 Thread Komal
Hi Mike, Thanks for your reply. My xhtml file is under assets folder,it is in the app, then why cant i use it? and i can use all images saved in assets in the xhtml page. but i cant save image at runtime in the assets folder using file:///android_asset/filename.jpg I manually save .jpg file und

[android-developers] Re: IntBuffer Overflow - OpenGL ES

2009-03-30 Thread Anton
Yes, I assume so. My buffer.compact() fix makes it useful until the fix is pushed out I guess. Do you think it's worth posting it to the bug report? Thanks, Anton On Mar 30, 4:48 pm, fadden wrote: > On Mar 30, 1:51 pm, Anton wrote: > > >     I also ran into this problem.  Aft

[android-developers] Re: IntBuffer Overflow - OpenGL ES

2009-03-30 Thread fadden
On Mar 30, 1:51 pm, Anton wrote: >     I also ran into this problem.  After looking through the source to > the NIO buffers I noticed that when you use a wrapped direct buffer > the wrapping code doesn't clear the underlying buffers position when > you call buffer.clear(). Is this the same as ht

[android-developers] Re: Photo Picker

2009-03-30 Thread Bobbie
Wow... It's so simple, but still got an error... I got this: Cursor cursor = getContentResolver().query(datatoget, null, null, null, null); String fname = cursor.getString(ImageColumns.DATA); It won't let me run the code... "getString" is underlined in red and it just wants me to change it to "g

[android-developers] Re: cant read file from data/data/pkg/files/...

2009-03-30 Thread Mike Collins
If my understanding is correct, in general you can't because of security. Stuff under /data/data/package/... is protected from any code except the package itself. mike On Mar 30, 4:16 pm, Komal wrote: > Hello > please help me!!! > Thank you > > On Mar 30, 1:29 pm, Komal wrote: > > > > > Hi

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-30 Thread Noam
Yes, I have tried that but it still doesn't work. I think it's because both of the PreferenceScreens are in the same .java file, so it never gets to the onResume() point. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Android Physics Engine

2009-03-30 Thread Anton
That's what I did. :) Firefox 3.0.8. I just tried it again and had the same thing happen. I'll give it another go when I get home and have my development machine at my disposal. By the way, nice name. :) Always good to meet a fellow Anton. -Anton On Mar 30, 4:01 pm, Streets Of

[android-developers] Re: cant read file from data/data/pkg/files/...

2009-03-30 Thread Komal
Hello please help me!!! Thank you On Mar 30, 1:29 pm, Komal wrote: > Hi, > I am saving an image using openFileOutput and now i want to use this > image in my java script file. > I am saving image using this code : > > Bitmap b=DownloadImage(imageUrl); > FileOutputStream fos = mcontx.openFileOutp

[android-developers] Re: Android Physics Engine

2009-03-30 Thread Streets Of Boston
Try the demo on firefox. It works really well. On Mar 30, 5:59 pm, Anton wrote: >     Could be good.  I tried to check out the demo but it crashed my > browser.  :)  I'm sure that's not really indicative of the engine, and > more of my browser's stability.  I did look through the code and found

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-30 Thread Peli
Have you tried to override the onResume() method of your PreferenceActivity? http://developer.android.com/reference/android/preference/PreferenceActivity.html Peli On Mar 31, 12:27 am, Noam wrote: > "How do you know that "i" is equal to 1 on screen A and "i" equal to 2 > on screen B? Where do y

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-30 Thread Noam
"How do you know that "i" is equal to 1 on screen A and "i" equal to 2 on screen B? Where do you set it? Can't you check there directly?" That is exactly what I want to find out - how to make "i" equal to 1 on screen A and how to make "i" equal to 2 on screen B. That is what I want to do and have

[android-developers] Re: Improve scrolling speed

2009-03-30 Thread Romain Guy
Well if your profiling shows 91% of the time spent in the GestureDectory, then you are probably doing something wrong. > I don't do anything related to scrolling except for make it scrolldown > (scrollTo(x,y)) and detecting if Im trying to scroll up and set a > boolean which says dont make it scr

[android-developers] Re: custom progress indicator ?

2009-03-30 Thread Alexey
So i found this thread and try to set drawable to the ImageView ( as a content ) img.setImageDrawable(drawable) and still I have a only first imaage displayed but the weird thing that if i check isRunning on the animated drawable it returns true . http://groups.google.com/group/android-developer

[android-developers] Re: Improve scrolling speed

2009-03-30 Thread AlCapwn
The onfling is only used for detecting gestures for switching windows, I don't do anything related to scrolling except for make it scrolldown (scrollTo(x,y)) and detecting if Im trying to scroll up and set a boolean which says dont make it scroll. On Mar 30, 10:45 pm, Romain Guy wrote: > Why are

[android-developers] Re: Android Physics Engine

2009-03-30 Thread Anton
Could be good. I tried to check out the demo but it crashed my browser. :) I'm sure that's not really indicative of the engine, and more of my browser's stability. I did look through the code and found that it does a lot of memory allocation in it's inner loops (Verlet update step in parti

[android-developers] Re: Improve scrolling speed

2009-03-30 Thread Romain Guy
Why are you using your own fling mechanism with GestureDetector? ScrollView already handles all of that. On Mon, Mar 30, 2009 at 2:18 PM, AlCapwn wrote: > > > On Mar 30, 9:40 pm, Romain Guy wrote: >> How is your scrolling implemented exactly? > > It just uses a ScrollView. > >> What is the view

[android-developers] Re: Android Physics Engine

2009-03-30 Thread Streets Of Boston
I wonder how well this one works on Android: http://code.google.com/p/simpull/ -- Anton Spaans On Mar 30, 4:58 pm, Anton wrote: >     I have a simple 2D physics engine written and running.  It uses > the now famous Jacobson physics tricks (Verlet integration and hard > constraints).  I can m

[android-developers] Re: RESTful user authentication

2009-03-30 Thread JP
On Mar 30, 10:21 am, Wouter wrote: > But it is still Android related because i want to use this webservice > only in my android application! Sure but REST is an architecture that provides abstraction from the web service implementation. There is no consideration whether the the web service is

[android-developers] Re: Parsing date with SimpleDateFormat

2009-03-30 Thread Mike Collins
my dates come in looking like this "2004-08-04T19:09:02.768Z" and I parse them like this SimpleDateFormat dateFormater = new SimpleDateFormat("-MM- dd'T'HH:mm:ss'.000Z'"); dateFormater.setTimeZone(TimeZone.getTimeZone("GMT")); Date d = dateFormater.parse(s); Try creating a Date object and

[android-developers] Re: RESTful user authentication

2009-03-30 Thread JP
On Mar 30, 9:39 am, Wouter wrote: > But i cant make a java restful webservice with the Google App Engine! > Or am i wrong? You are correct. My point is whether you use Java-built servlets (or not) is the least of your worries. Rather... are you ready and committed to set up and maintain a web s

[android-developers] Re: Improve scrolling speed

2009-03-30 Thread AlCapwn
On Mar 30, 9:40 pm, Romain Guy wrote: > How is your scrolling implemented exactly? It just uses a ScrollView. > What is the view hierarchy? ViewFlipper with children which have this layout: RelativeLayout -> Image Button -> ImageButton -> EditText -> LinearLayout (used only fo

[android-developers] Re: Can not install in eclipse

2009-03-30 Thread Simon Depiets
2009/3/30 duguyitian : > > Hi, > > I have installed eclipse 3.4 and JDK6 successfully. However, when try > to install ADT as following steps: > 1. Open eclipse > 2. Help->Software Updates->Available Software->Add Site->Archive > 3. Select "J:\android-sdk-windows-1.0_r1.zip", then, the location wil

[android-developers] Re: Can not install in eclipse

2009-03-30 Thread djr
The best place to go to install the ADT plugin is http://developer.android.com/sdk/1.1_r1/installing.html Go down to Eclipse 3.4 (Ganyamede) section and the site you want to add on is: http://dl-ssl.google.com/android/eclipse/ I don't have good success using the https:... site so use http inste

[android-developers] Re: Android Physics Engine

2009-03-30 Thread Anton
I have a simple 2D physics engine written and running. It uses the now famous Jacobson physics tricks (Verlet integration and hard constraints). I can manage 40 balls on the screen, with fill n^2 interaction between balls. I am working on spatial data structure optimizations now to improve

[android-developers] Re: IntBuffer Overflow - OpenGL ES

2009-03-30 Thread Anton
I also ran into this problem. After looking through the source to the NIO buffers I noticed that when you use a wrapped direct buffer the wrapping code doesn't clear the underlying buffers position when you call buffer.clear(). I found a way around this that doesn't require the for loop. If

[android-developers] Re: Improve scrolling speed

2009-03-30 Thread Romain Guy
How is your scrolling implemented exactly? What is the view hierarchy? Have you tried profiling? On Mon, Mar 30, 2009 at 1:39 PM, Al wrote: > > Currently, attempting to scroll when the textview has large amount of > text makes the app completely unresponsive. It doesnt ANR, but it > doesn't resp

[android-developers] Improve scrolling speed

2009-03-30 Thread Al
Currently, attempting to scroll when the textview has large amount of text makes the app completely unresponsive. It doesnt ANR, but it doesn't respond either. I've tried occasionally removing some text from the textview and removing some spans also, but it doesnt seem to help much. Any idea how t

[android-developers] Re: Photo Picker

2009-03-30 Thread Streets Of Boston
This works as designed. The getDataString() is the string of the content Uri that refers to the image. If you want the physical filename, do a 'Cursor cursor = getContentResolver().query(intent.getData(), null, null, null, null)' and query the column ImageColumns.DATA on the returned cursor. The

[android-developers] Re: IntBuffer Overflow - OpenGL ES

2009-03-30 Thread Streets Of Boston
Good to know. At least it's good to know that i was not going crazy :- D I used the for-loop solution to get around this issue. On Mar 30, 7:04 am, Daniel Johansson wrote: > I'm experiencing the same behavior, and I'm pretty sure it's a bug. > > I have been testing this thoroughly and it simply

[android-developers] How to disable 'Sorry! Activity YYY (in application XXXX) is not responding.

2009-03-30 Thread ying lcs
Hi, Can you please tell me how can I disable 'Sorry! Activity YYY (in application ) is not responding as I debugging my android inside eclipse? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android

[android-developers] Re: dex failure

2009-03-30 Thread Dan Bornstein
On Mon, Mar 30, 2009 at 11:12 AM, BeWillDir wrote: > Now I'm preparing for a trip and I want to continue development > on my netbook, but I'm haviing trouble with the build process. It > appears to run the compiler OK, and generates a set of class files > identical to that on my first system (ve

[android-developers] Re: IntBuffer Overflow - OpenGL ES

2009-03-30 Thread fadden
On Mar 30, 4:04 am, Daniel Johansson wrote: > I'm experiencing the same behavior, and I'm pretty sure it's a bug. A handful of bugs in the nio buffer implementation have been found and fixed. If you have some code that demonstrates the problem, please file a bug on b.android.com, and we'll make

[android-developers] Android Physics Engine

2009-03-30 Thread mscwd01
Does anyone know of, or have implemented, a physics engine which runs smoothly in Android? I have spent the last couple of days trying Phys2D and JBox2D, however both perform very poorly - I am struggling to get even a few objects to simulate smoothly as frequent garbage collection spoils it. On

[android-developers] Re: Debug.startMethodTracing InternalError: file open failed

2009-03-30 Thread fadden
On Mar 28, 2:35 pm, William wrote: > i put this in my oncreate method and get an error, file open failed. > what am i doing wrong? > Debug.startMethodTracing("rufio"); Give it a full path, like "/sdcard/rufio". --~--~-~--~~~---~--~~ You received this message beca

[android-developers] Photo Picker

2009-03-30 Thread Bobbie
I am having issues with some "photo picker" code that I am using. All of my pictures are stored on an SD card. The SD card is mounted and I can take pictures no problem. However, when I select a picture from the picker and output the location of the file, I should get: "/sdcard/dcim/Camera/FIL

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread admin.androidsl...@googlemail.com
Thanks Stoyan - I look forward to trying out your code. Very much appreciated. On Mar 30, 8:30 pm, Stoyan Damov wrote: > I will try to code a demo which does side scrolling tonight, but I > don't know opengl, so I won't use it. > > My phone is getting worse every day (I haven't used it as phon

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-30 Thread Stoyan Damov
I will try to code a demo which does side scrolling tonight, but I don't know opengl, so I won't use it. My phone is getting worse every day (I haven't used it as phone as a matter of fact for a while) but in case it does manage to show smooth scrolling, in the 5 seconds idle period, when it's no

[android-developers] Re: custom progress indicator ?

2009-03-30 Thread Alexey
hm ... apparently its not working in from onResume , works fine from onClick listener . Anybody figured out how to make it this from onResume ? On Mar 30, 11:07 am, Alexey wrote: > it does look like what i need thanks ! > > On Mar 30, 4:46 am, Gesh wrote: > > > what you need is this > > hereht

[android-developers] Re: Load an external library in monkey

2009-03-30 Thread Avraham Serour
monkey On Mon, Mar 30, 2009 at 9:04 AM, Phinex wrote: > > HI > I want to load an external library in monkey.For example,i write a > series method in a new class with java,and i want to pack it to be a > library like .so/.dll/.JAR or something else.Then the monkey is to > load the library ,to

[android-developers] Re: market://details not working?

2009-03-30 Thread droozen
I'm guessing you are working off some old data. See this page: http://developer.android.com/guide/publishing/publishing.html The intent should be a Uri something like market://search?q=pname: or market://search?q=pub:"" to see all your apps. On Mar 29, 3:45 pm, Michael Elsdörfer wrote: > Appar

[android-developers] Re: How to track memory consumption? (Bitmaps)

2009-03-30 Thread dm1973
The stand alone version of ddms allows you to see the memory allocations. It is a real pain that this hasn't been integrated into eclipse. On Mar 27, 1:13 am, Markus Junginger wrote: > Thanks Michael for your reply. > > On Mar 27, 12:07 am, Michael MacDonald > wrote:> AFAIK, bitmaps *are* creat

[android-developers] dex failure

2009-03-30 Thread BeWillDir
I've been using ant to build my .apk on one of my office systems. Works fine. Now I'm preparing for a trip and I want to continue development on my netbook, but I'm haviing trouble with the build process. It appears to run the compiler OK, and generates a set of class files identical to that on

[android-developers] Re: how to add "--core-library" to Eclipse ?

2009-03-30 Thread Mark Murphy
Dan Bornstein wrote: > Maybe it needs some further wordsmithing. As another "for instance" of this error, I am working on Android-ifying some existing Java code that relies on java.beans.PropertyChangeListener and java.beans.PropertyChangeEvent. I can pull those files out of Apache Harmony, and t

[android-developers] Re: ImageViews and onFocusChanged()

2009-03-30 Thread Romain Guy
Views in a GridView are not focused, they get selected. On Mon, Mar 30, 2009 at 5:56 AM, Oli Bird wrote: > > Hi there.. > > I have an extension of ImageView that I would like to be able to > highlight on focus gain. > At present, the highlighting works fairly well using onFocusChanged() > and se

[android-developers] please help me , i need some ebooks about android!

2009-03-30 Thread manhp...@gmail.com
hi , everyone I'm finding some ebooks about android For Examples : Pro andoird , T-Mobile G1 For Dummies,Hello, Android: Introducing Google's Mobile Development Platform , Android Application Development: Programming with the Google SDK, The Busy Coder's Guide to Android Development ,Google o

[android-developers] passing intents

2009-03-30 Thread provoca...@msn.com
I'm launching a new activity and trying to pass an intent as data along, so i can stopService a service that i launched with the intent im trying to pass. I see there is a putExtras(Intent src), but i dont think that is what im looking for. Anyone know how to pass an intent without using static va

[android-developers] market://details not working?

2009-03-30 Thread Michael Elsdörfer
Apparently, I'm supposed to be able to open my app in the Android market by querying an Intent with an URL like: market://details?id= seems to be the package name, e.g. say "com.NamcoNetworks.PacMan" See for example: http://www.google.com/support/forum/p/Android+Market/thread?tid=5c8501d73226f

[android-developers] Wifi & 3G

2009-03-30 Thread Mouna
Dears I need a Library that opens WIFI connection And 3G connection at the same time and then start transmiting sockets to 2 PC ( servers) connected to the wifi-3g Networks I Couldnt find in Wifi.manager & Android.net Lib. any thing that can do that . Is there any body that invistigted such ca

[android-developers] passing intents

2009-03-30 Thread max
how do you pass an intent from a service to a new activity launched from a main activity ? there's a passextra( intent src ); but i dont think thats what im looking for ? activity main > start service( intent wuteverserviceintent ); activity main > start activity( intent newactivityintent );

[android-developers] Design choices for SensorManager and apps using SensorManager

2009-03-30 Thread Sam
Hi, >From my understanding, SensorManager spawns a thread in its calling application to poll sensor data while the SensorService in system server controls the sensor. I have 2 questions: 1. Why Android designs the SensorManager and SensorService in this way? Most of time in Android, XxxManager u

[android-developers] Re: SimpleCursorAdapter and blobs

2009-03-30 Thread cannehal
I have similar issue. Cannot retrieve image from database (BLOB). As far as I know it should work without writing your own ViewBinder, because setImageView is doing all the work. Can someone help us with this issue? On 25 Mar, 20:09, prout wrote: > hi, > On 24 mar, 17:40, prout wrote: > > > the

[android-developers] Google Streetview Data Format

2009-03-30 Thread AlphaBetaNu
Does anyone know what the exact data format of the google streetview is for Android? Was wondering about the exact data format of the google streetview for non-flash devices. Is this is the same as for flash and they have custom renderer for it? Thanks! ABN --~--~-~--~~~

[android-developers] SMS in android

2009-03-30 Thread aglagla
Hello World! I'm a beginner in android platform.I want to know how I can send and receive a sms with android emulator.I have followed example given in this link: http://mobiforge.com/developing/story/sms-messaging-android But I can't really send and launch the second emulator for receiving an inco

[android-developers] Re: HelloGallery tutorial "android.R.styleable cannot be resolved"

2009-03-30 Thread Jonathan
Yes, it seems 'styleable' got removed from the SDK and the tutorial(s) hasn't been updated. There was a message a couple weeks ago about this and I'm trying to see if I can figure out what Dianne Hackborn means by "use in your own app". to fix this. On Mar 23, 12:30 pm, ppmoore wrote: > Hello,

[android-developers] Re: where's android.telephony.TelephonyProperties moved to?

2009-03-30 Thread Orianeli
Actually I have a similar question too: i was not able to find the android.provider.telephony.SMS_RECEIVED in the API. I suppose the current reference is not updated? Thanks! On Mar 29, 2:23 am, savio wrote: > Hi, > > I want to use android.telephony.TelephonyProperties, but I cannot find > it i

[android-developers] Re: catching a trackball event

2009-03-30 Thread Ingersol
If you using emulator, make sure you setting trackball mode on. You can do it by clicking F6 (permanent mode) or pressing "delete" key on your keyboard (temporary mode). Then in top left corner of emulator screen you can see trackball icon. --~--~-~--~~~---~--~~ Yo

[android-developers] Load an external library in monkey

2009-03-30 Thread Phinex
HI I want to load an external library in monkey.For example,i write a series method in a new class with java,and i want to pack it to be a library like .so/.dll/.JAR or something else.Then the monkey is to load the library ,to use the mothod in it. I know the source code must be rebuild ,but how c

[android-developers] ImageViews and onFocusChanged()

2009-03-30 Thread Oli Bird
Hi there.. I have an extension of ImageView that I would like to be able to highlight on focus gain. At present, the highlighting works fairly well using onFocusChanged() and setColorTint(), but I seem to have very little if any control over when onFocusChanged() gets called. I have a number of t

[android-developers] Can not install in eclipse

2009-03-30 Thread duguyitian
Hi, I have installed eclipse 3.4 and JDK6 successfully. However, when try to install ADT as following steps: 1. Open eclipse 2. Help->Software Updates->Available Software->Add Site->Archive 3. Select "J:\android-sdk-windows-1.0_r1.zip", then, the location will be"jar:file:J:\android-sdk-windows-1

[android-developers] Re: fullscreen rendering and MEMORY_TYPE_GPU?

2009-03-30 Thread Jint3i
I would like to know why this doesn't work as well. I'm able to use the options mentioned by gigadude but the device fails to hide the notification and title bars and also fails to render the OpenGL scene when the MEMORY_TYPE_GPU flag is set with Window.requestFeature On Mar 6, 1:16 am, gigadude

[android-developers] Re: Problem with onChange of ContentObserver

2009-03-30 Thread Aaron
In your case, three tables have been updated after the contact is saved: people, contact_methods and phones. So your observer got notified three times. On Mar 30, 8:12 pm, gganesh wrote: > I have a service running, under which i have declared  observer class > for to notify any changes in contac

[android-developers] Calendar application

2009-03-30 Thread land0
Thank you all so much you have given me a part of my life back that I did not know was missing. I have been using my G1 phone for a month now. As a result I have come across a couple of small improvements that I think would really blow open the productivity of the calendar. If there was the abil

[android-developers] Trouble with Chronometer object

2009-03-30 Thread Injeniero Barsa
I want to set up a Chronometer in my application. But the Chronometer widget has a sort of glitch. When I call the stop() method, the display freezes but the countup continues. For instance. I call start () and 4 seconds later I call stop(). 6 seconds later I call start() but It doesn't start from

[android-developers] what is "/dev/qmi" of reference-ril.c ?

2009-03-30 Thread lvcoffee
reference-ril.c static void requestSetupDefaultPDP(void *data, size_t datalen, RIL_Token t) fd = open ("/dev/qmi", O_RDWR); if (fd >= 0) { /* the device doesn't exist on the emulator */ LOGD("opened the qmi device\n"); asprintf(&cmd, "up:%s", apn); l

[android-developers] market://details not working?

2009-03-30 Thread Michael Elsdörfer
Apparently, I supposed to be able to open the Market page of my app by querying an intent with an URL like: market://details?id= where seems to be the package name: http://www.google.com/support/forum/p/Android+Market/thread?tid=5c8501d73226fad8&hl=en However, while this seems to indeed open

[android-developers] Re: No Market download in Chile on dev phone?

2009-03-30 Thread Oli Bird
>From many places, you need to be logged into chat before downloads can start.. Cheers, Oli Bird On Mar 30, 2:05 pm, mirko wrote: > Hi, > > I am travalling with my ADP1 from Germany to Chile. In Chile I am > connected to the internet with a private WiFi. I am able to browse > through the androi

[android-developers] Help me , i need somes ebook about android !

2009-03-30 Thread manhp...@gmail.com
i'm finding any ebooks about android , for example : Android Application Development, Pro Android: Developing Mobile Applications for G1 and Other Google Phones ,The Busy Coder's Guide to Android Development,T-Mobile G1 For Dummies ,Google on the Go: Using an Android-Powered Mobile Phone .

[android-developers] How to change Data sync settings

2009-03-30 Thread Dennis
Good day, I need to change the Data Sync settings on my G1 Phone. But I can't seem to find any options to change it. I'm giving my G1 phone to my wife and she needs to sync here gmail to that phone. I was able to sync my gmails to my phone, work great. But how to change the settings to my sync m

[android-developers] How to progress bar before going to next activity

2009-03-30 Thread amx
Hi All, My application involves doing some calculation on the first activity and sending the information to the second activity. So while the calculation is being done , I want to show a activity / progress / busy indicator on the first activity , before going to the second one. Is there any way

[android-developers] How to track Android PIM changes?

2009-03-30 Thread AL
Hi, Experts Our team is creating an Exchange ActiveSync client for an Android product. We met the issue of tracking contacts/calendar changes. Here are some proposals we can image. Please advise or give your suggestions. 1. Like Funambol SyncML for Android, before the sync session, calculate ea

[android-developers] Re: how to add "--core-library" to Eclipse ?

2009-03-30 Thread Dan Bornstein
On Thu, Mar 26, 2009 at 9:43 AM, DaRolla wrote: > I need to know how to add the parameter "--core-library" to Eclipse, > especially to DEX. > > I managed to work around with activitycreator and ant scripts > (build.xml), but this way it takes too long. > > Where can I configure this? As far as I

  1   2   >