[android-developers] Re: Multiline Buttons..?

2009-11-17 Thread skink
VBMichi wrote: Hi, I am searching for help with a multiline button since 6 days. Maybe someone of you can help me. I've also posted my question in den android-beginner google group. Sorry for crossposting. I have a button: Button android:layout_height=wrap_content

[android-developers] unsubscribe

2009-11-17 Thread flo
http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Multiline Buttons..?

2009-11-17 Thread VBMichi
Hi slink, I exaktly see This\nis\na\ntest! as caption of the button. Also if I try This \n is \n a \n test!. On Nov 17, 9:31 am, skink psk...@gmail.com wrote: VBMichi wrote: Hi, I am searching for help with a multiline button since 6 days. Maybe someone of you can help me. I've also

[android-developers] Re: Android Market Anti-Piracy

2009-11-17 Thread AlexK
On Nov 17, 12:01 am, strazzere str...@gmail.com wrote: It's hard to get into all the dynamics of it, but I'll gladly have a conversation offline with you if you'd like to have one. I'll try to touch briefly upon most of this though. Yes - I agreed the protection Google has implemented does

[android-developers] WebView email support

2009-11-17 Thread Lawrence
Hi, Can anyone tell me if there was a change from 1.6 to 2.0 in the support for email in a WebView. In android 1.6 I used to be able to mouse click on a web page email link (WebView) and it would activate the email activity and take that email address and drop it into a email module. In android

[android-developers] Re: fwd: get the file path from a URI instance

2009-11-17 Thread MrChaz
If I remember rightly, the gallery returns you a content uri so you'll want to do something like: getContentResolver ().openInputStream(uri) On Nov 17, 5:53 am, Abhi abhishek.r.sha...@gmail.com wrote: Hi Dianne, I am trying to do the following. I have an Image viewer where in the user picks

Re: [android-developers] Re: How to test if app is shown on Market for all screensizes

2009-11-17 Thread Klaus Kartou
Is there any Google people that can shed some light on this issue? On Mon, Nov 16, 2009 at 4:42 PM, blindfold seeingwithso...@gmail.comwrote: Thanks Phil! Indeed this is very strange. As I understand it, all Android 1.6 apps should by default be visible to HTC Tattoo on the Android Market,

[android-developers] Re: Securing a paid app

2009-11-17 Thread admin.androidsl...@googlemail.com
Unless I missed it above, no one has published a method to check whether an app was downloaded and not refunded by Google Checkout. Without this check, none of the above code will be of any value. Google please provide us with something we can use - devs work hard to improve the platform. Pirates

[android-developers] Re: arraylist storage in sqlite

2009-11-17 Thread bharath
i want to save the array values in single row and single column... then how can i insert [ syntax] into database -- 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: Multiline Buttons..?

2009-11-17 Thread skink
VBMichi wrote: Hi slink, I exaktly see This\nis\na\ntest! as caption of the button. Also if I try This \n is \n a \n test!. really strange maybe try: Button b = (Button) findViewById(R.id.test); char = b.getText().charAt(4); Log.d(Test, value + (int) ); and see logcat output

[android-developers] Re: How to test if app is shown on Market for all screensizes

2009-11-17 Thread Aspidoff
I noticed this problem when the new Droid Eris came out. At first, i started messing with minsdk and even lowered it to 2 but that didnt fix it, the apps didnt show up in the market. I ran through Verizon and Sprint stores for days to try to get this to work. I dont think Google people even know

[android-developers] how to get application state

2009-11-17 Thread Saikat
How I can find the state(running/paused/stopped etc) of an application? Please help. -- 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,

[android-developers] Re: Multiline Buttons..?

2009-11-17 Thread manoj
Hi VBMichi, check the following code, it might help you... Button android:id=@+id/Button01 android:layout_width=wrap_content android:layout_height=wrap_content android:maxLines=5 android:maxWidth=35dip android:text=mano j/Button On Nov 17, 2:46 pm, skink psk...@gmail.com wrote: VBMichi

[android-developers] Re: Android in China - What is going on?

2009-11-17 Thread siuying
Hi China government blocked Google sync services in China. Google probably aware, but I dont think they can help. Note this is not only affecting Android but almost affect every similar services. This may or may not be official, government can block any service without prior notification!

[android-developers] Re: images.google.com results in my app

2009-11-17 Thread pti4ik
Found a solution myself. You should create an URL with adress http://ajax.googleapis.com/ajax/ services/search/images?v=1.0q= and add after q= your keywords for search. Then if you create a reader from this url, you'll get an xml as a responce. Here's an example: URL url = new

[android-developers] dmtracedump reports version error

2009-11-17 Thread James Wang
when I used dmtracedump to analyze traces.txt which generated by OOM, I got below error: $android-sdk-linux_x86-1.6_r1/tools/dmtracedump -h -g trace traces.txt ERROR: not at start of version (found ' - pi') Can anyone help me? BTW, who can share the experience about trace memory problem

[android-developers] Re: Android Market Anti-Piracy

2009-11-17 Thread AlexK
Idea is good. And we already brain storm it. Problem is in Google - they don't want to listen us. They simply ignore all our requests. For today we theoretically possible only one implementation: 1) on start application request activation with user name and device id; 2) activation server check

[android-developers] Re: Android Market Anti-Piracy

2009-11-17 Thread AlexK
That is TRUE. But at least that will make two things right: 1) User will think twice before install pirated software 2) User that install it without knowing that it is a pirate copy can return good face On my prognoses only 10% from that 80% will pay for application (and my experience on other

[android-developers] Install command to install apk in System/app

2009-11-17 Thread GPU
Hi , Anybody knows the install command to install an apk in system/app directory . -- 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] Re: Download Android source code failed

2009-11-17 Thread Blue Zheng
Me too. I tried many times, always failed. On Nov 17, 10:14 am, Andrei gml...@gmail.com wrote: I had same Just try till succeed On Nov 16, 9:07 pm, Alger, Lin addr...@gmail.com wrote: I try to download source code for Android 2.0, but I always got the fatal: The remote end hung up

[android-developers] User Ratings in Apps

2009-11-17 Thread stanchat
Just curious, how do most applications get users to rate their application. I know the user gets the opportunity when they purchase from the market but do many applications have a button emmbeded in their application like Please Rate My Game etc.. that will redirect the user. -- You received

[android-developers] Re: Multiline Buttons..?

2009-11-17 Thread skink
On Nov 17, 11:33 am, manoj manojkumar.m...@gmail.com wrote: Hi VBMichi, check the following code, it might help you... Button android:id=@+id/Button01 android:layout_width=wrap_content android:layout_height=wrap_content android:maxLines=5 android:maxWidth=35dip android:text=mano j/Button

[android-developers] How to track Installing and uninstalling applications?

2009-11-17 Thread sergey staskov
Hi guys, I need to know time, when application is installed, can you tell how can i do it? I will thankful to all, who get any info about it. -- 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: User Ratings in Apps

2009-11-17 Thread admin.androidsl...@googlemail.com
Users go to Downloads section of market, then rate. They can give a star rating and optionally a comment. Users have a tendency to only leave comments if they are very pleased or very displeased with apps! -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Memory Problem ? and content media provider died

2009-11-17 Thread olivier
Dear, My users meet a problem, I am not sure to understand. Here an extract of the log file I have received 11-15 21:22:40.816 I/ActivityManager( 70): Low Memory: No more background processes. 11-15 21:22:42.306 I/ActivityManager( 70): Stopping service:

[android-developers] Re: How to track Installing and uninstalling applications?

2009-11-17 Thread admin.androidsl...@googlemail.com
You get some idea of the count of active installs on http://market.android.com/publish/Home Not sure how to capture install / uninstall event. For install / first usage, you could have the client contact a server you maintain I guess. -- You received this message because you are subscribed to

[android-developers] Work with a part of CameraPreview

2009-11-17 Thread arnouf
Hi all, I would like to retrieve the content display on a small part of a camera preview, but I don't know how :-/ I create my surfaceview displaying the camera but after that, how can I retrieve the data displayed inside this without taking a picture ? Thanks by advance for your help. Regards

[android-developers] Re: Displaying Text such as score in an OpenGL game

2009-11-17 Thread niko20
Hi Kevin, I'm no OpenGL expert, but I know GL support text drawing. However, I think it can slow things down. You may also want to search about bitmap fonts, which is probably what the sprite test is doing. -niko On Nov 16, 8:10 pm, Kevin S. dada...@gmail.com wrote:    I have a the beginnings

[android-developers] Re: Android in China - What is going on?

2009-11-17 Thread westmeadboy
I've been using my HTC Hero in mainland China now for three months. Up until about one week ago, whenever I tried to download an app from the Market there was about a 50-50 chance it would work. When it didnt work there would almost immediately be a notification message saying unable to download,

[android-developers] Re: Map is not displaying even the settings are correct

2009-11-17 Thread naveenballa
i tired reinstalling its showing the following error 11-17 18:40:14.882: INFO/ActivityManager(565): Starting activity: Intent { cmp=com.example.android.google.apis/ com.example.android.apis.view.MapViewDemo } 11-17 18:40:14.923: ERROR/ActivityThread(755): Failed to find provider info for

[android-developers] Re: Alarm is canceled if app is stopped

2009-11-17 Thread Bo
I think it would be nice if the to-be-killed/restarted apps/services get a chance to say what it is doing. It's normal apps/services obligation to provide such information; it's task manager apps obligation to collect them and present to users. Or make it a system service (may be some dialogs) to

Re: [android-developers] Donut (1.6), auto complete text view and ellipsize

2009-11-17 Thread prashant hegde
Hi All Even I face the same issue. Anyone found a solution for this? --- On Thu, Sep 24, 2009 at 6:31 AM, Chris W. cmichaelw...@gmail.com wrote: I have a layout that includes the following: AutoCompleteTextView android:id=@+id/search_code android:layout_width=fill_parent

[android-developers] Making TextView Scrollable

2009-11-17 Thread Maxood
I am displaying text in a textview that appears to be too long to fit into one screen. I need to make my TextView scrollable. How can i do that? Here is the code final TextView tv = new TextView(this); //ScrollView sv; //final TextView tv; //tv =

[android-developers] Re: Displaying Text such as score in an OpenGL game

2009-11-17 Thread MrChaz
It's not that bad, you can just copy the LabelMaker and NumericSprite classes and then call them in the same way that example does in the render. At least that's all I'm doing for my little 2D effort. On Nov 17, 2:10 am, Kevin S. dada...@gmail.com wrote:    I have a the beginnings of an Open GL

[android-developers] Problem in setMargins() and textview

2009-11-17 Thread Nithin
Hi, I created a textview and also MarginlayoutParams. Then i put setMargin for the MarginLayoutParams and inserted that to textview using tv.setLayoutparams(), but its not working. The code is, MarginLayoutParams compParams = new MarginLayoutParams (MarginLayoutParams.WRAP_CONTENT,

[android-developers] media recorder error on start

2009-11-17 Thread android_dev
Hi i am trying to record video and upload to web server. i created a temp file but when i try to start recorder.start(), it gives me java.lang.RuntimeException: start failed. i tried debugging it but i am not getting it working. can someone please give me sample code to record video and save. i

Re: [android-developers] Install command to install apk in System/app

2009-11-17 Thread Moon Technolabs
Needs : 1. Created AVD Process : 1. cmd 2. Go to SDK/Tools Directory 3. emulator -avd avd name Will start in few seconds 4. Open 2nd instance of cmd 5. copy ur signed .apk file to SDK/Tools directory 6. adb install Application with .apk Its Done -- You received this message because you

[android-developers] Emulator not receiving UDP Packets

2009-11-17 Thread Gopi$h
From a remote machine we are sending some UDP packets to our Android emulator. We are able to see the UDP packets reaching the host machine, but not able to reach the emulator, In Wireshark we are getting Destination port unreachable The port we are using is:49152 and static ip at both ends Is

[android-developers] Re: Displaying Text such as score in an OpenGL game

2009-11-17 Thread Kevin S.
It's not that bad, you can just copy the LabelMaker and NumericSprite classes and then call them in the same way that example does in the render. That's good news, I'll go down that path then. Thanks for the reply! -Kevin -- You received this message because you are subscribed to the Google

[android-developers] Re: Person using Sprint Hero can't see application?

2009-11-17 Thread g1bb
That makes sense... but should the target SDK be 5 instead of 4 in order to include Android 2.0 users, too? Thanks everyone for the help and sorry for the delay in my response. On Nov 14, 8:46 pm, Alexey Volovoy avolo...@gmail.com wrote: Most of the Heros running 1.5 , although upgrade afaik is

[android-developers] Re: Positioning Elements with Various Resolutions

2009-11-17 Thread Mark Hansen
Ok, I discovered this on the Motorola site: http://developer.motorola.com/docstools/library/Support_for_Multiple_Screen_Resolutions/ What this means is that when content is scaled up to full screen, the horizontal (X*1.5) and vertical (Y*1.77) scaling factors are different. As a result, when

[android-developers] Bitmap and setPreviewCallBack

2009-11-17 Thread arnouf
Hi all, I'm trying to generate a bitmap when camera is in preview mode (setpreviewCallback). When I try to convert the current view to bitmap,the bitmap is always null. Apparently it's a problem to convert YUV format to bitmap. I found a method to convert a byte[] YUV to int[]RGB (here:

[android-developers] Re: How Do You Disable Hero's Auto-Dimming Feature

2009-11-17 Thread bklik
Just wanted to poke this issue. Has anything changed in the 2.0 SDK that will resolve this? On Oct 5, 1:12 pm, bklik brenton.k...@gmail.com wrote: Thanks Dianne, I'm using a wake lock to prevent it from sleeping anddimmingafter the default 30 seconds, and I'm using the brightness API from

[android-developers] Re: Android Market Anti-Piracy

2009-11-17 Thread Kaj Bjurman
It's incorrect to believe that hackers/crackers wouldn't care about removing the protection from a cheap products. The hackers/crackers don't care about the price of the product, they just want to get famous so they crack the most popular applications regardless of price. They don't think in

[android-developers] Re: Problem in setMargins() and textview

2009-11-17 Thread Nithin
anybody know this.. I googled alot, but cant get the exact thing.. Thanks On Nov 17, 6:45 pm, Nithin nithin.war...@gmail.com wrote: Hi, I created a textview and also MarginlayoutParams. Then i put setMargin for the MarginLayoutParams and inserted that to textview using

[android-developers] Re: Securing a paid app

2009-11-17 Thread Streets Of Boston
What would happen if someone gets a new android phone? The app's authentication will fail. You should hash/key on the user's google-account, the same key that is used by Android Market (you can download paid apps as often as you want - once you paid for them - based on your google-account) On

[android-developers] Re: fwd: get the file path from a URI instance

2009-11-17 Thread Streets Of Boston
When using openInputStream on the content-resolver, the returned input- stream is not as 'flexible' as a FileInputStream. For example, FileInputStreams can be retried if something goes wrong. The one returned by openInputStream can not. To get the fully qualified path-name to the image-file

[android-developers] Re: Securing a paid app

2009-11-17 Thread niko20
I've sure seen a lot of posts lately about piracy and protection, and really IMO I think the anxiety about this is a little too high at the moment. The fact is no matter what you do, you will have piracy. If you spend all of your time fretting about it you are never going to get anywhere. Also,

[android-developers] Re: How do I get informed whenever an application is started/created?

2009-11-17 Thread Moritzz
Well there's an intent sent, as I can see in ddms but how do I catch it? On 16 Nov., 15:15, Moritzz moritz...@googlemail.com wrote: Hey guys, I'd like to write sthg like a logger for my Android phone where I log whenever an application/activity is started respectively created. So it's not

[android-developers] Re: How do I get informed whenever an application is started/created?

2009-11-17 Thread Moritzz
Well there's an intent sent, as I can see in ddms but how do I catch it? On 16 Nov., 15:15, Moritzz moritz...@googlemail.com wrote: Hey guys, I'd like to write sthg like a logger for my Android phone where I log whenever an application/activity is started respectively created. So it's not

[android-developers] Re: Android Market Anti-Piracy

2009-11-17 Thread AlexK
Thanks for good explanation! Greatly done. first - I do not see current version of anti-piracy implementation as a peniciline for piracy cure. It will prevent piracy in 60-70% of cases. I think this is more then sufficient. Also curreny solution is mostly oriented on Android Market (AMar), and

[android-developers] Re: AutoCompleteTextView, passing the focus and Android 1.6

2009-11-17 Thread Jason
I found a workaround. You have to override the onKeyUp method in your controlling activity. Suppose you have two AutoCompleteTextViews, autoComplete1 and autoComplete2: public boolean onKeyUp (int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_ENTER) { if

[android-developers] Re: Android Market Anti-Piracy

2009-11-17 Thread AlexK
In my case was stolen application with price $1.29 - pirates copies reach 100-300 per day, sales become dead. So black list is the only way to protect my product for now. On Nov 17, 4:48 pm, Kaj Bjurman kaj.bjur...@gmail.com wrote: It's incorrect to believe that hackers/crackers wouldn't care

[android-developers] Re: Securing a paid app

2009-11-17 Thread admin.androidsl...@googlemail.com
Disagree. The problem with Android Market is that it doesn't even attempt to solve the piracy issue. I agree that 100% protection is impossible but devs right now have 0% protection. Don't believe me? Search for any popular Android app on google - you will find as many links to pirated apk's for

[android-developers] Unable to determine signal strength on Droid / Android 2.0 (onSignalStrengthsChanged deprecated)

2009-11-17 Thread Ken Adair
The typical method to obtain signal strength has been to extend the PhoneStateListener class and override the onSignalStrengthsChanged method. Anytime the signal strength changes the system will call this method passing in the new ASU. Since this method is now deprecated as of Android 2.0, how

[android-developers] Adding hidden extra data to a ListView item

2009-11-17 Thread jax
I have downloaded and parsed an XML file. The file contained and id and name. I want the name to be visible in a ListView but the id to be hidden. I am having trouble getting this working and have been experimenting with ArrayAdapters and SimpleAdapters. Below is what I have so far.

[android-developers] Re: Working with the new ContactContracts API

2009-11-17 Thread Ian
Jesus, is there any intent by Google to document Contacts usage??? This is a basic subject that has become very complicated and should be documented in the Developers's Guide on top of the obtuse API docs... On Nov 10, 3:36 pm, Jonathan Herriott herri...@gmail.com wrote: Hi Dmitri, So, if I

[android-developers] Re: Emulator not receiving UDP Packets

2009-11-17 Thread Josh Patterson
Gopish, On the host machine that runs the emulator, open a terminal window and telnet to the emulator instance: telnet localhost 5554 This will take you into the ADB emulator console. Then setup packet forwarding on the port you are sending udp packets to: redir add udp:host machine

[android-developers] Re: Extremely long DNS lookup (and failure) on T-Mobile network

2009-11-17 Thread Mark Wyszomierski
That's not good! Still hoping it's just something we're doing wrong. I tried using the connectivity manager. It reports that I have an available network etc. I tried running the route tests: ConnectivityManager cm = (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE);

[android-developers] When a phone is factory reset, market loses track of purchased apps

2009-11-17 Thread Mike
Hello, I've had several of my users email me to tell me they had to do a factory reset on their phone for some reason or other. The problem is, they had purchased apps installed and the Android market app loses track of this information when the phone is reset. My only solution to their problem

Re: [android-developers] Emulator not receiving UDP Packets

2009-11-17 Thread David Turner
the emulator only listens on 127.0.0.1 on the machine it runs on. This is intentional. If you're sending the UDP packets to your machine's real IP address (e.g. 192.168.1.1) then the emulator will not see them. you should really use something like ssh port forwarding if you want to do that kind

Re: [android-developers] Emulator not receiving UDP Packets

2009-11-17 Thread David Turner
On Tue, Nov 17, 2009 at 8:26 AM, David Turner di...@android.com wrote: the emulator only listens on 127.0.0.1 on the machine it runs on. This is intentional. to make it clear, it only listens on 127.0.0.1 after you setup any redirection (either though adb or the emulator's console) If

[android-developers] Re: When a phone is factory reset, market loses track of purchased apps

2009-11-17 Thread nEx.Software
Hmm, I have never lost track of my paid apps when resetting my phone (which I do quote often). Are you sure they are using the same email address? On Nov 17, 9:24 am, Mike michaeldouglaskra...@gmail.com wrote: Hello, I've had several of my users email me to tell me they had to do a factory

[android-developers] Re: When a phone is factory reset, market loses track of purchased apps

2009-11-17 Thread nEx.Software
can't you just correlate the user's purchased apps with their login account and bypass the phone altogether? This is exactly how the system works today. Which, of course, is why I asked if they are using the same email address... On Nov 17, 9:24 am, Mike michaeldouglaskra...@gmail.com wrote:

[android-developers] Re: Can't run or debug my app on Eclipse

2009-11-17 Thread siliconeagle
this is happening for me as well after upgrading to the API 2.0 !MESSAGE An internal error occurred during: Launching MyPodTest11. !STACK 0 java.lang.NullPointerException at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launch (Unknown Source) at

[android-developers] Re: When a phone is factory reset, market loses track of purchased apps

2009-11-17 Thread Mike
I'll ask and find out. I understand how using a different email address would cause this issue. - Mike On Nov 17, 9:31 am, nEx.Software email.nex.softw...@gmail.com wrote: Hmm, I have never lost track of my paid apps when resetting my phone (which I do quote often). Are you sure they are

[android-developers] How do I backup my application signing key?

2009-11-17 Thread skyhigh
I followed the instructions to create an application signing key and have signed my application and submitted it to the Android Market. Now I am trying to backup my key to make sure it doesn't get lost, but I can't figure out how to do this on Windows Vista. When I look in the directory where I

[android-developers] Re: When a phone is factory reset, market loses track of purchased apps

2009-11-17 Thread nEx.Software
Please let us know the outcome, as if this is not the case then we should elevate this. On Nov 17, 9:38 am, Mike michaeldouglaskra...@gmail.com wrote: I'll ask and find out.  I understand how using a different email address would cause this issue. - Mike On Nov 17, 9:31 am, nEx.Software

Re: [android-developers] How to build a project in Android sources seperately?

2009-11-17 Thread Julian Chu
checkout the android source tree, build from scratch once you want to build it $cd /where/is/the/tree $source build/envsetup.sh $export TOP=`pwd` $cd external/zlib $mm -ju1ian On Tue, Nov 17, 2009 at 6:01 AM, 3pei 333...@gmail.com wrote: for example, when i use make external/zlib/android.mk

[android-developers] Re: Viewing logs on native android

2009-11-17 Thread Lance Nanek
I've used the Logcat.apk here to view logcat on an actual device before: http://code.google.com/p/android-random/downloads/list This one sends emails: http://code.google.com/p/android-log-collector/ On Nov 16, 11:12 pm, swapnil kamble swap.kam...@gmail.com wrote: Hi Alok,             Thanks

Re: [android-developers] Re: App Not showing up on Verizon DROID Phones

2009-11-17 Thread Kumaravel Kandasami
Thanks Jose. Are you using Eris HTC phone with verizon ? Looks like it is not showing up on these phones (at-least best of my knowing, it's not see on my friends phone in Houston). Kumar_/|\_ www.saisk.com ku...@saisk.com making a profound difference with knowledge and creativity... On

[android-developers] Re: Pass Data Between Activities: HashMap of WeakReferences to Objects

2009-11-17 Thread Lance Nanek
The description makes it sound like you wouldn't pass the map at all. You just pass the key. The key is then used to retrieve the object from the map. So the map would have to be somewhere both activities could access. Like an application subclass or a static. On Nov 16, 9:21 pm, droid_does

Re: [android-developers] Re: Screen Sizes with 1.5, 1.6 and 2.0

2009-11-17 Thread Evan Ruff
Good to know. Thanks! Evan On Fri, Nov 13, 2009 at 2:15 PM, MrChaz mrchazmob...@googlemail.com wrote: It seems like the links in the reference are broken 1.6 lets you specify which screen sizes you support and what to do in each case, so you'll be ok compiling against that. I'd still

[android-developers] Re: fwd: get the file path from a URI instance

2009-11-17 Thread Abhi
Thank you so much guys. I have it working as below... Cursor cursor = getContentResolver().query(uri, null, null, null, null); cursor.moveToFirst(); int idx = cursor.getColumnIndex(MediaStore.Images.ImageColumns.DATA); String absoluteFilePath = cursor.getString(idx); FileInputStream fis = new

[android-developers] Re: Android 2.0 (eclair) source

2009-11-17 Thread Jeff Boody
[My Problem] repo init -u git://android.git.kernel.org/platform/manifest.git ... Getting manifest ... from git://android.git.kernel.org/platform/manifest.git ssh: connect to host partner.source.android.com port 22: Connection timed out fatal: The remote end hung up unexpectedly fatal: cannot

Re: [android-developers] Re: User Ratings in Apps

2009-11-17 Thread Wayne Wenthin
Having just published my app I find it very irritating that I can't see what type of phone someone has when they give me 1 star and say Force closes after I enter my name I know I'm just adding my name to the dull roar of developers that find the market very inadequate. On Tue, Nov 17, 2009 at

[android-developers] Re: Securing a paid app

2009-11-17 Thread strazzere
If your looking at it from this perspective, then maybe you shouldn't continue developing? Unless your developing a program that is SaaS where data is kept primarily on a server, your /not/ going to keep your program from being pirated. I don't agree with people who are pirating apps, but I also

[android-developers] Toast doesn't leave

2009-11-17 Thread Wayne Wenthin
I've had a user say that one of my toasts never left the screen even after exiting the app. Has anyone else had a stuck toast? -- Writing code is one of few things that teaches me I don't know everything. http://www.fuligin.com -- You received this message because you are subscribed to the

[android-developers] Re: Displaying Text such as score in an OpenGL game

2009-11-17 Thread Nightwolf
It's possible to have regular view on top of the GLSurfaceView and use TextView for text. On 17 ноя, 17:11, Kevin S. dada...@gmail.com wrote: It's not that bad, you can just copy the LabelMaker and NumericSprite classes and then call them in the same way that example does in the render.

[android-developers] Re: User Ratings in Apps

2009-11-17 Thread admin.androidsl...@googlemail.com
Like I said above people are more likely to give 1 *s or 5 *s. If they leave 1 * they are not looking for help, if they were they would have mailed you first. They are just venting their frustration and moving on to the next app. Another popular rating is 4 * - e.g. 'will give 5* once such and

[android-developers] Re: Android Market Anti-Piracy

2009-11-17 Thread strazzere
On Nov 17, 10:32 am, AlexK kucherenko.a...@gmail.com wrote: In my case was stolen application with price $1.29 - pirates copies reach 100-300 per day, sales become dead. So black list is the only way to protect my product for now. So you have had 100-300 new installs of pirated apps a day?

[android-developers] Re: When a phone is factory reset, market loses track of purchased apps

2009-11-17 Thread Mike
Well, here's something that may or may not be telling: I emailed one of the users that had this problem after a factory reset, and I got a notification back saying the email couldn't be delivered. That lends some weight to the theory that they used a different account the second time around. -

[android-developers] Re: When a phone is factory reset, market loses track of purchased apps

2009-11-17 Thread Mike
Well, here's something that may or may not be telling: I emailed one of the users that had this problem after a factory reset, and I got a notification back saying the email couldn't be delivered. That lends some weight to the theory that they used a different account the second time around. -

Re: [android-developers] Toast doesn't leave

2009-11-17 Thread Aniruddh Bajirao
I had a similar issue because of using Toast.LENGTH_LONG. Try reducing the duration. If you use the LENGTH_LONG and then the user switches to home screen immediately after the toast came up, I guess it will continue to be on the screen until it times out. Maybe you can test it with

[android-developers] DefaultUncaughtExceptionHandler - earliest opportunity to set?

2009-11-17 Thread westmeadboy
When is a safe time to set the default UncaughtExceptionHandler? In the implementation I assume its important to call through to whatever the system default is? Therefore, I assume its important to wait until the system default has been set... Then I can do something like: final

[android-developers] Re: Securing a paid app

2009-11-17 Thread admin.androidsl...@googlemail.com
No anti-piracy system is perfect. Thats why I said 100% protection was unachievable. What I am saying is we need some way to get over the hump of 0% protection. Even if we just had a shared system where we had the level of protection of apps, e.g. MyBackup and CoPilot currently have, then at

[android-developers] Re: Can't run or debug my app on Eclipse

2009-11-17 Thread siliconeagle
the problem was fixed by changing the usb device config for the phone http://groups.google.com/group/android-developers/browse_thread/thread/3515cd8721016520/6077e89d066a4bf7?lnk=raot regards rob On Nov 17, 4:37 pm, siliconeagle rrmu...@gmail.com wrote: this is happening for me as well after

[android-developers] Re: Can't run or debug my app on Eclipse

2009-11-17 Thread siliconeagle
The problem was fixed by changing the usb device config after a ubuntu upgrade http://groups.google.com/group/android-developers/browse_thread/thread/3515cd8721016520/6077e89d066a4bf7?lnk=raot On Nov 17, 4:37 pm, siliconeagle rrmu...@gmail.com wrote: this is happening for me as well after

[android-developers] Re: When a phone is factory reset, market loses track of purchased apps

2009-11-17 Thread nEx.Software
Did you try to email the user's real email or the google checkout provided email (they are temporary I believe)? You are actually getting the second purchase from these people I assume? On Nov 17, 10:15 am, Mike michaeldouglaskra...@gmail.com wrote: Well, here's something that may or may not be

[android-developers] Re: When a phone is factory reset, market loses track of purchased apps

2009-11-17 Thread strazzere
nEx is right. Your users should not be losing any access to the applications they have purchased as long as they use the same account on the phone that they purchase your application with. The application stream is actually what they have purchased the rights too. This stream includes all your

Re: [android-developers] Toast doesn't leave

2009-11-17 Thread Wayne Wenthin
I'll switch them to short and see if that works. This guy was claiming that it didn't leave until he rebooted the phone. That sounds like a bad deal to me. I rely on the toasts to give information but I may just switch it out and show it in a custom area. I've got great plans but getting

[android-developers] Re: When a phone is factory reset, market loses track of purchased apps

2009-11-17 Thread Mike
I emailed their real email address, not the google checkout email. Thanks for the responses. It makes me feel a little better that this may be a case of using different accounts. I went and looked, and out of the hundreds of people that have written me for support, only 3 had issues with a

[android-developers] Re: PhoneStateListener::onSignalStrengthChanged

2009-11-17 Thread Master_Ne0
The source code suggests this, @Override public void onSignalStrengthsChanged(SignalStrength signalStrength) { mSignalStrength = signalStrength; updateSignalStrength(); } where SignalStrength is android.telephony.SignalStrength class. Let me know if this

[android-developers] Re: Securing a paid app

2009-11-17 Thread strazzere
You know the piracy rate of MyBackup and CoPilot are probably much higher than 4:1 right? I'm not sure where your get your statistics from, but while you notice apk files are easy to fine - amoung the easier are those exact apps that you think have a good level of security. The point is they

Re: [android-developers] bluetooth service discovery

2009-11-17 Thread Sean Liao
Although I personal feel service discovery is quiet fundamental in generic bluetooth solution, it is actually not very high priority for my current products. Since we custom make the remote devices and home grown mobile applications, we feel getting data from connection is faster than going thru

Re: [android-developers] Toast doesn't leave

2009-11-17 Thread Aniruddh Bajirao
Are you able to recreate the exact problem mentioned by the user? Try to see what is happening in the logcat at that point when the toast refuses to go away. On Tue, Nov 17, 2009 at 11:26 AM, Wayne Wenthin wa...@fuligin.com wrote: I'll switch them to short and see if that works. This guy was

[android-developers] video recording issue

2009-11-17 Thread android_dev
HI, i am trying to record video and upload to web, i have given my best effort but no luck, i am not sure if it is possible with android 1.6. Please help me to figure out the solution. is it possible to do that.its really urgent -- You received this message because you are subscribed to the

[android-developers] Re: When a phone is factory reset, market loses track of purchased apps

2009-11-17 Thread nEx.Software
Cool, sounds like it's not a frequent problem, so it might be just that issue. On Nov 17, 10:30 am, Mike michaeldouglaskra...@gmail.com wrote: I emailed their real email address, not the google checkout email. Thanks for the responses.  It makes me feel a little better that this may be a case

[android-developers] Re: Securing a paid app

2009-11-17 Thread nEx.Software
By reducing the number of pirated copies, you are not necessarily increasing your paid copies. I'd rather see it go from 4:1 to 4:4 or even 4:1 to 1:4. Just saying... :) I'm going to go do some developing now. :) On Nov 17, 10:20 am, admin.androidsl...@googlemail.com

Re: [android-developers] Re: fwd: get the file path from a URI instance

2009-11-17 Thread Dianne Hackborn
On Tue, Nov 17, 2009 at 7:06 AM, Streets Of Boston flyingdutc...@gmail.comwrote: To get the fully qualified path-name to the image-file (jpg/png), query the Uri of the image and obtain the value of the DATA (_data) column. This value is a String, the fully-qualified path to the image file.

  1   2   3   >