[android-developers] Properties Elements Layout

2012-09-08 Thread fala70
I installed new adt plugin 20.0.3 int layout designer are changed much things. The properties panel is nicer but also much limited.. If I want set an height fixed layout property for a view, I can't it permit only to select fill_parent, match_parent, wrap_parent. I discovered that I can

[android-developers] ListView item into ListView

2012-01-30 Thread fala70
hi guys, I've a problem that I can't solve... I've a custom Listivew with a view inflacted. The item view inflacted contain a couple of textview and an other custom listview. My problem is that the listview item is not expanded correctly, I can see only the first item also if it has the Layout

[android-developers] Re: ListView item into ListView

2012-01-30 Thread fala70
then ? what is the best solution to use a list variable items into an item listview ? On 30 Gen, 18:01, TreKing treking...@gmail.com wrote: On Mon, Jan 30, 2012 at 10:25 AM, fala70 fal...@gmail.com wrote: Any Idea ? Don't use ListViews within ListViews. That doesn't really make sense. Also

[android-developers] Animation + Touch + Rotate bitmap

2011-08-18 Thread fala70
Hi, I need to make an animation to rotate a bitmap, using touch. The user can do only the rotation of bitmap, when the touch is pressed and moved the bitmap image go rotate animation, follow the finger. How can I do it ? thanks -- You received this message because you are subscribed to the

[android-developers] Emulator problem

2011-03-24 Thread fala70
Hi guys, I am going crazy with emulator, after the run it go freeze. I tried several AVD device but nothing I tried to run from eclipse and directly, but I still the problem. On console is showed : Waiting for home. I 've alredy tried to remove and install last version sdk and adt

[android-developers] ListView and CursorAdapter

2010-12-28 Thread fala70
I've a problem to populate a listview from a cursor filled from db. I can't understand why, newView and bindView are not called. The stupid things is that I've already done this thing other times but now doesn't work, and I can't undestand where is the problem. this is my code: _curAround is

[android-developers] Re: layout editor in 2.3 SDK sucks! Sorry but it does.

2010-12-27 Thread fala70
I hope soon, this version is very unusable. On 13 Dic, 09:03, Xavier Ducrohet x...@android.com wrote: there's no doc at the moment as it's very much a work in progress. That first version is quite rough, I'll admit (but has a few more features than the previous one). We're hoping to release

[android-developers] Re: Surface and Format

2009-12-29 Thread fala70
is there somebody can answer me ? how can I do to show an image YCbCr_420_SP directly on surfaceview ? On 27 Dic, 17:50, fala70 fal...@gmail.com wrote: Looking the doc with class SurfaceHolder is possibile set the kind of surface format. I need to show images YCbCr_420_SP format. If I set

[android-developers] draw bitmap fastest mode

2009-12-25 Thread fala70
What 's the fastest way to display a bitmap? Now I am using Bitmap.setPixels and ImageView.setImageBitmap all time that this change. It has a refresh of 15 fps. It work good, but I am not sure that is the best method to get best performance. Is better use Canvas.drawBitmap with a SurfaceView ? or

[android-developers] SPB TV

2009-12-20 Thread fala70
Interesting application. Somebody know how they do to decoder video ? it seem a realtime the they don't use a file system streaming. -- 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] DatagramSocket and Receive

2009-12-08 Thread fala70
I am working with UDP and DatagramSocket. I verified that the Receive function clear all data more of setLength of DatagramPacket. My packets have a variable len. I use first two bytes to understand the len packet. public void run() { byte []buff = new byte[1024]; } private int

[android-developers] DatagramSocket and Receive

2009-12-08 Thread fala70
I am working with UDP and DatagramSocket. I verified that the Receive function clear all data more of setLength of DatagramPacket. My packets have a variable len. I use first two bytes to understand the len packet. This is my code: public void run() { byte []buff = new byte[1024];

[android-developers] Activity and Interface

2009-11-19 Thread fala70
I've a problem to solve about pass reference between objects Activity. Suppose follow situation with 3 class and 1 interface: I don't know how pass the reference of MyEvents (_engine) to ActivityB from ActivityA::StartActivityB() public interface MyEvents { public abstract void

[android-developers] Re: android record video(3gp) to remote server

2009-10-19 Thread fala70
Can you explain better your problem ? Can you receive data side server ? On 19 Ott, 05:36, zongan liu liuzongan1...@gmail.com wrote: After several days of agonizing, ultimately did not solve the problem, is hereby published issue and hoping to get friends to help. Requirements: The android

[android-developers] MediaPlayer and Amr

2009-10-10 Thread fala70
I used MediaPlayer for play an amr file and it work good. Now I'd like to play an amr stream progressive. I must use a my socket connection to get audio stream (no rtp no http but a private protocol). Can I play a buffer amr using ParcelFileDescriptor.fromSocket(_sc); ? I read the doc about

[android-developers] Re: Streaming encoded video via RTP

2009-09-27 Thread fala70
Hi Robin, I've same your problems. If you find a solution to how work using opencore from native or java, please post. On 7 Ago, 13:40, Robin Marx marx.ro...@gmail.com wrote: First of all, we have no idea whatsoever on how to access the opencore functionality from our native code (or from

[android-developers] OpenCore

2009-09-27 Thread fala70
Anybody know if is possible use directly OpenCore from java or native with NDK ? thanks --~--~-~--~~~---~--~~ 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: VideoRecorder and VideoPlayer

2009-09-25 Thread fala70
Yes sorry Marco, I want mean MediaRecorder and MediaPlayer. Then I think that the only solution is try to make a porting of ffmpeg libavcodec using ndk. Other suggestion ? On 25 Set, 02:21, Marco Nelissen marc...@android.com wrote: VideoRecorder and VideoPlayer don't exist in the Android SDK.

[android-developers] VideoRecorder and VideoPlayer

2009-09-24 Thread fala70
Hi, I need to understand if the classes VideoRecorder and VideoPlayer, can work without files but using directly the frames audio and video.. I need to encode and decode frame h263 and amr without use any file containare. It is possible, I didn't see nothing about that. thanks.

[android-developers] Re: Get Device Name

2009-08-01 Thread fala70
Is there somebody that know I get infos about the device name Magice, Dream... and the OS version ? thanks On 31 Lug, 18:20, fala70 fal...@gmail.com wrote: Is possible get the device name thanks --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Get Device Name

2009-07-31 Thread fala70
Is possible get the device name thanks --~--~-~--~~~---~--~~ 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

[android-developers] WEBVIEW UTF AND NO LATIN CHARS

2009-06-10 Thread fala70
I am having problems to show on WebView a page with no chars lating with UTF-8 enconding I am using this code: String ss = new String(_byString, UTF-8); sUrl = http://www.google.com/search?q=+ss +ie=UTF-8oe=UTF-8; WebView

[android-developers] Activity Half Refresh

2009-06-07 Thread fala70
I've an oddd problem... I've an activity with a button. On click event I call a pick image, like this: Uri target = android.provider.MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI; Intent intent = new Intent(Intent.ACTION_PICK, target); startActivityForResult(intent,

[android-developers] Resume my activity from thread

2009-05-30 Thread fala70
I've an activity with a Runnable thread into. From a button command I call the camera external application. Into my thread there is a check for news picture file is created. Now I need to resume my activity from my run func. I tried to recall startActivity of my own but doesn't work. The other

[android-developers] Re: Resume my activity from thread

2009-05-30 Thread fala70
...@commonsware.com wrote: fala70 wrote: I've an activity with a Runnable thread into. From a button command I call the camera external application. Into my thread there is a check for news picture file is created. Now I need to resume my activity from my run func. I tried to recall

[android-developers] Re: 'Take a picture' intent on 1.5

2009-05-17 Thread fala70
did you solve ? I've same problem On 5 Mag, 00:24, BoD bodl...@gmail.com wrote: Anyone? Thanks for your help! BoD On May 4, 12:46 am, BoD bodl...@gmail.com wrote: Hi! Following this old thread:http://groups.google.com/group/android-developers/browse_thread/threa... and this

[android-developers] Re: Multiple ProximityAlert problem

2009-01-24 Thread fala70
Me too I am having a few problems with proximityalerts. That is my loop for add the locations. for (..){ Intent proxIntent = new Intent(my package.action.PROXIMITY_ALERT); mProximityPending[i] = PendingIntent.getBroadcast(this, i, proxIntent, PendingIntent.FLAG_CANCEL_CURREN);

[android-developers] Re: AlertDialog lose on change rotation

2009-01-21 Thread fala70
() and onCreateDialog() in the Activity class. On Sun, Jan 18, 2009 at 7:13 AM, fala70 fal...@gmail.com wrote: I've an application with a MapActivity used how main activity. I inserted an AlertDialog to show and edit a few infos. When I change from portrait to landscape for open the keyboard, my

[android-developers] AlertDialog lose on change rotation

2009-01-18 Thread fala70
I've an application with a MapActivity used how main activity. I inserted an AlertDialog to show and edit a few infos. When I change from portrait to landscape for open the keyboard, my AlertDialog is detroied without replaced, then I must recall the command menu for show again my AlertDialog.

[android-developers] onTouchEvent in MapActivity

2009-01-17 Thread fala70
I am trying to catch onTouchEvent on MapActivity. I overwritten the method but it isn't never fired. Why ?. I need to find the location lat. and long. for show add new marker when the user tap on map. public boolean onTouchEvent(MotionEvent event){ super.onTouchEvent(event);

[android-developers] Inject key event for call camera app

2009-01-09 Thread fala70
Hi guys, Somebody know how can I call the camera capture application from my application ? I tried to use inject key event without success using KEY CAMERA BUTTON. If the user push key camera button from any applications, the camera capture application work. Is there a mode to call camera

[android-developers] Thumbnails

2008-12-12 Thread fala70
Somebody know how use android.provider.MediaStore.Images.Thumbnails ? I want to make a grid photo using thumbnails created automatically with camera app. Stefano --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Allocation too large for this process

2008-12-11 Thread fala70
my application open in sequence 3 activities, on last I've this situation heap: ID Heap Size Allocated Free Used Objs. 1 2,945 MB1,936 MB1,009 MB65,75% 38.365 at any case I've a problem that I can't solve againg after much time that I am on. I

[android-developers] Re: Allocation too large for this process

2008-12-11 Thread fala70
display it? Look at the longer form of BitmapFactory.decodeByteArray. The BitmapFactory.Options argument has parameters for down sampling the image on load. Cheers, Justin Android Team @ Google On Dec 11, 10:10 am, fala70 fal...@gmail.com wrote: my application open in sequence 3

[android-developers] Re: Allocation too large for this process

2008-12-11 Thread fala70
do you know how can I save on file a jpg format after decoded and resized the bitmap ? -Stefano --~--~-~--~~~---~--~~ 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: Allocation too large for this process

2008-12-10 Thread fala70
I 've a similar problem. I am going crazy from several days Is impossible to show images from internal or external memory captured from camera. Also I tried to read a file jpg of 700KB and use BitmapFactory.decodeByteArray to get the bitmap, but I receive that exeption: 12-11 00:50:27.819:

[android-developers] Show images from internal and external content

2008-12-08 Thread fala70
Hi, I am going crazy to show a few images from Media.INTERNAL_CONTENT_URI or Media.EXTERNAL_CONTENT_URI. I need to show a few images from Internal or External memory, using an Activity similar to ImageSwitcher1.java from ApiDemo. I know if the image is on Internal or External memory and I know

[android-developers] Re: No audio picker activity?

2008-12-02 Thread fala70
Somebody know how get the image file uri ? Intent intent = new Intent(android.media.action.IMAGE_CAPTURE); startActivityForResult(intent, GET_IMAGE_FROM_CAMERA); from onActivityResult it doesn't return uri. How can I do to get uri from this kind of intent ? thanks On 1 Nov, 19:04, Guillaume

[android-developers] Image capture

2008-12-02 Thread fala70
Using : Intent intent = new Intent(android.media.action.IMAGE_CAPTURE); startActivityForResult(intent, GET_IMAGE_FROM_CAMERA); is possibile to run the camera capture application, but I didn't understand how get the image file info or data on onActivityResult. somebody know how do it ? thanks

[android-developers] addProximityAlert !!!

2008-11-30 Thread fala70
Hi, I am trying to use addProximityAlert from LocationManager class, but it doesn't work. Simply I've two class: .Test class is the Activity. It has a view with a button. On click of this button is called the addProximityAlert. MyBroadcastReceiver class is used to show a Toast message when the

[android-developers] HttpClient and POST requests

2008-11-22 Thread fala70
Hi, I've a problem to translate follow code to org.apache.http.*; OutputStream pos = new OutputStream(); pos.writeShort(Const.INVOCATION_CODE); pos.writeInt(requestId); pos.writeString(nickname); pos.writeString(password);