[android-developers] Re: java.lang.RuntimeException: android.view.InflateException : Binary XML file: Error inflating class

2011-03-26 Thread Atul Prakash
Thanks a lot!! It worked. On Mar 26, 10:23 am, Romain Guy romain...@android.com wrote: To inflate a View from XML you need to implement the constructors that take an AttributeSet. The constructor that only takes a Context is not invoked when inflating from XML. On Fri, Mar 25, 2011 at

[android-developers] Re: BadParcelableException

2011-03-26 Thread b_t
Kostya: thank you, your suggestions solved my problem But I think when I call data.getSerializableExtra(SETTINGS) and I'm sure that there is no SETTINGS extra in data intent I shouldn't get ClassNotFoundException. Maybe the problem is that it tries to read everything, not only the SETTINGS

[android-developers] Custom TTF Font Problem

2011-03-26 Thread hardrock
Hello, As I know, android supports standard true-type fonts and we can use custom TTF fonts using by createFromAsset() method. Some TTF fonts of WINDOWS works well, but some TTF fonts don't work. I put TTF font(wingding.ttf) into /assets/fonts/ directory. The wingding.ttf is symbol font of

[android-developers] display image from net

2011-03-26 Thread Abhishek Talwar
this may be more like a java question I just want to display an image placed on server onto my imageView The following is the code which m using :-- ImageView iv; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) {

Re: [android-developers] Re: BadParcelableException

2011-03-26 Thread Kostya Vasilyev
No, you can't sure that Motorola's contact picker doesn't have an extra used for its own purposes. And it does, in fact, and its class is not defined in your application. To be fair, they could have used a qualified name (com.motoblur.settings or something), but so could you. 26.03.2011 9:56

[android-developers] Re: Open GL texture is shown on emulator but not on the mobile

2011-03-26 Thread MobileVisuals
My resources are in the res\drawable-nodpi directory. It is a PNG image with 256*256 size. Shouldn't that be enough? On Mar 25, 10:34 pm, String sterling.ud...@googlemail.com wrote: Make sure your textures are power of two dimensioned. The emulator doesn't care, but most real devices do.

[android-developers] Re: AlarmManager doesnot fire after device get Boot-up

2011-03-26 Thread Nalin Chhajer
Thanks, That works Again I resetting the alarm @ bootup... -- 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] Re: Amazon Appmarket is now open!

2011-03-26 Thread Michael A.
Unfortunately, from what I've seen, updates take just as long to go through their process as any normal submission. I currently have an update sitting in their system that has been in it for a week already (I'm almost ready to release the next update). This is definitely something they need to

[android-developers] Re: Bluetooth

2011-03-26 Thread ehpaul
So basically I will have a background thread that periodically tried to connec and immediate disconnect? On Mar 25, 4:35 pm, Kristopher Micinski krismicin...@gmail.com wrote: On Fri, Mar 25, 2011 at 4:53 AM, ehpaul hansp...@gmail.com wrote: Hello, I am writing an android program that I need

Re: [android-developers] display image from net

2011-03-26 Thread Robin Talwar
welll i have solved dis one now i am using following code Bitmap bitmap = null; InputStream in = null; try { URL url = new URL(URL); URLConnection conn = url.openConnection(); /* HttpsURLConnection cone = url.*/

[android-developers] Encrypt Files

2011-03-26 Thread jaafar zbeiba
hello I tried this code but I have a problem with the exception code import java.security.*; import javax.crypto.*; // // encrypt and decrypt using the DES private key algorithm public class PrivateExample { public static void main(String[] args) throws Exception { // // check

[android-developers] In-app billing does not work - although everything has been checked

2011-03-26 Thread Marc Reichelt
Hi! I am including In-app billing in a new Android application I am currently working on. The project is nearly finished and it should go live as soon as in-app billing goes live. In this project I want that users can donate to support the application. However, I can not get In-app billing to

[android-developers] How to investigate the memory leak in jni method?

2011-03-26 Thread sunskyor sunskyor
Hi, I found the investigation of jni memory leak is too hard to execute. Anybody can give some clues for such problem?? Thanks. -- 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] In-app billing does not work - although everything has been checked

2011-03-26 Thread Kostya Vasilyev
I am also getting ITEM_UNAVAILABLE for my own product item with both a test account and my developer's account. The application is uploaded but not published, and so it the item. In addition, purchasing authorization for android.test* items under the test account never completes. FWIW, the

Re: [android-developers] findViewById returning NULL

2011-03-26 Thread New Developer
Thanks No I only have a single landscape layout. The biggest baffle is that is works and then does not work All I do is re-type the findViewByID part and in the layout xml re-type the android:id line and 95% that fixes it. But this case where it does and does not work, while I am

[android-developers] Re: Is it possible to slow system clock by an app? or it is a system bug?

2011-03-26 Thread DanH
If your app is running 100% CPU (ie, looking rather than waiting for events) it's conceivable that it would affect the clock. On Mar 25, 9:47 pm, San Zhang dahua007...@gmail.com wrote: I found a strange problem. On my Nexus One, since upgrading to Android 2.3.3, the system clock would be slowed

[android-developers] Re: Encrypt Files

2011-03-26 Thread DanH
There is a solution. On Mar 26, 6:30 am, jaafar zbeiba jaafarinformati...@gmail.com wrote: hello I tried this code but I have a problem with the exception code import java.security.*; import javax.crypto.*; // // encrypt and decrypt using the DES private key algorithm public class

[android-developers] Re: In-app billing does not work - although everything has been checked

2011-03-26 Thread Marc Reichelt
Hi Kostya, did you publish the In-app-items? Testing In-app payment will not work if you do not publish the In-app-items. You don't have to publish your app for testing it. In fact, you can not publish an application using In-app billing right now. My problem just is that I did everything the

Re: [android-developers] Re: Encrypt Files

2011-03-26 Thread jaafar zbeiba
which ? -- 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,

Re: [android-developers] Re: In-app billing does not work - although everything has been checked

2011-03-26 Thread Kostya Vasilyev
26.03.2011 15:25, Marc Reichelt пишет: Hi Kostya, did you publish the In-app-items? Testing In-app payment will not work if you do not publish the In-app-items. You don't have to publish your app for testing it. In fact, you can not publish an application using In-app billing right now. Ah.

[android-developers] Re: In-app billing does not work - although everything has been checked

2011-03-26 Thread Marc Reichelt
Hi Kostya, of course they did charge your account for real - you _definitely_ should read the In-app documentation before doing anything else! And as I pointed out I am using a correctly signed release build, not the debug build. Still having problems. Regards Marc Reichelt ||

[android-developers] Re: In-app billing does not work - although everything has been checked

2011-03-26 Thread Marc Reichelt
Hi Kostya, by the way: you can refund the payment you made from your Google Merchant account. Remember that you are testing the real system there, which means real money is going to flow if you do not refund it shortly after. Regards Marc Reichelt || http://www.marcreichelt.de/ On 26

[android-developers] Re: Amazon Appmarket is now open!

2011-03-26 Thread cellurl
I submitted 4, 3 have been under review for 2 months almost. One went thru in a week. The under review is a business-NO. Bezos=Jobs On Mar 23, 12:38 pm, Matt M matthew.mag...@gmail.com wrote:  To those who have submitted apps to Amazon how long did it take between submitting and approval?

Re: [android-developers] Re: In-app billing does not work - although everything has been checked

2011-03-26 Thread Kostya Vasilyev
26.03.2011 15:57, Marc Reichelt пишет: Hi Kostya, of course they did charge your account for real Why the of course? I set this phone up as a test account in the Market console, and the system knows this. - you_definitely_ should read the In-app documentation before doing anything

[android-developers] Re: Encrypt Files

2011-03-26 Thread jaafar zbeiba
logcat 03-26 13:25:57.117: INFO/DEBUG(27): debuggerd: Nov 24 2009 14:48:45 03-26 13:25:57.167: INFO/vold(26): Android Volume Daemon version 2.0 03-26 13:25:57.247: ERROR/vold(26): Error opening switch name path '/ sys/class/switch/test2' (No such file or directory) 03-26 13:25:57.247:

[android-developers] Re: In-app billing does not work - although everything has been checked

2011-03-26 Thread Marc Reichelt
OK, I solved it - it really was a @googlemail.com / @gmail.com problem. I entered the corresponding @gmail.com address as test account, and In- app billing started to work. It seems to be an issue at Google, so I entered a new issue here: http://code.google.com/p/marketbilling/issues/detail?id=4

Re: [android-developers] Re: Is it possible to slow system clock by an app? or it is a system bug?

2011-03-26 Thread San Zhang
There is no any looking for events in My app. The only busy code is accelerometer sensor. But it is already here before upgrading to Android 2.3.3. How to check the usage of CPU? 2011/3/26 DanH danhi...@ieee.org If your app is running 100% CPU (ie, looking rather than waiting for events) it's

Re: [android-developers] findViewById returning NULL

2011-03-26 Thread B Lyon
pretty weird eclipse didn't insert an import to (something I forgot).R.* did it? Seems like it will do that sometimes. Of course, you can do a Project--Clean, but it may come back anyway in this case let me know when you figure it out what it is On Sat, Mar 26, 2011 at 8:19 AM, New Developer

[android-developers] Re: JSONObject optString output

2011-03-26 Thread elioncho
Hi, Tried the get methods but still the same problem. The problems seems to be that the JSON array of values doesn't have a parent key that contains it. On Mar 25, 7:18 am, Filip Havlicek havlicek.fi...@gmail.com wrote: Hi, I'm using common get...() methods and they work with no problems or

Re: [android-developers] Re: Is it possible to slow system clock by an app? or it is a system bug?

2011-03-26 Thread Marcin Orlowski
How to check the usage of CPU? https://market.android.com/details?id=com.eolwral.osmonitor or read /proc/loadavg 2011/3/26 DanH danhi...@ieee.org If your app is running 100% CPU (ie, looking rather than waiting for events) it's conceivable that it would affect the clock. Since when CPU

[android-developers] API 10 ERROR

2011-03-26 Thread rishabh agrawal
When i run my apps on API 8 then it run fine.But when i run my apps on API 10 then it get unexpected error automatically my app closed.Please check my mainfest file.or please suggest me any other permission required. ?xml version=1.0 encoding=utf-8? manifest

Re: [android-developers] Re: Is it possible to slow system clock by an app? or it is a system bug?

2011-03-26 Thread San Zhang
Thanks. 2011/3/26 Marcin Orlowski webnet.andr...@gmail.com How to check the usage of CPU? https://market.android.com/details?id=com.eolwral.osmonitor or read /proc/loadavg 2011/3/26 DanH danhi...@ieee.org If your app is running 100% CPU (ie, looking rather than waiting for events)

Re: [android-developers] Re: JSONObject optString output

2011-03-26 Thread Filip Havlicek
Ah, now I see, sorry I didn't notice it before. You are parsing it like it's a String, but actually every value of a pair you have is an array, so proper way of parsing it is something like JSONArray array = object.getJSONArray(login); for (int i=0;iarray.length();i++){ array.getString(i)); }

Re: [android-developers] API 10 ERROR

2011-03-26 Thread Mark Murphy
Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat and look at the stack trace associated with your unexpected error. On Sat, Mar 26, 2011 at 10:33 AM, rishabh agrawal android.rish...@gmail.com wrote: When i run my apps on API 8 then it run fine.But when i run my apps on

[android-developers] Re: Open GL texture is shown on emulator but not on the mobile

2011-03-26 Thread String
The usual advice at this point is to debug into the routine that loads your bitmap - on the device, of course - and check what the actual loaded height() and width() are. That will tell for sure, one way or another, if they're the size you think they are. String -- You received this message

[android-developers] Re: finishActivity() does not stop child activity

2011-03-26 Thread jgaribay
Hi, I have a similar issue and I am using the same approach: Service - ProxyActivity - Activity But the Activity I want to start and finish is an android activity started with ACTION_CALL from ProxyActivity and it has singleInstance launch mode in the manifest but it seems I can not change it.

Re: [android-developers] findViewById returning NULL

2011-03-26 Thread New Developer
Thanks No there is no android.R import and I have tried the Project-Clean That is one sure way to trip it off thou at least 97% of the time that I have done a Project-Clean I have the failure occur. thanks again On Mar 26, 2011, at 10:19 AM, B Lyon wrote: pretty weird eclipse didn't

[android-developers] Android phones

2011-03-26 Thread bob
Google is selling unlocked Android phones for 399.00 and 479.00. Is there a good reason for me to get one of these to develop on as opposed to a 230.00 phone at MetroPCS? Can someone help me understand the difference? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: USB Huawei E173

2011-03-26 Thread FrankG
Hello Bala, strange .. you description is not clear for. Do you have full platform access ? And is you platform usb host enabled ? Good luck ! Frank On 24 Mrz., 06:30, Bala balachandra...@gmail.com wrote: Dear all, I want to use Huawei E173 in my Mobile Interface Device(MID). I have

[android-developers] Fetching messages from a server

2011-03-26 Thread Kevin Anthony
I have an application that needs to fetch messages from a server, currently i do this via a service, running in the background. However, when my application is not in the foreground, it quickly gets pushed out of memory, and stops checking for messages. I've been playing with

Re: [android-developers] Fetching messages from a server

2011-03-26 Thread Mark Murphy
On Sat, Mar 26, 2011 at 12:24 PM, Kevin Anthony kevin.s.anth...@gmail.com wrote: I have an application that needs to fetch messages from a server, currently i do this via a service, running in the background. However, when my application is not in the foreground, it quickly gets pushed out of

[android-developers] Re: DashBoard

2011-03-26 Thread Pent
Please suggest any tutorial for creation Dashboard in API 2.2 Are we supposed to know what Dashboard is? You are tireless :-) Where do you draw the energy from ? Pent -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: how to reload previous activity on back button click

2011-03-26 Thread Laxmi Verma
Hi Filip, Thanks for your replies. But I want the functionality like how is it happening in NDTV App' which i downloaded it from Android Market. Thanks!! On Sat, Mar 26, 2011 at 1:12 AM, Filip Havlicek havlicek.fi...@gmail.comwrote: Hi Laxmi, if everything else works fine, just call

[android-developers] Email Intent Back Button Handling

2011-03-26 Thread Laxmi Verma
Hi All, I am facing a problem in my application. I am having an activity in which there is an Email button from which the Email Intent is called. Now, the flow should be like that when I press back button without clicking on email button it should finish the current activity. However, once i

Re: [android-developers] Re: Starting An Android App From An Url

2011-03-26 Thread Dianne Hackborn
If you are using WebView, you can do whatever you want by looking for clicks and using the platform APIs. If you are trying to do this from a web page the user is interacting with in the standard browser, you should use the mechanism I am suggesting. On Sat, Mar 26, 2011 at 9:40 AM, Lutz Bendlin

Re: [android-developers] Re: how to reload previous activity on back button click

2011-03-26 Thread Laxmi Verma
Hi Filip, As per your suggestion i called finish() in the list body activity the problem which i discussed in the previous to last mail. But then I am facing one problem. Actually I am having an email button in it callling the email intent from there. When I am clicking on email intent and

[android-developers] Email Intent Back Button problem

2011-03-26 Thread Laxmi Verma
Hi Filip, As per your suggestion i called finish() in the list body activity the problem which i discussed in the previous to last mail. But then I am facing one problem. Actually I am having an email button in it callling the email intent from there. When I am clicking on email intent and

[android-developers] Combining gesture with ViewHolder

2011-03-26 Thread GJTorikian
I've implemented a basic gesture detection system in my app with the following code (taken from an Android sample): mGestureLibrary = GestureLibraries.fromRawResource(this, R.raw.gestures); if (!mGestureLibrary.load()) { finish(); } gestures = (GestureOverlayView)

[android-developers] upgrade

2011-03-26 Thread Hendrik Greving
Is there a function in the API of activity for instance that gets called when upgrading an application? 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

Re: [android-developers] upgrade

2011-03-26 Thread Mark Murphy
On Sat, Mar 26, 2011 at 2:55 PM, Hendrik Greving fourhend...@gmail.com wrote: Is there a function in the API of activity for instance that gets called when upgrading an application? Thanks ACTION_PACKAGE_REPLACED will be broadcast. -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] upgrade

2011-03-26 Thread fourhend...@gmail.com
Thx! On Mar 26, 2011 11:55 AM, Mark Murphy mmur...@commonsware.com wrote: On Sat, Mar 26, 2011 at 2:55 PM, Hendrik Greving fourhend...@gmail.com wrote: Is there a function in the API of activity for instance that gets called when upgrading an application? Thanks ACTION_PACKAGE_REPLACED will

Re: [android-developers] Re: DashBoard

2011-03-26 Thread TreKing
On Sat, Mar 26, 2011 at 11:44 AM, Pent supp...@apps.dinglisch.net wrote: Please suggest any tutorial for creation Dashboard in API 2.2 Are we supposed to know what Dashboard is? You are tireless :-) Where do you draw the energy from ? LOL ... Yoga.

Re: [android-developers] Android phones

2011-03-26 Thread Aitor Mendaza Ormaza
I guess the difference is the hardware... you can develop in any android phone, if you are planning application development. You just have to go to settings - applications - Develop, and check there USB debugging :) I will suggest you to check www.geeksphone.com as they sell their phones with

Re: [android-developers] findViewById returning NULL

2011-03-26 Thread Aitor Mendaza Ormaza
What version of eclipse are you using? And on what operating system? I have read that eclipse versions 3.6, sometimes gives some kind of weird errors, like the one you are describing... Just to be on the safe side, you could donwload any 3.5.X eclipse version and check if this still happens... On

[android-developers] Dialog box without title

2011-03-26 Thread Archit Jain
Hi all, Is there a way, I can remove title from the default dialog box ? I am using following code : Dialog alertDialog = new Dialog(getApplicationContext()); alertDialog.setContentView(R.layout.info); alertDialog.setCancelable(true); alertDialog.show(); But it shows a titlebar with no text in

Re: [android-developers] Android phones

2011-03-26 Thread Kostya Vasilyev
Bob, The actual difference depends on whether you plan on building and installing firmware, or just building applications. If it's the latter, any phone that has Android Market should work. -- Kostya 26.03.2011 22:21, Aitor Mendaza Ormaza ?: On Sat, Mar 26, 2011 at 5:18 PM, bob

Re: [android-developers] Where can I find the samsung android api docs?

2011-03-26 Thread Aitor Mendaza Ormaza
You could take a look here: http://innovator.samsungmobile.com/ http://innovator.samsungmobile.com/ http://innovator.samsungmobile.com/galaxyTab.do http://innovator.samsungmobile.com/galaxyTab.doHope it helps! On Fri, Mar 25, 2011 at 2:37 PM, André pha...@hotmail.com wrote: What I want to do

Re: [android-developers] Email Intent Back Button Handling

2011-03-26 Thread TreKing
On Sat, Mar 26, 2011 at 12:42 PM, Laxmi Verma laxmiverma.andr...@gmail.comwrote: Now, the flow should be like that when I press back button without clicking on email button it should finish the current activity. That's the default behavior. However, once i clicked on email button and then

[android-developers] LunarLander

2011-03-26 Thread bob
I'm looking at the LunarLander sample that comes with the Android SDK. Is this sample just for the emulator? It uses the arrow keys, so I don't see how that would work on a real phone where there are no arrow keys. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Dialog box without title

2011-03-26 Thread TreKing
On Sat, Mar 26, 2011 at 2:32 PM, Archit Jain dce.arc...@gmail.com wrote: Dialog alertDialog = new Dialog(getApplicationContext()); Never use getApplicationContext() - it's pointless and doesn't work for Dialogs. I'm surprised you're seeing anything. But it shows a titlebar with no text in it.

[android-developers] notification

2011-03-26 Thread dashman
i post a notification and call notification.setLatestEventInfo() with the contentText argument. when it's longish - the system truncates the text. any way to tell it not to do so. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] notification

2011-03-26 Thread Mark Murphy
Write something shorter. Or, create your own RemoteViews for the contentView. On Sat, Mar 26, 2011 at 4:30 PM, dashman erjdri...@gmail.com wrote: i post a notification and call notification.setLatestEventInfo() with the contentText argument. when it's longish - the system truncates the

Re: [android-developers] notification

2011-03-26 Thread guillaume benats
isn't there anyway to put in on two lines? On Sat, Mar 26, 2011 at 9:36 PM, Mark Murphy mmur...@commonsware.comwrote: Write something shorter. Or, create your own RemoteViews for the contentView. On Sat, Mar 26, 2011 at 4:30 PM, dashman erjdri...@gmail.com wrote: i post a notification and

Re: [android-developers] notification

2011-03-26 Thread Mark Murphy
On Sat, Mar 26, 2011 at 4:41 PM, guillaume benats guillaume.ben...@gmail.com wrote: isn't there anyway to put in on two lines? Yes, by creating your own RemoteViews for the contentView. A Notification's default RemoteViews supports only one line for the description, with the marquee effect on

Re: [android-developers] notification

2011-03-26 Thread guillaume benats
ok thanks :-) On Sat, Mar 26, 2011 at 9:58 PM, Mark Murphy mmur...@commonsware.comwrote: On Sat, Mar 26, 2011 at 4:41 PM, guillaume benats guillaume.ben...@gmail.com wrote: isn't there anyway to put in on two lines? Yes, by creating your own RemoteViews for the contentView. A

[android-developers] MPlayer for Android

2011-03-26 Thread Ankur Avlani
Hi All, I am trying to develop a Audio/Video library, where users can listen and view audio/video files. I was looking forward to do this with Android MPlayer. But I am running out of ways to invoke the MPlayer from the Java (android java) code. Any pointer will be really helpful. Thanks and

[android-developers] Getting a Google Account token to use for Google Reader calls?

2011-03-26 Thread Chris Stewart
I've found various sources online trying to do this but every example I found hasn't worked for me. Most simply return 401 errors from the server. I've gotten the auth token needed to make the calls from the local accounts on the phone and I've also tried making the ClientLogin call specifically

Re: [android-developers] MPlayer for Android

2011-03-26 Thread Mark Murphy
On Sat, Mar 26, 2011 at 5:15 PM, Ankur Avlani ankuravl...@gmail.com wrote: I am trying to develop a Audio/Video library, where users can listen and view audio/video files.  I was looking forward to do this with Android MPlayer.  But I am running out of ways to invoke the MPlayer from the Java

[android-developers] Re: Encrypt Files

2011-03-26 Thread DanH
I see a bunch of errors reported, but none with the exception code (whatever that means). If you want people to look at your problem you've got to adequately describe it. On Mar 26, 7:30 am, jaafar zbeiba jaafarinformati...@gmail.com wrote: which ? -- You received this message because you are

Re: [android-developers] MPlayer for Android

2011-03-26 Thread Ankur Avlani
Since Android is deployed on Linux, I am guessing there should be a mechanism in Android to invoke the MPlayer? or any undocumented way? Thanks and regards, Ankur. On Sat, Mar 26, 2011 at 2:28 PM, Mark Murphy mmur...@commonsware.comwrote: On Sat, Mar 26, 2011 at 5:15 PM, Ankur Avlani

Re: [android-developers] MPlayer for Android

2011-03-26 Thread Mark Murphy
On Sat, Mar 26, 2011 at 5:35 PM, Ankur Avlani ankuravl...@gmail.com wrote: Since Android is deployed on Linux, I am guessing there should be a mechanism in Android to invoke the MPlayer? or any undocumented way? Of course not, no more than you can invoke the MPlayer on a Linux-powered piece of

[android-developers] Re: findViewById returning NULL

2011-03-26 Thread Doug
I logged a bug a while back about problems with project cleaning using Eclipse and ADT 10. Please star it if it's a problem for you. Maybe it will get fixed faster. http://code.google.com/p/android/issues/detail?id=15209 Doug On Mar 26, 9:14 am, New Developer secur...@isscp.com wrote: Thanks

Re: [android-developers] LunarLander

2011-03-26 Thread TreKing
On Sat, Mar 26, 2011 at 3:24 PM, bob b...@coolgroups.com wrote: It uses the arrow keys, so I don't see how that would work on a real phone where there are no arrow keys. Some devices have a DPad or trackball.

RE: [android-developers] Android phones

2011-03-26 Thread Tommy
The phones from android are rooted and able to be used on any carrier with a supported network. Like Kostya said if your just doing app development any android phone with the market on it will work (rooted or not) if you want to do firmware or mess with the android OS itself like making custom

Re: [android-developers] LunarLander

2011-03-26 Thread Kostya Vasilyev
One more thing about Lunar Lander is that, afaik, it's not the best place to start on your own GL project, as it has some well known, annoying bugs. The open source Replica Island doesn't have those, and just may be a better sample to learn from. 27.03.2011 1:47 пользователь TreKing

[android-developers] totally 2d

2011-03-26 Thread bob
Let's say you are making a totally 2d game for Android. Does it make sense to use OpenGL? Will you get a better framerate or anything besides complexity? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] notification

2011-03-26 Thread lbendlin
I have seen notifications scroll. Have you tried to use a \n in yours? -- 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

Re: [android-developers] Re: Encrypt Files

2011-03-26 Thread jaafar zbeiba
when I run the emulator it gives me an error message (the application (process com.example )has stopped unexpectedly but I gave me the code and also logcat -- 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: Dialog box without title

2011-03-26 Thread lbendlin
setCancelable(false); specify your own positive and negative button callbacks. -- 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

[android-developers] How to serialize a complex class in Android for Web Service call using Android using KSOAP2?

2011-03-26 Thread neo182
Hi all, I'm currently developing an android app for a public transportation system. I need to use the webservice for fetching the information regarding the public vehicles. For this purpose I'm using KSOAP2. There is a webservice(C# SOAP) for calling a method like getSchedule(param1,param2). The

[android-developers] car dock mode

2011-03-26 Thread Hendrik Greving
Hi is there a broadcast even when entering/leaving car dock mode? Actually, finding these kind of events is a little cumbersome in the otherwise excellent documentation... - Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: totally 2d

2011-03-26 Thread Robert Massaioli
It all depends on how you actually write your programs that you will get better performance. However, in general, if you game really needs to eek out speed then going the OpenGL route, done well, should result in better performance than the Canvas method. Though I have not actually tested it

Re: [android-developers] car dock mode

2011-03-26 Thread TreKing
On Sat, Mar 26, 2011 at 8:29 PM, Hendrik Greving fourhend...@gmail.comwrote: Hi is there a broadcast even when entering/leaving car dock mode? Apparently. Actually, finding these kind of events is a little cumbersome in the otherwise excellent documentation. Step 1 - Go to Intent class

[android-developers] Augmented Reality and Spherical 360º Views

2011-03-26 Thread miguel
Hi, Im working on a AR framework to have the same functionality and behaviour as Layar or Wikitude does. Im working hard and now Im totally stuck and missing many hours trying to fix a problem: I cant get the screen objects to move smooth. Im trying to figure out how layar, wikitude, skymap or

[android-developers] Re: Bluetooth

2011-03-26 Thread ehpaul
It looks a better way is to make a l2cap connection and look at the exception. On Mar 26, 2:47 am, ehpaul hansp...@gmail.com wrote: So basically I will have a background thread that periodically tried to connec and immediate disconnect? On Mar 25, 4:35 pm, Kristopher Micinski

Re: [android-developers] Re: Bluetooth

2011-03-26 Thread Kristopher Micinski
Nice find then, I hadn't known about that, but is it possible from Java? Kris On Sat, Mar 26, 2011 at 10:24 PM, ehpaul hansp...@gmail.com wrote: It looks a better way is to make a l2cap connection and look at the exception. On Mar 26, 2:47 am, ehpaul hansp...@gmail.com wrote: So basically

[android-developers] Time Out on Insistent Notifications

2011-03-26 Thread Jake Colman
My app provides preferences to allow the user to control how they wish to be notified - any combination of Sound, Vibrate, LED - and whether it should be a persistent notification. Depending on their settings I set the Notification.defaults and Notification.flags accordingly. When insistent

Re: [android-developers] car dock mode

2011-03-26 Thread fourhend...@gmail.com
Ah ok, thanks. On Mar 26, 2011 6:57 PM, TreKing treking...@gmail.com wrote: On Sat, Mar 26, 2011 at 8:29 PM, Hendrik Greving fourhend...@gmail.com wrote: Hi is there a broadcast even when entering/leaving car dock mode? Apparently. Actually, finding these kind of events is a little

[android-developers] Webviews and javascript alerts

2011-03-26 Thread kypriakos
HI all, I have been trying to solve the following issue and I am wondering if anyone else has run into a similar case: I load an html page that is associated with a set of javascript functions. When the user presses on one of the buttons a javascript function is executed and it generates a new

[android-developers] Re: Augmented Reality and Spherical 360º Views

2011-03-26 Thread Hari Edo
On Mar 26, 10:01 pm, miguel miguelp...@gmail.com wrote: - Any tip for the sensor noise removal? Low pass filter, threeshold? both? any value for that filters? I tried EVERYTHING but the smooth problem may not be just here (so sad) - Any useful tip to make the overlay views move smooth?

Re: [android-developers] car dock mode

2011-03-26 Thread Dianne Hackborn
Better: http://developer.android.com/reference/android/app/UiModeManager.html On Sat, Mar 26, 2011 at 8:21 PM, fourhend...@gmail.com fourhend...@gmail.com wrote: Ah ok, thanks. On Mar 26, 2011 6:57 PM, TreKing treking...@gmail.com wrote: On Sat, Mar 26, 2011 at 8:29 PM, Hendrik Greving

[android-developers] Re: Dialog box without title

2011-03-26 Thread Dixi
don't use this while writing your dialog box code--- dialog.setTitle(Title name); On Mar 27, 12:32 am, Archit Jain dce.arc...@gmail.com wrote: Hi all, Is there a way, I can remove title from the default dialog box ? I am using following code : Dialog alertDialog = new

Re: [android-developers] Re: Dialog box without title

2011-03-26 Thread Archit Jain
I haven't used dialog.setTitle(Title name); but it still shows a titel with no tex in it ...as in the snapshot in last image. Regards, Archit Jain On Sun, Mar 27, 2011 at 10:33 AM, Dixi dixitwadhw...@gmail.com wrote: don't use this while writing your dialog box code---

Re: [android-developers] Re: Dialog box without title

2011-03-26 Thread Miguel Morales
Use: requestWindowFeature(Window.FEATURE_NO_TITLE); On Sat, Mar 26, 2011 at 10:03 PM, Dixi dixitwadhw...@gmail.com wrote: don't use this while writing your dialog box code--- dialog.setTitle(Title name); On Mar 27, 12:32 am, Archit Jain dce.arc...@gmail.com wrote: Hi all,

[android-developers] Re: New tablet-specific area in the Market

2011-03-26 Thread Indicator Veritatis
This could be a good example of why there is still a lot of room in the Android ecosystem for sites like appbrain, which let you do a truly full featured search of the market. On Mar 25, 12:18 pm, Chris Stewart cstewart...@gmail.com wrote: Right, and that was my assumption.  If they're actually

Re: [android-developers] Re: Dialog box without title

2011-03-26 Thread Archit Jain
Thanks Miguel ... it worked :) Regards, Archit Jain On Sun, Mar 27, 2011 at 10:46 AM, Miguel Morales therevolti...@gmail.comwrote: Use: requestWindowFeature(Window.FEATURE_NO_TITLE); On Sat, Mar 26, 2011 at 10:03 PM, Dixi dixitwadhw...@gmail.com wrote: don't use this while writing your