[android-developers] hierarchyviewer not working in Motorola Milestone Android 2.1
Hello, I have recently updated my Motorola Milestone to 2.1 (the official upgrade) and i noticed that hierarchyviewer doesn't work anymore (it can't start the server). Someone knows a workaround or how to fix this issue? hierarchyviewer was working ok with android 2.0. Thanks. Lucas -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: hierarchyviewer not working in Motorola Milestone Android 2.1
I undestand that, but i mean it is not even working with my own on dev apps (even with debug enabled in manifest). On Jun 1, 2:43 am, Romain Guy romain...@android.com wrote: HieararchyViewer is not meant to run on user builds. If it worked before, there was an issue and the build was not properly configured. This limitation exist for security reasons as HierarchyViewer could otherwise give you access to private user data. On Mon, May 31, 2010 at 9:23 PM, rollbak roll...@gmail.com wrote: Hello, I have recently updated my Motorola Milestone to 2.1 (the official upgrade) and i noticed that hierarchyviewer doesn't work anymore (it can't start the server). Someone knows a workaround or how to fix this issue? hierarchyviewer was working ok with android 2.0. Thanks. Lucas -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: GLSurfaceView and camera surface
Hello, If you want one on top of the other you must use a FrameLayout and then give different z index to each when adding them as childs. regards, Lucas On Mar 25, 3:07 am, sleith raysle...@gmail.com wrote: Hi, i tried to have a GLSurfaceView on top of camera surface, so that i can draw gl objects with camera preview as background. I tried but didn't works. the view i has is something like this: AbsoluteLayout alParent = new AbsoluteLayout(this); alParent.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT)); //CameraView extends SurfaceView implements SurfaceHolder.Callback mCameraView = new CameraView(this); mCameraView.setLayoutParams(new AbsoluteLayout.LayoutParams( AbsoluteLayout.LayoutParams.FILL_PARENT, AbsoluteLayout.LayoutParams.FILL_PARENT, 0, 0)); alParent.addView(mCameraView); //GLView extends GLSurfaceView view = new GLView(this); view.setLayoutParams(new AbsoluteLayout.LayoutParams( AbsoluteLayout.LayoutParams.FILL_PARENT, AbsoluteLayout.LayoutParams.FILL_PARENT, 0, 0)); alParent.addView(view); it resulting the camera preview only, the opengl is not drawn. ( i made sure without camera, the opengl draws cube). Anyone have experienced this kind of situation? 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 group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Motorola Droid (possible android) multi-touch bug and how to reproduce
Can you please explain which the issue is? On Jan 15, 1:09 pm, Mirmathrax mirmath...@gmail.com wrote: Multi-touch API is bugged (at least on Motorola Droid). Here is a method to reproduce the error for analysis: 1) Create a new android project in Eclipse with the following fields: Project name: PointerLocation Build target: Android 2.0.1 Application Name: PointerLocation Package Name: com.example.pointerlocation Create Activity: PointerLocation 2) Copy the following code and paste this into the PointerLocation.java file that is automatically created /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.example.pointerlocation; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Paint.FontMetricsInt; import android.os.Bundle; import android.util.Log; import android.view.MotionEvent; import android.view.ViewConfiguration; import android.view.WindowManager; import android.view.VelocityTracker; import android.view.View; import java.util.ArrayList; /** * Demonstrates wrapping a layout in a ScrollView. * */ public class PointerLocation extends Activity { @Override protected void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(new MyView(this)); // Make the screen full bright for this activity. WindowManager.LayoutParams lp = getWindow().getAttributes(); lp.screenBrightness = 1.0f; getWindow().setAttributes(lp); } public static class PointerState { private final ArrayListFloat mXs = new ArrayListFloat(); private final ArrayListFloat mYs = new ArrayListFloat(); private boolean mCurDown; private int mCurX; private int mCurY; private float mCurPressure; private float mCurSize; private int mCurWidth; private VelocityTracker mVelocity; } public class MyView extends View { private final ViewConfiguration mVC; private final Paint mTextPaint; private final Paint mTextBackgroundPaint; private final Paint mTextLevelPaint; private final Paint mPaint; private final Paint mTargetPaint; private final Paint mPathPaint; private final FontMetricsInt mTextMetrics = new FontMetricsInt (); private int mHeaderBottom; private boolean mCurDown; private int mCurNumPointers; private int mMaxNumPointers; private final ArrayListPointerState mPointers = new ArrayListPointerState(); public MyView(Context c) { super(c); mVC = ViewConfiguration.get(c); mTextPaint = new Paint(); mTextPaint.setAntiAlias(true); mTextPaint.setTextSize(10 * getResources().getDisplayMetrics().density); mTextPaint.setARGB(255, 0, 0, 0); mTextBackgroundPaint = new Paint(); mTextBackgroundPaint.setAntiAlias(false); mTextBackgroundPaint.setARGB(128, 255, 255, 255); mTextLevelPaint = new Paint(); mTextLevelPaint.setAntiAlias(false); mTextLevelPaint.setARGB(192, 255, 0, 0); mPaint = new Paint(); mPaint.setAntiAlias(true); mPaint.setARGB(255, 255, 255, 255); mPaint.setStyle(Paint.Style.STROKE); mPaint.setStrokeWidth(2); mTargetPaint = new Paint(); mTargetPaint.setAntiAlias(false); mTargetPaint.setARGB(255, 0, 0, 192); mPathPaint = new Paint(); mPathPaint.setAntiAlias(false); mPathPaint.setARGB(255, 0, 96, 255); mPaint.setStyle(Paint.Style.STROKE); mPaint.setStrokeWidth(1); PointerState ps = new PointerState(); ps.mVelocity = VelocityTracker.obtain(); mPointers.add(ps); } @Override protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { super.onMeasure(widthMeasureSpec, heightMeasureSpec); mTextPaint.getFontMetricsInt(mTextMetrics); mHeaderBottom = -mTextMetrics.ascent+mTextMetrics.descent +2; Log.i(foo, Metrics:
[android-developers] Re: OpenGL ES 2.0 on Eclair
So, that means that with NDK i can? Can you explain this further please? Thanks, Lucas On Dec 28, 3:09 pm, Romain Guy romain...@android.com wrote: Java apps cannot directly access OpenGL ES 2.0 APIs at the moment. On Thu, Dec 24, 2009 at 7:32 PM, Lawrencelee leelawrenc...@gmail.com wrote: Eclair has supported OpenGL ES 2.0. But I can not find related JNI wrapper for OpenGL ES API. How a Java application use OpenGL ES 2.0 functions? -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Blank textures on Droid (OpenGL)
I have a droid, i can help you debug what is going on. regards, Lucas On Dec 28, 6:31 am, Vladimir vladimir.funti...@gmail.com wrote: Hi guys, I ran into a rather strange problem with my OpenGL game. While most textures look good, five or six are not drawn on Droid, and I don't see anything special about these images/models. For example, my HUD is made of 4 elements. The upper part is drawn correctly, while the lower part appears as white rectangles. The code used for loading and drawing these models and textures is exactly the same. Textures are 32-bit TGAs in both cases, POT dimensions, in - nodpi, inScaled==false, using GLSurfaceView to rule out configuration issues. No problems on G1 and Hero (and of course on emulator). And I don't have the Droid, so I can't just try whatever comes to my mind. Asked users to send me logs - no errors, all models and images appear to load normally. Did anyone experience anything like that? If I come up with a test app, can anyone with a Droid take a look? Thanks, Vladimir -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Camera Preview Filter Choppiness
That's right, and also you are spawning new threads in every preview frame. And last but not least, i don't think having two surfaceview stacked is a good solution, at least is not intended for using it that way. On Dec 7, 2:10 pm, Streets Of Boston flyingdutc...@gmail.com wrote: How fast is 'decodeYUV' method? You call this method while your canvas is locked. If 'decodeYUV' is slow, it not only makes your background thread sluggish, but your main GUI-thread as well, because the canvas is locked for too long. Also, you don't synchronize on '_data'... Your implementation of 'onPreviewFrame' is filling '_data' and your background thread is reading it. The filling(=arraycopy) of '_data' may not be finished before your it's being read by your background thread. On Dec 5, 9:41 pm, Greg madma...@gmail.com wrote: Hello, I've been working on creating a program that will output the Camera Preview with various user-chosen filters (SnapPhoto has this functionality) and I've run into some problems. I have the following set up. - Camera preview set to a SurfaceView (I had to set PUSH_BUFFERS or the program fails). - Have another SurfaceView lieing over the Camera preview SurfaceView (in a FrameLayout) - Registered a camera callback for the preview data My problem is that the output is extremely choppy and the program quickly becomes unresponsive. I've set up a thread to do the processing, but this doesn't seem to help. I've implemented the decoding (into rgb_) algorithm (courtesy of dmanpearlhttp://groups.google.com/group/android-developers/msg/d3b29d3ddc8abf9b ) Is there anything I'm doing blatantly wrong or something I could fix to make this program run at a decent speed? Sorry if the code has poor style, I'm sort of an Android beginner and, for that matter, Java beginner. This code is inside the second SurfaceView, lieing over the Camera preview SurfaceView public void onPreviewFrame(byte[] data, Camera camera) { if(hasSurface) { System.arraycopy(data, 0, _data, 0, data.length); outputThread = new HandleOutput(); outputThread.start(); } } where HandleOutput() extends Thread, and _data is a global array. and this is inside the Thread public void run() { while(!done) { canvas = mHolder.lockCanvas(); PixelManip.decodeYUV(rgb, _data, width, height); //courtesy of dmanpearl (link above) PixelManip.applyFilter(filterID, _data, rgb); bitmap.setPixels(rgb, 0, width, 0, 0, width, height); canvas.drawBitmap(bitmap, 0, 0, paint); mHolder.unlockCanvasAndPost(canvas); done = true; } } Thanks, Greg P.S. Let me know if I should post any more code. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] D-Pad and WebView
Hello, I am developing an application using WebView widget and i can't capture D-Pad or TrackBall events on it. The rest of the keys are working as expected, but with D-Pad i don't get any keyPressed handler called. Does anyone know how to get D-Pad keys from JavaScript in a WebView? Thanks, Lucas -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Max app size
Hello, Which is the max application size that can be installed in Android? I have made several tests in different Android handsets (Hero, G1, Motorola Motus, Samsung Behold 2), and using adb i was able of installing up to 100mb application in Hero and Motus, but trying to install by SD card or OTA i was limited to a maximum of 50mb (even if the devices have 200mb of free space). Does anyone know which are the restrictions here? Thanks, Lucas --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Get Telephony Country code
Hello, I need to retrieve country info from the device. And i found the following methods to retrieve that info: android.telephony.TelephonyManager.getNetworkCountryIso() android.telephony.TelephonyManager.getSimCountryIso() I need to know if this ISO refers to: ISO 3166-1 alfa-2 country code specification or what other ISO is using. Also what's the difference between those to functions? 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 group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] HttpURLConnection headers
Hello, I have found an issue. I have a server that uses User Agent header to identify the device that is connecting to it. But when i connect to the server using HttpURLConnection i get no User Agent header, but when i connect with the browser it sends the correct User Agent. For testing i am using an echo server that replies with the headers it found on the request. When i connect with browser i get: eg: User-Agent: Mozilla/5.0 (Linux; U; Android 1.5; en-fr; HTC Hero Build/CUPCAKE) AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2 Mobile Safari/525.20.1 Up.Link/6.3.1.20.06.3.1.20.0. But when i connect by code with UrlConnection i get: User-Agent: UNAVAILABLE. Does anyone know we i get different behaviors? How i can i connect in the same way the browser does? 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 group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How can i access the home screen to show gif anim there..?
Hello, You need to extend a class from *BroadcastReceiver* and then add it to a reciever tag in your AndroidManifest.xml public class SMSReceiver extends BroadcastReceiver{...} receiver android:name=.SMSReceiver intent-filter action android:name=android.provider.Telephony.SMS_RECEIVED/ /intent-filter /receiver And then instead of making a toast or a notification, you should launch your activity (which must have transparent style background). regards, Lucas On Jul 28, 6:08 am, Desu Vinod Kumar vinny.s...@gmail.com wrote: HI exactly i need to show like this On Tue, Jul 28, 2009 at 1:14 PM, Romain Guy romain...@google.com wrote: You cannot do this. On Tue, Jul 28, 2009 at 12:44 AM, android.vinnyvinny.s...@gmail.com wrote: HI how can i access the Home screen .i need to show the gif animation there how can i show that gif image there how can i do it . thanks a lot in advance. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- Regards --- Desu Vinod Kumar vinny.s...@gmail.com 09176147148 emo.PNG 186KViewDownload --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] UNINSTALL_SHORTCUT Intent
Hello, I am trying to use the following intent action, but i get an ActivityNotFoundException com.android.launcher.action.UNINSTALL_SHORTCUT I try to use it with the following code: Intent i = new Intent (com.android.launcher.action.UNINSTALL_SHORTCUT); startActivity(i); Thanks, Lucas --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Hide application in Home dinamically
Hello, I want to know if there is a way or workaround to hide an application to be shown in the Home activity, but doing this dynamically from my own app code. 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 group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Is this possible? Launching one application from another?
You can also take a look at the samples (they are all made this way). On Jun 1, 9:41 am, Android Users androidmai...@gmail.com wrote: Ok thanks for the quick response. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Getting the manifest.xml of applications from the market?
That is not so simple, because manifest inside APK is converted to a binary file which format is unknown. On May 21, 2:52 am, Raphael r...@android.com wrote: APKs are simply zip files. If you have anAPK, you can read its manifest. R/ On Wed, May 20, 2009 at 1:49 AM, brian.schim...@googlemail.com brian.schim...@googlemail.com wrote: Hi there, is there some way to retrieve the manifest.xmlof an application from the market, without installing the application? I think the official Market Application somehow get this file (or at least parts of it) to show needed permissions, etc. before installing. I'd be interested in seeing the IntentFilters defined by applications and their activities and processing this information in my application. thanks, Brian --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Getting the manifest.xml of applications from the market?
The key on how to decode it is in SkBML_XMLParser.cpp On May 21, 6:51 pm, rollbak roll...@gmail.com wrote: That is not so simple, because manifest insideAPKis converted to a binary file which format is unknown. On May 21, 2:52 am, Raphael r...@android.com wrote: APKs are simply zip files. If you have anAPK, you can read its manifest. R/ On Wed, May 20, 2009 at 1:49 AM, brian.schim...@googlemail.com brian.schim...@googlemail.com wrote: Hi there, is there some way to retrieve the manifest.xmlof an application from the market, without installing the application? I think the official Market Application somehow get this file (or at least parts of it) to show needed permissions, etc. before installing. I'd be interested in seeing the IntentFilters defined by applications and their activities and processing this information in my application. thanks, Brian --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: The GIMP cannot digest the standard widget frames
I think the best solution wold be that google support a standard like SVG. On May 19, 10:29 am, JP joachim.pfeif...@gmail.com wrote: Alan, I believe this approach runs counter the original idea to work off of the PS (or other format) files... It's a bit like false money... But thanks for posting. Joachim On May 19, 12:13 am, Alan Jones skyp...@gmail.com wrote: Hi Joachim, On May 19, 2:49 pm, JP joachim.pfeif...@gmail.com wrote: *) BTW - where are these people? I'm a bit surprised that apparently I'm the first to stumble over this. Or perhaps I just post too much out here. I hit the same issue. I just grab the .pngs on the page and because I wanted the edges gone I ran a median filter around a selection that went just outside that. I've attached the pngs for 4x1 portrait and landscape I put together. It's got the proper 9 patches and all put in place. Scratch that - can't see how to attach files. They're here for a whilehttp://www.binaryiris.com/temp/4x1_Widget_Frame_Portrait.9.pnghttp://... Hope it helps. Cheers, Alan. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: the Trackball and MotionEvents
It is more easy than that. If you implement onTrackBallEvent in your activity and you return true; The event is consumed by you, otherwise it also triggers a onKeyUp event with a DPAD keycode. regards, Lucas On Jan 11, 7:39 am, blake blake.me...@gmail.com wrote: Dianne! Brilliant answer! Thank you very much! Pressing my luck, where does that translation happen? RootView? Activity? Many thanks! -blake On Jan 10, 6:23 pm, Dianne Hackborn hack...@android.com wrote: The framework translates raw trackball events into DPAD events if nobody consumes the trackball event. At this time Android only supports devices that have a touch screen. The trackball is optional, and can be replaced by a DPAD. On Sat, Jan 10, 2009 at 5:21 PM, blake blake.me...@gmail.com wrote: ... it appears that I was mistaken. Both trackball movement and screen taps generate MotionEvents. They are delivered completely differently, though Trackball events through dispatchTrackballEvent, and touch events through dispatchTouchEvent. I remain mystified by how the trackball is handled. It begins to look as if it generates MotionEvents exactly as the touch screen does. Presumably, clicking it generates a KEYCODE_DPAD_CENTER event. How do you generate a KEYCODE_DPAD_UP on, e.g., a G1? -blake On Jan 10, 4:40 pm, blake blake.me...@gmail.com wrote: I notice that TrackballEvents are different that MotionEvents, and it makes me wonder what happens on a device that does not support a touch screen. Suppose I have an Etch-a-Sketch application, that allows me to do crude drawings on my screen. With the G1 phone, I just watch for MotionEvents and draw them. Can anyone confirm (or deny) that, on a device that doesn't have a touch screen, my application will not work? Or, possibly, might trackball events appear as MotionEvents, on such a device. -blake -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Icons - Recommended size, format, etc?
Indeed there is an icons (launchers and notifications) style guideline from google. But i can't make it public, i received it because some business relation that google has with the company i work for. May be someone from google can make it public. regards, Lucas On Jan 1, 6:39 am, for android forandr...@gmail.com wrote: The size is in-fact 25*25 http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;... You will find the different images which are used for notification and other icons also in the above link. Specifically for the notifications I looked into the Mms app source code http://www.netmite.com/android/mydroid/packages/apps/ this link below in particular shows the image for the notification of the SMS. http://www.netmite.com/android/mydroid/packages/apps/Mms/res/drawable... On Wed, Dec 31, 2008 at 10:13 PM, Mariano Kamp mariano.k...@gmail.comwrote: ps. The reason I am asking for the source of your information is twofold. (a) I would like to read up on other related information, e.g. style guide, is SVG possible, other sizes, other formats, resolution independent icons, etc.? (b) I meanwhile tried 16x16 and 24x24 and to my it looks like 24x24 is the way to go, as it looks more crisp on the emulator. I attached a screenshot to see for yourself. On Wed, Dec 31, 2008 at 4:56 PM, Mariano Kamp mariano.k...@gmail.comwrote: Thanks for the information. If you don't mind me asking, how do you know? And do you know about a style guide? On Wed, Dec 31, 2008 at 10:06 AM, for android forandr...@gmail.comwrote: 16*16 On Wed, Dec 31, 2008 at 11:43 AM, Mariano Kamp mariano.k...@gmail.comwrote: What about the icons used in notifications? Are they 24x24 natively? Is there any source where this kind of documentation can be found? I didn't see any. Btw. is there a style guide in the works? Cheers, Mariano On Fri, Nov 7, 2008 at 8:17 PM, hackbod hack...@gmail.com wrote: But please make it 48x48. Otherwise it's just wasting time and space, and if a lot of apps start doing larger sizes it will have a noticeable impact. The app icon size is 48x48. On Nov 7, 9:44 am, Romain Guy romain...@google.com wrote: Hi, Home currently displays icons at 48x48, so your icon file should be at least this size. If you make it bigger, you should make it twice as big for better rendering. On Fri, Nov 7, 2008 at 6:23 AM, g1bb corymgibb...@gmail.com wrote: Hello, Is there a recommended size or format for an application's icon? I've been using .PNG at 190x141 px, but I can never seem to get them as 'cool' looking as the other applications I've seen. Thanks in advance. -- Romain Guywww.curious-creature.org --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] OpenGL backed Canvas
Hello, I was wondering how is the way to use the Canvas constructor that receives a GL context as parameter: Canvas(GL gl) Construct a canvas with the specified gl context. And also which is the intention of this to exist. Does it let me use normal canvas methods to draw over OpenGL? that way is how i can mix 2d with 3d? Thanks in advance, Lucas --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: OpenGL backed Canvas
Ok, thanks. But why is still in the docs? It is planned to enable it in a near future? I really need to mix 2d with 3d in my apps. Which do you think is the best way to achieve it? Thanks, Lucas On Dec 15, 10:55 am, Romain Guy romain...@google.com wrote: Hi, This is a feature that we disabled in Android 1.0. You cannot use it at the moment. On Mon, Dec 15, 2008 at 1:07 PM, rollbak roll...@gmail.com wrote: Hello, I was wondering how is the way to use the Canvas constructor that receives a GL context as parameter: Canvas(GL gl) Construct a canvas with the specified gl context. And also which is the intention of this to exist. Does it let me use normal canvas methods to draw over OpenGL? that way is how i can mix 2d with 3d? Thanks in advance, Lucas -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Cannot update eclipse adt plugin to new one (0.9 sdk)
Hi all, I am trying to update my eclipse adt plugin, but i get a conecction time out error. And if try to go to the plugin url (https:// dl-ssl.google.com/android/eclipse/) from my browser i get a 404 error. Does anyone managed to update their plugin succesfully? 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 group, send email to [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---