Need Help

by Ravi Savaliya » Wed, 03 Sep 2008 19:05:21 GMT


Sponsored Links
 Hey Prabhat..

here is code for reading data from URL,, u can test it just pass url.. it
will return all data. on that url.
------------------------------------------------------------------------------------------------

    public String requestURLData(String uri)
    {
      String result=null;

      InputStream input_stream=null;
        BufferedReader buffered_stream=null;
        URLConnection connection_object=null;
              try
           {
                 //construct url
                  URL url_object = new URL(uri);

                  // Open Connection for url
                  connection_object = url_object.openConnection();

                  //connect
                  connection_object.connect();
                  input_stream = connection_object.getInputStream();
                  // Reader rd=new Reader(input_stream);
                  // Buffered is always good for a performance plus.
                   buffered_stream = new BufferedReader(new
InputStreamReader(input_stream));


                    result=buffered_stream.readLine();


             }
            catch(Exception e){e.printStackTrace();}
            finally
             {
              try
                 {
                  //close streams
                  buffered_stream.close();
                  input_stream.close();

                 } catch(Exception e)
                     { e.printStackTrace();}
             }
       return result;

    }
--------------------------------------------------------------------------------------------------------

Cheers,
Ravi Savaliya
On Wed, Sep 3, 2008 at 10:36 AM, PRABHAT KUMAR <




--~--~---------~--~----~------------~-------~--~----~



Need Help

by PRABHAT KUMAR » Wed, 03 Sep 2008 22:19:06 GMT


 Hi Friends,

          I am new to android ............ I am not able to understand how
to fetch data from a site using API..............

Can anyone of you mail me a sample code ................... I am using
Eclipse with android plugin



-- 
Thanks & Regards
-- 
Prabhat Kumar

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Need help

by Ernest Jojart » Thu, 13 Nov 2008 06:00:49 GMT


 Hello,

I made an application for Android, but I have no real phone to try it. Can
anybody help me?

Please write to me ([EMAIL PROTECTED]) if You are a T-mobile G1 owner and
You have a little time to try my application!

Thank You in advanced!

BR.

Ernest

--~--~---------~--~----~------------~-------~--~----~



Need Help

by [EMAIL PROTECTED] » Thu, 27 Nov 2008 11:54:36 GMT


 I a real noob to these things but if ne one can help me it will be
appriciated if i have a phone with windows mobile or some other
platform how do i upgrade [or ne thing to that effect] to androd can i
just down load a installation file or something it reall import for me
to know please help feel free to email me at [EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~



Need Help

by Ansari Ahtesham » Mon, 16 Nov 2009 07:20:17 GMT


 Hi,

I am new to this group, I just want to know how to port Android to a phone.
Say i have a phone with an OS now i want to replace that OS with Android. Is
this possible , If yes then how.

-- 
Regards,
Er.Ansari Ahtesham Anwar

-- 



Need Help

by Shankar Ganesh » Mon, 16 Nov 2009 11:58:46 GMT


 


Dear Friend,

You have placed a generic question, Let me try to give you high level answer
:

You can get the android sources from [1]

Now you have to build for your  ** target  processor arcitecture & platform
** ,

1. Bootloader [~/mydroid/bootable]
2. Linux Kernel [~/mydroid/kernel]
3. Android File system - Refer [1]


If you know your target (your mobile phone) platform name,  you may look for
android releases for the same, Refer an example at [2]


Regards,
Shankar

[1]  http://source.android.com/download 
[2]  http://www.androidonhtc.com/ 


-- 
> website: 



Need Help

by Niamathullah sharief » Tue, 17 Nov 2009 02:27:52 GMT


 What phone your phone have? what OS its having? give briefly




> website: 



Need Help

by Tim Bird » Tue, 17 Nov 2009 02:28:14 GMT


 

Some links to pages describing porting Android to various  hardware 
platforms
have been collected at:   http://elinux.org/Android_Porting 
Hopefully, there will be some information in the linked articles that 
will be helpful.
 -- Tim

-- 



Need Help

by Ambuj » Tue, 23 Mar 2010 21:38:43 GMT


 Hi,

I am a Junior Undergraduate in a University in India, I have been
working with Embedded Systems Programming group of my university.

Now, for some of the projects we have started to us Google Android
based devices.

Some of the things we are looking into are :

(a) Interfacing Google Android based devices using USB Controller on
phone to Micro-controller based devices. This might involve
communicating using the ZigBee platform and writing device driver to
support this.

(b) Using Accelerometer on Google Android based devices to interface
with Micro-controller and creating embedded device using this.

We primarily using AVR ATMega32 and other micro-controllers.

Now, I have the following doubts:

(a) How different is Device Driver development on Google Android ?  is
it same as Linux owing to it being a version of Linux kernel.

(b) Are there any resource available on-line that could augment
this ?

(c) Are there resources available on-line that specifically caters to
integrating Google Android devices with Micro controllers. ARduino
boards are somthing that I have found do this using Bluetooth, I am
looking into interfacing using ZigBee maybe ?

(d) Development package needed to begin Kernel development ?

When I look into source.android.com , I find the entire development
package to be 2.1 GB download. However, Linux kernel is itself
50Megabytes in size as a compressed tar. Do I need to download all
this , to begin development and is there compressed tar for this
available ?


and , finally(phew!) Can I do this development on x86 based PC or
would I need access to ARM based device.

Thanks,
Ambuj Varshney
Junior Undergraduate
Bachelors in Technology in Information and Communication Technology
India

-- 


To unsubscribe from this group, send email to 
android-kernel+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.



Need Help

by karthik poduval » Tue, 23 Mar 2010 22:15:19 GMT


 i Please find replies inline:-

Regards,
Karthik Poduval

On Tue, Mar 23, 2010 at 1:53 PM, Ambuj <ambuj...@gmail.com> wrote:





I know of the beagle board and Openmoko project for Android on devices.


Even in Android u start off with the Vanilla kernel which is 50MB as you
mentioned, over it u apply the android kernel patch. I am not
so familiar with the exact steps, but you could find pre patched kernels
somewhere. What you have downloaded is the platform code that runs in the
user mode and comprises of the Android platform code and applications. Just
an analogy to make things clear, even though Linux kernel is just 50MB the
popular distributions extent to over gigabytes in size. Thats again because
they bundle several applications along with it which increases the package
size.

As I know Android has been ported to ARM, X86 and MIPS as well, there could
be several others as well. You choose an appropriate platform based on the
available resources. X86 might be the easier than the other platforms to
start off with.




--
Regards,
Karthik Venugopal Poduval
Ph: 09384808733

--


To unsubscribe from this group, send email to
android-kernel+unsubscribegooglegroups.com or reply to this email with the
words "REMOVE ME" as the subject.



Need Help

by Manvendra Pratap Singh » Wed, 24 Mar 2010 15:52:26 GMT


 n Wed, Mar 24, 2010 at 3:45 AM, karthik poduval
<karthik.podu...@gmail.com>wrote:


Here you can find the kernel http://android.git.kernel.org/





--
Manav
Hyderabad

--


To unsubscribe from this group, send email to
android-kernel+unsubscribegooglegroups.com or reply to this email with the
words "REMOVE ME" as the subject.



Other Threads

1. Android phone on "Heroes"

Sore tadi baru aja nonton Heroes season 4 episode 17, ada penampakan
android. Pada saat Lauren lagi mau telp minta bantuan Tracy, keliatan jelas
pakai Hero-nya Sprint, mulai dari lockscreen sampai homescreen android.
Rupanya dah mengalami peningkatan nih serial. Season lalu masih pake Palm
Centro, skrg udah pake Hero.
Long live android!!!!

-- 
--------------
"Indonesian Android Community [id-android]" 

2. science fair soon - created webview but won't display anything

Hello, I've never used java but for my science project I'm controlling
my robot with an android phone.  For the video feed I want to embed a
webpage in the app to view the {*filter*} feed.  so I have created a
webview following the tutorial on the android dev website and right
now I just want to see google.  Yet when I start it I don't see
anything other than the grey bar with the title and a black screen.
Science fair is in less then a week so a timely response would be
nice.  I'm developing for android 1.6


Code in java file:

package com.example.HelloWebView;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;




public class HelloWebView extends Activity {
    /** Called when the activity is first created. */
        @Override
    public void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);

        setContentView(R.layout.main);

        WebView webview;

        webview = (WebView) findViewById(R.id.webview);
        webview.getSettings().setJavaScriptEnabled(true);
        webview.loadUrl(" http://www.***.com/ ");
       }
}




~~~~~~~~~~~~*****************~~~~~~~~~~~~~~~~

XML:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android=" http://www.***.com/ 
android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="vertical">

    <WebView
        android:id="@+id/webview"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
    />

</LinearLayout>




Thank you very much in advance,


Matt


--

3. dipatchTouchEvent from a transparent panel to other view

4. Support for Polynesian languages - help please!

5. How to maintain two copys of the same application on the phone?

6. Support for Polynesian languages - help please!

7. Web view Event