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

2010-08-24 Thread user009
Basically the jar file is added to BootClass. This jar file has a Broadcast receiver for SMS; which parses the sms and sends to a native code (.so). My question is how to set "android.permission.RECEIVE_SMS" for this code/receiver since there is no java 'project' as such. Thanks Aby On Aug 25,

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

2010-08-24 Thread Pent
Update clears your statics, so you might expect extra bugs to come up around that time I guess e.g. if they're not reinitialized properly. The classdefnotfound one is obviously not from statics however. I've had that one as well, for one of my internal classes, but I can't pin it to and update bec

[android-developers] Re: LVL found to be easy to crack

2010-08-24 Thread Hugo Visser
OK, I see your point, that could slow them down, but it would slow me down for sure, maintaining a native and a Java project. Not the mention the bugs you can get from native code... But agreed, it's an option. Hugo On Aug 24, 5:23 pm, a1 wrote: > On 24 Sie, 16:15, Hugo Visser wrote: > > > No,

Re: [android-developers] Further Info

2010-08-24 Thread Kostya Vasilyev
Since the Activity is your own, add a call to finish() in onCreate, after starting the service and the next activity. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 25.08.2010 4:32 пользователь "Call_Waiting" написал: This is what I found from in my researching (ActivityManager.RunningAppP

Re: [android-developers] Re: Problem Installing app

2010-08-24 Thread Kostya Vasilyev
There are apps in Market that can read and email logcat. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 25.08.2010 9:35 пользователь "Ajmer singh" написал: Hi Problem is at My client end.Client is opening the .apk file from the email sent by me. Somebody please let me know that do i need

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

2010-08-24 Thread metal mikey
I use AppBrain for this. E.g.: http://www.appbrain.com/app/com.coreform.android.snowcellnet.australia Would prefer Google made an official Android Market website that doesn't have arbitrary advertising on it though!!! -- You received this message because you are subscribed to the Google Groups

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

2010-08-24 Thread Dominic DiTomaso
I'm not sure. How does the app communicate with the web server? On Tue, Aug 24, 2010 at 9:31 PM, Frank Weiss wrote: > how do you think your changes will get to your app on a user's phone? > > On Aug 24, 2010 5:57 PM, "Dominic" wrote: > > It's not a lot of data. Just restaurants from one city.

Re: [android-developers] Re: Problem Installing app

2010-08-24 Thread Ajmer singh
Hi Problem is at My client end.Client is opening the .apk file from the email sent by me. Somebody please let me know that do i need to use some app installer utility.Is that works for me. On Wed, Aug 25, 2010 at 7:24 AM, laminina wrote: > It could be the signing certificates or the level SDK

[android-developers] Comparing results of query from 2 different databases

2010-08-24 Thread Vibhor Mahajan
Hello All, My application maintains its own contact database(localcontacts.db). This database is subset of Android phone contacts database (People or ContactsContract). I want to display list of contact names from People database but not in my application contact database (localcontacts.db). Get

Re: [android-developers] Problem in parsing the package.

2010-08-24 Thread raju bhusani
This problem occurs when that your downloaded apk file size is less than the size of the original apk. On Mon, Aug 23, 2010 at 11:30 PM, Ajmer Singh wrote: > Hi > > When I tried to download the My App to my droid it says there is a problem > parsing the package.I am using ecllipse and api level

[android-developers] Re: Question about APN for Browser and MMS

2010-08-24 Thread optimusgeek
anybody?? On 8월17일, 오후3시26분, optimusgeek wrote: > I'm very confusing aboutAPNin android. > I saw theapntype onAPNsetting could be 'default' for data > connection and 'mms' for MMS. > (Are there else values??) > If theapntype value should be one of them, does it mean that it > separated by only fo

[android-developers] About Download manager example

2010-08-24 Thread raju bhusani
Hi, Can any one give me an example for download manager. In my application there is a download option when click on the download it will download the mp3 file then i want to manage the multiple downloads with pause stop and resume options to the downloading. Please can any give me the solution

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

2010-08-24 Thread Carl Whalley
I'm curious about something regarding signing. If someone does as this hack shows and patches the apk, they need to resign the new build. If they then put this version out and its widely distributed, can't Google see the certificate used to resign it, compare with the original and just revoke the n

[android-developers] ListSelector on GridView

2010-08-24 Thread fr4gus
Hi all, I'm trying to use a custom listSelector on a GridView. When I use the default listSelector, I see that it modifies the size of my items so the listSelector display correctly. The list Selector is bigger than my items: See how when using the default selecto, it make grid items to be resize

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

2010-08-24 Thread Xavier Ducrohet
The problem is that the resource compilation/packaging does not support building incremental. Changing a resource will force a new compilation of the full resources which means a new R.java which means a new compilation, which means building a new classes.dex Additionnally, it'll package the whole

[android-developers] Adobe 10.1 player

2010-08-24 Thread for android
Does the Adobe 10.1 player expose any intents so that other applications can use for playing flash videos?A quick Google could not yield me useful result? -- 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: How to check the Foreground Process from a Service

2010-08-24 Thread Dianne Hackborn
Please stop saying I am "on the right track." I am really trying very hard to tell you *not* to do this, because it is not going to be a robust solution. Not this, not RunningTaskInfo. These APIs are not there for applications to base their UI flow on, but to do things like show the user the run

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

2010-08-24 Thread davemac
It would be interesting to see what sort of identifying information goes from an Android device across the wire when an HTTP call is made to a web service. My first thought was that the IP address would be the only thing separating my request from anyone else's. Which would be a problem if lots of

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

2010-08-24 Thread keyeslabs
If you can't wait, here's something to get you started that worked for me. It's what I used to obfuscate AAL, which was a library not an Android App, and thus a bit simpler. You'll need to adjust what you "keep" (e.g., don't obfuscate) so that you don't shred classes that are referenced by your m

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

2010-08-24 Thread Frank Weiss
I'll think you need to more precise what that trigger is. Previously, you've been asking how to know what activty is on top of the stack. It seems that the activity on top of the stack is the one your activity started. So I would say the trigger is the moment when your activity starts the other act

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

2010-08-24 Thread Call_Waiting
Thanks Murphy and Hackborn. I think I found the answer. http://developer.android.com/reference/android/app/ActivityManager.RunningTaskInfo.html#topActivity On Aug 24, 7:04 pm, Call_Waiting wrote: > killing theservice= turning off my app > > But my app works, and I can turn it off from the acti

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

2010-08-24 Thread Call_Waiting
killing the service = turning off my app But my app works, and I can turn it off from the activity. I'm just need a check to see when to trigger it. I think Hackborn is on the right track with getRunningAppProcesses(). The first time you start my app - input your settings, one of these is an

Re: [android-developers] Further Info

2010-08-24 Thread Frank Weiss
Your terminology is quite bit confusing. You seem to use the term "app" to mean "activity". I assume the scenario you are trying to describe is based on: your app has an activity A and a service B, and another app has an activity C. When activiity A is CREATED [emphasis mine] it starts service B

[android-developers] Re: Native crash (SIGSEGV) in open gl texture load

2010-08-24 Thread Jason
Strike that last post.. still crashing On Aug 25, 11:12 am, Jason wrote: > 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 ca

[android-developers] Re: Problem Installing app

2010-08-24 Thread laminina
It could be the signing certificates or the level SDK specified in the Android Manifest. If you try to install the apk with logcat enabled (connected to your USB cable), you will see the exact error that the package manager will send. :D hope this works On Aug 24, 1:40 pm, TreKing wrote: > On T

[android-developers] Reducing List sizes

2010-08-24 Thread Michael
I have a widget in my app (in single choice mode) and the list is longer than the screen so it requires scrolling. There is a lot of space above and below the text so I think that space could be reduced (and the font size) so that everything fit without scrolling. I haven't been able to figure out

[android-developers] Re: Using HttpClient

2010-08-24 Thread Indicator Veritatis
I would not expect to find that in the Android docs. But since you are already starting to use Wireshark, there is a way to let Wireshark have access to your session key and decode the packets. I have never actually done this myself, but see http://www.novell.com/coolsolutions/appnote/19321.html (

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

2010-08-24 Thread Miguel Morales
Oh, you mean like using Makefiles in C/C++. Where only the file that has been modified is built. To be honest, I'm not sure you can do this using Eclipse alone. I use an ant build file and compile from the command line and it just compiles what has been changed. On Tue, Aug 24, 2010 at 6:14 PM

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

2010-08-24 Thread Frank Weiss
how do you think your changes will get to your app on a user's phone? On Aug 24, 2010 5:57 PM, "Dominic" wrote: > 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

[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+unsubscr...@

[android-developers] Re: Opengl visual artifacts on droid

2010-08-24 Thread HaMMeReD
Still have this outstanding issue I think. Can't recreate because I don't make enough money to buy all the phones that my app fucks up on. It might be solved, but I did it using a solution I'd prefer to do better. Basically I'm assuming that it's texture corruption, because the OS isn't guaranteed

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

2010-08-24 Thread sdphil
i think you get that behavior if you set it up to build automatically. i'm not particularly fond of that because it seems to make my editing much slower. however, if I could get incremental building, maybe I would turn it back on... On Aug 24, 6:00 pm, Chris Stewart wrote: > That's interesting.

[android-developers] Passing variables using intents

2010-08-24 Thread kingh32
Hello I am trying to pass some variables from a spinner to be displayed in the following activity but whenever I do variable.setText(String.valueOf(thing)); my app crashes. This is my intent Intent s= new Intent(NewCompetition.this,Target.class); s.putExtra("rounds",round);

[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 o

[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+unsubscr...@

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 Football- Android app for MFL fantasy football owners Fantasy Fo

[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 wrote: > Try turning auto-build off. > > > > On Tue, Aug 24, 2010 at 5:56 PM, sdphil wrote: > > Is it because it's rebuilding it eve

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+unsubscr...@googl

[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 wro

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 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 entire app every t

[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 m

[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 t

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 wrote: > This

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 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 have no control over wh

[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 my

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] 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 peek(

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

2010-08-24 Thread Trevor Johns
On Tue, Aug 24, 2010 at 3:53 PM, sblantipodi wrote: > As title, > > http://android-developers.blogspot.com/2010/08/licensing-server-news.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+blogspot%2FhsDu+%28Android+Developers+Blog%29 > > where is the guide to obfuscate our code? It'

[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 t

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

2010-08-24 Thread Mark Murphy
On Tue, Aug 24, 2010 at 7:49 PM, billconan 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 card). From there, it

[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 Developer

[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 t

[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 able

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 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 if it is there, it is

[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=feedburner&utm_medium=feed&utm_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 Go

[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: 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 approach. Regards, Jef On Aug 24, 3:02 pm, Mark Murphy wrote: > On Tue, Aug 24, 2010 at

[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] 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

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 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, etc...? > > Thanks! > JoeSchm

[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] AndroidManifest.xml for jar files ?

2010-08-24 Thread Mark Murphy
On Tue, Aug 24, 2010 at 10:07 AM, user009 wrote: > Is there any Manifest file for Android jar files ? No, sorry. > How to add for code in jar files ? You don't. You put the element in the AndroidManifest.xml file of the project. > (say if jar included in BOOTCLASSPATH) You do not get to con

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

2010-08-24 Thread Mark Murphy
On Tue, Aug 24, 2010 at 6:33 AM, Jakke 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//files/ folder.  All files that are in that folder > will be automatically removed when application is un

[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 effo

[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 becaus

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 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 "@+id/name", I'll

[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 demonstrate

[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 su

[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+unsub

[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: Ca

[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

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 wrote: > I have published application and now I'm making update to it. I > changed applications Data structure and move

Re: [android-developers] create Hierarchical menu

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

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

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 5:33 AM, Jakke 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] 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 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 as compiling a

[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] 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 > thanks for the responsebut still not clear to me. > > As the request to Google directions is an httpget

[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 Do you know why this does not work but still works when I do it from the Java source? Thanks again -Achie. On Aug 24, 1:48 pm, "Maps.Huge.Info (Maps API Guru)" wrote: > I use this style a

[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 t

[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

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. -- Kostya

[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 wrote: > Do you have this class defined in the Android application? > > -- > Kostya Vasilyev --http://kmansoft.wordpress.com > > 25.08.2010 0:39 пользователь "kr...@boerse-go.

[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 hittin

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" написал: Hi all, I am using the Hessian web protocol[1] or rather more the Android port Hessdroid[2] to fetch and unserialize objects

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, tho

Re: [android-developers] Problem Installing app

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 2:37 PM, Ajmer singh wrote: > 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. ---

[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 dalvik.sys

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 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 function you override

[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 wrote: > On Tue, Aug 24, 2010 at 1:36 PM, cindy wrote: > > When the user clicks some button, I can directly change the UI of > >

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 Football- Android app for MFL

[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 i

[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, etc..

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 contri

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

2010-08-24 Thread tarek attia
2010/8/24 Kostya Vasilyev > 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 should end up wi

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 Su

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

2010-08-24 Thread DonFrench
Or thirty or forty. On Aug 23, 11:52 pm, Sergey Timoshin 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 > > > > wrote: > > Hi, I have just start to develop android, and I just cannot start my

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" написал: I have a fairly fast

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 f

[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 its

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 this

  1   2   3   >