[android-developers] Preview Events

2011-12-11 Thread Y2i
Hello everyone, Is there a place in Android to add a preview event handler, similar to GWT's

Re: [android-developers] duplicate and rename package

2011-12-11 Thread Daniele Segato
On 12/08/2011 10:57 AM, Mukesh Srivastav wrote: Pretty simple, if you use Eclipse as Development Enviorment. You just have to select the project root in the Eclipse and Rename it,Eclipse will automatically update the reference of the package. eclipse is not going to fix your package in

[android-developers] Re: Should I buy my own apps?

2011-12-11 Thread b0b
I bought my own app using a separate account than my developer account. That way I can experience exactly what users do, in particular LVL validation and updating apps. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: Should I buy my own apps?

2011-12-11 Thread Nikolay Elenkov
On Sun, Dec 11, 2011 at 3:39 PM, Peter Webb r.peter.w...@gmail.com wrote: I had always believed that not being able to download my own app was a bug. Now it looks like a much bigger bug, as it affects everybody. If you think it's a bug, report it, or request a new feature, etc.

[android-developers] Re: How can i Assign a id to view Programmatically?

2011-12-11 Thread Ali Chousein
Yazdığın kodun içinden view objelerini yaratınca, findViewById() fonksiyonunu çağırmana gerek yok. Yarattığın objelere referanslar elinde var zaten. Referansları saklayıp sonra kullanabilirsin. View objelerini XML'den tanımlasaydın, findViewById() sana aynı referansları döndürecekti.

Re: [android-developers] Re: How can i Assign a id to view Programmatically?

2011-12-11 Thread Duygu Kahraman
Selam Ali; Asıl sormak istediğim şu;mesela TextView tv=new TextView(this); diye bir view yarattım.Eğer xmlde yaratmış olsaydım id sini de orada set edip çağırabilecektim kodun içinden.Yada R dosyasında bir referans oluşturmuş olacaktı.Ama program içinde yarattığımda R içinde tvye ait birşey

[android-developers] subset of Android SDK running on an Android device-- possible?

2011-12-11 Thread CresCoJeff
Hey all, I was wondering recently if it might be possible to get some or all of the Android SDK running on an Android device, wrapped within an on- device IDE app and running via JNI... any thoughts? I know this would probably make for too huge an app for most devices, but just speaking strictly

Re: [android-developers] duplicate and rename package

2011-12-11 Thread B Lyon
FYI - Let me ditto Mark's original response (especially the crazy weirdness with it mangling some things in the manifest after the last step). When I try to use the Rename package with adt in eclipse, it's never worked yet, getting some kind of internal error. This is Windows 7. On Sun, Dec

[android-developers] Send SMS on specific application port

2011-12-11 Thread smoogli
Hi, Sending an SMS is straightforward. However, I can't find a way to send an SMS on a specific application port. 1. There is a way to send standard SMS in Android 2. There is a way to send Binary SMS in Android. 3. There is a way to send SMS to specific port, in JavaME i.e., String smsUrl =

[android-developers] Android app to send to C2DM server

2011-12-11 Thread smoogli
I bumped in C2DM which is, as far as I understand, the equivalent to iPhone Push. See http://code.google.com/android/c2dm/ It is required that there is a 3rd party server that sends messages to the C2DM server. I'm writing a server-less application. 1. Is it possible that an Android application

[android-developers] Re: Send SMS on specific application port

2011-12-11 Thread skink
smoogli wrote: Hi, Sending an SMS is straightforward. However, I can't find a way to send an SMS on a specific application port. 1. There is a way to send standard SMS in Android 2. There is a way to send Binary SMS in Android. 3. There is a way to send SMS to specific port, in JavaME

[android-developers] How to install sqllite database browser in android emulator

2011-12-11 Thread Samuel
Hi, I am developing android application using emulator I need a tool to browse the database. What kind of tool that can work with android emulator how to use it? Many thanks, Samuel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] How to install sqllite database browser in android emulator

2011-12-11 Thread Stephan Wiesner
You can just pull the database file to your computer and open it with any sqlite browser. Firefox has a nice extension. personally i usually write some dump-methods for convenience sake so that i can dump certain testdate to logcat on the device and only use a real tool if I am really stuck .-)

[android-developers] Re: Send SMS on specific application port

2011-12-11 Thread smoogli
Correcting my question: 1. There is a way to send Standard SMS in Android 2. There is a way to send Binary SMS in Android i.e., using SmsManager.sendDataMessage(...) 3. There is a way to send SMS to specific port, in JavaME i.e., String smsUrl = sms:// + to + : + 99112; Any idea on how to send

[android-developers] Re: Send SMS on specific application port

2011-12-11 Thread smoogli
Hi pskink, thanks for your answer. yes, tried SmSManager.sendData(...short destinationPort...). But what I need is a SmSManager.sendTextMessage(... short PORT...). any idea? thanks again -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] How to block other android functions?

2011-12-11 Thread satahippy
So it's possible if i modify android source? This is possible only for android 4? This is hard? -- 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

[android-developers] Re: How can i Assign a id to view Programmatically?

2011-12-11 Thread harsh chandel
you can do setid(any no) this will be your id it is used to dynamically assign id to a view or a viewgroup On Dec 11, 3:44 pm, Duygu Kahraman duygu.kahram...@gmail.com wrote: Selam Ali; Asıl sormak istediğim şu;mesela  TextView tv=new TextView(this); diye bir view yarattım.Eğer xmlde yaratmış

Re: [android-developers] How to block other android functions?

2011-12-11 Thread James Black
Look at http://source.android.com/ for all the information on how to modify it, but then you will need to distribute your own OS for this functionality to work. On Sun, Dec 11, 2011 at 11:09 AM, satahippy satahi...@gmail.com wrote: So it's possible if i modify android source? This is possible

[android-developers] Hooking my custom menu on phone log screen

2011-12-11 Thread varad
Hi, Is it possible to hook my own custom menu/screens at default system level functions. 1. On my motorola MB05 [android 2.1] has no feature at call log where I can delete logs selectively. The default functionality either allows to delete entire call log else one-by-one no multiple selection is

Re: [android-developers] How to block other android functions?

2011-12-11 Thread Kristopher Micinski
On Sun, Dec 11, 2011 at 11:09 AM, satahippy satahi...@gmail.com wrote: So it's possible if i modify android source? This is possible only for android 4? This is hard? No, it's not only possible on Android 4. Yes, it's quite hard. Even if you do it nobody will download your firmware and run

[android-developers] Re: Problems reading/writing to SQLite db on SD card.

2011-12-11 Thread MarkG123
adding NO_LOCALIZED_COLLATORS allowed me to open the database, but it was still opening it as readonly (despite me asking for read.write), it now blows up much later. Is it even possible to open non Android databases on the SD card? Am I wasting my time with this? Thanks., On Dec 10, 12:52 

Re: [android-developers] How to install sqllite database browser in android emulator

2011-12-11 Thread Narendra Singh Rathore
Hi, I am developing android application using emulator I need a tool to browse the database. What kind of tool that can work with android emulator how to use it? Many thanks, Samuel Hi Samuel, even I tried to do the same-- installing sqlite browser to emulator directly from the android

[android-developers] Re: Problems reading/writing to SQLite db on SD card.

2011-12-11 Thread skink
MarkG123 wrote: adding NO_LOCALIZED_COLLATORS allowed me to open the database, but it was still opening it as readonly (despite me asking for read.write), it now blows up much later. Is it even possible to open non Android databases on the SD card? Am I wasting my time with this?

[android-developers] Re: Problems reading/writing to SQLite db on SD card.

2011-12-11 Thread MarkG123
Yes, tried that, its stopped blowing up on when trying to access the database initially, but it was still actually a read-only database that would blow up later when I eventually tried a write operation on it. (by calling DeleteOperation() ) My code is here: http://pastebin.com/H8wbyLS1 On

RE: [android-developers] Re: How to reduce the size of image in (kb) from Camera onpreviewframe???

2011-12-11 Thread Muhammad UMER
Hi, thanks for reply, i am using this code snippet to save files on SD Card but the image size is to much e.g above 100 kb . but i want to reduce this size to 1kb, is it possible and if it is possible then what i change in my code. basically i want to combine these images and make a video

[android-developers] Json Error “org.json.JSONException: End of input at character 0 of ”

2011-12-11 Thread Duygu Kahraman
I get some information facebook api and i will parse with Json.But when run the program i am getting org.json.JSONException: End of input at character 0 of error.When i debug i see Bad Request to response. Do you have any idea? THX. Duygu Kahraman -- You received this message because you are

[android-developers] Beginning Android Games

2011-12-11 Thread bob
I was reading the book Beginning Android Games, and the author says in chapter six that the Model View Controller design is basically the same as the Observer pattern in the 1994 book Design Patterns by the Gang of Four. I don't think MVC is the same as Observer. What do you guys think? -- You

Re: [android-developers] Beginning Android Games

2011-12-11 Thread Latimerius
On Sun, Dec 11, 2011 at 8:54 PM, bob b...@coolgroups.com wrote: I was reading the book Beginning Android Games, and the author says in chapter six that the Model View Controller design is basically the same as the Observer pattern in the 1994 book Design Patterns by the Gang of Four.  I don't

Re: [android-developers] Re: Should I buy my own apps?

2011-12-11 Thread String
There ya go then. I had a notion it was in there somewhere, but I had better things to do than trawl through the various docs looking for it - which is why I suggested the OP do so. String -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Android app to send to C2DM server

2011-12-11 Thread Jacob Nordfalk
On Dec 11, 3:38 pm, smoogli roy.ben.ha...@gmail.com wrote: I bumped in C2DM which is, as far as I understand, the equivalent to iPhone Push. Seehttp://code.google.com/android/c2dm/ It is required that there is a 3rd party server that sends messages to the C2DM server. In theory: No. But

Re: [android-developers] Preview Events

2011-12-11 Thread Mark Murphy
There is no place that I am aware of to accomplish this, sorry. On Sun, Dec 11, 2011 at 3:09 AM, Y2i yur...@gmail.com wrote: Hello everyone, Is there a place in Android to add a preview event handler, similar to GWT's Event.addNativePreviewHandler?  I'd like to intercept events like key

Re: [android-developers] Hooking my custom menu on phone log screen

2011-12-11 Thread Mark Murphy
You can create your own separate CallLog client with the features you seek. Or, you can create your own custom firmware with modified versions of the standard apps. On Sun, Dec 11, 2011 at 11:28 AM, varad varad.tha...@gmail.com wrote: Hi, Is it possible to hook my own custom menu/screens at

Re: [android-developers] How to block other android functions?

2011-12-11 Thread satahippy
I have no purpose to develop most downloading app. It would be app for limited number of people. thnx for answers!) -- 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] How to block other android functions?

2011-12-11 Thread Kristopher Micinski
On Sun, Dec 11, 2011 at 6:11 PM, satahippy satahi...@gmail.com wrote: I have no purpose to develop most downloading app. It would be app for limited number of people. thnx for answers!) You can look at the details of the ActivityManager, which fires up apps and loads them off into memory

Re: [android-developers] Re: How to reduce the size of image in (kb) from Camera onpreviewframe???

2011-12-11 Thread lbendlin
what do you expect? You keep the size and ask for 100% JPEG quality. yuv_image.compressToJpeg(rect, 100, output_stream); Reduce the size, and ask for something like 25% quality. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] How to block other android functions?

2011-12-11 Thread satahippy
First, i need autorun app. And block many android functions, if you don't have permissions. -- 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

Re: [android-developers] How to block other android functions?

2011-12-11 Thread Kristopher Micinski
On Sun, Dec 11, 2011 at 6:34 PM, satahippy satahi...@gmail.com wrote: First, i need autorun app. And block many android functions, if you don't have permissions. What are functions? Are they sdk calls? You need to autorun your app, why don't you replace the home screen? Or catch the boot

Re: [android-developers] How to block other android functions?

2011-12-11 Thread Kristopher Micinski
On Sun, Dec 11, 2011 at 6:39 PM, Kristopher Micinski krismicin...@gmail.com wrote: On Sun, Dec 11, 2011 at 6:34 PM, satahippy satahi...@gmail.com wrote: First, i need autorun app. And block many android functions, if you don't have permissions. What are functions? Are they sdk calls?

Re: [android-developers] How to block other android functions?

2011-12-11 Thread satahippy
Rather, neither the first and second. This is like a test for a students on Windows. That is, they cannot minimize or close the application etc. But with permissions they can all of that. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] How to block other android functions?

2011-12-11 Thread Kristopher Micinski
On Sun, Dec 11, 2011 at 7:06 PM, satahippy satahi...@gmail.com wrote: Rather, neither the first and second. This is like a test for a students on Windows. That is, they cannot minimize or close the application etc. But with permissions they can all of that. This has nothing to do with

Re: [android-developers] How to block other android functions?

2011-12-11 Thread satahippy
Yes -- 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 more options,

[android-developers] Re: How to install sqllite database browser in android emulator

2011-12-11 Thread Samuel
Thanks guys, God bless u all. On Dec 12, 1:36 am, Narendra Singh Rathore nsr.curi...@gmail.com wrote: Hi, I am developing android application using emulator I need a tool to browse the database. What kind of tool that can work with android emulator how to use it? Many thanks,

[android-developers] MediaPlayer HTTP streaming buffering: any settings?

2011-12-11 Thread port443
Hello, I'm developing an app which plays MP3 streams over HTTP. MediaPlayer seems to suit this task great, except one thing: pre- buffering delay. It takes 2-3 minutes from setting up to actual audio being output. The stream is narrow: 16kbps; if I use wider stream, delay becomes shorter, so this

Re: [android-developers] Rendering the html file content in Webview

2011-12-11 Thread Jebarlin Robertson
Hi mark. Thanks for the valuable reply Mark, Yeah I am doing that.. but I have seen some other android applications using the same, it was good and it was updating html content without affecting the active content of the UI. I think they might have customized the web view and the progress bar.

[android-developers] need a trigger when application is installed

2011-12-11 Thread Brijesh
I want to know if there is any broadcast or other way in which we can Identify that the application is now installed. I tried intent.action_package_install and intent.action_package_added but I am not able to receive the Broadcast. Thanks, Brijesh -- You received this message because you are

[android-developers] Problem about passing intent between two activities

2011-12-11 Thread SH
Hi all. I have an app and fixing errors/bugs. But I have problem when NewPictureNote.java calls PhotoTaker.java using startActivityForResult() to take a photo and save. My code uses callback and put binary data into Intent to return to previous activity. Here is the code: //PhotoTaker.java

[android-developers] How can i read cache.WiFi and cache.cell Files for cache locations data?

2011-12-11 Thread Saurabh Patel
Hi ALL My android Device is Already root and i want to develop application like Android Location Cache and etc. which get locations from cache.wifi and cache.cell. So how can i read this files from Android device. i have root access on my android device. Thanks And BR Saurabh Patel -- You

[android-developers] KeyDispatching ANR

2011-12-11 Thread Aki
I am getting a crash with this in the stacktrace : 12-09 10:26:19.761: ERROR/InputDispatcher(124): Key Dispatching ANR, currentTime=3061115876319 12-09 10:26:19.761: ERROR/InputDispatcher(124): ANR Window: Window{4083cbb8 com.aki.something/com.aki.something.activity.ListingsActivity

Re: [android-developers] need a trigger when application is installed

2011-12-11 Thread TreKing
On Sun, Dec 11, 2011 at 10:47 PM, Brijesh masrani.brij...@gmail.com wrote: I want to know if there is any broadcast or other way in which we can Identify that the application is now installed. If you're talking about starting your own application when it is installed, you can't - the user has

[android-developers] Re: Andrlid ListView focus mess up with two focusable items in each row

2011-12-11 Thread yanguoc...@gmail.com
Thanks for the tip. But since the new data is coming back from server, I need to update the UI instead of just updating some of the data set, since now the data in the listview is more when some new data is coming back from server. On Dec 9, 6:45 pm, Kostya Vasilyev kmans...@gmail.com wrote: You

[android-developers] Browser Plugin development requires valid signature

2011-12-11 Thread Miles
Hi, If I develop a plugin for the DEFAULT Android web browser, do I need to have it signed with a proper signature? Currently I've heard that only the Adobe FLASH package signature is supported by the browser. Indeed I cannot load my test plugin in an actual 2.3 device, but I am able to load it

Re: [android-developers] Json Error “org.json.JSONException: End of input at character 0 of ”

2011-12-11 Thread Ratheesh Valamchuzhy
paste the error log.. -- 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

[android-developers] Re: need a trigger when application is installed

2011-12-11 Thread Brijesh
Yes I want to start my application when it is installed. Is there any way that any other application can monitor for this and once it get the trigger it can start the service. On Dec 12, 9:59 am, TreKing treking...@gmail.com wrote: On Sun, Dec 11, 2011 at 10:47 PM, Brijesh

[android-developers] Re: need a trigger when application is installed

2011-12-11 Thread Zsolt Vasvari
No. This is so spammy/virues apps cannot run without the user's explicit instructions. On Dec 12, 2:24 pm, Brijesh masrani.brij...@gmail.com wrote: Yes I want to start my application when it is installed. Is there any way that any other application can monitor for this and once it get the

Re: [android-developers] Preview Events

2011-12-11 Thread Y2i
Thanks for your response Mark! Your answer saddened me :( -- 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: Eclipse and the ADT 15.0.1 Install

2011-12-11 Thread Mitul Patel
I would say that you could tryout with Eclipse Galileo. I have one uploaded file. You could check at http://hotfile.com/dl/135169076/1b6608a/android_eclipse.rar.html It contain the Eclipse Galileo with ADT Plugin Install. Just you have to get Eclipse Galileo and get install the Android SDK

[android-developers] Re: need a trigger when application is installed

2011-12-11 Thread Brijesh
This is nothing spammy/virues in this Problem. Anyway we can start the application on BOOT_COMPLETE so i want to start it when installation completes. On Dec 12, 11:32 am, Zsolt Vasvari zvasv...@gmail.com wrote: No.  This is so spammy/virues apps cannot run without the user's explicit

[android-developers] Re: need a trigger when application is installed

2011-12-11 Thread Brijesh
Hi, Any one tried android.intent.action.PACKAGE_ADDED intent ? can it receive information about other application. i.e Application A can monitor when application B is re-installed? I tried but i didn't find any solution. On Dec 12, 11:32 am, Zsolt Vasvari zvasv...@gmail.com wrote: No.  This is