[android-developers] Re: upload image to php server problem

2010-08-30 Thread CMF
on to get > the true path to your upload folder : > > $target_path  = realpath("uploads/"); > ... > > Yahel > > On 27 août, 17:42, CMF wrote: > > > Hi all, i have read through the internet and get some solutions on > > upload image to php server, but w

[android-developers] Re: upload image to php server problem

2010-08-30 Thread CMF
get > the true path to your upload folder : > > $target_path  = realpath("uploads/"); > ... > > Yahel > > On 27 août, 17:42, CMF wrote: > > > Hi all, i have read through the internet and get some solutions on > > upload image to php server, but w

[android-developers] upload image to php server problem

2010-08-27 Thread CMF
Hi all, i have read through the internet and get some solutions on upload image to php server, but when i tried to use those codes, I cannot get the image uploaded to the server. Could anyone can help me to fix it? Android Code: i have added "" package com.test.upload; import java.io.DataInputS

[android-developers] Layout Problem in different screen size

2010-08-20 Thread CMF
I have a linearlayout below, i want something similar to android:layout_width="30%" does anyone know that? -- 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@googlegro

[android-developers] Re: How to make this layout in programming?

2010-08-20 Thread CMF
Thanks, it works! On Aug 17, 6:45 pm, Kostya Vasilyev wrote: >   Take a look at LayoutInflater: > > http://developer.android.com/reference/android/view/LayoutInflater.html > > It might be easier than building all these views from code, but still > you can inject the inflated view hierarchy into a

[android-developers] How to make this layout in programming?

2010-08-17 Thread CMF
I have a layout xml . I would like to do that in java programming. Can anybody help me? http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/rl"> -- You received this message because

[android-developers] Re: Anyone has expereiences in developing an audio visualizer?!

2010-08-03 Thread CMF
what do you mean by RAW data? On Jul 21, 7:17 pm, mac-systems wrote: > U just need the RAW data. > > On 12 Jul., 08:56,CMF wrote: > > > Seems that there is no API in doing theaudiovisualizer? -- You received this message because you are subscribed to the Google Groups &

[android-developers] Re: ListView/Scrollview inside Gallery ?

2010-08-01 Thread CMF
Anyone knows? On Jul 30, 12:09 pm, CMF wrote: > Hi, > > just a question about a listview/scrollview inside a Gallery view : > > If I put a listview or a scrollview inside one of a gallery's view, is > there a way to arrange it so that touch up/down scrolls the list and >

[android-developers] Re: SDK Manager: failed to install

2010-08-01 Thread CMF
you may try "unlocker" search it on google and the use it to unlock the folder then you will be able to update it:) On Jul 31, 2:54 am, Antonello wrote: > Hi, all. > > I'm trying to update my SDK but every time I get this same warning > dialog: > > -= Waning! =- > A folder failed to be renaimed o

[android-developers] Re: Retrieving XML Document from web service

2010-08-01 Thread CMF
I dont know if it is suitable for your case, but I can retrieve the xml document for the web with the following method URL mURL= new URL("http://X/a.xml";); http = (HttpURLConnection) mURL.openConnection(); int nRC = http.getResponseCode(); if (nRC == HttpURLConnection.HTTP_OK) { Docum

[android-developers] ListView/Scrollview inside Gallery ?

2010-07-29 Thread CMF
Hi, just a question about a listview/scrollview inside a Gallery view : If I put a listview or a scrollview inside one of a gallery's view, is there a way to arrange it so that touch up/down scrolls the list and touch left/right scrolls the gallery? Thank you very much. -- You received this me

[android-developers] Load lots of Image from Internet and get Out-Of-Memory

2010-07-29 Thread CMF
public Bitmap DecodeFile(String Url) { try { URL aURL = new URL(Url); URLConnection conn = aURL.openConnection(); conn.connect(); InputStream is = conn.getInputStream();

[android-developers] Load lots of Image from Internet and get Out-Of-Memory

2010-07-29 Thread CMF
public Bitmap DecodeFile(String Url) { try { URL aURL = new URL(Url); URLConnection conn = aURL.openConnection(); conn.connect(); InputStream is = conn.getInputStream();

[android-developers] how centralize view in absolutelayout

2010-07-20 Thread CMF
i want to centralize the textview in the absolutelayout. but there is not setgravity in absolutelayout is there anyone know how to do that? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

[android-developers] Iphone like Music Cover

2010-07-19 Thread CMF
http://iphonenews.desinformado.com/wp-content/uploads/2007/12/iphone-music.jpg iphone has a aweful music cover app. I want to implement one on the Android OS. is there any one know how to do that? -- You received this message because you are subscribed to the Google Groups "Android Developers" gr

[android-developers] Re: horizontal scrolling in GridView control

2010-07-16 Thread CMF
i have the same question, anybody know the answer? On Jun 23, 3:39 am, dharmveer wrote: > Hi, > > Instead of the currently implemented vertical scrolling in > theGridViewcontrol, I want to scroll horizontally. So, I want to be able > to move left and right by swiping left/right so the contents s

[android-developers] Re: Iphone like album cover

2010-07-13 Thread CMF
any one has such experience? On Jul 8, 5:03 pm, CMF wrote: > anyone has experience on developing iphone like album cover with a set > of images? > or there is already an api in android? -- You received this message because you are subscribed to the Google Groups "Android Develop

[android-developers] Anyone has expereiences in developing an audio visualizer?!

2010-07-11 Thread CMF
Seems that there is no API in doing the audio visualizer? -- 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-develop

[android-developers] Iphone like album cover

2010-07-08 Thread CMF
anyone has experience on developing iphone like album cover with a set of images? or there is already an api in android? -- 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.co

[android-developers] Repeat the Image View

2010-07-07 Thread CMF
http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > the layout will display the img on the left top of the screen. I would like the imageview display repeatly so that It can occupy

[android-developers] How to make the image scrolling smoothly and repeatly

2010-07-07 Thread CMF
hi~ do anyone know how to make the image scroll smoothly, and after it reach the edge of the image, the image can be scrolled further by repeating itself? -- 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] disable the screen time out even restart the android

2010-07-05 Thread CMF
hi, is there any method to disable the screen time out even restart the android? -- 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 e

[android-developers] open other apk from my activity

2010-07-03 Thread CMF
HI, I want to open other apk from my activity. is there any way similar to new Intent(...)? -- 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 gr

[android-developers] Re: Disable the screen lock when the Android OS startup

2010-07-02 Thread CMF
Um, I am not sure whether the question is related to porting Android OS into an embedded systems. I think there is a way to disable the screen lock when developing the app... On Jul 2, 5:24 pm, Mark Murphy wrote: > On Fri, Jul 2, 2010 at 5:02 AM, CMF wrote: > > I want to make my app

[android-developers] Disable the screen lock when the Android OS startup

2010-07-02 Thread CMF
HI all, I want to make my app launched when the Android OS startup. I can make it, but when the Android OS startup, the screen lock is launched, how can I remove the screen lock launch so that I can get into my app directly? I am doing this in my embedded system.Thanks -- You received this messag

[android-developers] how to open an App when the Android OS start up

2010-06-14 Thread CMF
hi all, is there any one know how to open an App when the Android OS start up, I have to do it in an embedded system? -- 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 T

[android-developers] how to open an App what then Android OS start up?

2010-06-14 Thread CMF
hi all, is there any one know how to open an App what then Android OS start up, I have to do it in an embedded system? -- 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

[android-developers] Re: Translucent theme turns black when using startActivityForResult

2010-05-04 Thread CMF
Anyone has idea about it? On May 3, 5:08 pm, CMF wrote: > Hi all, I have two activities, A and B > A is a background activity and B is a translucent Open GL activity > I can see the background when using startActivity() , however when I > use startActivityForResult, the transparen

[android-developers] Translucent theme turns black when using startActivityForResult

2010-05-03 Thread CMF
Hi all, I have two activities, A and B A is a background activity and B is a translucent Open GL activity I can see the background when using startActivity() , however when I use startActivityForResult, the transparency lost, and the background turns black in color is it a bug for the android? Or s

[android-developers] Re: How to close all activities in a app

2010-05-03 Thread CMF
; 'transparent+black'.  Alternatively, if you don't find any solutions, > just post another question relating to the new issue. > > Cheers > > James > > On May 3, 9:27 am, CMF wrote: > > > > > I did try "startActivityForResult" > > howe

[android-developers] Re: How to close all activities in a app

2010-05-03 Thread CMF
(that is providing that B was started with > startActivityForResult()) which can check for your user defined result > value and then call finish() itself. > > On May 3, 8:42 am, CMF wrote: > > > > > however it just close activity B:( > > > On May 3, 12:56 pm, Sa

[android-developers] Re: How to close all activities in a app

2010-05-03 Thread CMF
however it just close activity B:( On May 3, 12:56 pm, Saurav wrote: > well there is a function called .finish() > > this wud suffice ur needs i guess. > > hope this helps. > > Regards, > Saurav Mukherjee. > > On Mon, May 3, 2010 at 8:52 AM, CMF wrote: > > I

[android-developers] How to close all activities in a app

2010-05-02 Thread CMF
I have two activities,A ,B A will start activity B When I press "back"button in B, I want to close A also But how can I close A here? -- 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@go

[android-developers] Open Browser with full screen

2010-04-30 Thread CMF
String url = "http://xx";; Intent i = new Intent(Intent.ACTION_VIEW); i.setData(Uri.parse(url)); startActivity(i); I want this activity ( browser) to be opened with full screen, is it possible? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Adding static background to kube

2010-04-28 Thread CMF
know how to set the projection to orthographic or create > a quad or set texture coordinates, etc, consider getting the red or > blue book on OpenGL.  It's an excellent investment for your first GL > project. > > On Apr 28, 2:32 am, String wrote: > > > > > On Apr 26,

[android-developers] Re: Adding static background to kube

2010-04-27 Thread CMF
is there anyone know? On Apr 26, 2:24 pm, CMF wrote: > Hi all, I would like to ask how to add a static background to the kube > from the ApiDemo > I have created a sqaure behind the Kube, but it will rotate as the > kube does > How to make the background static? > > -

[android-developers] Adding static background to kube

2010-04-25 Thread CMF
Hi all, I would like to ask how to add a static background to the kube from the ApiDemo I have created a sqaure behind the Kube, but it will rotate as the kube does How to make the background static? -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Magic Cube from the Sample Kube

2010-03-29 Thread CMF
Is there any one has an experience on converting the code from the sample-kube to a magic cube? How to detect the position I click is the "small cube" object and so I can rotate the layer according to my movement? -- You received this message because you are subscribed to the Google Groups "Andro

[android-developers] Re: Stopped unexpectedly on a real phone but not on the simulator

2010-03-08 Thread CMF
Hi, my app didn't die on the simulator, it works fine. But it crashed on a real mobile phone. On Mar 9, 12:06 am, spachner wrote: > Hi, > > the stack trace is the last output in logcat before the app dies. Use > "adb -d logcat" or in the Eclipse the Logcat output to look at the > traces. > > rega

[android-developers] Re: Stopped unexpectedly on a real phone but not on the simulator

2010-03-08 Thread CMF
Do you mean the log on the simulator? Or the real one? if it is the real one, how to keep track of the stack trace of the log? On Mar 8, 6:05 pm, Robert Green wrote: > Posting a stack trace from your log would be extremely helpful: ) > > On Mar 8, 1:19 am, CMF wrote: > > >

[android-developers] Stopped unexpectedly on a real phone but not on the simulator

2010-03-07 Thread CMF
Hi all, I have an MapView app downloaded from internet, when I tested it on the simulator, everything is fine, but when I installed it on my phone, the app stopped unexpectedly. Here is the code public class CurrentLocationWithMap extends MapActivity { MapView map; MapController ctrlMap;

[android-developers] How to draw a particular part of a view

2010-03-04 Thread CMF
Let consider this is my tile view (which is a bitmap): 0 0 0 0 0 0 0 0 0 First, I have change the view to 1 0 0 0 0 0 0 0 0 Second, I would like to change the middle one, and I expect the result is 1 0 0 0 1 0 0 0 0 However, the view give the result: 0 0 0 0 1 0 0 0 0 Is there any method that

[android-developers] Re: How to do animation when click on a bitmap

2010-02-25 Thread CMF
all animationDrawable.start() > > Hope this helps... > > Nithin > > On Feb 25, 9:34 am,CMF wrote: > > > I have bitmap displayed on the top of the screen when the app is > > started up. > > When clicking on the bitmap, the image should move to the bottom of >

[android-developers] Pause Within a loop

2010-02-25 Thread CMF
I have a loop which draw a bitmap for(int i=0;i<10;i++){ //here I draw a bitmap which will move to right a little bit in each loop //I want a pause here so that an animation can be made } -- You received this message because you are subscribed to the Google Groups "Android Developers" gro

[android-developers] How to do animation when click on a bitmap

2010-02-24 Thread CMF
I have bitmap displayed on the top of the screen when the app is started up. When clicking on the bitmap, the image should move to the bottom of the screen. I have read the AnimateDrawables from ApiDemos, but the animation is done on a Drawable Object. If it can use on bitmap, it will be great! H

[android-developers] How to do animation when click on a bitmap

2010-02-24 Thread CMF
I have bitmap displayed on the top of the screen when the app is started up. When clicking on the bitmap, the image should move to the bottom of the screen. Here is my code public class HelloAndroid extends Activity { /** Called when the activity is first created. */ @Override public voi

[android-developers] Re: About XML parising

2010-02-23 Thread CMF
event for attributes. You get attributes when > you process the START_TAG event. > > See the XmlPullParser.getAttributeCount() method,  and the > XmlPullParser.getAttributeXXX(int), family of methods. > > On Feb 19, 9:43 am,CMF wrote: > > > Um, lets make my question more explicitly here. > >

[android-developers] No sound when press too much

2010-02-22 Thread CMF
Hi all, I have a button that will trigger a sound when pressed however, when I press the button many times in a short while there will be no sound emitted. How can it emit sound even I press many times on a button? I create the sound effect by MediaPlayer.create(mcontext, R.raw.mysound); -- You r

[android-developers] Display a picture for few seconds before running into the main stream

2010-02-22 Thread CMF
Hi all, I would like to display a picture for 2secons before running into the main stream of the program public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.startupImage);//startupImage contains a ImageView //here I want to

[android-developers] Re: Add Self-Define view into layout

2010-02-21 Thread CMF
I got it works however, when I change the "LinearLayout" to "RelativeLayout" the Self view cover the textview, how can I set the selfview at the bottom of the textview? On Feb 22, 1:30 am, Mark Murphy wrote: > CMF wrote: > > I have a self-define view class, I wou

[android-developers] Add Self-Define view into layout

2010-02-21 Thread CMF
I have a self-define view class, I would like to add this view into the layout , but there is a problem 02-21 17:23:07.843: ERROR/AndroidRuntime(1253): Uncaught handler: thread main exiting due to uncaught exception 02-21 17:23:07.853: ERROR/AndroidRuntime(1253): java.lang.RuntimeException: Unable

[android-developers] Re: About XML parising

2010-02-19 Thread CMF
R.xml.string; > > Then have your parser parse that string, myXml. > > On Fri, Feb 19, 2010 at 8:01 AM, CMF wrote: > > Here is my code using XmlPullParser . > > strings.xml just included "Hello world" > > when I read the log. Some String characters are

[android-developers] Re: About XML parising

2010-02-19 Thread CMF
quot;,"Text "+xpp.getText()); } eventType = xpp.next(); } On Feb 19, 10:50 pm, Mark Murphy wrote: > CMF wrote: > > I have my code here > > > Document dom; > > DocumentBuilderFactory dbf = DocumentBuilderFactory.new

[android-developers] Re: About XML parising

2010-02-19 Thread CMF
Log.d("testing","Text "+xpp.getText()); } eventType = xpp.next(); } On Feb 19, 10:50 pm, Mark Murphy wrote: > CMF wrote: > > I have my code here > > > Document dom; > > DocumentBuilderFactory dbf = DocumentBuilderF

[android-developers] Re: About XML parising

2010-02-19 Thread CMF
Could you mind to explain it more detail? THanks On Feb 19, 10:50 pm, Mark Murphy wrote: > CMF wrote: > > I have my code here > > > Document dom; > > DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); > > try > >        

[android-developers] About XML parising

2010-02-19 Thread CMF
I have my code here Document dom; DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); try { DocumentBuilder db = dbf.newDocumentBuilder(); dom = db.parse("strings.xml"); // here I don't know the path of strings.

[android-developers] how to do handshaking with window throught TCP/IP?

2010-02-16 Thread CMF
Hi guys, I would like to write a program on Android to get the coordinates of the mouse pointer on Windows through WIFI, is there any example or tutorial showing how to do that? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] Re: How to get all the nodes content from strings.xml

2010-02-14 Thread CMF
How to do it at build time? On Feb 13, 12:52 am, Frank Weiss wrote: > A fairly straight forward way do it at build time with xslt. Chances are the > strings.xml is not available at run time. > > On Feb 12, 2010 8:23 AM, "CMF" wrote: > > Hi all, I would like to write

[android-developers] How to get all the nodes content from strings.xml

2010-02-12 Thread CMF
Hi all, I would like to write a program to parse the nodes of strings.xml and then get the content and attribute"name". Can anyone has experience on it? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to an

[android-developers] Add TextView in a self-defined View class

2010-02-10 Thread CMF
Hi all~ I have a self-defined view class . public class PictureView extends View{ public PictureView(Context context){ super(context); } protected void onDraw(Canvas canvas) { super.onDraw(canvas); //in here, I would like to draw a bitmap

[android-developers] Working with Strings.xml

2010-02-08 Thread CMF
Hi guys~:) I would like to parse the strings.xml Here is my code: Line1: DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); Line2: DocumentBuilder builder = factory.newDocumentBuilder(); Line3: Document dom = builder.parse(new File("//myproject//res// values//strings.xml")); Li

[android-developers] How to display an image on the Overlay of the Google Map

2010-02-08 Thread CMF
Hi guys, I am new to Android, I just followed the tutorial on this webpage, http://developer.android.com/resources/tutorials/views/hello-mapview.html, and got success to display the message OverlayItem overlayitem = new OverlayItem(point, "Hola, Mundo!", "I'm in Mexico City!"); But now, I want to

[Zope-CMF] CMF Tests: 7 OK, 2 Failed

2007-02-18 Thread CMF Tests Summarizer
Summary of messages to the cmf-tests list. Period Sat Feb 17 12:00:00 2007 UTC to Sun Feb 18 12:00:00 2007 UTC. There were 9 messages: 9 from CMF Unit Tests. Test failures - Subject: FAILED (failures=1) : CMF-1.5 Zope-2.7 Python-2.3.6 : Linux From: CMF Unit Tests Date: Sat Feb 17 21