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

2010-08-30 Thread CMF
to get the true path to your upload folder : ?php $target_path  = realpath(uploads/); ... Yahel On 27 août, 17:42, CMF manf...@gmail.com wrote: 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

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

2010-08-30 Thread CMF
function to get the true path to your upload folder : ?php $target_path  = realpath(uploads/); ... Yahel On 27 août, 17:42, CMF manf...@gmail.com wrote: 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

[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 uses-permission

[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 kmans...@gmail.com 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

[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? LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=wrap_content TextView android:layout_width=fill_parent

[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? ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/rl

[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 jens.h...@gmx.de wrote: U just need the RAW data. On 12 Jul., 08:56,CMFmanf...@gmail.com wrote: Seems that there is no API in doing theaudiovisualizer? -- You received this message because you are subscribed to the Google

[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) {

[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 antonello@gmail.com wrote: Hi, all. I'm trying to update my SDK but every time I get this same warning dialog: -= Waning! =- A folder failed

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

2010-08-01 Thread CMF
Anyone knows? On Jul 30, 12:09 pm, CMF manf...@gmail.com 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 touch left

[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] 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

[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-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

[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 dharmv...@gmail.com 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

[android-developers] Re: Iphone like album cover

2010-07-13 Thread CMF
any one has such experience? On Jul 8, 5:03 pm, CMF manf...@gmail.com 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

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

2010-07-12 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-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.com

[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] Repeat the Image View

2010-07-07 Thread CMF
?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent ImageView android:layout_width=fill_parent

[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

[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

[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

[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 mmur...@commonsware.com wrote: On Fri, Jul 2, 2010 at 5:02 AM, CMF manf...@gmail.com wrote

[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] 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 To

[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 manf...@gmail.com 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 transparency

[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 to.saurav.mukher...@gmail.com wrote: well there is a function called activity obj.finish() this wud suffice ur needs i guess. hope this helps. Regards, Saurav Mukherjee. On Mon, May 3, 2010 at 8:52 AM, CMF manf...@gmail.com

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

2010-05-03 Thread CMF
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 manf...@gmail.com wrote: however it just close activity B:( On May 3, 12:56 pm, Saurav to.saurav.mukher...@gmail.com wrote: well

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

2010-05-03 Thread CMF
+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 manf...@gmail.com wrote: I did try startActivityForResult however, i get trouble with this because my Activity B is a translucent OpenGL

[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

[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 backbutton 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] 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
is there anyone know? On Apr 26, 2:24 pm, CMF manf...@gmail.com 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? -- You received

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

2010-04-28 Thread CMF
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 sterling.ud...@googlemail.com wrote: On Apr 26, 7:24 am, CMF manf...@gmail.com wrote

[android-developers] Adding static background to kube

2010-04-26 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 Android

[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 rbgrn@gmail.com wrote: Posting a stack trace from your log would be extremely helpful: ) On Mar 8, 1:19 am, CMF manf...@gmail.com

[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 stefanpach...@googlemail.com 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

[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

[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

[android-developers] Pause Within a loop

2010-02-25 Thread CMF
I have a loop which draw a bitmap for(int i=0;i10;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

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

2010-02-25 Thread CMF
Hi, do you have an explicit example? I don't know what are the relationships between the BitmapAnimation View , the main class and the Drawable class.. On Feb 25, 1:09 pm, Nithin nithin.war...@gmail.com wrote: Create a class BitmapDrawable which extends Drawable and pass the bitmap to the

[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

[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!

[android-developers] Re: About XML parising

2010-02-23 Thread CMF
I successfully getting the file I want by XmlResourceParser xpp = mContext.getResources().getXml(R.xml.gamestatus); int eventType = xpp.getEventType(); while (eventType != XmlPullParser.END_DOCUMENT) { if(eventType == XmlPullParser.START_DOCUMENT) {

[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

[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

[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:

[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 mmur...@commonsware.com wrote: CMF wrote: I have a self-define view class, I would like to add

[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

[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 mmur...@commonsware.com wrote: CMF wrote: I have my code here Document dom; DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); try         {             DocumentBuilder db

[android-developers] Re: About XML parising

2010-02-19 Thread CMF
Murphy mmur...@commonsware.com wrote: CMF wrote: I have my code here Document dom; DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); try         {             DocumentBuilder db = dbf.newDocumentBuilder();             dom = db.parse(strings.xml

[android-developers] Re: About XML parising

2010-02-19 Thread CMF
...@commonsware.com wrote: CMF wrote: I have my code here Document dom; DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); try         {             DocumentBuilder db = dbf.newDocumentBuilder();             dom = db.parse(strings.xml

[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 manf...@gmail.com wrote: Here is my code using XmlPullParser . strings.xml just included fooHello world/foo when I read the log. Some String characters are read including Hello world

[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 this

[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 fewe...@gmail.com 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 manf...@gmail.com 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 attributename. 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

[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] 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

[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));

[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