Re: [android-developers] What are the advantages of an Android Developers Device?

2010-06-28 Thread Kostya Vasilyev
28.06.2010 9:56, sagare пишет: Also i want to know is motorola droid a good device to be selected for android application testing? Yes, it works (I have the Milestone). Had to install their own driver in Windows 7 instead of the one that comes with Android SDK. Not sure if

[android-developers] Notification when any child of a ViewGroup is done drawing

2010-06-28 Thread George
I am trying to figure out if there is a way to be notified when any child of a ViewGroup has done drawing. I tried using the ViewTreeObserver's preDraw listener which works great if I know a child is about to get drawn, but I am looking for an equivalent postDraw or onDrawDone callback. -- You

Re: [android-developers] Notification when any child of a ViewGroup is done drawing

2010-06-28 Thread Romain Guy
There is no such global listener. You can simply create your own ViewGroup and override draw() or dispatchDraw(). On Sun, Jun 27, 2010 at 11:16 PM, George bipi...@gmail.com wrote: I am trying to figure out if there is a way to be notified when any child of a ViewGroup has done drawing. I tried

Re: [android-developers] Display a Dialog in non-Activity (simple Java) Class By passing Parameters

2010-06-28 Thread kavitha b
Use a handler to show dialog in activity and you can set handler which is created in activity to the class which you are using to show dialog On Mon, Jun 28, 2010 at 9:50 AM, TreKing treking...@gmail.com wrote: On Wed, Jun 23, 2010 at 4:38 AM, Nishant Kumar nishant.cs...@gmail.comwrote: I am

[android-developers] xxx.apk file works on emulator when on Motorola milestone pictures are not shown

2010-06-28 Thread yoav.str
my problem : the app I have uploaded into my cellular device is shown without the pictures I have insert to it . steps I have done in order to install: I have inserted the xxx.apk file into the device via usb I downloaded an apps installer via the Market I opened the app using the installer and

[android-developers] Re: Drawing 2D stuff on the screen in OpenGL over a 3D scene

2010-06-28 Thread Nightwolf
There's a chance that your 2D stuff is behind 3D stuff. Turning depth test off is a good idea for drawing UI. gl.glDisable(GL10.GL_DEPTH_TEST); Does drawing 2D alone work? On Jun 27, 4:01 pm, Navigateur naveen.c...@googlemail.com wrote: Can somebody take me step-by-step how to draw 2D stuff

[android-developers] Re: Android paid apps in Ireland

2010-06-28 Thread skooter500
This is a disgrace! And I cant get an answer from anyone in Google as to when this will be available. Oh well. It looks like SlideMe it is Bryan On Jun 26, 7:43 pm, Tomáš Hubálek tom.huba...@gmail.com wrote: On 21 čvn, 10:37, skooter500 skooter...@gmail.com wrote: (though I have users in

[android-developers] How to dismiss the soft keyboard

2010-06-28 Thread skooter500
Hi I have a TextView and a search button on an activity. When I press the enter key, I want to do something and then dismiss the soft keyboard programatically. I have set the TextView to be single line by using: android:singleLine=true, which moves the focus to the next component when you press

[android-developers] Re: Hiding application's icon from main menu.

2010-06-28 Thread Amit
Hi Murphy, I used setApplicationEnabledSetting(). but it's throwing an error java.lang.SecurityException: Permission Denial: attempt to change component How do we set permission ? I was trying to disable a third party app downloaded from google and installed using adb command. Is it possible

[android-developers] Re: Android can not render large triangles

2010-06-28 Thread john
It run on the htc device successfully!,but on emulator On Jun 17, 5:48 pm, john yx.xi...@luck-u.com wrote: I cannotrender alargetriangle onandroid,what Icansee is a rectangle,just like the triangle drops a corner This is my vertex array: [-8240, -3540, 10120, -8240, -3540, -3800, -8240,

[android-developers] The opengl app run very slow on HTC Hero Device

2010-06-28 Thread john
My app run very slow on this device, But the Neocore run very fast, I saw this infomation at its about page : Using Qualcomms Adreno graphics hardware I don't know how to use this My code: holder = getHolder(); holder.addCallback(this); holder.setType(SurfaceHolder.SURFACE_TYPE_GPU);

[android-developers] WebView memory leak

2010-06-28 Thread Mathias Lin
I have an activity using an xml layout where a WebView is embedded. I am not using the WebView in my activity code at all, all it does is sitting there in my xml layout. Now, when I finish the activity, I find that my activity is not being cleared from memory. (I check via hprof dump). The

[android-developers] Starting an AVD from a custom location

2010-06-28 Thread Patrick
Hallo! I want the android emulator to start a AVD from a non default location using the following command: ./android-sdk-linux_86/tools/emulator -sysdir /opt/ development/.android/avd/ -avd AVD1.6_HTC_SD The .android directory is a copy from the default .android directory from my homefolder...

[android-developers] Display customized Soft keyboard at run time

2010-06-28 Thread Amit
Hi, I have 2 keyboard installed in my android emulator. First is default android keyboard for emulator and second one is customized soft keyboard(implemented using InputMethodService). At run time, I wanna to decide which keyboard should be display. I wanna to show only one keyboard at a time.

[android-developers] Re: What are the advantages of an Android Developers Device?

2010-06-28 Thread MobDev
that's somewhat it regarding advantages... There is no device ALL the developers are using, I guess many are using of the shelf devices... Personally I have a ADP2 in combination with a off-the-shelf Htc Hero and since a couple of days a Samsung Galaxy S... No the ADP2 cannot has no 2.1 update,

[android-developers] Re: Marketplace behavior when version is wrong.

2010-06-28 Thread Lance Nanek
I've been wondering about the same thing, but re paid apps in countries or with carriers that don't support them. It isn't just a problem for links on web sites for that, though. I can't even tell from the free versions of my apps if I can launch the market intent for the paid versions

Re: [android-developers] sqlite3 in adb not in 2.2?

2010-06-28 Thread Vincent Tsao
On Mon, May 24, 2010 at 7:41 AM, Mark Murphy mmur...@commonsware.comwrote: schwiz wrote: So I just watched the talk at Google I/O where they showed how to use sqlite3 in ADB to help debug your database. I didn't know you could do that way cool. So I was doing it on my nexus which is

[android-developers]

2010-06-28 Thread yenchengwang
hi all, I want to make my android application with android source. my application will retrieves sensor data by i2c_smbus_read_word_data i2c API. but I always get the error messages like below: packages/apps/PSensorDemoProject2/jni/psensor-jni.c:92: undefined reference to

[android-developers] Re: How to fetch phone's phone number or unique ID

2010-06-28 Thread MobDev
You might want to re-read the post of Indicator, he actually tell you which package you should use and even which method.. If those things don't ring a bell you might want to start learning OOP first (specifically Java) and the in a couple of months start programming for the mobile platform... On

[android-developers] rtsp client?

2010-06-28 Thread chas__123
Hi could someone say if android supports an RTSP stack? We've an RTSP server that we'd like to stream video to an android rtsp client if thats possible thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] extending media framework on android 2.2 / froyo (stagefright ?)

2010-06-28 Thread sbw.android
hi, I am interested in adding support for some video containers not supported by default in a video player application. flash player plugin being able to play video on froyo, I suppose there are some api to extend the media framework. I've heard of stagefright but didn't find much details. where

[android-developers] Re: Problem with BaseAdapter on android2.2 SDK

2010-06-28 Thread vishu
Thanks for your kind reply... My Problem is: I am showing three checkboxes with some background drawables. For this,i am using Gridview and data adapter is BaseAdapter. I am unable to click/check the 0th positioned checkbox in the grid view on SDK2.2.The same code is working fine with 2.1SDK.

[android-developers] Camera in Froyo emulator crashes

2010-06-28 Thread Fina Mesina
Hello! We are exploring the default applications in Froyo and we found out that the Camera app always crashes seconds after it loads. Is this related to the no camera/video input limitation of the application? If not, what seems to be the problem? We already added all the additional properties

[android-developers] How to keep android phone both connected to WIFI and 3G network?

2010-06-28 Thread Alex Xin
Hi, folks I have a application that requires both connected to WIFI and 3G mobile network, but I found that if I switch to WIFI, I'll automatically lost 3G data connection, all connection I made now routes to WIFI. Does anybody know how to keep phone both connected to those networks, and how to

[android-developers] Re: rtsp client?

2010-06-28 Thread MobDev
afaik you can directly feed that trsp url to the MediaPlayer class... On 28 jun, 12:33, chas__123 charlie.nug...@gmail.com wrote: Hi could someone say if android supports an RTSP stack? We've an RTSP server that we'd like to stream video to an android rtsp client if thats possible thanks

Re: [android-developers] Re: Best httpclient re-use stategy

2010-06-28 Thread David
Ok, thanks for this advice. So you decide to manage preference by yourself using the filesystem directly ? On Fri, Jun 25, 2010 at 10:48 PM, Mariano Kamp mariano.k...@gmail.comwrote: Just a sidenote on an issue that you touch, but not the actual main issue: - Save the cookie (String

[android-developers] Status bar leaves a black bar in my Fullscreen Activity !

2010-06-28 Thread MobDev
Hi, I have a Fulscreen Activity (by using android:theme=@android:style/ Theme.NoTitleBar.Fullscreen). I noticed that when the device has gone into powersave mode (black screen) or when I have used the Home Button, and I get back in my Activity the whole Layout will have been moved downwards

[android-developers] Re: Capture home key event

2010-06-28 Thread Vishal
I do understand the difference between the back key and home key. Anyways, is this the android where developer say anything can be done in android by developer? :-( On Jun 24, 3:00 pm, Tomáš Hubálek tom.huba...@gmail.com wrote: Many users don't understand difference between Home and Back

[android-developers] Percentages on ProgressDialog.STYLE_HORIZONTAL

2010-06-28 Thread MobDev
Hi, I have been using a ProgressDialog in it's horizontal form, exactly like in this article : http://mobiledeviceprogramming.blogspot.com/2010/01/showing-progress-bar-on-android.html Now I was wondering how do I get rid of one of the two percentages ? As in I have a percentage on the left side

Re: [android-developers] Camera in Froyo emulator crashes

2010-06-28 Thread Connick
Don't know if it's related but the camera app crashes every one of our Nexus one's. (actual hardware) -Stace On Mon, Jun 28, 2010 at 6:57 AM, Fina Mesina fina.mes...@gmail.com wrote: Hello! We are exploring the default applications in Froyo and we found out that the Camera app always

Re: [android-developers] Re: how to play a 8192*8192 image ?

2010-06-28 Thread xhy
Thank you ! I will have a try! 2010/6/28 Streets Of Boston flyingdutc...@gmail.com Then you need to tell them it is impossible. Ask them what the maximum resolution is of the output they desire. And i'm curious which output- device your clients have in mind if it needs a 8192x8192 resolution.

[android-developers] Starting the Market Application programatically

2010-06-28 Thread lloyd1949
Is this possible? I have a free and a paid version of an application. From the FREE version I want to provide the ability to for the user to PURCHASE the paid version. I want to make it as simple as possible. I am thinking of Starting the market app and passing the identification of the PAID so

[android-developers] Defining a class at runtime

2010-06-28 Thread Ashutosh Sharma
Hi, I'm trying to achieve the following: - class A (in application A) derives from class B. - application A loads a dex dynamically (using DexClassLoader). - application A wants to have the *definition* of class B to come from this newly loaded dex. Something similar does happen for the Google

[android-developers] Re: PNG loading that doesn't premultiply alpha?

2010-06-28 Thread spocky12
Thanks Jeremy, I've just understood why I had this strange blending behaviour in my app (I didn't know premultiplied alpha existed). I'm also very interested in a way to correctly blend multiple layers in opengl (I guess the solution would be in loading png without premultiplied alpha... or could

[android-developers] draw hands on canvas

2010-06-28 Thread Beena
Hi, I want to draw hands on the canvas which is smooth and closed arc. How can I draw it? Any code regarding graphics or refrence class to draw it will be helpful. Thanks and Regards, Beena -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: draw hands on canvas

2010-06-28 Thread Vaikunth
See the ApiDemo. You can draw it using ArcShap. On Jun 28, 5:44 pm, Beena swdeveloper2...@gmail.com wrote: Hi, I want to draw hands on the canvas which is smooth and closed arc. How can I draw it? Any code regarding graphics or refrence class to draw it will be helpful. Thanks and

[android-developers] Re: Starting the Market Application programatically

2010-06-28 Thread String
http://developer.android.com/guide/publishing/publishing.html#marketintent Be aware that substring matching is broken, last I heard, but the other query forms work. String On Jun 28, 1:06 pm, lloyd1949 lloydmcfarl...@comcast.net wrote: Is this possible? I have a free and a paid version of an

[android-developers] soft keyboard

2010-06-28 Thread Lieuwe
Hi, I've got a problem with my application in that the soft-keyboard is not being closed unless the user pushes the back button. I use several layouts which I load using the setContentView method of the application. Some layouts contain multiple EditText fields. The soft-keyboard pops up

[android-developers] Re: Null canvas being passed to onDraw(Canvas canvas)

2010-06-28 Thread maxcambi...@gmail.com
Hi, Maybe you can just skip the onDraw in that case. hopefully the next one will have a valid Canvas. Just trowing an idea ;) On 27 mayo, 11:15, Erik erikcell...@gmail.com wrote: I have two bug reports now in my publisher console, and the both are Null Pointer Exceptions from onDraw, and

[android-developers] Re: Simple Cursor Adapter - List View

2010-06-28 Thread Mickey
Hi, You might find useful to set a ViewBinder for the adapter. Have a look at this interface for the SimpleCursorAdapter http://developer.android.com/reference/android/widget/SimpleCursorAdapter.ViewBinder.html There's only one method which is invoked for each column-to-view bind and it gives

Re: [android-developers] Re: Do VBOs really improve performance? Really?

2010-06-28 Thread Leigh McRae
That's is a good point but it's still likely some kind of gain a the driver can preprocess the vertices into a format it prefers. Leigh On 6/27/2010 6:08 PM, Lance Nanek wrote: Do VBOs do anything on a device with unified memory? There is no separate graphics memory on many of these devices,

[android-developers] Mapview ConcurrentModification Exception

2010-06-28 Thread Necroline
Hello everyone, As the title suggest i have (sometimes) a concurrentmodificationexception while trying to create a route between two locations ... Here is my code (and in case you're wondering MyOverlay does not try to access the other Overlays in the map) private class fillRouteTask extends

[android-developers] Re: notifyDataSetChanged() not updating listview after orientation change

2010-06-28 Thread Streets Of Boston
Great you figured that one out! :-) On Jun 27, 9:12 pm, Bara bara.kath...@gmail.com wrote: I figured it out!  As it turns out, I have the ListView's visibility set to GONE by default.  I show the ListView in my OnClick event for my button.  When the orientation changes and the Activity gets

RE: [android-developers] Re: Starting the Market Application programatically

2010-06-28 Thread Paul Gee
It's also worth remembering that not all users will be able to access the paid version depending on their location and the choices you made when you set up the market options for your paid version. /Paul PuzzleQube - the 3D picture puzzle

[android-developers] Re: Set android:layout_gravity from code ??

2010-06-28 Thread murmeister
Here's what you are looking for: ibMap.setGravity(android.view.Gravity.RIGHT); The constants defined in android.view.Gravity mimic the names you're used to seeing in the XML tags. Good luck. On May 15, 2:13 pm, pawan nimje pawanni...@gmail.com wrote: Hi All once again, In xml we have

[android-developers] Re: send MMS with Audio part via Intent

2010-06-28 Thread mickael le trocquer
Yes, I have ever this problem. I have put a new message in this topic : http://code.google.com/p/android/issues/detail?id=1745 but, this is not considered as a deffect... so, I haven't any idea when it will be fix. On 24 juin, 21:11, Josh joshua.millst...@gmail.com wrote: Did you ever figure

[android-developers] Re: Mapview ConcurrentModification Exception

2010-06-28 Thread Necroline
Fixed it, i removed the Overlays reference from the mapview and it worked :) On 28 juin, 16:01, Necroline adeline.hul...@gmail.com wrote: Hello everyone, As the title suggest i have (sometimes) a concurrentmodificationexception while trying to create a route between two locations ... Here

[android-developers] Re: Drawing 2D stuff on the screen in OpenGL over a 3D scene

2010-06-28 Thread Robert Green
Here's the standard method for a 3D game w/2D controls: onSurfaceChanged: this means you have a new GL context so it's a fresh state machine ready to be configured. set viewport and enable and configure things that will always be used, like texturing, texture coordinate arrays, vert arrays, erase

Re: [android-developers] Animating App Widgets

2010-06-28 Thread TreKing
On Tue, Jun 22, 2010 at 6:37 AM, rams plram2...@gmail.com wrote: How can I implement this widget? I don't know anything about widgets, but based on posts on here, animation is not supported out of the box. You'd probably have schedule an alarm that would notify that it was time to change the

Re: [android-developers] How to change the contrast and intensity of androind phone display programmatically?

2010-06-28 Thread TreKing
On Wed, Jun 23, 2010 at 1:33 AM, SM shruti1...@gmail.com wrote: I want to change the contrast and intensity of my androind phone display programmatically, how can i do it? Look up brightness in the documentation.

Re: [android-developers] Double Click

2010-06-28 Thread TreKing
On Mon, Jun 21, 2010 at 6:40 PM, Cameron Houston airca...@gmail.com wrote: Is there a way/setting/app capable of being able to double click on an Icon while browsing on the phone. You might try alternate browsers, like Dolphin. No idea if that will actually work though. Alternatively, you

Re: [android-developers] Filter for crapps (crap apps)

2010-06-28 Thread TreKing
On Tue, Jun 22, 2010 at 9:16 AM, McDanish bennymcandr...@gmail.com wrote: Does anyone know if there is some sort of filter funktion, either in Andoid Market itself or in/as an app? Nope, but it's needed desperately. The amount of garbage in the market has rendered the Just In List absolutely

Re: [android-developers] How to know if child activity exit by unexpected exception (onActivityResult() is not called)

2010-06-28 Thread TreKing
On Wed, Jun 23, 2010 at 7:57 AM, Alexey Kryshen a.krys...@gmail.com wrote: If child activity started by the startActivityForResult() exit by unexpected exception the onActivityResult() is not called and I have no any ideas how can I handle this to get application working in a fail-safe manner

Re: [android-developers] Android eclipse download link at https://dl-ssl.google.com/android/eclipse/ broken - please fix

2010-06-28 Thread TreKing
On Tue, Jun 22, 2010 at 9:33 AM, Morex m...@orderlysoftware.com wrote: I want to get started with an Android application but can't download the plug-in. What are you trying and what errors are you getting?

RE: [android-developers] Re: Starting the Market Application programatically

2010-06-28 Thread lloyd
Thank you very much. It's exactly what I had hoped for. -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of String Sent: Monday, June 28, 2010 9:08 AM To: Android Developers Subject: [android-developers] Re: Starting the

[android-developers] Re: Android Database and PC Applications

2010-06-28 Thread Boardy
Thanks everyone for your help, very useful :D On 21 June, 15:51, Steven Maitlall m.ste...@gmail.com wrote: There is a .NET Sync Framework that you could use with C#. http://msdn.microsoft.com/en-us/sync/default.aspx On Mon, Jun 21, 2010 at 10:33 AM, Mark Murphy mmur...@commonsware.comwrote:

[android-developers] Re: Android eclipse download link at https://dl-ssl.google.com/android/eclipse/ broken - please fix

2010-06-28 Thread RichardC
try http://dl-ssl.google.com/android/eclipse/ note the missing s on http /Richard On Jun 28, 5:38 pm, TreKing treking...@gmail.com wrote: On Tue, Jun 22, 2010 at 9:33 AM, Morex m...@orderlysoftware.com wrote: I want to get started with an Android application but can't download the

[android-developers] Re: Drawing 2D stuff on the screen in OpenGL over a 3D scene

2010-06-28 Thread Navigateur
Many many many thanks. I'll get back to you whether it works or not. I was still in projection matrix mode (and not modelview) before drawing the 2D stuff (from the OpenGL FAQ for drawing 2D controls). I'll tell you whether modelview works or not. Nightwolf - thanks, yeah I forgot to mention I did

Re: [android-developers] soft keyboard

2010-06-28 Thread YuviDroid
I found this to work for me: getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN); (found here: http://stackoverflow.com/questions/1109022/how-to-close-hide-the-android-soft-keyboard ) On Mon, Jun 28, 2010 at 3:36 PM, Lieuwe lieuwe.elger...@gmail.com wrote:

Re: [android-developers] Capture home key event

2010-06-28 Thread TreKing
On Wed, Jun 23, 2010 at 11:52 PM, Vishal k.vishaljais...@gmail.com wrote: I want to kill my application whenever the home key is pressed. Why, exactly? - TreKing - Chicago transit tracking app for

Re: [android-developers] Design Question

2010-06-28 Thread TreKing
On Thu, Jun 24, 2010 at 1:52 AM, davemeetsworld djbak...@gmail.com wrote: i was wondering what the best practice is for performing background tasks that return results in Android is? Your new best friend - AsyncTask.

Re: [android-developers] Android's Launcher

2010-06-28 Thread TreKing
On Thu, Jun 24, 2010 at 2:43 AM, Goodwin purerain2...@163.com wrote: As we known, there are 3 home screens in the android's default launcher In 2.1 there are 5 screens. . we can move the right screen or the left screen. In 2.1, there are 2 left screens and 2 right screens. and we

Re: [android-developers] Re: ItemizedOverlay using both onTap methods

2010-06-28 Thread TreKing
On Thu, Jun 24, 2010 at 11:57 AM, Carlos Silva r3...@r3pek.org wrote: I don't really agree with this. OK, can you elaborate why not and how you believe the functions work? Any more info we can get on the Maps API, given the craptastic documentation, would benefit everyone. I use onTap(int) to

[android-developers] Re: Animating App Widgets

2010-06-28 Thread String
On Jun 22, 12:37 pm, rams plram2...@gmail.com wrote: Now I want to animate the widget (ImageView) every 100 ms I dont think AppWidgets will scale well for this case. That's correct, they won't. I have seen Custom Homescreens in previous Android SDK's. Should I have modify the Homescreen

Re: [android-developers] Android SDK and Helios - compatibility problems?

2010-06-28 Thread Xavier Ducrohet
The Android plug-ins are compatible with Eclispe 3.6 Make sure you had Contact all update sites during install to find required software checked in when you installed them. I would delete the workspace (or try with a different one) to see if that helps. On Sun, Jun 27, 2010 at 8:04 PM, SChaser

Re: [android-developers] Starting an AVD from a custom location

2010-06-28 Thread Xavier Ducrohet
-sysdir cannot be used with AVDs. you can overide the location of the .android folder by setting an env var call ANDROID_SDK_HOME. In your case, you should try: $ ANDROID_SDK_HOME=/opt/development emulator -avd AVD1.6_HTC_SD Xav On Mon, Jun 28, 2010 at 1:55 AM, Patrick

Re: [android-developers] Filter for crapps (crap apps)

2010-06-28 Thread Shane Isbell
+1 for filtering. I think it would be pretty useful to be able to tag applications: picture viewer, web page launchers, etc and then have a preference section of AM that allows user filtering of those types. On Mon, Jun 28, 2010 at 9:25 AM, TreKing treking...@gmail.com wrote: On Tue, Jun 22,

[android-developers] SSL Cert Issue javax.net.ssl.SSLException: Not trusted server certificate

2010-06-28 Thread Loki117
Hey Guys, I get the following issue javax.net.ssl.SSLException: Not trusted server certificate when contacting a server via a 3G network only. Has anyone else seen this issue? Thanks guys, Tom -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Filter for crapps (crap apps)

2010-06-28 Thread BobG
It would be useful to just have a flashlite, tip calculator, and sexy asian girl category subfolder. That would clean up about 80% of the flotsam and jetsam so we could scan the market for interesting new 'killer apps' we can't live without. Might find the next Visicalc in there for free. -- You

Re: [android-developers] Re: Mapping (x,y) to (latitude,longitude)

2010-06-28 Thread Pedro Teixeira
I think your map center is giving you different values because you are checking it before it has animated/moved to the new position you have set... It's the same reason your getLatitudeSpan() was zero at the time. BUT.. if you are setting the map center anyway, you don't need to get it

[android-developers] How to get the license type of each installed package

2010-06-28 Thread Nando Android
Hello all, Not all the packages have license information and I am not sure if those that do have that on the manifest but it doesn't seem like it. Therefore, is there a way to extract the license of all the packages installed on a Android system? Thanks. -- You received this message because

Re: [android-developers] App failing to load on Nexus One

2010-06-28 Thread TreKing
On Wed, Jun 23, 2010 at 6:59 PM, SilverStr d...@vulscan.com wrote: Anyone have any ideas? The log also says: Make sure to create a MAIN intent- filter for the corresponding activity or use the exported attribute for this activity. So maybe try that?

Re: [android-developers] How to get the license type of each installed package

2010-06-28 Thread Mark Murphy
On Mon, Jun 28, 2010 at 4:45 PM, Nando Android nando.andr...@gmail.com wrote: Not all the packages have license information and I am not sure if those that do have that on the manifest but it doesn't seem like it. Therefore, is there a way to extract the license of all the packages installed

[android-developers] XML Parsing Strange Error

2010-06-28 Thread minhaz
Hi I am trying to parse XML with a simple sax parser. Interestingly i am able to see desired output in the emulator. but when i run the program on a device program shows no output. I tried many different way for example putting the XML file in a raw folder but every time no out put on device.

Re: [android-developers] App failing to load on Nexus One

2010-06-28 Thread Kostya Vasilyev
Can you post your manifest file? 29.06.2010 0:45 пользователь TreKing treking...@gmail.com написал: On Wed, Jun 23, 2010 at 6:59 PM, SilverStr d...@vulscan.com wrote: Anyone have any ideas? The log also says: Make sure to create a MAIN intent- filter for the corresponding activity or...

[android-developers] Re: Reading from XML

2010-06-28 Thread Michael
How would I go about storing everything in between the db to a new custom object? for example I have a custom object with parameters (name, street, long, lat) and at every db tag, I want it to store each element into a variable and then when it hits the close db tag, the variables can be added

[android-developers] Widget inside a pre-existing application

2010-06-28 Thread Pinheiro
I've created a complex application that uses SQLite and would like to give the user an option to install a very simple widget on the homescreen (just a number taken from the database). Do I have to create a new .apk just for the widget? I've tried to cut- and-paste the WordWidget example but it

Re: [android-developers] Widget inside a pre-existing application

2010-06-28 Thread YuviDroid
You can have an application + homescreen widget in a single .apk. Make sure your main application has the intent-filter android:name=android.intent.action.MAIN and android:name=android.intent.category.LAUNCHER. Your widget receivers/activities instead shouldn't have any intent-filters with name

Re: [android-developers] Filter for crapps (crap apps)

2010-06-28 Thread YuviDroid
Agreee!! +1 (or +1000...) On Mon, Jun 28, 2010 at 10:03 PM, Shane Isbell shane.isb...@gmail.comwrote: +1 for filtering. I think it would be pretty useful to be able to tag applications: picture viewer, web page launchers, etc and then have a preference section of AM that allows user

Re: [android-developers] Re: Mapping (x,y) to (latitude,longitude)

2010-06-28 Thread Brad Gies
I set the zoom level at 15 if I don't already have it. BUT.. I save the zoom level, latitude, longitude and a bunch of other stuff to Preferences in the onPause and restore it in onResume, so the only time I don't have something to work with is the first time a user uses that activity. I've

[android-developers] Re: Drawing 2D stuff on the screen in OpenGL over a 3D scene

2010-06-28 Thread Robert Green
It works. I do it on every game :) Just be careful about the matrix stack and you'll be fine. On Jun 28, 12:16 pm, Navigateur naveen.c...@googlemail.com wrote: Many many many thanks. I'll get back to you whether it works or not. I was still in projection matrix mode (and not modelview) before

Re: [android-developers] Re: Mapping (x,y) to (latitude,longitude)

2010-06-28 Thread Pedro Teixeira
When I get the current location lat/long it gives me back the wrong number.. if the center is for example : 14,324234 23,432557 it delivers 1400 2300 That's why my code is all messed up.. I never got the center right. On Jun 28, 2010, at 11:17 PM, Brad Gies wrote: I set the zoom

[android-developers] Re: Widget inside a pre-existing application

2010-06-28 Thread Pinheiro
Thanks, YuviDroid! -- 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

[android-developers] onclick open new view

2010-06-28 Thread dutch
I am trying to create a list view where each item will open up a new view and display a picture and text describing the item when said item is selected. I am working with this tutorial novice-tutorials-f8/opening-windows-i-e-webbrowser-reacting-on-clicks- t22.html?hilit=reacting%20on%20Clicks so

[android-developers] Re: onclick open new view

2010-06-28 Thread dutch
realized i didn't give the full url of the tut i was using http://www.anddev.org/novice-tutorials-f8/opening-windows-i-e-webbrowser-reacting-on-clicks-t22.html?hilit=reacting%20on%20Clicks -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Changing MAIN activity mucks up application

2010-06-28 Thread Neilz
I recently added a new activity to my app, acting as a splash offering info to the user. Some users complained that after the upgrade, it's mucked up the app (for want of a better word). I tested it loads, but never found a problem on 3 devices I tried it on. Now, I'm working on a new release,

[android-developers] Why is it that moderators never accept my questions?

2010-06-28 Thread John Oliver
I'm assuming you'll see this, but I'm just extremely curious. It's a pain since I really can't find the answer for my questions anywhere else, and this seems to be the best place to ask as there are actual Google developers here. Thanks -- You received this message because you are subscribed

[android-developers] Re: Why is it that moderators never accept my questions?

2010-06-28 Thread John Oliver
Well this is ironic. Ignore this then. I suppose questions no longer need moderator approval. On Jun 28, 7:40 pm, John Oliver shreddedched...@gmail.com wrote: I'm assuming you'll see this, but I'm just extremely curious. It's a pain since I really can't find the answer for my questions

[android-developers] How do I change the textColorPrimary in a theme?

2010-06-28 Thread EboMike
I'm changing the theme of an activity in onCreate using setTheme (I'm doing that even before calling super.onCreate(), as this is supposed to be more reliable). It does work in the sense that it changes the background and foreground colors. However, my layout has a few elements that use styles

[android-developers] Launch the WebBrowser with an intent (containing url) and then close it automatically?

2010-06-28 Thread Nick Longinow
I'm launching a webbrowser via an intent, which allows my app user to login to Google Docs in a 2-legged oauth dance. This works fine, and the browser callback comes to my app with the right authentication string. I just want to be able to kill that browser window once we are done - having it

Re: [android-developers] Re: rtsp client?

2010-06-28 Thread Andy Savage
With certain types of well formed RTSP streams the mediaplayer class can play it directly. http://m.youtube.com is a great example of some well formed feeds, but most RTSP feeds from the net seem to work fine. I've also managed to get ffserver streaming fine to it using H.264. On Mon, Jun 28,

[android-developers] How to determine whether a ScrollView needs to scroll?

2010-06-28 Thread Pepi
Hello to all, How can I track out if a ScrollView needs to scroll or not? I need to draw a particular View according to this condition. What I'm asking is the same condition that makes ScrollView's scrolling bar visible or not, but in this case I want to draw another View, not just the scrolling

Re: [android-developers] Re: rtsp client?

2010-06-28 Thread Alex Xin
Hi, folks Are there any media player in Android can play HTTP stream media files? thanks On Tue, Jun 29, 2010 at 9:10 AM, Andy Savage a...@bluewire.net.nz wrote: With certain types of well formed RTSP streams the mediaplayer class can play it directly. http://m.youtube.com is a great

Re: [android-developers] Re: Mapping (x,y) to (latitude,longitude)

2010-06-28 Thread Frank Weiss
Re: If the center is for example : 14,324234 23,432557 it delivers 1400 2300 Please post the essential code. For example, when I try: GeoPoint centerPoint = new GeoPoint(37762336,-122435640); ... mapView.getController().setCenter(centerPoint);

Re: [android-developers] Re: Reading from XML

2010-06-28 Thread Frank Weiss
Well, it sounds like you're doing it correctly with SAX: in the endElement() method, test for if (localName.equals(db)) { ...}, and add the new object to the list. What error are you getting when you do it that way? -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] XML Parsing Strange Error

2010-06-28 Thread Frank Weiss
I think you have two errors: 1) In the characters() method, you should append the given character span to a StringBuffer or StringBuilder (which you reset for each startElement: @Override public void characters(char[] ch, int offset, int count) { sb.append(ch,

[android-developers] Why Monkey was stopped by Error: RemoteException while injecting event. ?

2010-06-28 Thread Jerome Deng
Hi buddies, I am doing monkey test for my APP, and I meet RemoteException many times. I don't know why remote-invocation errors occurs. Has anyone experienced such exception? Monkey Log snippet: :Sending Pointer ACTION_MOVE x=-1.0 y=-3.0 :Sending Pointer ACTION_DOWN x=322.0 y=77.0 :Sending

[android-developers] Re: got a problem to learn Android

2010-06-28 Thread Indicator Veritatis
I have to disagree. Sun's tutorials ignore far too many really basic pedagogical principles to be the best. But I still use them -- and advise others to use them, Why? Because they are the most up-to-date freely available tutorials on the web. They most likely always will be. But let's not confuse

Re: [android-developers] Why Monkey was stopped by Error: RemoteException while injecting event. ?

2010-06-28 Thread Dianne Hackborn
As the last line says, this is usually because the system process has crashed. On Mon, Jun 28, 2010 at 7:31 PM, Jerome Deng deng.jer...@gmail.com wrote: Hi buddies, I am doing monkey test for my APP, and I meet RemoteException many times. I don't know why remote-invocation errors occurs. Has

[android-developers] Passing data with PendingIntent

2010-06-28 Thread info.sktechnol...@gmail.com
I would like to create some home screen app widgets that are entry points into an application. I can put a button in the app widget that uses setOnClickPendingIntent to start the activity. The problem occurs when I want to have two of these app widgets that are entry points to different parts of

  1   2   >