[android-developers] How to access shared preference outside of Activity

2010-07-09 Thread Jeruliu
Dear all, I need to access the shared preference in a background service instead of activity on phone boot up. But getSharedPreferences function is define in the activity, so how can i access the data without creating the activity? Thanks. -- You received this message because you are

[android-developers] Re: HTC Hero Update 2.1 -- Broke Audio Streaming ????

2010-07-09 Thread k_day
I am seeing this exact same thing on my Hero. Have you made any progress? On Jun 30, 3:20 am, MobDev developm...@mobilaria.com wrote: Hi there, I have installed the 2.1 update on my HTC Hero yesterday, and happy as a puppy I instaleld my streaming app... Just to discover that it won't stream

[android-developers] Re: Remove a row in a Listview

2010-07-09 Thread karteek
use the methode remove with position of the row mAdapter.remove(2); On Jul 9, 2:32 am, Albert albert8...@googlemail.com wrote: Hi all, Does someone know how to remove a row from a Listview? I have an Adapter that takes care of the List and when I try mAdapter.remove(Object) it does not

[android-developers] Sending and reveiving mails in emulator

2010-07-09 Thread Danny Schimke
Hello, I configured my gmail account successfully in the emulator. My goal is to respond to incoming messages in the mail account from my own application - for example display notification. I am using the standard mail application that comes with the emulator. I tried to receive mails from my

[android-developers] hows gdata working with he android default Calendar widget.

2010-07-09 Thread kamiomar
Hi, can anyone tell me hows gdata working with the android default Calendar widget. From my RD till now gdata Calendar API not supported on the Android devices. http://groups.google.com/group/android-developers/browse_thread/thread/35a7817d22604645 How Android Calendar Widget works? Event i

[android-developers] Re: Whether to use a Service or Thread for Http Connection?

2010-07-09 Thread metal mikey
I had replied to this thread already, but for some reason that reply is in limbo... If you use a service, you'll typically find that you'd still need to invoke a thread within that service for HTTP requests otherwise the Service might get killed for hogging the main thread. Under Eclair I'd

[android-developers] file handling : reading a file in internal storage

2010-07-09 Thread Abhyudai Shanker
hey guys, The following is my code: OutputStreamWriter out2 = new OutputStreamWriter(openFileOutput(myfilename2.txt,1)); sa_lt=3 2 1; out2.write(sa_lt); // close the file out2.close(); InputStreamReader in2 = new

[android-developers] Re: Whether to use a Service or Thread for Http Connection?

2010-07-09 Thread sagare
Hi Mikey, Thanks for reply but i still some how have a question if my activity starts a thread and say that activity dies somehow so what happens to the thread it started does it complete its run properly and then ends or it its killed as soon as the activity dies? Thanks, Sagar On Jul 9, 12:18 

[android-developers] Re: How to access shared preference outside of Activity

2010-07-09 Thread Mika
getSharedPreferences is defined in Context. Service is a Context also. On Jul 9, 9:08 am, Jeruliu jeru@gmail.com wrote: Dear all, I need to access the shared preference in a background service instead of activity on phone boot up. But getSharedPreferences function is define in the

[android-developers] Re: about library projects

2010-07-09 Thread Mika
Second one might be a bit more involved, but hopefully there is an easy fix. I have my projects into a subversion repository, but the app project builder (Android pre-compiler) seems to copy all the source from the library project, including the .svn folders, to the app/bin project. As a

[android-developers] Re: what hardware platform do you use?

2010-07-09 Thread Indicator Veritatis
Only 20 years? I have you beat there. But more importantly, your review of key points is still seriously deficient in logic. Your conclusions still do not follow. Repeating conclusions that do not follow IS a mark of being uneducated, no matter how much experience you have. The G1 is not yet

[android-developers] Re: what hardware platform do you use?

2010-07-09 Thread Indicator Veritatis
What is your source for this 88% figure? If it is correct, then how do you explain the fact that the dashboard shows 45% of phones connecting to the Market are not even running 2.x yet? 45+88100, after all. On Jul 8, 6:01 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: I suppose

[android-developers] Re: How to access shared preference outside of Activity

2010-07-09 Thread Jeruliu
Thanks, actually i need to access the shared preference in a class that extends from BroadcastReceiver, how can i call the context then? On Jul 9, 4:21 pm, Mika mika.ristim...@gmail.com wrote: getSharedPreferences is defined in Context. Service is a Context also. On Jul 9, 9:08 am, Jeruliu

[android-developers] Re: Socket connection question

2010-07-09 Thread Indicator Veritatis
The normal Java socket classes (Socket, DatagramSocket, SocketImpl, DatagramSocketImpl, ServerSocket) do force you to choose between TCP (stream) and UDP (datagram). They give you no control over choosing the layers below IP, so you cannot choose between WiFi and cellular. On Jul 8, 5:20 pm,

[android-developers] Re: Importing existing projects to Android

2010-07-09 Thread Indicator Veritatis
Another thing to try (when 'clean' fails) is to edit the whitespace in main.xml, forcing Android to treat it as news. This in turn means 'rebuild R.java'. Usually, this works. I have seen it fail only rarely. Then I copy all my files to a safe place and create the project all over from scratch:(

[android-developers] How to define some smart layout?

2010-07-09 Thread Jeruliu
I will have a list view on the top and a button on the bottom in the view. Regardless the height of the list view i would like to fix the button position on the bottom all the time. If the list view is too long then make it scrollable. How to do this? thanks. -- You received this message

[android-developers] Re: 2.2 SDK refresh

2010-07-09 Thread Zsolt Vasvari
I couldn't figure out why I couldn't see the search widget after updating the SDK and restarting the AVD. Finally I figured out thay I needed to recreate the AVD or at least blow away the userdata-qemu.img file. On Jul 9, 3:39 am, Xavier Ducrohet x...@android.com wrote: Developers, We've

[android-developers] Making Video files Android ready for playback over HTTP

2010-07-09 Thread Samuh
I am working on an Android application which is supposed to play videos over HTTP on Android devices. Before we setup a server to host the video files just wanted a few things clarified: As per the developer documentation, Android supports .mp4 and .3gp container formats for video. The

[android-developers] AndroidGroup: Nested Actvities

2010-07-09 Thread Anders Widen
Hi! I'm trying to create an application with an persistent menu at the bottom for displaying different Activites. Think of it like a custom tabbed layout. I need the applications to be stand alone so using views won't work (unless I've missed something). I've created a main window using a

[android-developers] Transparent Image button, can be more transparent ?

2010-07-09 Thread Károly Holczhauser
Hi! I have already found how can I do an ImageButton with Transparent background, but I would like to ask, how can I set the effective of it ? How can I do it more transparent ? My way as I do it: gradient android:startColor=#aaff android:endColor=#aaff ... What should I write in to the

[android-developers] Re: Water ripple effect

2010-07-09 Thread Mansoor
Thanks robert green . and all who replied to the post. I acheived the ripple effect by drawing the water background on a 2d mesh and generated ripples by using sine wave function.Ripples are quite realistic and good.once again thank u all :) -- You received this message because you are

[android-developers] Re: Remove a row in a Listview

2010-07-09 Thread Albert
Thanks karteek for your answer but it does not work as my adapter takes a list of Strings. mAdapter.remove(String) should actually work, I have override getCount() as well but still no luck... -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Transparent Image button, can be more transparent ?

2010-07-09 Thread YuviDroid
The first two chars after the '#' symbol are the opacity. So, '00' would be totally transparent, and 'FF' would be 100% opaque. 2010/7/9 Károly Holczhauser holczhau...@gmail.com Hi! I have already found how can I do an ImageButton with Transparent background, but I would like to ask, how

Re: [android-developers] How to define some smart layout?

2010-07-09 Thread Kostya Vasilyev
You can achieve this by using a RelativeLayout: http://groups.google.com/group/android-developers/browse_thread/thread/f88b83d3b453a981/db595fb356a92467 (substitute height / bottom for width / right in the thread above) -- Kostya 09.07.2010 13:35, Jeruliu пишет: I will have a list view on

Re: [android-developers] How to define some smart layout?

2010-07-09 Thread YuviDroid
I think RelativeLayout should be helpful in this case. For your button, simply put in its xml tags: android:layout_alignParentBottom=true On Fri, Jul 9, 2010 at 11:35 AM, Jeruliu jeru@gmail.com wrote: I will have a list view on the top and a button on the bottom in the view. Regardless

[android-developers] Re: options menu problems with SurfaceView and ListView

2010-07-09 Thread javelin21
I found the problem. The Lunar Lander template I was using overrode onWindowFocusChanged which paused the SurfaceView while the background threads getting images kept going. This caused everything to get out of synch. The Lunar Lander is designed to take up the whole screen and mine is not. I

Re: [android-developers] Re: Socket connection question

2010-07-09 Thread Alex Xin
Thanks for explanation. Are there possibles if I use NDK to do that? On Fri, Jul 9, 2010 at 5:12 PM, Indicator Veritatis mej1...@yahoo.comwrote: The normal Java socket classes (Socket, DatagramSocket, SocketImpl, DatagramSocketImpl, ServerSocket) do force you to choose between TCP (stream)

[android-developers] Re: get the name of the package that started a service

2010-07-09 Thread Boozel
Sorry i forgot to mention this earlier but I used to just use .putExtra() on the intent before it was started but i want this process to resart automatically if killed so my code is in the onCreate() method rather that the onStart() and i can therefore no longer access the intent. Please can some

[android-developers] getting package name in included .jar fil

2010-07-09 Thread Boozel
If i create a service and in it use the method context.getPackageName() or context.getPackageCodePath(). If i then compile that service into a .jar file and someone else includes it in their app will those methods return the original package of the service or that package that they have been

Re: [android-developers] Making Video files Android ready for playback over HTTP

2010-07-09 Thread Mark Murphy
MP4Box -hint does the trick: http://www.videohelp.com/tools/mp4box More info here: https://help.ubuntu.com/community/AndroidVideoEncoding On Fri, Jul 9, 2010 at 6:17 AM, Samuh samuh.va...@gmail.com wrote: I am working on an Android application which is supposed to play videos over HTTP on

Re: [android-developers] Re: How to access shared preference outside of Activity

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 5:03 AM, Jeruliu jeru@gmail.com wrote: Thanks, actually i need to access the shared preference in a class that extends from BroadcastReceiver, how can i call the context then? PreferenceManager.getDefaultSharedPreferences(), passing in the Context supplied to you in

Re: [android-developers] Re: How does the Marketplace app widget use a ViewFlipper? (or a fading view)

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 12:12 AM, James W jpbwebs...@gmail.com wrote: Are you talking about an actual AppWidget that sits on the users home screen? I was not aware there was  a widget for the market. I think it is new for 2.2. After seeing this thread, I found it on my N1. It does what looks

[android-developers] Re: what hardware platform do you use?

2010-07-09 Thread Al Sutton
I'm going to skip the personal insults aimed at me (which will make this a short reply). The dictionary.com definition of obsolete says; of a discarded or outmoded type; out of date, which, as the G1 is no longer on sale as an unlocked developer 'phone and has no officially supported firmware

[android-developers] Re: what hardware platform do you use?

2010-07-09 Thread Al Sutton
John has a very popular app which he keeps stats on. Last I hear he was about to break the half million download mark and was clocking up around 5,000 downloads a day. Some of the devices he lists in his 88% figure run versions of Android prior to 2.0 in some countries, but updates to Android 2.x

[android-developers] Is there a way to find out if an app is in a folder(on the home screen)?

2010-07-09 Thread Christoffer Davidsson
Hi. What I'd like to do is find out the name of the folder an app placed in. A folder on the home screen that is: http://pocketnow.com/how-to/how-to-speed-up-your-android-organize-your-home-screens-using-folders Is there a way to find out if an app is in a folder(on the home screen)? And if so,

[android-developers] GPS accuracy reliability

2010-07-09 Thread jgostylo
This is a general question about GPS accuracy reporting based on feedback from my user community. My app has an issue where many players get bounced all over kingdom come when using GPS to get a signal. I had this issue with my G1 on occasion but not on my Nexus One. I am talking hundreds of

[android-developers] Re: GPS accuracy reliability

2010-07-09 Thread Justin Edwards
I have had the same reports from my user community within my GPS application for Android. In my support emails I have been telling them that it is most likely a hardware/OS issue, and a hard reset (battery pull) should fix it. I have had a few users reply back and said that has fixed it. I

Re: [android-developers] Re: what hardware platform do you use?

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 8:11 AM, Al Sutton a...@funkyandroid.com wrote: John has a very popular app which he keeps stats on. Last I hear he was about to break the half million download mark and was clocking up around 5,000 downloads a day. Bear in mind, though, that his app will be much more

Re: [android-developers] Is there a way to find out if an app is in a folder(on the home screen)?

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 8:39 AM, Christoffer Davidsson christof...@chlirre.com wrote: What I'd like to do is find out the name of the folder an app placed in. Bear in mind that there are many, many home screens that ship on devices (AOSP, Nexus One, HTC Sense, MOTOBLUR, Sony Ericsson, LG,

[android-developers] Re: Remove a row in a Listview

2010-07-09 Thread JoksanCPEN
have you tried to delete the element from the array instead of deleting it from the listview? On Jul 9, 2:12 am, karteek kartee...@gmail.com wrote: use the methode remove with position of the row mAdapter.remove(2); On Jul 9, 2:32 am, Albert albert8...@googlemail.com wrote: Hi all, Does

[android-developers] Re: oh no - lost my keystore

2010-07-09 Thread Robert
What we do here is we put the keystore on 3 seperate flashdrives! When one goes down we send the intern(slave) to the store yo buy one! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Market reporting wrong app size

2010-07-09 Thread TreKing
On Wed, Jul 7, 2010 at 9:47 PM, Stephen Lebed srle...@gmail.com wrote: It is reported as 3.5mb in the developer console. But in the market it is showing up as 7.02mb. Do you have copy protection on?

[android-developers] Re: Remove a row in a Listview

2010-07-09 Thread Albert
On Jul 9, 2:23 pm, JoksanCPEN joksan...@gmail.com wrote: have you tried to delete the element from the array instead of deleting it from the listview? Yes and then I call notifyDataSetChanged() and it only deletes the last one. A temporary solution I'm using is when a row is deleted, the

[android-developers] Re: Making Video files Android ready for playback over HTTP

2010-07-09 Thread Samuh
Mark: Thank you! -- 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

Re: [android-developers] writing to sd card issue

2010-07-09 Thread TreKing
On Wed, Jul 7, 2010 at 11:16 PM, guru guru.nav...@gmail.com wrote: Whether I have to mention this permission in application manifest or i have to mention in other places also. What other factors I have to look in to this. Your question, as phrased, makes no sense.

[android-developers] Re: OpenGL texture wrapping flickers. Why?

2010-07-09 Thread Matty
I was able to solve this... I was calling the texture wrapping code on every draw, right before I bound the texture. Now, I set the texture parameters when the textures are generated, and I don't need to specify wrapping every time I draw a shape... No more flicker, and the code is probably more

[android-developers] Re: Theme.NoTitleBar.Fullscreen not working when other activities use a custom title?

2010-07-09 Thread Matty
I found the solution here: http://groups.google.com/group/android-developers/browse_thread/thread/2de77043f32835aa/f2a1357bf1335461 It's basically: Add the following to your activity: getWindow().setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS,

[android-developers] Re: Onwindowfocuschanged() not ever called

2010-07-09 Thread Michael
anyone? On Jul 8, 11:50 pm, Michael michael...@gmail.com wrote: Hello, I have a map in one of three tabs, with each tab being a separate activity. The MapsActivity class extends MapActivity, but my overrided Onwindowfocuschanged() is never called (tested using logcat outputs) when the map is

Re: [android-developers] @override

2010-07-09 Thread TreKing
On Thu, Jul 8, 2010 at 5:49 AM, B Woods bradleydeanwo...@gmail.com wrote: What is the purpose of this? What is the purpose of THIS http://lmgtfy.com/?q=%40override+java? - TreKing - Chicago transit

[android-developers] Re: screen occasionally goes blank on Milestones

2010-07-09 Thread Alain
This issue is not caused by your app but instead is a Milestone problem and has been reported by many people. On Jul 7, 3:58 pm, Brian bkmetz...@gmail.com wrote: I have an application I am currently working on for a client which is suffering from a particularly hard to debug problem. Every so

[android-developers] Re: what hardware platform do you use?

2010-07-09 Thread Maps.Huge.Info (Maps API Guru)
Mark is correct, my stats are for US only. I should have clarified that when I stated device stats. I believe they are more or less relevant in regard to the G1 vs. all the other devices though, so for the average developer looking for a representative device, something other than the original G1

Re: [android-developers] Re: screen occasionally goes blank on Milestones

2010-07-09 Thread Kostya Vasilyev
Second that. What's weird, is that defective light sensors get confused in _bright_ light. http://kmansoft.wordpress.com/2010/05/16/motorola-milestone-light-sensor-problems/ -- Kostya 09.07.2010 18:32, Alain пишет: This issue is not caused by your app but instead is a Milestone problem and

[android-developers] Re: GPS accuracy reliability

2010-07-09 Thread Maps.Huge.Info (Maps API Guru)
Question: How are you getting your location fix? Are you using ACCURACY_FINE and assuming it will use the GPS? Unless you specifically test for the provider being GPS, it might default to network, which would give you a position with limited accuracy. I've seen this bouncing around effect when the

[android-developers] Calling Activity

2010-07-09 Thread ranjan ar
Hello , I have a broadcast class that blocks the incoming call. I want to call that broadcast receiver from the activity . Can any one help me fix this. I appreciate your help. 1. Class A extends activity will call Class B that extends BroadcastReceiver, now I want to block calls , only based on

[android-developers] Re: How to define some smart layout?

2010-07-09 Thread Matty
This simple layout seems to work for me: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=vertical

[android-developers] Re: Transparent Image button, can be more transparent ?

2010-07-09 Thread Károly Holczhauser
Thank you so much!!! On júl. 9, 12:49, YuviDroid yuvidr...@gmail.com wrote: The first two chars after the '#' symbol are the opacity. So, '00' would be totally transparent, and 'FF' would be 100% opaque. 2010/7/9 Károly Holczhauser holczhau...@gmail.com Hi!  I have already found how

[android-developers] How to attach custom map on MapView? Can MapView be used when phone is offline?

2010-07-09 Thread bobetko
I am trying to place my custom map (overlay) over Google map. For example, my MapView will be positioned to look at some building. I want to load custom image(s) that will show building's floor plan. Want to be able to pan and zoom, and place markers (for example, Room 1, Room 2, etc...), in other

Re: [android-developers] How to attach custom map on MapView? Can MapView be used when phone is offline?

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 11:51 AM, bobetko bobe...@gmail.com wrote: I am trying to place my custom map (overlay) over Google map. For example, my MapView will be positioned to look at some building. I want to load custom image(s) that will show building's floor plan. Want to be able to pan and

[android-developers] Re: How to attach custom map on MapView? Can MapView be used when phone is offline?

2010-07-09 Thread bobetko
I was hoping to use MapView in my application. It seems I will have to come up with something else. Thanks for quick reply. -- 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] Re: How to attach custom map on MapView? Can MapView be used when phone is offline?

2010-07-09 Thread Maps.Huge.Info (Maps API Guru)
One nifty way to do this, with a lot less effort than writing a custom map view, is to use Google's v3 map API within a webview. I've done this in the app What Zip Code? (free on the market) with a custom overlay and it works great. For those that already understand how to write html, JavaScript

Re: [android-developers] getting package name in included .jar fil

2010-07-09 Thread Dianne Hackborn
That returns the name of the .apk the code is in. On Fri, Jul 9, 2010 at 4:37 AM, Boozel boozelcl...@gmail.com wrote: If i create a service and in it use the method context.getPackageName() or context.getPackageCodePath(). If i then compile that service into a .jar file and someone else

Re: [android-developers] Problems while working with Android 2.2 Froyo - Need help - Thanks very much!

2010-07-09 Thread Alex Xin
Does anybody have the similar issues? Are there any guidelines about how to solve compatibility problems while trying to let app works on different Android platforms? My app use Java NIO as core functions, I cannot imagine if I can't use that class anymore.. Thanks a lot... Alex On Mon, Jul 5,

[android-developers] Camera preview - strange on Samsung Galaxy S (2.1update1)

2010-07-09 Thread Mathias Lin
In my activity I show the camera preview on a surfaceView. It works perfectly fine on Nexus One (2.1update1, 2.2) and HTC Desire (2.1update1), but on Samsung Galaxy S (2.1update1) I see strange lines, weird proportions and everything three times. see the screenshot

[android-developers] Re: getting package name in included .jar fil

2010-07-09 Thread Boozel
thanks On Jul 9, 6:19 pm, Dianne Hackborn hack...@android.com wrote: That returns the name of the .apk the code is in. On Fri, Jul 9, 2010 at 4:37 AM, Boozel boozelcl...@gmail.com wrote: If i create a service and in it use the method context.getPackageName() or

Re: [android-developers] Re: Making Video files Android ready for playback over HTTP

2010-07-09 Thread Alex Xin
Thank you!! This post is very useful for me!! On Fri, Jul 9, 2010 at 9:43 PM, Samuh samuh.va...@gmail.com wrote: Mark: Thank you! -- 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] Putting a service into a .jar?

2010-07-09 Thread Boozel
I have created a service that works great, it is launched from an activity at the moment. I'm looking to package it into a .jar file so that other people can add the jar to then their projects and then run the service. Can anyone tell me how i can launch this service from the app that it is

Re: [android-developers] Putting a service into a .jar?

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 12:52 PM, Boozel boozelcl...@gmail.com wrote: I have created a service that works great, it is launched from an activity at the moment. I'm looking to package it into a .jar file so that other people can add the jar to then their projects and then run the service. Can

[android-developers] Re: Regarding language support

2010-07-09 Thread Károly Holczhauser
Hi all! I also interested in the chat, how can I write an application witch is supporting the multi language ? If we are in sweden I have to display in that language else I need to use the English language. I think, I should use the string.xml, but how ? How can I define there two or more

[android-developers] Re: Regarding language support

2010-07-09 Thread Károly Holczhauser
Hi! I had found the solution: http://developer.android.com/resources/tutorials/localization/index.html On júl. 9, 19:36, Károly Holczhauser holczhau...@gmail.com wrote: Hi all!  I also interested in the chat, how can I write an application witch is supporting the multi language ? If we are

[android-developers] Re: How does the Marketplace app widget use a ViewFlipper? (or a fading view)

2010-07-09 Thread Matt
Are you talking about an actual AppWidget that sits on the users home screen? I was not aware there was a widget for the market. Yes, it is a part of the Froyo update. It's an actual AppWidgetProvider. I think it is new for 2.2. After seeing this thread, I found it on my N1. It does what

[android-developers] Ad Hoc/Netfilter

2010-07-09 Thread Greg Kuperman
I am trying to enable ad hoc networking for two android phones (ADP2/ Sapphire), and I seem to have made some progress using some of the information posted on this message board (in particular issue 82), but I still seem to not be having much luck. It appears that people have done quite a bit

[android-developers] Trace flow of method call on android for implementing for JVMTI

2010-07-09 Thread redhairspike
Dear Sirs, We are implementing some of the event callbacks of JVMTI ( http://java.sun.com/j2se/1.5.0/docs/guide/jvmti/ ) in the Dalvik VM. However, we are having trouble in event Method_Entry and Method_Exit. In our current implementation, we can only intercept the Method_Entry event of the some

[android-developers] SDK 1.6 installation problem with Install_parse_failed_no_ceritifcates

2010-07-09 Thread androidshare
Hi, All, Our application package can install on devices and emulator with SDK 2.0.1, but fail to install on devices and emulator with SDK 1.6. The error messages is Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES], Does anybody known what cases this problem? thanks, Bruce. -- You received

[android-developers] Sending UDP's

2010-07-09 Thread Mark
Hey guys, working on a project and have run into a problem that we've been working on for a couple of days. We are trying to send a UDP from the Android emulator out to a Robot dog that has a wifi card. When we run the program as a simple java applet, it works perfectly. The way it should work is

[android-developers] Re: Importing existing projects to Android

2010-07-09 Thread Coco's Jungle
Go to the problem tab and if there are messages that don't go away, right click them and delete them. Ignore the warning about you can't get it back. Then do a Project -- Clean, and try running the project again. I was getting these every time I tried to Run while I was editing an xml file. You

[android-developers] Re: Android Library Project

2010-07-09 Thread Vladimir Lebedev-Schmidthof
Hello Mark, I faced the same problem with attrs.xml in Library Project. Have you finally found the solution? On 23 май, 23:22, Mark Carter mjc1...@googlemail.com wrote: I'm sure that thelibrary.apk file error was because I had added thelibraryprojectto my appprojectbuild path. The other

[android-developers] Re: Unable to Install .apk

2010-07-09 Thread Dr. Mike
The app has an AndroidManifest file which specifies (usually) the lowest level of device your app will run on. If your app is building under 2.2 (sdk 8) and your phone is 2.0 (sdk 7) it will not install. See http://developer.android.com/guide/appendix/api-levels.html On Jul 4, 5:39 am, diptendu

[android-developers] Zephyr HxM BT and HTC Legend Bluetooth issues

2010-07-09 Thread Dennis Hooijmaijers
Hi, I have bought myself a Zephyr HxM BT device and I am trying to listen to its messages in a simple application. I have paired the Device to my HTC Legend and I can establish a connection but everytime I call the read() or available() method on my InputStream I get a NullPointerException. Has

[android-developers] Say halo to all members

2010-07-09 Thread Sam
Hi All, I am a new member in this group. Currently, i am working on the Android framework layer. Now focusing on Bluetooth, Wifi and GPS level. If you guys are interested in this topic, we should discuss further. Thanks Regards Sam -- You received this message because you are subscribed

[android-developers] Re: 3D Game Development

2010-07-09 Thread Coco's Jungle
You can use OpenGL. Create a GLSurfaceView, and you can draw on it in 3D. See the Cube demo in APIApps sample program. On Jul 6, 8:46 am, Renan Lima renan.lim...@gmail.com wrote: Hey all! I´m new on Android 3D game development. I would like to know if there any engine/ API/ platform about 3D

[android-developers] How many Database we can open/access at same time from our application?

2010-07-09 Thread Rahul
I am working on one task where I have to work with multiple sqlite database files which are downloaded from different location and then they are merged together. can any one tell me that how many sqlite database I can access at a same time from my android application as right now my current

[android-developers] Detect phone feature usage

2010-07-09 Thread doug
Hello, I am looking for directions on how to detect phone feature usage in an Android application. For example, I want my program to be notified when an app is using camera or microphone. I cannot rely on the app to notify my program via an intent because I want to detect phone feature usage on

[android-developers] Re: How does forceStopPackage work in Android 2.2 (Froyo)?

2010-07-09 Thread Kid
forceStopPackage is equal to the restartPackage in Android 2.1 but in 2.2 you need android.Manifest.permission.FORCE_STOP_PACKAGES, a system- permission so this method is not available to third party applications On Jun 25, 10:04 pm, Happy C. taiwanhappin...@gmail.com wrote: Thanks Dianne's

[android-developers] How to reverse engineer(create a new project) a project from a stock phone?

2010-07-09 Thread Jad0gar
How would i go about reverse engineer what i have on my phone into a project in eclipse. To clarify, i want to create project where i have all the source code that was used to set up my stock phone. Thanks. Jad0gar -- You received this message because you are subscribed to the Google Groups

[android-developers] calling open method from service

2010-07-09 Thread A N K ! T
hey all... am new in android developement,am trying to call open(); method for database to open...from on create of service but its showing runtime error.. . Ankit -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Emulator WVGA

2010-07-09 Thread Nick
Hello, I'm having the same problem described here: http://groups.google.com/group/android-developers/browse_thread/thread/32545dd9501ad448/92189979e511a138?lnk=gstq=emulator+wvga#92189979e511a138 That is that I cannot get a WVGA AVD to run with the correct resolution. This is completely

[android-developers] Re: Motorola Droid - QCIF Camera Preview and Capture

2010-07-09 Thread kao
i've faced the same issue with the droid's camera. and i think i can add few details. 1. reboot droid and start droid's native camera application preview is ok (every time after reboot) 2. exit the camera app and start modified (for QCIF) sample app preview is bad. 3. exit the sample app and

[android-developers] Instrumentation and Activities not under test?

2010-07-09 Thread Babimag
Hi, I have a question. When an instrumentation is testing an activity, does it kill other activities? Thanks, Chun -- 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

[android-developers] custom attributes in library projects

2010-07-09 Thread Vladimir Lebedev-Schmidthof
Hello, Having custom attribute (in attrs.xml) in library project leads to compilation fail of the project dependent of that library. I.e.: MyLib project (library) AndroidManifest.xml: manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.mycompany.test.lib

[android-developers] Does AppWidget(On homescree) Support Touch Event?

2010-07-09 Thread 王强
Dear all, I'm developing an android widget on homescreen. I want this widget support tap operation,(press and move).and the widget's content will scroll like a scrollview. but romoteviews does not support scrollview. how can i do it? Best regards. -- You received this message because you

[android-developers] Error while parsing the JSON response.

2010-07-09 Thread Suneel Dasari
Hi I am getting the below error while parsing JSON. MY CODE: Overridden method in POJO RootCategories; public String toString(){ return Category ID: + catId + Category Name: + catName + Description: + description

Re: [android-developers] Re: Signup for C2DM ?

2010-07-09 Thread yone098
Hi, all. Me too. no reply yet. anybody received a response? On Tue, May 25, 2010 at 6:38 PM, qvark joseluishuertasfernan...@gmail.com wrote: Eagerly waiting here to start testing... has anybody received a response? On 22 mayo, 01:12, brian br...@bwalsh.com wrote: Filled out the form

[android-developers] ANDROID: How to load the images from a URL in the Grid.

2010-07-09 Thread Suneel Dasari
Hi I have been working on a POC, where I have an activity which displays a group of images from my local drawable folder in a Grid view. I have created the ImageAdapter and that has actually an integer array with the image ids and it is working fine. But the actual problem is I have to read the

[android-developers] GLSurfaceView onPause/onResume

2010-07-09 Thread Alimae
Hi, I have an app wich is is a TabActivity with 3 tabs. Each tab is an activity. The first tab (Activity1) has a FrameLayout which contains a GLSurfaceView. All the GL code is done in my native library (using the ndk)/ I have put logs into the onSurfaceDestroyed (in GLSurfaceView) and the

[android-developers] Re: build android sdk from git on ubuntu 10.04 fail

2010-07-09 Thread folone
Same here. No solution. If anyone knows, how to fix it, please respond. On 8 июл, 04:04, Taewoong Kim stw...@gmail.com wrote: I have a same problem. but I could not have solution. 2010/7/4 zyanho zya...@gmail.com  i getting start withhttp://source.android.com/source/download.html.  i

[android-developers] Re: Build Error

2010-07-09 Thread folone
I did $ file /lib/libz.so.1.2.3.3 and it said, that: /lib/libz.so.1.2.3.3: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped So, it seems, everything is ok. But I still get the first error. On Jul 8, 5:15 am, Robert Craig robertpcr...@gmail.com wrote: My

[android-developers] eclipse HELIOS (3.6) Code Assist very slow

2010-07-09 Thread gDev
Code Assist very slow any soluation for that? -- 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] Flash usage in android 2.2

2010-07-09 Thread dmp
Hi, I am aware that we can create our own flash files and run it on android. I have tried doing this and it works. But I don't see how we can connect android data such as pictures in sdcard or gallery or contact information, such that it can be used in flash. eg, some cool way of animating

[android-developers] Re: android build error : libz.so, libz.a

2010-07-09 Thread Brian Austin
You need to rollback the patch in Clearsilver that forces a 64bit build if using java6. now that the HEAD requires java6, it will hork on a 32bit system. http://android.git.kernel.org/?p=platform/external/clearsilver.git;a=commitdiff;h=d36910a8110d8377b22301274d2b5131a732a72b I submitted the

[android-developers] Communicate between two tabs

2010-07-09 Thread Ivo Janssen
Is it possible when pressing a button on one tab, to talk to the other tab activity (such as a call to a refresh function in the other activity)? When I try to give the tabhost or this (tabactivity class) to all activities then the application crashes at startup. Hopefully you know a good

  1   2   3   >