[android-developers] debugging tool for Android PC

2010-08-24 Thread Frank
Hi, I have android 2.1 installed on an Asus Eee machine, Everything is working on it other than the phone. Just wondering does anyone know how to debug my app, or get the application log on the Android PC? I know I can use Android SDK's tool adb or ddms, run logcat to debug the apps running in

[android-developers] Protobuf on Android

2010-08-24 Thread JoeSchmoe
Is there a package somewhere of protobufs? If not, should I build my own and if so, would I build a Java Package, Android App, etc...? Thanks! JoeSchmoe -- 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] Linking to your app from external browser

2010-08-24 Thread Martin Schultz
I'm quite new to Android so please excuse if this is the wrong forum, but I have searched up and down and also this list, but is there no way to externally link from my website into the market to show my app within a desktop browser and not on the device? I mean similar to the iTunes links where

[android-developers] executing the command ping on Android?

2010-08-24 Thread NGUYEN Cong Kinh
Hi everyone, I am writing some code to execute the command ping from Android to a host as the following: Runtime runtime = Runtime.getRuntime(); Process proc = runtime.exec(ping -c 1+ hostname); proc.waitFor(); I see that the code works well on Android 1.5, but

[android-developers] PercentBar like ProgressBar

2010-08-24 Thread Franklin Masao
Hey!!! I Need some helps.. In my job, I need to built a percentBar... hm.. can You help me?     Franklin Masao Hirata 6365-3650 / 4787-5360 GoogleAndroid's developers 2010 All programmers are playwrights and all computers are lousy actors. -- You received this message because you

Re: [android-developers] Newbie's Android problem

2010-08-24 Thread Sergey Timoshin
Only Android . . . is displayed on the screen, Just wait 5-10 minutes. On Sun, Aug 22, 2010 at 1:04 PM, erakovic.bo...@gmail.com erakovic.bo...@gmail.com wrote: Hi, I have just start to develop android, and I just cannot start my Hello World application. I have followed instructions about

[android-developers] Apps on the Emulator...

2010-08-24 Thread Tauren
Is there a way to acquire an app and apply it to the emulator? Say for instance I wanted to take a PDF reader app and put it on the emulator to see how an application can play together with it. Can you take an existing application and put it onto the emulator in some way? -- You received this

[android-developers] Buy android apps

2010-08-24 Thread Raj
Hello Guys, I am looking to buy android apps. Let me know if anybody have it Thanks, Raj -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Database transaction help needed.

2010-08-24 Thread tatebn
I'm using transactions to insert data into several tables with foreign key relationships. Basically I have a wrapper for each table. Each wrapper creates it's own SQLiteOpenHelper and holds onto the SQLiteDatabase that comes from the getWriteableDatabase() call. Now here's the problem, When I

[android-developers] Min SDK Bug ???

2010-08-24 Thread guruk
Hi, i have a nexus one with firmware 2.2 = sdk 8 when i dont use: uses-sdk android:minSdkVersion=8 / the app works just fine. But when I add this (and as my device is 2.2 = sdk 8, so it should be same) my imagepositions are wrong and the app totaly slow down ? How do I set the minSDk

Re: [android-developers] Apps on the Emulator...

2010-08-24 Thread Filip Havlicek
I'm pretty sure you can install any .apk into the emulated device with usual adb commands. Best regards, Filip Havlicek 2010/8/24 Tauren tauren...@gmail.com Is there a way to acquire an app and apply it to the emulator? Say for instance I wanted to take a PDF reader app and put it on the

Re: [android-developers] Problem Installing app

2010-08-24 Thread Ajmer singh
Hi Thanks for replying. I am downloading Android app from email attachment ie .apk file.When i try to open the .apk files its gives me the Error that *There is problem in parsing the package*. Basically i get this error message as soon as i try to open the .apk file. I have attached the Screen

Re: [android-developers] PercentBar like ProgressBar

2010-08-24 Thread Filip Havlicek
Just do a progressBar with setMax(100) and then update based on percentage? Best regards, Filip Havlicek 2010/8/24 Franklin Masao masaum_hir...@yahoo.com.br Hey!!! I Need some helps.. In my job, I need to built a percentBar... hm.. can You help me? Franklin Masao Hirata

Re: [android-developers] Database transaction help needed.

2010-08-24 Thread Kim Damevin
Hi, Do you call getWriteableDatabase twice ? because you shouldn't. It should be the same SQLiteDatabase object or you have to end the transaction from the first one before you start a new one. Kim On Tue, Aug 24, 2010 at 9:09 PM, tatebn brandonnt...@gmail.com wrote: I'm using transactions

Re: [android-developers] Problem Installing app

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 2:16 PM, Ajmer singh ajmer.si...@evontech.comwrote: I am downloading Android app from email attachment ie .apk file. I would email the person that sent you it back and ask for a copy that works ...

[android-developers] Re: Min SDK Bug ???

2010-08-24 Thread guruk
just for info .. I made the design in adp1 . so i thought it would fit with more devices (as it resized fine) But the mainproblem and I cant believe its on that.. when I set minSDK the APP comes unbelievable slow !!! Its totaly strange .. remember by nexus is 2.2 sdk8 so what comes different when

[android-developers] Re: remove Webview scroll margin

2010-08-24 Thread Achanta
I have also tried setting scrollbar style to all the different styles but it does not make a difference. This thing is making my webviews look bad. Please let me know if you have any suggestions on how to solve this. On Aug 24, 10:43 am, Achanta krishna.acha...@gmail.com wrote: I have a webview

[android-developers] Re: User request refund 20 days after purchase

2010-08-24 Thread DanH
Don't be so cavalier -- he's talking about $1.25 in Mercan money. ;) (But, yes, the proper thing to do is to immediately refund the money, while asking for more information and promising that the user will receive a new copy of the app gratis if she assists you in understanding the bug.) On Aug

[android-developers] Which is better in Performance ?

2010-08-24 Thread tarek attia
Hi all,, I have a service which collect data and send them to a certain URL and updating the main activity GUI ,so which is better in the performance to use a long service with listeners to collect the data and threads in it to update the GUI and sends to the internet Or to make another service

Re: [android-developers] Database transaction help needed.

2010-08-24 Thread Kostya Vasilyev
Transactions are per-connection. That's on purpose, so a connection sees all changes made by others only once are of them are complete. Either switch to one connection, or don't use transactions, preferably both. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 24.08.2010 23:21 пользователь

Re: [android-developers] Problem Installing app

2010-08-24 Thread Ajmer singh
Hi I am the developer of the app. I have send .apk file to my client via email ,Basically the problem is at my client end, My Client is downloading app from email sent by me. I have signed the app using the Ecillpse plug-in. On Wed, Aug 25, 2010 at 12:50 AM, TreKing treking...@gmail.com wrote:

Re: [android-developers] Buy android apps

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 5:22 AM, Raj cmcraj...@gmail.com wrote: I am looking to buy android apps. OK. Ever heard of the Android Market? Or this: http://tinyurl.com/3xjq5yg Let me know if anybody have it Have what?

Re: [android-developers] Linking to your app from external browser

2010-08-24 Thread Kostya Vasilyev
Market doesn't have a web interface that's usable outside Android devices. There are sites out there that track Market apps, providing a lot of useful information, such as description, screenshots, even user comments. One of those sites is Cyrket, but there are others as well. -- Kostya

Re: [android-developers] Re: User request refund 20 days after purchase

2010-08-24 Thread Federico Paolinelli
Ok ok. I have already done the refund and asked for details. I'll let you know how it goes. Thanks again to everybody for the support. Federico Don't be so cavalier -- he's talking about $1.25 in Mercan money. ;) (But, yes, the proper thing to do is to immediately refund the money, while

[android-developers] Re: remove Webview scroll margin

2010-08-24 Thread Maps.Huge.Info (Maps API Guru)
I use this style and it looks pretty good: mywebview.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY) ; -John Coryat -- 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] Re: Using HttpClient

2010-08-24 Thread Kostya Vasilyev
Might want to start with sample code that does POST over plain (non-secure) HTTP and build it from there, verifying in WireShark as you go. You are probably missing something really simple, but Java libraries often have so many ways to do the same thing, it's easy to make some sort of trivial

Re: [android-developers] Linking to your app from external browser

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 1:38 PM, Martin Schultz m...@decane.net wrote: I mean similar to the iTunes links where you can view the application details right in any browser. There must be something similar You'd think, wouldn't you? This was announced at Google I/O but there's nothing available

[android-developers] Re: Can I use my personal 'VERIZON' droid 2 as a dev device also?

2010-08-24 Thread Maps.Huge.Info (Maps API Guru)
If all you want to do is develop apps, then any approved Android device should work. There are some issues with the current stable of ATT devices in that they can't load apps from non-market sources, except when they are loaded from adb. If you have any doubt about a particular device, check to

[android-developers] Re: Database transaction help needed.

2010-08-24 Thread tatebn
That just makes perfect sense. Thanks. I ended up adding a second constructor to the table access wrappers that accepts both the context and an already open database connection. Works great. On Aug 24, 3:36 pm, Kostya Vasilyev kmans...@gmail.com wrote: Transactions are per-connection. That's

Re: [android-developers] Which is better in Performance ?

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 2:34 PM, tarek attia tarek.m.at...@gmail.comwrote: so which is better This will be highly dependent on your implementation of either option, neither of which I think you've explained clearly enough for anyone to really make an educated guess on.

[android-developers] Re: Buy android apps

2010-08-24 Thread EdKawas
That was an awesome response (the tinyurl...) Eddie On Aug 24, 12:38 pm, TreKing treking...@gmail.com wrote: On Tue, Aug 24, 2010 at 5:22 AM, Raj cmcraj...@gmail.com wrote: I am looking to buy android apps. OK. Ever heard of the Android Market? Or this:http://tinyurl.com/3xjq5yg Let me

[android-developers] Re: Can I use my personal 'VERIZON' droid 2 as a dev device also?

2010-08-24 Thread Sari
If you can connect it in debug mode then I guess its no problem. Check if you can set t debug in SettingsApplicationsUSB Debugging. On Aug 24, 6:11 pm, Cedric Gaines cedricgai...@gmail.com wrote: I'm fairly new to the community, I've searched around and I'm not quite sure about what is

Re: [android-developers] Re: Can I use my personal 'VERIZON' droid 2 as a dev device also?

2010-08-24 Thread Tommy Hartz
Yeah Verizon is pretty cool about not restricting their line of phones. I have a Moto Droid that I use for testing as well as an HTC Aria(ATT) and I have no issues when it comes to testing my apps from eclipse On Tue, Aug 24, 2010 at 3:53 PM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com

Re: [android-developers] Re: onClick for the whole screen?

2010-08-24 Thread Pedro Teixeira
I have a CameraPicture.Callback and the onClick method implemented like this: public void onClick(View arg0) { tnnCamera.takePicture(null, mPictureCallback, mPictureCallback); } So does it makes any sense? Sorry.. I just have no ideia where to start

[android-developers] Android Emulator vs iPhone emulator (Why does it take so long)

2010-08-24 Thread Sari
I have a fairly fast machine, and I boot into Windows 7 or Mac OS depending on which work I need to do. When I start the Android emulator it takes around 2-3 minutes and its sluggish when its ready. However, the iPhone emulator in Mac OS takes around 10 seconds at most and its very smooth when

Re: [android-developers] Which is better in Performance ?

2010-08-24 Thread Kostya Vasilyev
You can't update UI from a service, and can't perform sustained tasks from an Activity. So, by way of excluding the impossible, you should end up with a sort of canonical design. An Activity for the UI, a service with a worker thread to perform lengthy network-related tasks, working together to

Re: [android-developers] Android Emulator vs iPhone emulator (Why does it take so long)

2010-08-24 Thread Kostya Vasilyev
I only use the emulator for 1.6 QVGA devices, but it starts pretty fast, on the order of tens of seconds. Windows 7 64-bit, 4 Gb of RAM, Intel i7 860, 32-bit Java and Eclipse. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 25.08.2010 0:00 пользователь Sari sarihi...@gmail.com написал: I

[android-developers] Re: Newbie's Android problem

2010-08-24 Thread DonFrench
Or thirty or forty. On Aug 23, 11:52 pm, Sergey Timoshin timoshin.ser...@gmail.com wrote: Only Android . . . is displayed on the screen, Just wait 5-10 minutes. On Sun, Aug 22, 2010 at 1:04 PM, erakovic.bo...@gmail.com erakovic.bo...@gmail.com wrote: Hi, I have just start to develop

Re: [android-developers] Re: onClick for the whole screen?

2010-08-24 Thread Filip Havlicek
Hi Pedro, one possible way is to do it with gestures as nikhil suggested, although there might be some other ways. Do you happen to display the camera preview on the screen when you want the tapping to happen? If so, I suppose you have it inside some SurfaceHolder. Now I'm not sure, but I think

Re: [android-developers] Which is better in Performance ?

2010-08-24 Thread tarek attia
2010/8/24 Kostya Vasilyev kmans...@gmail.com You can't update UI from a service, and can't perform sustained tasks from an Activity. I didn't say directly I will update the GUI from a service but by using broadcast receivers I can do what I want So, by way of excluding the impossible, you

Re: [android-developers] Android Emulator vs iPhone emulator (Why does it take so long)

2010-08-24 Thread Vedran Rodic
AFAIK, iPhone SDK includes a simulator not an emulator, which means it uses native x86 code and not an ARM emulator. Additionally, iPhone simulator probably doesn't need to start the vritualized kernel, but uses hosts kernel features to create a sandbox for testing iPhone apps. Both things

[android-developers] Re: Protobuf on Android

2010-08-24 Thread Chris Miller
A package of protobufs, what do you mean? Why can't you generate java code from your .proto file as you would normally, then just include that code in your app? Is there a package somewhere of protobufs? If not, should I build my own and if so, would I build a Java Package, Android App,

[android-developers] Re: Android Market Licensing: Now Available!

2010-08-24 Thread keyeslabs
Seems like I was unfortunately very right on this prediction. Just off by a few days :). LVL is flawed in the same ways that AAL (and other similar approaches) is flawed. Google could do better, and I hope that they will. Obfuscation isn't really going to do much to improve the situation. What

Re: [android-developers] Android Emulator vs iPhone emulator (Why does it take so long)

2010-08-24 Thread Chris Stewart
While it's inconvenient the first time, it's not something you have to do time and time again while developing. I don't find it to be an issue at all. -- Chris Stewart http://chriswstewart.com Fantasy Footballhttp://chriswstewart.com/android-applications/fantasy-football/- Android app for MFL

[android-developers] Re: when to use runonuithread()? why we need to use it?

2010-08-24 Thread cindy
If I get a result from setResult from other activities, I need to set the result to a textview. Do I still need to call runOnUIThread() ? On Aug 24, 11:50 am, TreKing treking...@gmail.com wrote: On Tue, Aug 24, 2010 at 1:36 PM, cindy ypu01...@yahoo.com wrote: When the user clicks some button,

Re: [android-developers] Re: when to use runonuithread()? why we need to use it?

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 3:24 PM, cindy ypu01...@yahoo.com wrote: If I get a result from setResult from other activities, I need to set the result to a textview. Do I still need to call runOnUIThread() ? If you're talking about onActivityResult, no. In general, pretty much any Activity

[android-developers] Unserializing objects via the Hessian web protocol leads to ClassNotFoundException

2010-08-24 Thread kr...@boerse-go.de
Hi all, I am using the Hessian web protocol[1] or rather more the Android port Hessdroid[2] to fetch and unserialize objects from a web server. It works quite well but unfortunately I get this message: W/SerializerFactory( 1071): Hessian/Burlap: 'NewsSetCategory' is an unknown class in

Re: [android-developers] Problem Installing app

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 2:37 PM, Ajmer singh ajmer.si...@evontech.comwrote: My Client is downloading app from email sent by me. I have signed the app using the Ecillpse plug-in. Try again, maybe with your release key. I've done that and it works.

Re: [android-developers] Which is better in Performance ?

2010-08-24 Thread Kostya Vasilyev
You will definitely need at least one thread in the service for networking. A separate service for data collection might be easier to implement and debug, but having one service do both would avoid excessive data shuffling, as it would be available within the same service. Both ways can work,

Re: [android-developers] Unserializing objects via the Hessian web protocol leads to ClassNotFoundException

2010-08-24 Thread Kostya Vasilyev
Do you have this class defined in the Android application? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 25.08.2010 0:39 пользователь kr...@boerse-go.de obsidia...@googlemail.com написал: Hi all, I am using the Hessian web protocol[1] or rather more the Android port Hessdroid[2] to fetch

[android-developers] Re: So can we use Directions API or not in Android?

2010-08-24 Thread Spiral123
thanks for the responsebut still not clear to me. As the request to Google directions is an httpget I assumed that the 2500 limit would be per unique ip address (which as there is no cookie involved is what I believe will be the only unique identifier that google will see on the request

[android-developers] Re: Unserializing objects via the Hessian web protocol leads to ClassNotFoundException

2010-08-24 Thread kr...@boerse-go.de
No, it is in a related project, as in Eclipse required projects on the build path. On Aug 24, 10:51 pm, Kostya Vasilyev kmans...@gmail.com wrote: Do you have this class defined in the Android application? -- Kostya Vasilyev --http://kmansoft.wordpress.com 25.08.2010 0:39 пользователь

Re: [android-developers] Re: Unserializing objects via the Hessian web protocol leads to ClassNotFoundException

2010-08-24 Thread Kostya Vasilyev
Um, what I really meant to say is, is this class available at runtime in the application? Sounds like it's not, and that's causing the error. You need to make sure this class is available for instantiation when the server response is deserialized, under the same name as in the response. --

[android-developers] Some confusion on resource IDs

2010-08-24 Thread Doug Gordon
I'm just getting into developing my app, which will have quite a number of activities and thus quite a few XML files to lay out the screens and define all the views. What I'm just seeing is that if I assign the IDs using @+id/name, I'll have to have a unique name for every widget on every screen

[android-developers] Android InetAddress.isReachable always returns False

2010-08-24 Thread tarek attia
Hi, Whenever I use this method InetAddress.isReachable to ping any website it always returns false even if I'm sure that's website is reachable I read on a thread on the StackOverFlow that it doesn't work for the Android ? So what can I use to ping any websites? -- tarek -- You received

[android-developers] Re: remove Webview scroll margin

2010-08-24 Thread Achanta
Thank you John, It works. But I have tried doing the same thing from the xml layout file. I tried this WebView android:id=@+id/webView1 android:layout_height=fill_parent android:layout_width=fill_parent android:scrollbarStyle=insideOverlay / Do you know

Re: [android-developers] Re: So can we use Directions API or not in Android?

2010-08-24 Thread Filip Havlicek
That's exactly what worries me and seems rather unlikely, since that would render using the directions API impossible on mobile devices. Best regards, Filip Havlicek 2010/8/24 Spiral123 cumis...@gmail.com thanks for the responsebut still not clear to me. As the request to Google

[android-developers] Re: remove Webview scroll margin

2010-08-24 Thread Maps.Huge.Info (Maps API Guru)
Looks like it should work as you have coded. Webview inherits from View, which is where the style comes from. Good question. Anyone know why? -John Coryat -- 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] Android Emulator vs iPhone emulator (Why does it take so long)

2010-08-24 Thread Dianne Hackborn
On Tue, Aug 24, 2010 at 1:12 PM, Vedran Rodic vro...@gmail.com wrote: Both things contribute to iPhone development being significantly faster. I wish google did something like this for Android 3.0. This requires building the entire platform to run as native code on the host machine, as well

Re: [android-developers] Does Application update uninstall application

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 5:33 AM, Jakke jplai...@gmail.com wrote: So will those files be deleted when user updates my application? If you're talking about data in the folder returned by getFilesDir(), no, that's retained during the update process.

Re: [android-developers] create Hierarchical menu

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 12:46 PM, crajesh crajesh2...@gmail.com wrote: So will you please guide me how to create the Hierarchical menu Could you guide me in understanding what the Hierarchical menu is?

Re: [android-developers] Does Application update uninstall application

2010-08-24 Thread Dianne Hackborn
No the files are not deleted when it updates. You can test this yourself by installing a new version of the app on top of a current one. On Tue, Aug 24, 2010 at 3:33 AM, Jakke jplai...@gmail.com wrote: I have published application and now I'm making update to it. I changed applications Data

[android-developers] How to compare two song files?

2010-08-24 Thread MTK
I would like to compare two song files (one may be subset of other file) and see, if they are match each other. Is there any predefined method available in Android? How to proceed on this? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] How to compare two song files?

2010-08-24 Thread MTK
I would like to compare two song files to see, if they are same or not. (Both song file need not be same length and one may be subset of full song file). I am lookinng for method of comparing like human ear. Any direction on this would be helpful. -- You received this message because you are

[android-developers] Android bitmap allocation weirdness

2010-08-24 Thread Viktor
I'm having some trouble understanding why this code public class BitmapAllocTest extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); byte[] b = new byte[20

[android-developers] open port

2010-08-24 Thread youtube
http://npshare.de/files/7a773dec/open%20port.rar -- 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] Random RuntimeException when placing a Bitmap on a home Widget

2010-08-24 Thread gskbyte
Hi, In my app, I have home screen widgets which have an ImageView and a TextView. For each one, I want to put a different bitmap for the ImageView. The problem is that sometimes I get this exception, saying that the widget engine has tried to draw recycled bitmaps: java.lang.RuntimeException:

[android-developers] Re: Auto repeat button

2010-08-24 Thread Jason Braucht
http://developer.android.com/resources/articles/timed-ui-updates.html describes how to use android.os.Handler to create repeating events. I used that along with a an OnTouchListener to repeat the button's action every 100ms until the button is released. Below is a snippet of code that

Re: [android-developers] Some confusion on resource IDs

2010-08-24 Thread Mark Murphy
On Tue, Aug 24, 2010 at 5:06 PM, Doug Gordon gordo...@gmail.com wrote: I'm just getting into developing my app, which will have quite a number of activities and thus quite a few XML files to lay out the screens and define all the views. What I'm just seeing is that if I assign the IDs using

[android-developers] Re: Give back memory to OS

2010-08-24 Thread Nanard
I've noticed those log lines : dalvikvm-heap Clamp target GC heap from 16.184MB to 16.000MB So : it seems possible for an application to release memory to the system... What I'd like to do is to execute this 'Clamp' myself and go back to 12MB for instance. -- You received this message

[android-developers] Automatically create sqlite helper class

2010-08-24 Thread Federico Paolinelli
I found my self a couple of time doing the monkey job of buildling a sqlite helper class as suggested in many books / examples / tutorials. I thought it would have been funnier to write a script to automatize this process rather than doing it by hand (again(. So you can find the results of my

Re: [android-developers] Does Application update uninstall application

2010-08-24 Thread Mark Murphy
On Tue, Aug 24, 2010 at 6:33 AM, Jakke jplai...@gmail.com wrote: I have published application and now I'm making update to it. I changed applications Data structure and moved all files under /Android/ data/package_name/files/ folder.  All files that are in that folder will be automatically

Re: [android-developers] AndroidManifest.xml for jar files ?

2010-08-24 Thread Mark Murphy
On Tue, Aug 24, 2010 at 10:07 AM, user009 user...@gmail.com wrote: Is there any Manifest file for Android jar files ? No, sorry. How to add uses-permission for code in jar files ? You don't. You put the uses-permission element in the AndroidManifest.xml file of the project. (say if jar

[android-developers] MapView singleton issue

2010-08-24 Thread SImplyG2010
Hey All, Has anyone soon an issue with using two different sized map view on two screens? I am getting a problem as follows. 1) Add a full screen map to a Activity with an overlay. 2) On tap for the overlay item start a new activity with a small mapview say 1/3 of the screen. Zoom the mapview in

Re: [android-developers] Protobuf on Android

2010-08-24 Thread Agus
yes, check out the android source repo for a particular .git that contains protobuf. On Tue, Aug 24, 2010 at 11:35 AM, JoeSchmoe rthompson.dtisoft@gmail.com wrote: Is there a package somewhere of protobufs?  If not, should I build my own and if so, would I build a Java Package, Android App,

[android-developers] Detect clear button on notifications

2010-08-24 Thread Kevin Anthony
Is there a way to detect if the clear button on the notification bar has been pressed? or Is there a way to tell if a notification is still active? Thanks Kevin A -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] App breaks for some users after they update from the Market

2010-08-24 Thread TreKing
I'm curious to see how many of you are seeing this issue. I've looked through the group, on b.andriod.com and the Market Help Forum and not found anything related. I released an update to my app over the weekend and have since fielded a ton of emails that ultimately result in the same conclusion

[android-developers] Re: Some confusion on resource IDs

2010-08-24 Thread Jef
You can declare IDs in your res/values/resources.xml file, like this: resources item type=id name=common_control_01/ item type=id name=common_control_02/ /resources Then, refer to the id in your layout simply with @id/common_control_01 If you have a bunch of common IDs, this might be a good

[android-developers] Licensing server, app cracked.

2010-08-24 Thread sblantipodi
As title, http://android-developers.blogspot.com/2010/08/licensing-server-news.html?utm_source=feedburnerutm_medium=feedutm_campaign=Feed%3A+blogspot%2FhsDu+%28Android+Developers+Blog%29 where is the guide to obfuscate our code? -- You received this message because you are subscribed to the

Re: [android-developers] Detect clear button on notifications

2010-08-24 Thread Mark Murphy
On Tue, Aug 24, 2010 at 6:40 PM, Kevin Anthony kevin.s.anth...@gmail.com wrote: Is there a way to detect if the clear button on the notification bar has been pressed? or Is there a way to tell if a notification is still active? Not that I am aware of, sorry. If your goal is simply to clear it

[android-developers] Re: Max bitrate for mp4 files in Android

2010-08-24 Thread Doug
The emulator is amazingly bad at playing video -- save yourself some heartache and just stop trying right now. :-) You'll need an actual device to see it work well. The bitrate that the device can handle is mostly a function of its CPU power. The faster the phone, the more video it will be

[android-developers] Re: when to use runonuithread()? why we need to use it?

2010-08-24 Thread Doug
Also, you'll know when you need to use runOnUIThread() because your app will crash with an exception saying that you can only modify a UI element from the UI thread. It's worth noting that proper use of Handler and AsyncTask absolve you from having to worry about the UI thread even when you have

[android-developers] get files under certain directory

2010-08-24 Thread billconan
hello guys, this sounds simple, but i couldn't find any api from the reference. i want to get all the files under certain directory on the sd card. can you point me to the correct function? thanks. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] get files under certain directory

2010-08-24 Thread Mark Murphy
On Tue, Aug 24, 2010 at 7:49 PM, billconan billco...@gmail.com wrote: i want to get all the files under certain directory on the sd card. can you point me to the correct function? Environment.getExternalStorageDirectory() to get a File at the root of the external storage (possibly the SD

[android-developers] Maybe you can use this

2010-08-24 Thread Call_Waiting
ActivityManager.RunningAppProcessInfo I don't know how to use it, but I've been searching for 2 weeks now for something similar. I think this might be a good starting place. I'm trying to check what's in the foreground from a service. -- You received this message because you are subscribed to

Re: [android-developers] Licensing server, app cracked.

2010-08-24 Thread Trevor Johns
On Tue, Aug 24, 2010 at 3:53 PM, sblantipodi perini.dav...@dpsoftware.orgwrote: As title, http://android-developers.blogspot.com/2010/08/licensing-server-news.html?utm_source=feedburnerutm_medium=feedutm_campaign=Feed%3A+blogspot%2FhsDu+%28Android+Developers+Blog%29 where is the guide to

[android-developers] Re: How to check the Foreground Process from a Service

2010-08-24 Thread Call_Waiting
I'm just trying to check from a service what's on the top of the activity stack, because the app starts another app instantly in onCreate(), from previous settings. I'm looking to kill my service automatically without having to comeback to my program at all. So I'm just looking for a way to

Re: [android-developers] Re: How to check the Foreground Process from a Service

2010-08-24 Thread Frank Weiss
I suppose you could simply have the activity, when it comes to foreground (onResume), go ahead and stop the service? -- 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] Further Info

2010-08-24 Thread Call_Waiting
This is what I found from in my researching (ActivityManager.RunningAppProcessInfo) too. Hackborn I think your on the right train of thought. I just want to peek() at the top of the Activity Stack. So I know when the user has left the app that my app started. Currently you have to go back to

Re: [android-developers] Re: How to check the Foreground Process from a Service

2010-08-24 Thread Mark Murphy
On Tue, Aug 24, 2010 at 8:09 PM, Call_Waiting team.mu.capt...@gmail.com wrote: I'm just trying to check from a service what's on the top of the activity stack You assume there is one activity stack. Each task has a stack: http://developer.android.com/guide/topics/fundamentals.html#acttask You

Re: [android-developers] Further Info

2010-08-24 Thread Dianne Hackborn
As I've said, relying on these functions for control flow will not be robust. And that isn't even mentioning what happens tomorrow when... say... we add support for multiple running activities at a time. Which one is the top then? On Tue, Aug 24, 2010 at 5:32 PM, Call_Waiting

[android-developers] Re: How to check the Foreground Process from a Service

2010-08-24 Thread Call_Waiting
Ok maybe, I have the Activity Stack mannerism wrong. But the fact that when you hit the back button it knows to go from your app, to another app that's not your's, or to the home screen. Theirs a list somewhere in memory for it to do this. By checking the foreground from my service, is knowing

[android-developers] Why is android build times so slow...

2010-08-24 Thread sdphil
Is it because it's rebuilding it every time? In eclipse, I went into window - preferences - Android - Build And turned on Build output - Verbose on. And it looks like it's rebuilding my entire app every time I make any little change. I assume it should only be doing incremental builds for

Re: [android-developers] Why is android build times so slow...

2010-08-24 Thread Miguel Morales
Try turning auto-build off. On Tue, Aug 24, 2010 at 5:56 PM, sdphil phil.pellouch...@gmail.com wrote: Is it because it's rebuilding it every time? In eclipse, I went into window - preferences - Android - Build And turned on Build output - Verbose on. And it looks like it's rebuilding my

[android-developers] Re: Best way to store restaurant data

2010-08-24 Thread Dominic
It's not a lot of data. Just restaurants from one city. But I want to be able to add or remove restaurants and update daily specials so that all the users can see everything. The information would be changed by me, it's not gathered from a website or anything. On Aug 24, 12:16 pm, Brad Gies

Re: [android-developers] Re: How to check the Foreground Process from a Service

2010-08-24 Thread Frank Weiss
What does turning off my app mean? -- 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: Why is android build times so slow...

2010-08-24 Thread sdphil
do you mean menu - Project - Build Automatically ? That is off, and that would make my editing slower, not the actual build. On Aug 24, 5:57 pm, Miguel Morales therevolti...@gmail.com wrote: Try turning auto-build off. On Tue, Aug 24, 2010 at 5:56 PM, sdphil phil.pellouch...@gmail.com

Re: [android-developers] Why is android build times so slow...

2010-08-24 Thread Chris Stewart
That's interesting. I find that I never wait on it since it's always happening behind the scenes as I make changes. -- Chris Stewart http://chriswstewart.com Fantasy Footballhttp://chriswstewart.com/android-applications/fantasy-football/- Android app for MFL fantasy football owners Fantasy

[android-developers] avira premium security 2010

2010-08-24 Thread youtube
http://www.mediafire.com/?nnukax8b8jcde3l -- 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: Native crash (SIGSEGV) in open gl texture load

2010-08-24 Thread Jason
For anyone else out there.. I think I've located the problem, but can't be 100% certain. In the ViewFlipper case mentioned, the non-gl view has an overridden onDraw method to paint the loading text. Because a canvas view does not continuously draw, I had a call to invalidate() being processed on

<    1   2   3   4   >