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
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
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
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
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
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
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
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)
{
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
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
public Bitmap DecodeFile(String Url)
{
try {
URL aURL = new URL(Url);
URLConnection conn = aURL.openConnection();
conn.connect();
InputStream is = conn.getInputStream();
public Bitmap DecodeFile(String Url)
{
try {
URL aURL = new URL(Url);
URLConnection conn = aURL.openConnection();
conn.connect();
InputStream is = conn.getInputStream();
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
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
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
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
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
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
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
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
?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
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
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
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
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
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
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
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
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
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
+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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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!
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) {
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
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
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:
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
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
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
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
...@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
= 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
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
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
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
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
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
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));
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
63 matches
Mail list logo