[android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-05 Thread Maps.Huge.Info (Maps API Guru)
Results of the test: 3 new downloads should have been registered but only two were added to the app totals. 3 new installs should have been added but only two were. Before: 754 total 139 active After: 756 total 141 active This shows there is something wrong with the market math. Each device

[android-developers] Re: Google TV applications

2010-09-05 Thread Maps.Huge.Info (Maps API Guru)
I don't see why we should have a problem with the big boys getting first dibs on a new category of device (like Google TV). They have the resources to invest in experimentation and will work with the Android people in a close and time consuming manner. Do you have the resources to throw a man year

Re: [android-developers] Re: app2sd backward compatibility

2010-09-05 Thread Laszlo Fogas
Well, I tried to clean up before installing from Market. Let me paste here my manifest chunk, maybe you can spot something wrong. manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.frankandchase.sudoku android:versionCode=13 android:versionName=1.3.3

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

2010-09-05 Thread Lance Nanek
how a pirated app can be updated 5 minutes after a submission ? I actually have seen a repeatable case where the Market app will start tracking an app as if it were purchased when it wasn't. Back when my G1 was running Android 1.5, I had one of my paid apps installed already, then tried to buy

Re: [android-developers] submitting app from Egypt

2010-09-05 Thread TreKing
On Thu, Sep 2, 2010 at 10:00 PM, mms mamdouh.al.sh...@gmail.com wrote: is that is right ?? http://www.google.com/support/androidmarket/bin/answer.py?hl=enanswer=150324 - TreKing

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-05 Thread TreKing
On Sun, Sep 5, 2010 at 1:24 AM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: Isn't that odd? Indeed. Did you see what happens to the counts if you uninstall them? - TreKing

Re: [android-developers] How to realize software aut o version update?

2010-09-05 Thread TreKing
On Fri, Sep 3, 2010 at 4:22 AM, EnjoyLifeHappyEveryday--Jay Meng enjoylifehappyevery...@gmail.com wrote: Now our software need to realize auto version update? That's not a question ... But now i have no way to do it. who can give me some idea. Can you give us an idea of what realize auto

Re: [android-developers] Activity inside a view

2010-09-05 Thread TreKing
On Fri, Sep 3, 2010 at 1:13 PM, skink psk...@gmail.com wrote: why not? Because you can't put an Activity inside a View - that's simply not supported and makes no sense. see: developer.android.com/reference/android/app/LocalActivityManager.html And ... ?

[android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-05 Thread Maps.Huge.Info (Maps API Guru)
I will try that right now. Good thinking. Report back tomorrow. -John On Sep 5, 2:05 am, TreKing treking...@gmail.com wrote: On Sun, Sep 5, 2010 at 1:24 AM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: Isn't that odd? Indeed. Did you see what happens to the counts if you

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-05 Thread Tomáš Hubálek
If you need assistance with controlled installs/uninstalls I can help you with two phones, just send me instructions to my email. Tom On Sun, Sep 5, 2010 at 9:18 AM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: I will try that right now. Good thinking. Report back tomorrow. -John

[android-developers] Re: Phone storage running out after multiple installs

2010-09-05 Thread Chris Stratton
If the process from a previous test still exists, so will its unclosed file descriptors and the associated storage blocks. Check ps in an adb shell. An interesting hack might be to register a file change notifier on some part of yourself and finish() if it triggers... (indicating a new version)

[android-developers] Re: How to realize software aut o version update?

2010-09-05 Thread Chris Stratton
1) Make an xml file in res with a base version number 3) devise some clever and cryptic combination of sed and other commands to increment it 4) add this incantation of stark un*x awesomeness to your eclipse project as a custom builder 5) sit around all day playing nethack and periodically

[android-developers] Re: Capturing RAW data in Android 2.2(HTC Desire)

2010-09-05 Thread blindfold
You can do image processing on camera preview images, which are smaller and almost raw even while not supporting the raw format either: the default YCbCr_420_SP format uses 1.5 bytes per pixel by subsampling U and V by a factor 2 in YUV color space; 1.5 times the number of pixels in a typical

[android-developers] Re: Using socket in a service communicating with more activities...

2010-09-05 Thread kukukk
Thank you. It's working... On Sep 3, 4:39 pm, Kostya Vasilyev kmans...@gmail.com wrote:   One possible solution is to use a Handler / Runnable combo. http://developer.android.com/reference/android/os/Handler.html Before you start the worker thread (and therefore executing the UI thread),

[android-developers] first time run / one time pop up

2010-09-05 Thread Chris
How can I tell if this is the first time that this version of my app has been run? So I can show release notes/what's new? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: first time run / one time pop up

2010-09-05 Thread Pent
Store the version code in SharedPreferences. If it doesn't match the one that the package manager reports you know it's a new version. Pent On Sep 5, 9:38 am, Chris christopery...@gmail.com wrote: How can I tell if this is the first time that this version of my app has been run? So I can

[android-developers] Re: Android with Flash cs5: I have a problem about permissions

2010-09-05 Thread Italian-android
Anyone could help me on this my problem? On 3 Set, 08:32, Italian-android maxloveg...@gmail.com wrote: Hi to all. I'm usingflashcs5 to make anAndroidgame. The problem that I have is that in the moment of publish,flashgive me an error, that is about the permission. Into the property of

[android-developers] Re: Simple Key Event Questions

2010-09-05 Thread Tez
Biometric Measure with neural nets: Key stroke patterns. For that I need data about how something was typed in: Eg: EARLENCE 1. time for which each key was pressed. 2. interval between consecutive key presses. Cheers, Earlence On Sep 4, 10:44 pm, Dianne Hackborn hack...@android.com wrote: You

[android-developers] Re: Activity inside a view

2010-09-05 Thread a1
Because you can't put an Activity inside a View - that's simply not supported and makes no sense. You can and moreover it makes a lot of sense, TabHost in fact relies on this. see: developer.android.com/reference/android/app/LocalActivityManager.html And ... ? Subclass ActivityGroup,

[android-developers] Re: How to use D-Pad control in Android

2010-09-05 Thread ko5tik
On Sep 3, 3:34 pm, Dhrumil Shah dhrumilsh...@gmail.com wrote: Hey Avigadl, If I change the values of the each direction like DIRECTION_TOP = 0, DIRECTION_DOWN = 1, DIRECTION_RIGHT = 2, DIRECTION_LEFT = 3; it is working? I changed that but unfortunetly its not working. Any other Solution?

[android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-05 Thread scott19_68
On Sep 5, 2:24 am, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: Isn't that odd? Nice work - I am just guessing here, but I wonder if the issue is not with a general processing error by Google and is tied to specific hardware, say, the Nexus One is being treated as 'special' by Google.

Re: [android-developers] Re: How to use D-Pad control in Android

2010-09-05 Thread Dhrumil Shah
Hello ko5tik, Ok, then here is my code which is animates my ball. package padd.testing; import android.app.Activity; import android.os.Bundle; import android.view.*; //import android.view.View.OnClickListener; import android.graphics.*; import android.content.*; //import android.widget.Button;

[android-developers] How to automatically restart widget update service after it is killed?

2010-09-05 Thread Alex
I have an app widget that uses a Service to handle updates (as per the SDK sample). If a task killer kills the service, the widget obviously stops updating. Is there any way I can notify the widget that the service has been killed so it can attempt to restart it? -- You received this message

[android-developers] Re: Crash on gesture recognize

2010-09-05 Thread marmor
Hi, Thanks for the response. I've done all preparations as done by Google's example, including the gesture file in res/raw. 99% of the time everything works fine, onGesturePerformed is called and I get right answers from the recognize function, but in some cases (haven't figured out which yet),

Re: [android-developers] Taking a Picture

2010-09-05 Thread Pedro Teixeira
Hi again.. still struggling with this... My code seems fine.. can you see what's wrong with this scene? public static boolean previewAndStoreInfo(Context mContext, byte[] imageData,int quality, String expName) { File sdImageMainDirectory = new File(/sdcard/download/ + expName);

[android-developers] Re: Permission checked at install time, but what happens if the permission user is installed before the permission definer?

2010-09-05 Thread Flying Coder
Mark Dianne, Thanks for the replies. I was hoping there might some equivalent of adb install -r that would allow my app to be re-installed without losing its data (is it possible?). Unfortunately, the backup/restore to SD card won't work for this app because the SharedPreferences contains

[android-developers] Re: Google TV applications

2010-09-05 Thread ben
Actually we do have the resources, and we do compete with them directly. I would say were highly competitive with them. And anyone who is a big player in the mobile market knows that being first to market is a huge huge advantage. Look at the current android market, a majority of the top apps on

[android-developers] Re: Google TV applications

2010-09-05 Thread ben
Dianne, I understand that the market can't be opened up to everyone all at once. I can only begin to imagine what a nightmare that would be to manage. I just don't understand why this can't be more open like the c2dm start was. C2DM can't have everyone on the market using it at once. But at least

Re: [android-developers] Re: Crash on gesture recognize

2010-09-05 Thread Filip Havlicek
Hi Mor, if it works with 99%, it's going to be hard. Right now I would try to determine conditions under which the error is thrown. For example, are you using the application on the same version of Android OS as you created the gesture file? I'm pretty sure it shouldn't be a problem, but who

[android-developers] Re: How to detect device support multi touch without OnTouchListener's event?

2010-09-05 Thread eric
Dear Dan: Thank you for your response at first.But I want to detect device that support multi touch or not to show different UI appear. If it supports to show A-Type UI,or it show B-Type UI.I still show my app on non-multitouch devices.Can you slove my question? Thank you.

[android-developers] gridview in custom dialog not working....crashes

2010-09-05 Thread mani
Hi all, I have tried adding a grid view to a custom dialog. When displaying the dialog it crashes. But when tried displaying the grid view in normal activity it was working.( without dialog ) I took the examples from developer android website.Took grid view and tried to integrate in custom

Re: [android-developers] Re: Permission checked at install time, but what happens if the permission user is installed before the permission definer?

2010-09-05 Thread Mark Murphy
On Sun, Sep 5, 2010 at 9:19 AM, Flying Coder av8r.st...@gmail.com wrote:    Thanks for the replies.  I was hoping there might some equivalent of adb install -r that would allow my app to be re-installed without losing its data (is it possible?). adb install -r doesn't re-install an app. It

Re: [android-developers] gridview in custom dialog not working....crashes

2010-09-05 Thread Mark Murphy
On Sun, Sep 5, 2010 at 11:17 AM, mani smanikanda...@gmail.com wrote: I have tried adding a grid view to a custom dialog. When displaying the dialog it crashes. :: snip :: Could anyone please help me out here. Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat and take

[android-developers] Re: Permission checked at install time, but what happens if the permission user is installed before the permission definer?

2010-09-05 Thread Flying Coder
Call it what you want, is there a way to make it happen? I believe the in place update would be sufficient to get the permission recognized. On Sep 5, 11:21 am, Mark Murphy mmur...@commonsware.com wrote: On Sun, Sep 5, 2010 at 9:19 AM, Flying Coder av8r.st...@gmail.com wrote:    Thanks for

Re: [android-developers] Re: Permission checked at install time, but what happens if the permission user is installed before the permission definer?

2010-09-05 Thread Mark Murphy
On Sun, Sep 5, 2010 at 11:31 AM, Flying Coder av8r.st...@gmail.com wrote: Call it what you want, is there a way to make it happen? Run adb install -r, or publish an update to your app on the Market. I don't know of any other mechanism to do this. -- Mark Murphy (a Commons Guy)

[android-developers] Re: Developing Android app for tablet

2010-09-05 Thread Droid
And is landscape view preferred or default for these bigger screens? Many of my apps are fixed to portrait... On Sep 5, 1:50 pm, ytbryan ytbr...@gmail.com wrote: Hi all, do we(developer) need to alter our app to suit the android tablet(samsung galaxy tab)? or will them automatically run on

[android-developers] Re: Using eclipse

2010-09-05 Thread Droid
My eclipse goes out of sync very easily. I now make copy paste files into a project to make sure they go into the workspace and do not stay somewhere else. Its the worst thing about Eclipse IMO. Build/clean is automatic usually, but does not always fix problems. I have lost loads of stuff... On

[android-developers] Place two buttons side by side

2010-09-05 Thread Droid
OK, my buttons go one under the other, but I want them side by side. How do I place two buttons side by side? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

Re: [android-developers] Place two buttons side by side

2010-09-05 Thread Filip Havlicek
All you want is here http://developer.android.com/reference/android/widget/LinearLayout.html 2010/9/5 Droid rod...@gmail.com OK, my buttons go one under the other, but I want them side by side. How do I place two buttons side by side? -- You received this message because you are subscribed

[android-developers] Re: SQLite implementation - need help!

2010-09-05 Thread kingh32
I tried this and... it works! Thank you for your help, it now displays a list of the the most recent update to the database. (only one item in the list) but for now this will do. Many thanks On Sep 4, 5:55 pm, Kostya Vasilyev kmans...@gmail.com wrote: Without the angle brackets, right? adb

[android-developers] Re: Developing Android app for tablet

2010-09-05 Thread ben
I would make sure your app isn't drawing anything to exact pixel locations and sizes. If you're using the built in layouts you should be in good shape. Also you can use the AVD manager to create an emulator with larger resolutions and screen sizes. That should at least give you some idea of what

[android-developers] Uncompressed bitmap

2010-09-05 Thread ls02
Is there way to save to and load from local file uncompressed bitmap? -- 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] Apps2Sd install/update failures on Froyo linked to smdl2tmp1.asec file

2010-09-05 Thread Craig D
I finally fixed a problem I was having with install/update of Apps installed on my SD card on my NexusOne with Froyo installed reported as Android issue 9593 (http://code.google.com/p/android/issues/detail? id=9593). It turns out that there is a file called smdl2tmp1.asec in the SD card app2sd

[android-developers] How to compare the data in framebuffer

2010-09-05 Thread eric.D
Hi In my app on cupcake platform ,in the EGLDisplaySurface.cpp ,my plan is adding a method to compare the data is different or not between front buffer and back buffer.but I can't understand the framebuffer is.I'm poor in C++ .any help is appreciated!! -- You received this message because you

[android-developers] Re: Developing Android app for tablet

2010-09-05 Thread Kumar Bibek
Do test out your apps on emulators. http://techdroid.kbeanie.com/2010/09/getting-started-with-tablets-they-are.html -Kumar Bibek http://techdroid.kbeanie.com On Sep 5, 9:32 pm, ben benbros...@gmail.com wrote: I would make sure your app isn't drawing anything to exact pixel locations and

[android-developers] How can we get the device name programmatically?

2010-09-05 Thread Vipul
I want to get the name of device programmatically. Suppose anyone has set the device name as My New Phone I want to get that. I tried android.Os.BUILD constants but none of them are useful for getting device name. Any help would be appriciated. -- You received this message because you are

Re: [android-developers] How can we get the device name programmatically?

2010-09-05 Thread Mark Murphy
On Sun, Sep 5, 2010 at 12:55 PM, Vipul vipulpancha...@gmail.com wrote: I want to get the name of device programmatically. Suppose anyone has set the device name as My New Phone I want to get that. Where do you see in Android a spot for a user to set a device name to be My New Phone? -- Mark

[android-developers] Re: Split Path to get filename and extension

2010-09-05 Thread Bob Kerns
The Java File class does not provide an abstraction for extension. It's a bit too abstract and least-common-denominator for that. Compared to when the File class was defined, modern filesystems are more consistent about not actually enforcing it as a part of the syntax, and about following it as a

[android-developers] Re: Activity inside a view

2010-09-05 Thread skink
On Sep 5, 1:40 pm, a1 arco...@gmail.com wrote: And ... ? Subclass ActivityGroup, get LocalActivityManger, create local activity and add decor view from newly created activity window as child of any of ViewGroup in your layout, as simple as that. I didn't test it but in theory you don't

Re: [android-developers] Re: Split Path to get filename and extension

2010-09-05 Thread Filip Havlicek
Well, you got it wrong i think :) public static String fileExtension(File f) { String name = f.getName(); int idx = name.lastIndexOf('.'); if (idx == -1) return null; if (idx == name.length()-1) return new String(); return name.substring(idx+1, name.length())); // that was

[android-developers] Re: Place two buttons side by side

2010-09-05 Thread Droid
Thanks, but cannot follow that page without a migraine. Who can give me a snippet for two buttons side by side? On Sep 5, 5:12 pm, Filip Havlicek havlicek.fi...@gmail.com wrote: All you want is herehttp://developer.android.com/reference/android/widget/LinearLayout.html 2010/9/5 Droid

Re: [android-developers] Re: Split Path to get filename and extension

2010-09-05 Thread Kostya Vasilyev
Might want to also check for last forward slash, in case the path portion of the filename contains a dot. E.g.: /sdcard/.myapp/cachefile -- Kostya Vasilyev -- http://kmansoft.wordpress.com 05.09.2010 21:53 пользователь Filip Havlicek havlicek.fi...@gmail.com написал: Well, you got it wrong i

[android-developers] Re: Need project idea

2010-09-05 Thread sws-vinpa
Serial ports would be valuable for this sort of application. ;-) Vince On Sep 4, 2:50 am, Indicator Veritatis mej1...@yahoo.com wrote: Funny. Just a little mean, but funny! OK, OK, I will give away an idea I know I will never get around to implementing. It has a lot to do with automotive.

Re: [android-developers] Re: Place two buttons side by side

2010-09-05 Thread Frank Weiss
Try the hello views page: http://developer.android.com/intl/de/resources/tutorials/views/index.html And please do use the resources before asking questions :-) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: Split Path to get filename and extension

2010-09-05 Thread Filip Havlicek
Didn't try that actually, thought getName() returns only cachefile (from your example). Best regards, Filip Havlicek 2010/9/5 Kostya Vasilyev kmans...@gmail.com Might want to also check for last forward slash, in case the path portion of the filename contains a dot. E.g.:

Re: [android-developers] Re: Split Path to get filename and extension

2010-09-05 Thread Frank Weiss
Might want to also check for last forward slash, in case the path portion of the filename contains a dot. E.g.: /sdcard/.myapp/cachefile I suppose that should be taken care of by File.getName(). I might add that a test case for this new code would be a good idea. -- You received this

Re: [android-developers] Re: Place two buttons side by side

2010-09-05 Thread Filip Havlicek
Did you actually tried to read it? Everything you need to know is said in a first few lines. Best regards, Filip Havlicek 2010/9/5 Droid rod...@gmail.com Thanks, but cannot follow that page without a migraine. Who can give me a snippet for two buttons side by side? On Sep 5, 5:12 pm, Filip

Re: [android-developers] Re: Need project idea

2010-09-05 Thread Kostya Vasilyev
Android-based OBD probe? You'd need industrial-strength Android devices for that, too (oil- dirt- gas- proof). Would be cool, though. 05.09.2010 22:11, sws-vinpa пишет: Serial ports would be valuable for this sort of application. ;-) Vince On Sep 4, 2:50 am, Indicator

Re: [android-developers] How to compare the data in framebuffer

2010-09-05 Thread Dianne Hackborn
Hi, this is well outside the bounds of the SDK, so should be asked on another group such as android-porting. Also there is no guarantee that the hardware will let you read the frame buffer. On Sun, Sep 5, 2010 at 9:40 AM, eric.D ericding2...@gmail.com wrote: Hi In my app on cupcake platform

Re: [android-developers] How to compare the data in framebuffer

2010-09-05 Thread Dianne Hackborn
(Oh and even if it does let you read the framebuffer, it is probably going to be *much* slower to read it than to re-render it.) On Sun, Sep 5, 2010 at 11:56 AM, Dianne Hackborn hack...@android.comwrote: Hi, this is well outside the bounds of the SDK, so should be asked on another group such

[android-developers] Re: Need project idea

2010-09-05 Thread Maps.Huge.Info (Maps API Guru)
You mean like this one: http://www.motorola.com/Consumers/US-EN/Consumer-Product-and-Services/Mobile-Phones/ci.MOTOROLA-i1-US-EN.alt -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: Permission checked at install time, but what happens if the permission user is installed before the permission definer?

2010-09-05 Thread Dianne Hackborn
There isn't a way in the SDK. You need to go through the permissions screen so the user can approve the permissions being granted. (adb install doesn't go through permissions because the shell is running as the user.) On Sun, Sep 5, 2010 at 8:33 AM, Mark Murphy mmur...@commonsware.com wrote:

Re: [android-developers] Re: Google TV applications

2010-09-05 Thread Dianne Hackborn
On Sun, Sep 5, 2010 at 7:41 AM, ben benbros...@gmail.com wrote: I understand that the market can't be opened up to everyone all at once. I can only begin to imagine what a nightmare that would be to manage. I just don't understand why this can't be more open like the c2dm start was. C2DM

Re: [android-developers] Re: How to detect device support multi touch without OnTouchListener's event?

2010-09-05 Thread Dianne Hackborn
You look at the package manager features as Dan said, and adjust your UI appropriately. On Sun, Sep 5, 2010 at 8:03 AM, eric bugbun...@gmail.com wrote: Dear Dan: Thank you for your response at first.But I want to detect device that support multi touch or not to show

Re: [android-developers] Re: Simple Key Event Questions

2010-09-05 Thread Dianne Hackborn
You can't get that from the IME. What you get is edit operations via calls on InputConnection. You will need to implement your own keyboard in your app if you want to monitor individual interactions with it. On Sun, Sep 5, 2010 at 4:18 AM, Tez earlencefe...@gmail.com wrote: Biometric Measure

[android-developers] Http live streaming (Smooth Streaming)

2010-09-05 Thread oguz gurler
Hi, Is it possible with Android media player component watching live streaming (Live Tv) which serves from iis smooth streaming server? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Place two buttons side by side

2010-09-05 Thread Droid
I am coding continuously but have hit a brain fade time. So cannot easily read all that at this point. Later. On Sep 5, 7:15 pm, Filip Havlicek havlicek.fi...@gmail.com wrote: Did you actually tried to read it? Everything you need to know is said in a first few lines. Best regards, Filip

[android-developers] Re: Place two buttons side by side

2010-09-05 Thread Droid
Thanks for that easy reference, looks like its android:layout_alignParentRight=true or something like that. On Sep 5, 7:11 pm, Frank Weiss fewe...@gmail.com wrote: Try the hello views page:http://developer.android.com/intl/de/resources/tutorials/views/index And please do use the

[android-developers] Re: How can we get the device name programmatically?

2010-09-05 Thread Maps.Huge.Info (Maps API Guru)
If you mean the device name, like in Droid or Nexus One, then you should be able to get it from android.os.Build.MODEL This is a read only property so the user can't change it without root. -John Coryat -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: Activity inside a view

2010-09-05 Thread TreKing
On Sun, Sep 5, 2010 at 6:40 AM, a1 arco...@gmail.com wrote: You can and moreover it makes a lot of sense, TabHost in fact relies on this. This is true, though I'm not sure if this is what the OP is getting at. But I may very well be misunderstanding the OP's request to have an Acitvity inside

[android-developers] Re: Permission checked at install time, but what happens if the permission user is installed before the permission definer?

2010-09-05 Thread Flying Coder
OK. BTW, thanks for the tip about the signature permission. That not only helped with a workaround for this problem, but also with another related issue. Cheers, Steve On Sep 5, 2:58 pm, Dianne Hackborn hack...@android.com wrote: There isn't a way in the SDK.  You need to go through the

[android-developers] Activities I Don't Want the User to be able to go Back to

2010-09-05 Thread JimBadger
Hi, I'm developing a non-realtime Android game, and am having trouble figuring out the best way to sequence and control my activities. For example, when the user first installs and runs the app, he's into Activity 1: The Game. He selects a new game slot (1 of 3) and goes to Activity 2: Create

Re: [android-developers] Activities I Don't Want the User to be able to go Back to

2010-09-05 Thread Mark Murphy
On Sun, Sep 5, 2010 at 6:23 PM, JimBadger jjio...@gmail.com wrote: I'm developing a non-realtime Android game, and am having trouble figuring out the best way to sequence and control my activities. For example, when the user first installs and runs the app, he's into Activity 1: The Game.  He

Re: [android-developers] Activities I Don't Want the User to be able to go Back to

2010-09-05 Thread Frank Weiss
The simplest thing to do when activity A starts activity B but activity A doesn't want to stay on the stack is for activity A to call finish() right after it calls startActivity() with the intent to start activity B. -- You received this message because you are subscribed to the Google Groups

[android-developers] Implementing a self-contained library project test project

2010-09-05 Thread Paul Butcher
In Testing a library project the Android documentation says: There are two recommended ways of setting up testing on code and resources in a library project: - You can set up a test project that instruments an application project that depends on the library project. You can then add tests

Re: [android-developers] Activities I Don't Want the User to be able to go Back to

2010-09-05 Thread Filip Havlicek
About the second question, I suppose you store your game data somehow (perhaps in a database?). So what would you do before drawing the slots is select data from database and make an if statement. If (data for slot1 is in the select from database) {show the data as label and add Activity 3 class

Re: [android-developers] Activities I Don't Want the User to be able to go Back to

2010-09-05 Thread Sebastián Treu
I what performance concern, will using FLAG_ACTIVITY_NO_HISTORY make any changes? I mean, does the framework loads the task to the activity costly or not? I ask this just for curiosity and to know a little more, as one could think of launching the Activity with that flag if it's known that there's

Re: [android-developers] Activities I Don't Want the User to be able to go Back to

2010-09-05 Thread Sebastián Treu
On Sun, Sep 5, 2010 at 7:49 PM, Sebastián Treu sebastian.t...@gmail.com wrote: I what performance concern, will using FLAG_ACTIVITY_NO_HISTORY make any changes? I mean, does the framework loads the task to the activity opps... correcting: does the framework loads the task to the *stack* --

Re: [android-developers] Activities I Don't Want the User to be able to go Back to

2010-09-05 Thread Dianne Hackborn
On Sun, Sep 5, 2010 at 3:49 PM, Sebastián Treu sebastian.t...@gmail.comwrote: I what performance concern, will using FLAG_ACTIVITY_NO_HISTORY make any changes? It doesn't matter. If your activity knows it doesn't want to be returned to, I suggest it calling finish() on itself rather than

Re: [android-developers] Activities I Don't Want the User to be able to go Back to

2010-09-05 Thread Mark Murphy
On Sun, Sep 5, 2010 at 6:49 PM, Sebastián Treu sebastian.t...@gmail.com wrote: I what performance concern, will using FLAG_ACTIVITY_NO_HISTORY make any changes? I mean, does the framework loads the task to the activity costly or not? I ask this just for curiosity and to know a little more, as

[android-developers] Re: Activities I Don't Want the User to be able to go Back to

2010-09-05 Thread JimBadger
Wow, thanks for the quick responses. That simple for question 1, huh? Call finish()? :) Will do, ta. (I just presumed that once you called StartActivity, that was it, bam, you were out of the calling activity and into the called). What about part 2? I want a visual refresh of Activity A when

[android-developers] Picking two pictures at once

2010-09-05 Thread Pedro Teixeira
Hi, this snippet of code allows me to pick a picture and choose from a list of options to send them.. I'm wondering if it'spossible to pick 2 pictures instead of just one? Is it possible? thnk you Uri U = Uri.fromFile(F); Intent i = new Intent(Intent.ACTION_SEND);

Re: [android-developers] Re: Activities I Don't Want the User to be able to go Back to

2010-09-05 Thread Dianne Hackborn
Simplest is in onResume() to check if there has been a change and update accordingly. On Sun, Sep 5, 2010 at 3:59 PM, JimBadger jjio...@gmail.com wrote: Wow, thanks for the quick responses. That simple for question 1, huh? Call finish()? :) Will do, ta. (I just presumed that once you called

Re: [android-developers] Slide Show sample code.

2010-09-05 Thread 李实
hi, sowmay , I wonder what is exactly a slideshow app? slide to unlock? 2010/9/1 sowmay isy.sow...@gmail.com Hi everyone, I am making a slideshow app. I have been looking for a sample code, but I couldn't get it. Does anyone know sample code for it? Thanks. -- You received this

[android-developers] Re: Bug in minSdkVersion or what?

2010-09-05 Thread Gustavo
Hi, it's me again. So I think I've found a very serious problem here... This has nothing to do with supports screens or sdk versions. I have built an app just for testing this kind of behaviour and I realized that the problem is on uses permission (weird!). My tests: I published a very simple

Re: [android-developers] Re: Bug in minSdkVersion or what?

2010-09-05 Thread Mark Murphy
On Sun, Sep 5, 2010 at 8:07 PM, Gustavo gumat...@gmail.com wrote: In conclusion, I realized that there's got to be something wrong with the CALL_PHONE permission. does anyone have an idea why is this happening? is that only with me? Possibly. I can certainly see apps that require CALL_PHONE on

[android-developers] Re: Activity inside a view

2010-09-05 Thread Explore Android
Thanks for all your feedback or suggestions. Before posting this message I was already implementing the solution that proposed by TreKing. But I felt this is not a smart way of doing it. It would have been nicer to have all my ActivityA behavior and GUI (with out any modifications) showed inside

[android-developers] Re: DDMS Heap Dump permissions problem

2010-09-05 Thread mrmanuke
Your suggestion led me to discover the problem, which was that my device was set so that whenever it was connected via USB, the SD card would be mounted by my development computer. I changed the Connect to PC setting to charge only and that fixed it. Thank you! On Sep 3, 6:59 am, fadden

[android-developers] cannot get my location to work on android 2.2

2010-09-05 Thread sunny
Hi Folks, my app which was working on 2.1 and earlier version fails to run properly in 2.2. It relies on the location but I do not get any error message. However under DDMS /logCat, I see a message saying:Error message while getting the location address: Reason: this service is not available.

[android-developers] Re: Bug in minSdkVersion or what?

2010-09-05 Thread Gustavo
Thank you for the quick reply Mark. I also tried to look for some apps that require the CALL_PHONE and you're right, they're up and running but why is it not working with my apps? firstly I thought it had something to do with my manifest, source code or something... but when I built a very simple

[android-developers] problem with GL_CLAMP_TO_EDGE

2010-09-05 Thread billconan
hello guys, I cannot guarantee my texture size be a power of two, therefore, i'm using GL_CLAMP_TO_EDGE, but when i call glTexImage2D, or glutil.teximage2d, i always get the Opengl Error Code 1281 Invalid Value. this same setting seems to work on iphone. does this mean that android only

Re: [android-developers] Re: Bug in minSdkVersion or what?

2010-09-05 Thread Shawn Brown
the app name is my test. I see it via market on adp2 running Froyo (CynogenMod 6.0). DO NOT DOWNLOAD THIS APP X6 right! Shawn -- 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: Bug in minSdkVersion or what?

2010-09-05 Thread Dianne Hackborn
CALL_PHONE won't effect the visibility on any of those devices. Using CAMERA without specifying that auto-focus is optional will, I believe, hide it from the Tattoo (which I think doesn't have an auto-focus camera... though of course I may be wrong). And of course not supporting small screens

[android-developers] Re: Capturing RAW data in Android 2.2(HTC Desire)

2010-09-05 Thread uday
Thanks Blindfold for ur information... Currently im working on Camera Capture in Android. I can able to display the image in portrait by forcing the preview as portrait in AndroidManifest.xml file.. But the image preview is not correct as i expected.. The image preview is like streched... I dont

[android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-05 Thread Maps.Huge.Info (Maps API Guru)
After 3 uninstalls: 756 total 139 active So at least the numbers are somewhat consistent. -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 android-developers@googlegroups.com To unsubscribe

[android-developers] Re: List Item (a view) order changes unexpextedly while (fast) scrolling in a ListView

2010-09-05 Thread rious.delie
somebody please... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

[android-developers] Re: cannot get my location to work on android 2.2

2010-09-05 Thread Kumar Bibek
I think it's related to the configuration of your emulator. Have you checked if the Google Maps app works on the emulator/phone? That might give you a clue. -Kumar Bibek http://techdroid.kbeanie.com On Sep 6, 7:07 am, sunny menon1...@gmail.com wrote: Hi Folks, my app which was working on 2.1

[android-developers] Re: Statistics on Rooted Phones

2010-09-05 Thread Kumar Bibek
Ummm, not that I know of. Even if it were there, it would be an enormous task to update it regularly. Users keep on switching. Even a small sample of users cannot actually give you the approx numbers. But, I am wondering how will this number help anyone. :) -Kumar Bibek

[android-developers] Re: Simple Key Event Questions

2010-09-05 Thread Tez
So the KeyEvent Listener is only for physical keyboards? I see many devices that have only soft keyboards. This leads me to think What is the value of the Key Listener API then? Cheers, Earlence On Sep 6, 12:02 am, Dianne Hackborn hack...@android.com wrote: You can't get that from the IME.  

[android-developers] Re: resource in conflict

2010-09-05 Thread Kumar Bibek
If you maintain colors, then it would be differentiated by R.color.something from drawables R.drawable.something. I think that shouldn't be a problem. Different classes they are. -Kumar Bibek http://techdroid.kbeanie.com On Sep 4, 4:18 pm, eli sweehoe.l...@gmail.com wrote: Hi, My application

  1   2   >