Re: [android-developers] app idea?

2010-08-24 Thread Filip Havlicek
In my android crystal ball, I can see he meant behind! 2010/8/24 TreKing treking...@gmail.com On Mon, Aug 23, 2010 at 12:33 AM, Łûňąţýk lunao...@gmail.com wrote: could we get a behi app ? Plz ? Thanks for reading I have no idea what behi is but, it's probably something you want to ask

Re: [android-developers] Eclipse version for Windows 7 64-bit and JDK 1.6.0_21 64 bit

2010-08-24 Thread TreKing
On Sun, Aug 22, 2010 at 3:41 PM, Hackenbush grossma...@gmail.com wrote: I am wondering whether I should install a 32 or 64 bit version of Eclipse3.5 (Ganymede). I haven't moved into 64-bit land yet, but I presume if you have 64-bit Java and 64-bit OS, you'd go with 64-bit Eclipse. Though

[android-developers] Re: Adding a contact without a READ_CONTACTS permission

2010-08-24 Thread Pinheiro
That only tells you about stuff you are doing.  Which can't be kept in sync with what is actually in the database, and doesn't prevent you from colliding with anything already in there. Duplicate contacts aren't that much of a nuisance, imho. They're easy to fix and prevent. Specially if you

Re: [android-developers] app idea?

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 7:31 AM, Filip Havlicek havlicek.fi...@gmail.comwrote: In my android crystal ball, I can see he meant behind! I have no idea what that is either, or how it relates to Facebook n MySpace.

[android-developers] Re: What am I looking for

2010-08-24 Thread Bret Foreman
Mark Murphy's book on advanced Android programming has a whole chapter on this: http://www.amazon.com/gp/product/0981678017/ref=oss_product -- 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] Problem Installing app

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 1:51 AM, Ajmer singh ajmer.si...@evontech.comwrote: I am working on a Android application , OK! When i tried to download the My App to My Motorola Droid 2.2 Download from where? ,It gives an error that Problem in parsing, What's It? Where are you seeing this

[android-developers] Re: does Google forbid orientation animation on purpose?

2010-08-24 Thread nation-x
See http://code.google.com/p/floatingimage/ for an example of how to animate rotation... basically, this project overrides the rotation and, when you are looking at an image and rotate the phone, it constantly rotates... there is no rotation lifecycle in this app as far as I can tell. Android

Re: [android-developers] Re: does Google forbid orientation animation on purpose?

2010-08-24 Thread xiao ling
Thanks for your email. but I'm not focusing on apps level. I wanna modify the source code of frameworks, especially the WindowManagerService.java to implement an animation for screen rotation. I noticed that when I rotate the screen, the WindowOrientationListener will be callbacked, and the

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

2010-08-24 Thread nation-x
I am always amazed at how people always blame everyone else for their problems... this is something I never see from any Google Developer... I don't see excuses. What has the world come to when everyone always has this expectation of entitlement. Noone is forcing you to develop for Android or any

Re: [android-developers] Re: Service start intent problem

2010-08-24 Thread Alex Xin
I also want to know why, random FCs on Nexus One. On Mon, Aug 23, 2010 at 7:03 PM, anders anders.hedstr...@gmail.com wrote: Hi, I've got the same issue, here's my code snapshot: (code from the Activity that starts the service) Bundle bundle = new Bundle(); bundle.putString(key1, val1);

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

2010-08-24 Thread user009
Hi Is there any Manifest file for Android jar files ? How to add uses-permission for code in jar files ? (say if jar included in BOOTCLASSPATH) Thanks Aby -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: USB ports on N1 - usable?

2010-08-24 Thread FrankG
And how will you switch back to the normal usb mode if this should work ? On 24 Aug., 10:00, Chris Miller chris_overs...@hotmail.com wrote: It's not straightforward, but it is possible with a custom kernel. See this thread for details:http://forum.xda-developers.com/showthread.php?t=694427

Re: [android-developers] emulator performance

2010-08-24 Thread xiao ling
I have the same question. I really wanna how I can make android emulator run as fast as iphone emulator? I can't see any animation effect on android emulator. On 24/08/2010, at 4:33 AM, CHENG LUO wrote: Hi there, So I developed a small 3d game on Android 1.6 with JPCT, the free 3d game

Re: [android-developers] I want to get system permission?

2010-08-24 Thread CaryWang
Do you have anyelse method?I want to know user opreation?e.g.when user run application i know,exit application i know. 2010/8/24 Mark Murphy mmur...@commonsware.com On Tue, Aug 24, 2010 at 3:17 AM, CaryWang wangjf...@gmail.com wrote: I have a application I write

[android-developers] Setting wallpaper to bitmap

2010-08-24 Thread Neilz
Hi all. I'm setting the wallpaper using any one of the available methods: - getApplicationContext().setWallpaper(bitmap) - WallpaperManager.getInstance(context).setBitmap(bitmap) The image I'm using is 320 * 400, but when it gets set only the center section of the image is displayed, like the

Re: [android-developers] Market app version question

2010-08-24 Thread Alex Xin
Hi, I've check out the android-market-api, it's great but I have a problem: It requires me to use my Google account to login, I can do that, but if I ask my user to to the same thing, are there any risks for my users that their google account may banned because too many connections to Google

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

2010-08-24 Thread Hugo Visser
No, that won't do it, since the entry point is always Java / Dalvik byte code. Since you can decompile and patch that with relative ease, you can just make the native calls to the crc check library no-ops or whatever and you're done without patching any native lib. Only obfuscation will help to

[android-developers] Re: I want to get system permission?

2010-08-24 Thread Paul Turchenko
Having android:sharedUserId=android.uid.system is not enough. You have to sign your *.apk with the same key that was used to sign other applications with the same sharedUserId. On Aug 24, 5:11 pm, CaryWang wangjf...@gmail.com wrote: Do you have anyelse method?I want to know user

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

2010-08-24 Thread Chris Stratton
I think the suggeston was that the same call to native code accomplish the antipiracy check and some critical part of application functionality. But I'm not sure that native code is any harder to patch, and there are still identifiable syscalls or calls back up to java for i/o to show where it

[android-developers] Re: Return custom objects tree

2010-08-24 Thread Paul Turchenko
Make CustomObject implement Parcelable. Declare ICustomObject.aidl. This way, AIDL tool could generate stub implementation for your CustomObject. That's how you can transfetr it via IPC. On Aug 23, 1:25 pm, Giordano jorda...@gmail.com wrote: Hi everyone :) it's the first message I post in

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

2010-08-24 Thread Kostya Vasilyev
24.08.2010 17:55, nation-x пишет: Try using your brain and not your emotions and you can probably limit it's impact... Gee, thanks. Wish I had one [ looks at himself in the mirror, does not see any sign of having a brain ] :) -- Kostya Vasilev -- WiFi Manager + pretty widget --

[android-developers] Re: Can I use Android source code in my Application(Commercial)

2010-08-24 Thread Paul Turchenko
AFAICT, since Android source is under Apache License, you will have to opensource you application if you use their code (but it shouldn't mean it can't be commercial). To get more idea you should probably read license that covers Android's source code http://www.apache.org/licenses/LICENSE-2.0.

Re: [android-developers] app idea?

2010-08-24 Thread Chris Stewart
Oh come on TreKing, get hip with the times. Plz! :p -- Chris Stewart http://chriswstewart.com Fantasy Footballhttp://chriswstewart.com/android-applications/fantasy-football/- Android app for MFL fantasy football owners Fantasy Football

[android-developers] Re: I want to get system permission?

2010-08-24 Thread Chris Stratton
On Aug 24, 10:11 am, CaryWang wangjf...@gmail.com wrote: Do you have anyelse method?I want to know user opreation?e.g.when user run application i know,exit application i know. You should probably try to rethink your goal in light of the android activity lifecycle. Users don't 'exit' android

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

2010-08-24 Thread Paul Turchenko
Yeah, and for the future, try starting emulator first and then only deploy an application. On Aug 24, 3:18 pm, Filip Havlicek havlicek.fi...@gmail.com wrote: Hi Boban, if you see Android written or Android picture in some blue colors on your virtual device's screen, it means your device is

[android-developers] onClick for the whole screen?

2010-08-24 Thread Pedro Teixeira
Hi, My question is a little bit silly but.. I know how to set a listener for.. let's say a button or a editext so that when clicked some action happens: buttonOReditextl.setOnClickListener(new View.OnClickListener() { @Override public void

[android-developers] Re: Problem with SAX parsing

2010-08-24 Thread Paul Turchenko
Consider using XmlPullParser instead of SAX. It's more convenient for the most cases. On Aug 23, 1:20 pm, Atokarev algen...@gmail.com wrote: Hi there. I could not get any inner elements during the xml parsing. looks like parser see only outer tag A. Could you show me error? XML: A B b=ab/B

Re: [android-developers] New to Android and programming

2010-08-24 Thread Chris Stewart
I'll likely echo what TreKing said. While it's definitely possible to jump in without prior Java experience, even just a bit, it will be hard. That kind of hurdle often knocks someone's interest off the rails. While this won't directly answer your question, it's related and might help you or

Re: [android-developers] Re: Problem with SAX parsing

2010-08-24 Thread Chris Stewart
+1 for XmlPull. I tried giving SAX a go but had so many issues structurally with how I organized my code. XmlPull gives you a more serial approach and makes it easier to integrate, while providing an enormous performance boost over DOM. -- Chris Stewart http://chriswstewart.com Fantasy

[android-developers] Re: Can I use Android source code in my Application(Commercial)

2010-08-24 Thread Chris Stratton
On Aug 24, 10:51 am, Paul Turchenko paul.turche...@gmail.com wrote: AFAICT, since Android source is under Apache License, you will have to opensource you application if you use their code (but it shouldn't mean it can't be commercial). To get more idea you should probably read license that

[android-developers] Re: Widget RemoteViews question

2010-08-24 Thread Paul Turchenko
I would go this way: have images for default skin in you application and then at runtime resolve other applications that contain alternative skind and grab resources from them. When user decides to change the skin, you just enumerate over available skins and use different resources to supply

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

2010-08-24 Thread Chris Stewart
I'll add, that if it's the first time you're booting the emulator, it might be taking longer than future requests. I certainly can't prove that definitively, but it seems to me that more is happening behind the scenes that first time as it's prepping the emulator for first use. -- Chris Stewart

[android-developers] Re: USB ports on N1 - usable?

2010-08-24 Thread Chris Stratton
Depending on how it was written, you tell the driver to switch roles or you unload the driver modules for one role and load those for the other. Not having usb based adb available is a major annoyance, and why as a practical matter I haven't played with it beyond reading the id information from

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

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 1:11 AM, Federico Paolinelli fedep...@gmail.comwrote: I asked her more detail in order to find the problem, but after this, should I give her the money back? What do you all do in this kind of situation? I would hold out on the refund as much as possible and try to

[android-developers] Using HttpClient

2010-08-24 Thread Bret Foreman
I haven't used the Java HttpClient before and the documentation is confusing. Say I want to send a POST to the URL https://domain/foo/ bar. I'm accessing a server with an XML API that defines the message to send like this: POST https://domain/foo/bar Content-Type: application/xml Content-Length:

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

2010-08-24 Thread nikhil
your class should implement Gesture Listener and then override onClickEvent On Aug 24, 9:56 am, Pedro Teixeira pedroteixeir...@gmail.com wrote: Hi, My question is a little bit silly but.. I know how to set a listener for.. let's say a button or a editext so that when clicked some action

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

2010-08-24 Thread a1
On 24 Sie, 16:15, Hugo Visser botte...@gmail.com wrote: No, that won't do it, since the entry point is always Java / Dalvik byte code. Since you can decompile and patch that with relative ease, you can just make the native calls to the crc check library no-ops or whatever and you're done

[android-developers] Re: USB ports on N1 - usable?

2010-08-24 Thread Bret Foreman
It's a whole lot easier to develop for Bluetooth. Here's a well developed kit for experimenting with it: http://www.amarino-toolkit.net/ As long as it doesn't need high bandwidth, you can find a Bluetooth version of just about any peripheral. -- You received this message because you are

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

2010-08-24 Thread a1
But I'm not sure that native code is any harder to patch, and there are still identifiable syscalls or calls back up to java for i/o to show where it tries to accomplish verification. First of all it's much harder to bypass especially if you are dealing with optimized code and you will have to

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

2010-08-24 Thread Federico Paolinelli
On 24 Ago, 17:17, TreKing treking...@gmail.com wrote: On Tue, Aug 24, 2010 at 1:11 AM, Federico Paolinelli fedep...@gmail.comwrote:  I asked her more detail in order to find the problem, but after this, should I give her the money back? What do you all do in this kind of situation? I

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

2010-08-24 Thread Chris Stewart
I tend to agree with the notion that I don't want your money if you're not happy. That said, I wonder how the app is left after a refund outside of the normal window. Do they still get to use your app? While it's unlikely, if that is the case, what stops anyone from barking for refunds when the

[android-developers] Re: Traceview only getting 5 seconds of data

2010-08-24 Thread Mike Reed
I found that there is a startMethodTracing call that takes a buffer size, but it gives me an IllegalArgumentException every time. Anyone have an idea why it won't take startMethodTracing(String, 8, 0); ?

[android-developers] Re: Problem with SAX parsing

2010-08-24 Thread Bret Foreman
Another vote for XmlPullParser. It rocks. -- 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] onBackPressed() not working

2010-08-24 Thread draf...@gmail.com
I have an application building against Android 2.1 and I want to override the back button. I have followed the example here: http://android-developers.blogspot.com/2009_12_01_archive.html And my code is as follows: --- @Override public boolean onKeyDown(int

Re: [android-developers] hyphenated Android directory names and SVN

2010-08-24 Thread Frank Weiss
I see many folder names with dashes in Subversion repos I use. I've never had a problem. I use subclipse and SVN command line. Is it possibly a server issue or a server filesystem issue? A similar, but unrelated issue is changing file or folder name casing on Windows. -- You received this

Re: [android-developers] how to write data to the existing xml file using code in android

2010-08-24 Thread Frank Weiss
I assume you mean XML files in the Android res source code folder? -- 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] how to select tag

2010-08-24 Thread Frank Weiss
Try using MapActivity.onFocusChanged(ItemizedOverlay overlay, OverlayItem item) -- 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] About ContentProvider designing in my App

2010-08-24 Thread Arpit
Hi All, All the example codes, tutorials or video I see, there is always one ContentProvider per SQL Table with the SQLiteOpenHelper extension defined as a private static class... Is it some sort of standard design...to have one ContentProvider per SQL Table? Or I can define one generic

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

2010-08-24 Thread Jason
Hi all, I have posted previously on a related topic, but thought a new post with clearer descriptions may trigger someone out there with some knowledge. I am getting regular crashes in native (android) code when I am loading textures in opengl. Trace is: Build fingerprint:

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

2010-08-24 Thread Frank Weiss
I assume that if you want to edit the information after the app is published you mean that the information would be on a server. The app would periodically download that data from the server. I suggest you use RSS or GeoRSS to format the web server data. You can use either a file or SQLite on the

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

2010-08-24 Thread DanH
SQLite would be simplest, but can be a bit storage-hungry if you had, say 100,000 entries. For a few thousand entries, though, it's probably the way to go. On Aug 22, 6:39 pm, Dominic ddit...@gmail.com wrote: I want to have a list of restaurants with information such as addresses and phone

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

2010-08-24 Thread Brad Gies
It really depends on where you are getting the information from in the first place, and whether you can update that information or not. Also, we'd need to know if the updated information is just for that user or shared with other users, and how much data you expect to store.. On

Re: [android-developers] About ContentProvider designing in my App

2010-08-24 Thread Kostya Vasilyev
A ContentProvider is queried (and updated) using a URI, which specifies the kind of data to work with. This might look like this: content://provider/counties content://provider/counties/country_id content//provider/counties/country_id/cities

[android-developers] Re: how to write data to the existing xml file using code in android

2010-08-24 Thread DanH
To update an XML file you basically need to read it all into memory, make the updates, and write it all back. Generally a task for DOM, though if you're into self-abuse you could maybe use SAX. But keep in mind that /res is read-only. On Aug 23, 9:10 am, Rammi ram...@stellentsoft.com wrote: Hi

[android-developers] Re: New to Android and programming

2010-08-24 Thread msacks
The best way to learn, is by doing, as in just write apps with no prior experience. There are many introductory Java tutorials and Android tutorials (official and unofficial) online for free. You can also buy books or take a course. I spent 4 years (and a lot of money) in college working on a

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

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 10:31 AM, Chris Stewart cstewart...@gmail.comwrote: That said, I wonder how the app is left after a refund outside of the normal window. Do they still get to use your app? Good question. Worth setting up test to see what happens. Just get a friend to buy your app,

[android-developers] TrackballGestureDetector

2010-08-24 Thread pablisco
Does anybody have any idea of how to use, or even instantiate this class? TrackballGestureDetector. It's from the Google maps API: http://code.google.com/intl/es/android/add-ons/google-apis/reference/com/google/android/maps/TrackballGestureDetector.html -- You received this message because you

[android-developers] Add CheckBox on buttonclick - Dynamic Mode

2010-08-24 Thread Sara Khalatbari
Hi all I am trying to run the attached code to display a checkbox when I click on the buttons. My program crashes though and I can not see why. Do you have any idea? Thank you, Sara package Dynamiclayout.example.com; import Dynamiclayout.example.com.R; import android.app.Activity; import

[android-developers] Re: SSLException: Not trusted server certificate

2010-08-24 Thread DanH
The roots tend to have long dates, but not the app certs. So you'd want to ship the root cert if you ship something, I guess. Seems to me it would make sense, though, to have unusual root certs in the store, so they could be downloaded from a trusted source. (We ran into this same problem on a

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

2010-08-24 Thread Brad Gies
Just to clear up what might be a little confusion... The limit is 2,500 per Developer, Key, or Website, not for All Apps for anyone. ... I don't know how they figure it out eitherbut I can tell you that when I have used more than that limit for more than a couple of days in a row, I was

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

2010-08-24 Thread Brad Gies
Put it this way Do you really want a pissed off customer leaving negative comments about your app? If you manage this correctly, you will maybe get some information that will find a bug in your app, and maybe a satisfied former customer. I'd suggest you immediately agree to refund the

[android-developers] Re: Using HttpClient

2010-08-24 Thread Bret Foreman
So I added the following lines to create the header: httppost.setHeader(Content-Type, application/xml); httppost.setHeader(Content-Length, ); httppost.setHeader(SERVER-ACTION, API_AddField ); I didn't do anything about adding the POST line. I'm

[android-developers] remove Webview scroll margin

2010-08-24 Thread Achanta
I have a webview and i wanted it to occupy the whole screen but it seems to have 7-8pix margin on the right side which is being used to display the scroll bar. Is there anyway I can remove that margin but still display the scroll bars? I want it to do it in the way GMail app layout is done. Here

Re: [android-developers] Re: Using HttpClient

2010-08-24 Thread Kostya Vasilyev
Content length can't be empty. You can calculate and specify it yourself, or perhaps HttpClient / StringEntity can do it for you. I'd recommend using WireShark or a trivial echo http server to aid in debugging the requests. -- Kostya 24.08.2010 20:41, Bret Foreman пишет: So I added the

Re: [android-developers] Knowledge about app ratings...

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 5:25 AM, djdamage06 djdamag...@gmail.com wrote: I want to know if there is a way (by the code) to know if an user have rated our application in the Market... I highly doubt this as it could constitute a pretty big invasion of privacy.

Re: [android-developers] onBackPressed() not working

2010-08-24 Thread Dianne Hackborn
Starting an activity in onBackPressed is... questionable. You really should use moveTaskToBack(). Sorry I know this doesn't answer your actual question... I'll look and see if it is working on my devices. On Tue, Aug 24, 2010 at 8:56 AM, draf...@gmail.com draf...@gmail.comwrote: I have an

Re: [android-developers] Re: does Google forbid orientation animation on purpose?

2010-08-24 Thread Dianne Hackborn
This list is for development against the SDK. You should ask these questions on one of the lists related to platform development. Thanks. On Tue, Aug 24, 2010 at 6:54 AM, xiao ling lingxiao1...@gmail.com wrote: Thanks for your email. but I'm not focusing on apps level. I wanna modify the

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

2010-08-24 Thread Filip Havlicek
Hi Brad, thanks for your information from a practical experience with this, although it just seems weird. Why navigation companies doesn't exploit this? And how do they figure it out? Since you can make a request from your phone as well as from a desktop application or even your browser. Binding

[android-developers] Re: Using HttpClient

2010-08-24 Thread Bret Foreman
Good, I made the change. It turns out that StringEntity has a getContentLength method, just as you surmised. I'm still getting a ClientProtocolException, though. I have wireshark installed and I also have the -tcpdump flag set in my AVD. The AVD is dumping a cap file which wireshark opens, though

[android-developers] Re: Memory usage profiling an openGL application?

2010-08-24 Thread Robert Green
Check this out - http://stackoverflow.com/questions/3238388/android-out-of-memory-exception-in-gallery/3238945#3238945 On Aug 23, 11:35 am, 39thstreet malphig...@gmail.com wrote: SHORT VERSION: How do I find out how much memory my openGL application is using at any given moment, including

Re: [android-developers] Re: Using HttpClient

2010-08-24 Thread Kostya Vasilyev
You can probably capture traffic on the host computer's interface, might be faster / easier. As long as you are not browsing the web at the same time, you'll be fine. -- Kostya 24.08.2010 21:07, Bret Foreman пишет: Good, I made the change. It turns out that StringEntity has a

[android-developers] Re: Using HttpClient

2010-08-24 Thread Bret Foreman
I set the following filter in wireshark: http.request.uri matches domain where domain has been changed in this forum for security reasons. No messages were found. Either the -tcpdump is not working as expected (though there's a whole lot of other traffic being logged in the cap file), or my

Re: [android-developers] Re: New to Android and programming

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 11:22 AM, msacks ntw...@gmail.com wrote: The best way to learn, is by doing, as in just write apps with no prior experience. If no prior experience means you have never programmed, you've never heard of Eclipse, and you haven't touched the SDK, you're simply not going

Re: [android-developers] Re: Using HttpClient

2010-08-24 Thread Kostya Vasilyev
It's been awhile since I've used WireShark, so can't give you an exact answer, sorry. What I'd do is capture on the host computer interface, and filter by remote port number. I'd also do a sanity check first, by using the web browser in the emulator. If the error you're getting happens the

[android-developers] Re: Using HttpClient

2010-08-24 Thread Bret Foreman
Ah, I think I found one source of difficulty. The protocol is HTTPS, not HTTP. I found a bunch of HTTPS traffic in the cap file but it's pretty hard to determine what's wrong. Everything looks normal, though it's a little more complicated than the usual case because of the HTTPS key exchange and

[android-developers] Re: About ContentProvider designing in my App

2010-08-24 Thread A. Elk
You can associate more than one table with a ContentProvider. You can even associate more than one database with a single ContentProvider instance, but considering the amount of extra programming work you'd encounter, it's best not to. I'm not sure why you'd want to associate more than one

[android-developers] create Hierarchical menu

2010-08-24 Thread crajesh
Hi All, I am new in android. I want to create Hierarchical menu. So will you please guide me how to create the Hierarchical menu Thanks everyone in Advance. C.Rajesh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: New to Android and programming

2010-08-24 Thread DanH
If indeed you are new to programming I'd suggest you see if you can take a college course somewhere on intro programming. At the very least you should find yourself a good Java Self Taught book and get through at least the first few chapters. While much of Android programming isn't really

Re: [android-developers] Re: Using HttpClient

2010-08-24 Thread Kostya Vasilyev
If there is https traffic, it means that the request is being sent, but possibly the server doesn't like it for some reason. What I'd do at this point is set up a trivial echo server with a known port (some kind of Java networking sample code would work), capture the request, and see if it

[android-developers] Re: About ContentProvider designing in my App

2010-08-24 Thread A. Elk
There are two considerations: database design and application design. Database design is much too big of a topic to summarize in a single thread! But in short, one wants to normalize the data and do joins to combine data from different tables. Application design in Android suggests that a

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

2010-08-24 Thread Brad Gies
Yeah.. it's confusing What I did was change my code to send all requests from my phone apps to my server. Then I check to see if I already have it, and return the results from my server. If I don't already have it, then I request it from the Google server. I guess my new way makes it

[android-developers] Android Market Licensing: Now Circumvented!

2010-08-24 Thread Alberto
Looks like the word is spreading on how to circumvent the Google Licensing Verification Library: http://www.androidpolice.com/2010/08/23/exclusive-report-googles-android-market-license-verification-easily-circumvented-will-not-stop-pirates/ The concern here is that this could be done easily via

[android-developers] Re: Using HttpClient

2010-08-24 Thread Bret Foreman
A simpler approach, since I can see the outbound message in wireshark, might be to do an HTTP request to the same URL. It will fail, of course, but at least I will see an unencrypted version of the message I'm sending. There's a lot going on in that HTTPS key exchange, though, and some of that

Re: [android-developers] Add CheckBox on buttonclick - Dynamic Mode

2010-08-24 Thread YuviDroid
Probably: new CheckBox (null) == new CheckBox (Dynamiclayout.this) A log of the error you get would be more useful.. On Tue, Aug 24, 2010 at 6:25 PM, Sara Khalatbari saracom...@gmail.comwrote: Hi all I am trying to run the attached code to display a checkbox when I click on the buttons.

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

2010-08-24 Thread Filip Havlicek
Well why not display the according Google Map? Users don't care where is the map from as long as they see proper stuff on it :) Yeah, I'm sure Google has, although I don't know if prohibition of using Google APIs in commercial software is stated in TOS or somewhere else (actually didn't read it

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

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 12:58 PM, Alberto afonsec...@gmail.com wrote: What does everyone think of this? That there's already a thread going on about this: http://groups.google.com/group/android-developers/browse_thread/thread/68383e75908e9888/#

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

2010-08-24 Thread Alberto
Sorry, didn't find it in my initial search. Thanks for the link. On Aug 24, 11:01 am, TreKing treking...@gmail.com wrote: On Tue, Aug 24, 2010 at 12:58 PM, Alberto afonsec...@gmail.com wrote: What does everyone think of this? That there's already a thread going on about

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

2010-08-24 Thread Trevor Johns
FYI: We have a blog post up on this topic. It covers many of the points I made earlier, but I figured it's worth pointing out. http://android-developers.blogspot.com/2010/08/licensing-server-news.html -- Trevor Johns Google Developer Programs, Android http://developer.android.com

[android-developers] Re: Using HttpClient

2010-08-24 Thread Bret Foreman
Alright, just for simplicity, I pointed the client at http://www.amazon.com. I can see the DNS look-up request and reply messages, which is what I would consider the first part of the process. But then there is no subsequent post message. Looks like the client is failing, but partway through the

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

2010-08-24 Thread cindy
When the user clicks some button, I can directly change the UI of my application, such as set the view or change layout without any problem. Why we need to call runOnUIThread() function? Thanks! Cindy -- You received this message because you are subscribed to the Google Groups Android

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

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 1:36 PM, cindy ypu01...@yahoo.com wrote: When the user clicks some button, I can directly change the UI of my application, such as set the view or change layout without any problem. You can do that because you're on the main thread. Why we need to call

[android-developers] DDMS memory usage

2010-08-24 Thread yladsr
When I view a nexus one in DDMS, under SysInfo Memory Usage, it doesn't show the individual names of the apps in the pie chart: Everything is in Unknown. I presume this is a build switch. Is it debug vs release build? How is this switched in the build? -- You received this message because you

[android-developers] Testing several projects with a single test project

2010-08-24 Thread Andrey Panasyuk
Hello, Is it possible to test several Android projects by having only one test project? I've tried various ways like specifying several instrumentation tags: instrumentation android:targetPackage=com.test1.test11 android:name=android.test.InstrumentationTestRunner / instrumentation

[android-developers] Re: Dalvik SegFaults while using CMU Sphinx4

2010-08-24 Thread Gervais
Maybe set up a git repo somewhere you fork off your private tree and keep a community tree etc etc. but yeah you're a hero if you document this. -- 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] Cookies in the Android browser

2010-08-24 Thread req
Hello, I test the security of my web application, So, I need to know if it's possible to recover my username and password registered in the cookies in my application. Thank you in advance, -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] debugging 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] Can I use my personal 'VERIZON' droid 2 as a dev device also?

2010-08-24 Thread Cedric Gaines
I'm fairly new to the community, I've searched around and I'm not quite sure about what is involved in useing a dev device. I'm about to purchase a Droid 2 from verizon (Plain-Ole Droid 2) Can i use it out the box as a dev device, or do I need to root it or side load my dev apps to it for

[android-developers] need help in using async task

2010-08-24 Thread SATYA.N
hi this is SATYA.N I am using the android asynctask functionality to run a back end thread. I created my own view where am drawing some graphics on a canvas. and I have an another thread that captures the audio recorded data from MIC and analyses the audio data for 3.4 seconds and sends the data

[android-developers] Folder Lock va6

2010-08-24 Thread Radi Seif
Folder Lock 6.3.2 | 7.6 MB Folder Lock is a fast file-security program that can password-protect, lock, hide and encrypt any number of files, folders, drives, pictures and documents in seconds. Protected files are hidden, undeletable, inaccessible and highly secure. It hides files from kids,

[android-developers] Does Application update uninstall application

2010-08-24 Thread Jakke
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 removed when application is uninstalled. I want those files to be

<    1   2   3   4   >