[android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 21 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    Samuel EpicWin <samxzxc@gmail.com> Jun 30 01:32AM -0700  

    I have installed the Android SDK and ADT Plugin for Eclipse. I do have the
    Android folder when I goto File->Other, but something weird is that, I only
    have options such as "Android Application Project", "Android Project with
    Existing Source" and "Android test Project", yet I do not have Android
    Project. I need some guidance in terms of this factor.
     
    I am running ADT 20 and SDK 20 too. I also checked my Windows ->
    Preferences.

     

    Tor Norbye <tnorbye@google.com> Jun 30 11:16PM -0700  

    Use "Android Application Project". You can uncheck "Create Activity" on a
    subsequent page to make a blank project.

     

    Michael <pizzaandsoup@gmail.com> Jun 29 09:48AM -0700  

    Hi guys,
     
    I have a slight problem, I apologize if this is too basic a question.
     
    I am trying to use phonegap with eclipse and have installed the ADT Plugin
    and the android SDK.
     
    However, when I click FILE ==> New, there is not an option to create an
    android project. I have reinstalled it many times and it is still not
    working. Any help would be kindly appreciated. Thanks

     

    Tor Norbye <tnorbye@google.com> Jun 30 11:15PM -0700  

    Use "Android Application Project."
     
    -- Tor

     

    Yamil Font <yamil@imfont.com> Jun 29 11:53AM -0700  

    Good morning,
     
    I have a web service that returns a data set from sql server. The data set
    consists of streets, city, state, zip, longitude, and latitude. What would
    be the best way to call the web service from the android application, have
    it return the data set, then maybe store it in an array list and cycle
    through that array list to get the text into a text view?
     
    I have read many tutorials with web services and calling it. I have gotten
    to the point where the web service returns the correct information but I am
    not sure how to translate that information and display it in my android
    app. The web service is located
    at http://yamil.dyndns-home.com/getMapPoints.asmx
     
    Is this even the correct way I should be doing it? If anyone can assist me
    that would be great.
     
    Best regards,
     
    Yamil Font

     

    Shrikant Soni <soni.shrikant@hotmail.com> Jun 30 06:35AM -0700  

    i m having trouble in adding android plugin in ide7.1 what should i
    do i am fully confused right now so plz help me out of this

     

    Samuel EpicWin <samxzxc@gmail.com> Jun 29 09:15AM -0700  

    I downloaded the SDK and ADT Plugin at Eclipse. When I tried to create a
    Android Project, it pops up other project such as "Android Application
    Project", "Android Project from Existing Code" and etc etc.
     
    I need help, thanks (:
     
    Using ADT 20 & Eclipse Indigo.

     

    Vineeth <vineethupadhya@gmail.com> Jun 30 09:52AM -0700  

    Hi ,
    I came to know that API Level 16 has MediaCodec class. Could we do
    video transcoding..say capture a 1080p video and save it for video
    streaming under a differnt format and resolution.
    Regards,
    Vineeth

     

    habbu <piyushtib@gmail.com> Jun 30 12:44PM -0700  

    I tried on Tiny6410. Using ioctl one can turn on and off the leds
     
    To turn on led3
    # ioctl -d /dev/leds 1 3
    sending ioctl 0x1 0x03 0x00 0x00 0x00
    return buf: 03 00 00 00
     
    To tun off led3
    # ioctl -d /dev/leds 0 3
    sending ioctl 0x0 0x03 0x00 0x00 0x00
    return buf: 03 00 00 00
     
    Hope this helps.
     
    On Thursday, September 16, 2010 7:41:49 PM UTC+5:30, Dave wrote:

     

    Yuri Feitosa Duarte <yuridte@gmail.com> Jun 29 04:30PM -0700  

    How can I create an app that print in android?

     

    Terry Cox <terrencecox@gmail.com> Jun 30 04:49PM -0700  

    All 4.0/4.1 emulation using anything other than the default WVGA800 is
    now broken. When is this going to be fixed, this is a huge problem for
    those of us who have multiple emulators for multiple Android
    applications. This needs to be addressed yesterday.

     

    Iniyan P <iniyanp@orchestratec.com> Jun 30 12:02PM -0500  

    Hi,
     
    I was browsing through Android site and stackoverflow for getting
    automatically answering the phone call code.
     
    I found the code and it is working in android 2.2.
     
    It is not working in Android 2.3+.
     
    From the stackoverflow " Any code you have that requires
    MODIFY_PHONE_STATE will work all the way up to (and including) Android 2.2,
    but will break for Android 2.3+."
     
    So Is there anyother way I can find a code that will work on android 2.3+
     
    Thanks,
    Iniyan P

     

    EpsilonOrion <epsilonorion@gmail.com> Jun 29 08:38PM -0700  

    I am looking for the best way to send information between a Map Fragment
    and a List Fragment. Half the screen is dedicated to a Map Fragment using
    the TabHost method, while the other half is dedicated to a List Fragment.
    The main activity creates the separate fragments which each have their own
    Fragment and Activity classes. My desire is to send an ArrayList of
    waypoints created in my ItemizedOverlay class that is within the Map
    Fragment to the List Fragment which will in turn display each waypoint.
    From the List Fragment side, I desire to send the selected List item
    (waypoint) back to the Map Fragment so I can then display a bubble giving
    information on that waypoint. More will be done, but this is one part of
    my problem.
     
    I am sorry if familiar questions to this have been asked, but I have not
    found one that details how to dig deep into a class such as ItemizedOverlay
    and pass the information back and forth. Some methods I have seen are
    Intents and direct passing a pulling variables in each Fragment, but I am
    unsure of the best way to handle this information sharing. I have even
    looked into the possibility of keeping a third fragment in the background
    as I will at one time be sending these waypoints outside of this app to
    another phone.
     
    Any help would be appreciated and I would be happy to give more information
    if needed.

     

    ernesto9223 <orexx.tonton@gmail.com> Jun 29 07:54PM -0700  

    this is my server code
     
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import javax.bluetooth.*;
    import javax.microedition.io.*;
     
    public class ServerSide {
     
    //private static LocalDevice localDevice;
    static LocalDevice localDevice;
    DiscoveryAgent agent;
     
    private void startServer() throws IOException{
     
    UUID uuid = new UUID("112f8dbf1e46442292b6796539467bc9", false);
    String connectionString = "btspp://localhost:" + uuid
    +";name=SampleSPPServer";
    //open server url
    StreamConnectionNotifier streamConnNotifier =
    (StreamConnectionNotifier)Connector.open( connectionString );
    System.out.println("\nServer Started. Waiting for clients to
    connect...");
    StreamConnection connection=streamConnNotifier.acceptAndOpen();
    RemoteDevice dev = RemoteDevice.getRemoteDevice(connection);
    System.out.println("Remote device address:
    "+dev.getBluetoothAddress());
    System.out.println("Remote device name:
    "+dev.getFriendlyName(true));
     
    }
    public static void main(String[] args) {
    //display local device address and name
    try{
    localDevice = LocalDevice.getLocalDevice();
    System.out.println("Address: "+localDevice.getBluetoothAddress());
    System.out.println("Name: "+localDevice.getFriendlyName());
    }catch(Exception e){
    System.err.println(e.toString());
    System.err.println(e.getStackTrace());
    e.printStackTrace();}
    try{
    ServerSide sampleSPPServer=new ServerSide();
    sampleSPPServer.startServer();
    }catch(Exception e){
    System.err.println(e.toString());
    System.err.println(e.getStackTrace());
    e.printStackTrace();}
     
    }
    }
     
     
    **************************************************************
     
    and this is my client(android) code
    package client.side;
     
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Set;
    import java.util.UUID;
     
    import android.app.Activity;
    import android.bluetooth.BluetoothAdapter;
    import android.bluetooth.BluetoothDevice;
    import android.bluetooth.BluetoothSocket;
    import android.content.BroadcastReceiver;
    import android.content.Context;
    import android.content.Intent;
    import android.content.IntentFilter;
    import android.os.Bundle;
    import android.view.View;
    import android.view.View.OnClickListener;
    import android.widget.AdapterView;
    import android.widget.AdapterView.OnItemClickListener;
    import android.widget.ArrayAdapter;
    import android.widget.Button;
    import android.widget.ListAdapter;
    import android.widget.ListView;
    import android.widget.TextView;
    import android.widget.Toast;
     
    public class ClientSideActivity extends Activity {
    int REQUEST_ENABLE_BT = 0;
    private BluetoothAdapter mBluetoothAdapter;
    private ArrayAdapter<String> mArrayAdapter;
     
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
    Button btn1 = (Button)findViewById(R.id.button1);
    Button btn2 = (Button)findViewById(R.id.button2);
    final ListView lv1 = (ListView)findViewById(R.id.listView1);
    final TextView out = (TextView)findViewById(R.id.textView1);
    mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
    mArrayAdapter = new
    ArrayAdapter<String>(this,android.R.layout.simple_list_item_1);
     
     
     
    if (!mBluetoothAdapter.isEnabled()) {
    Intent enableBtIntent = new
    Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
    startActivityForResult(enableBtIntent,
    REQUEST_ENABLE_BT);
    }
    out.setText(null);
     
     
     
     
     
    btn1.setOnClickListener(new View.OnClickListener() {
    public void onClick(View v) {
    // TODO Auto-generated method stub
    out.setText("Paired Devices");
    Set<BluetoothDevice> pairedDevices =
    mBluetoothAdapter.getBondedDevices();
     
    if (pairedDevices.size() > 0){
    for(BluetoothDevice device : pairedDevices){
    mArrayAdapter.add(device.getName() + "\n" +
    device.getAddress());
    }
    }
    lv1.setAdapter(mArrayAdapter);
     
    }
    });
     
     
     
    btn2.setOnClickListener(new View.OnClickListener() {
     
    public void onClick(View v) {
    out.setText("Discovered Devices");
    mBluetoothAdapter.startDiscovery();
    Toast msg = Toast.makeText(ClientSideActivity.this, "Discovering
    Devices please wait.", Toast.LENGTH_LONG);
    msg.show();
     
    final BroadcastReceiver mReceiver = new BroadcastReceiver() {
    public void onReceive(Context context, Intent intent) {
    String action = intent.getAction();
    // When discovery finds a device
    if (BluetoothDevice.ACTION_FOUND.equals(action)) {
    // Get the BluetoothDevice object from the Intent
    BluetoothDevice device =
    intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
    // Add the name and address to an array adapter to show
    in a ListView
    mArrayAdapter.add(device.getAddress());
    } }
    };
    // Register the BroadcastReceiver
    IntentFilter filter = new
    IntentFilter(BluetoothDevice.ACTION_FOUND);
    registerReceiver(mReceiver, filter); // Don't forget to unregister
    during onDestroy
    }
     
    });
     
     
    lv1.setOnItemClickListener(new OnItemClickListener()
    {
    public void onItemClick(AdapterView<?> arg0, View arg1, int
    position,long id)

    {

    out.setText(arg0.getItemAtPosition(position).toString());
    BluetoothDevice remoteDev = (BluetoothDevice)
    arg0.getItemAtPosition(position);
    ConnectThread conDev = new ConnectThread(remoteDev);
    conDev.start();
     
     
    }
    });
     
    }
     
     
    public class ConnectThread extends Thread {
    private final UUID MY_UUID =
    UUID.fromString("112f8dbf1e46442292b6796539467bc9");
    private final BluetoothSocket mmSocket;
    private final BluetoothDevice mmDevice;
     
     
    public ConnectThread(BluetoothDevice device) {
    // Use a temporary object that is later assigned to
    mmSocket,
    // because mmSocket is final
    BluetoothSocket tmp = null;
    mmDevice = device;
     
    try {
    // MY_UUID is the app's UUID string, also used by the
    server code
    tmp =
    device.createRfcommSocketToServiceRecord(MY_UUID);
    } catch (IOException e) { }
    mmSocket = tmp;
    }
     
    public void run() {
    // Cancel discovery because it will slow down the
    connection
    mBluetoothAdapter.cancelDiscovery();
     
    try {
    // Connect the device through the socket. This will
    block
    // until it succeeds or throws an exception
    mmSocket.connect();
    } catch (IOException connectException) {
    // Unable to connect; close the socket and get out
    try {
    mmSocket.close();
    } catch (IOException closeException) { }
    return;
    }
    // Do work to manage the connection (in a separate
    thread)
     
    }
    /** Will cancel an in-progress connection, and close the
    socket */
     
    }
     
     
     
    }

     

    Sam Joly <magicpocketdesign@gmail.com> Jun 29 04:36PM -0700  

    I don't understand why. The same way I don't understand why there is no ability
    to removed Uninstalled app from the developer console.
    I feel that it's just messy.
     
    On Thursday, December 24, 2009 8:42:18 AM UTC-8, John Coryat wrote:

     

    Ravi Sankar <dravirks@gmail.com> Jun 29 10:22AM -0700  

    Hello Team
    I am presently developing an android application, that should "*start
    particular method in my application on boot"*. Could you please share the
    code snippets.
     
    Thanks in advance.

     

    b0b <pujos.michael@gmail.com> Jun 30 03:39PM -0700  

    The cool APIs of today are the deprecated APIs of tomorrow !

     

    Dave Burke <daveburke@android.com> Jun 30 03:08PM -0700  

    To add a little more context to the deprecation notice (I think the choice
    of the word "experimental" is a little misleading, sorry for the confusion):
     
    The feedback we got from internal and external app developers was that
    they preferred to use OpenGL directly because of familiarity & portability
    either through our Java bindings or NDK. In contrast, we do see interest in
    the compute API of Renderscript. Hence we've decided to no longer evolve
    the RS graphics APIs (hence deprecation notice) and instead focus on
    building out Renderscript's GPU-compute support and developing Renderscript
    further especially for applications such as image processing.
     
    Dave
     
    On Saturday, June 30, 2012 2:45:17 PM UTC-7, Mark Murphy (a Commons Guy)
    wrote:

     

    michael <michael@hahla.com> Jun 30 12:30PM -0700  

    It was always a poorly thought out API (design was interesting, but
    strategically it made no sense), so not surprised it's being deprecated.
     
    On Thursday, June 28, 2012 8:20:41 AM UTC-7, Jason wrote:

     

    dhl90 <lehoangduc1990@gmail.com> Jun 29 11:29AM -0700  

    Hi,
     
    Right now I'm starting an Activity (call this Activity A) from outside of
    an Activity context - therefore Activity A is hosted in its own task.
    Activity A in turn calls Activity B for result. Since I want only 1
    instance of Activity A running at any given time, I'm setting Activity A's
    launch mode to "singleTask".
     
    Here comes the problem: from Activity B, the user clicks Home. He then
    tries to start Activity A again. The existing task is brought to the front,
    but for some reason Activity B automatically finishes before Activity A's
    onNewIntent() is called. This in turn terminates Activity A altogether.
     
    I'd really appreciate it if someone can tell me what's wrong.
     
    Thanks!

     

    naidu harish <naiduhsh@gmail.com> Jun 30 11:36AM -0700  

    Hi all,
    I am new in android development, I have Installed ADK20 in
    ecllipse and SDK for android and set the Android in the preferences.
    When i am trying to create a new project i cannot find Android project
    when i go in File->new->project and in drop down i found android
    applicatioo project.
    How can i create new android project please help me.
    Thanks in advance.

     

    michael <michael@hahla.com> Jun 30 12:28PM -0700  

    Testing the new adk2012 and having a few issues. I have uploaded the
    usbaccessory sketch, and installed the adk2012 app to the nexus 7. Then I
    connect the adk & nexus with usb, expecting the adk2012 app to be
    recognized as an appropriate usbaccessory, but it doesn't and nexus reports
     
    Connected as a media device
    USB debugging connected
    Connected to a USB accessory
     
    Another question, how can I run adb from my android device while it is
    simultaneously connected to my arduino kit? I was optimistic that it would
    channel through the arduino and proxy to my pc, but that clearly isn't
    happening :) ... ADB over bluetooth?
     
    Thanks,
    Michael

     

    Hardik Trivedi <hardik.trivedi@indianic.com> Jun 30 01:35AM -0700  

    Hello,
     
    I have successfully implemented new GCM. I would like to know that
    how much device I can register using single product key and Server API key.
     
    I have different different app having different package names. And I have
    only one server. So what I want to do is to use same product key in all
    apps and same server API key too.
    Is it possible ?

     

    MMX <moinakpersonal@gmail.com> Jun 30 11:46AM -0700  

    I don't even have an android phone.Currently,I use a Java Mobile.I don't
    have enough to buy a good android phone.Neither I have tested any android
    devices.I just have heard that android 4.0 has remarkable features.Can
    anyone help me in this regard??..I just want to have a taste of Android 4.0
    device!!

     

    "glenn@wanderfulstorybooks.com" <glenn@wanderfulstorybooks.com> Jun 30 04:33PM -0700  

    Hello,
     
    I am optimizing an OpenGL-based application ported from that other
    major mobile OS and find that I cannot successfully access the GL
    context from anything other than the rendering thread of
    GLSurfaceView. What I CAN do on other platforms is upload my single
    (and large) texture to GL prior to needing to render the texture
    itself. This is a 640x480 8-bit RGB texture that takes some time to
    upload to the chip and needs to be done every time I realize a new
    frame of animation from the background system memory buffer. I'm sure
    you can appreciate the savings in execution time if I can perform this
    upload from another thread when I have nothing left to do but wait for
    GLSurfaceView's rendering thread to call me. All is synchronized
    safely as evidenced by the successful release of this software using
    this very same technique on that-other-platform-that-shall-not-be
    named. Things are very smooth and zippy on that platform, but Android
    currently suffers by comparison. Is there any way to do this?
     
     
    Thanks
     
    Glenn

     

You received this message because you are subscribed to the Google Group android-developers.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 11 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    JP <joachim.pfeiffer@gmail.com> Jun 30 09:54AM -0700  


    > No one ever mentioned before, that it was "experimental".
     
    Huh, correct in my book. Although it was always supposed to be
    understood that the underlying graphics engine today is running CPU
    bound only, which makes it somewhat pointless in its actual
    implementation. In the documentation, this goes easily overlooked.
     
    -----------
     
    Just a few short months ago I've attended a presentation by Romain Guy
    and one of his colleagues that praised Renderscript as *the* way
    forward, in my impression anyways. It would probably be a good idea
    for Google to clarify what deprecation of the graphics engine means
    going forward. Perhaps a new graphics engine is in the works, that
    actually utilizes the GPU. Perhaps using deprecation was just a poor
    choice of word?

     

    Morrison Chang <morrison.chang@gmail.com> Jun 30 01:39PM -0700  

    *I also didn't realize that the Renderscript Graphics API was
    'experimental'.*
    *
    *
    *Let me preface this that right before Google IO 2012, I started
    researching Renderscript to see what could be done with it (in the
    expectation of compute on GPU in Jelly Bean - sadly nothing announced that
    I'm aware of).
     
    I find it interesting (and humorous) that the Renderscript Graphics which
    was only introduced in Honeycomb and more fleshed out in Ice Cream Sandwich
    is already depreciated BUT is included in the ICS Compatibility Definition
    Document (CDD) in section 7.1.4. Given that Renderscript Graphics was
    created back in the 2.1 (Eclair) timeframe as an internal API for
    implementing multi-platform live wallpapers and throughout the 2.x series
    OpenGL 1.0 hardware acceleration was optional so perhaps CPU bound was
    okay(?). When ICS (and by extension HC) came out, the CDD pretty much
    requires hardware acceleration. And now that JB has deeper integration of
    hardware acceleration with the UI system (Project Butter/Jank Busting) I
    think Renderscript Graphics became the odd man out as it is one more path
    for Google/ODMs to regress beyond the standard Java and NDK APIs.
     
    So now we are back to Java if we want to write multi-platform code for
    graphics (as intended) but would need to write with NDK and compile
    multiple binaries if we want to squeeze out performance. Of course now that
    we have faster CPUs, bigger apk sizes, and multiple apk support so it may
    not be an issue anymore.
     
    If anything at least the compute part of Renderscript survives.
     
    I look forward to when the JB CDD is released as Google/ODMs will have to
    support to older HC/ICS path, but perhaps there may be more detailed
    specification for the compute part if not in JB then in K.
     
    Still it would be nice to get a blog post from Chet and/or Romain on the
    rational behind releasing Renderscript graphics API for about a year and
    half before dropping it (and with only a 10% device base). Frankly I liked
    the idea of being able to not deal with JNI if I wanted performant graphics.
     
    Hmm this is getting long and I apologize if you've gotten this far.*
    *
    tl;dr - Renderscript for compute will eventually get to the GPU,
    Renderscript graphics API has been sacrificed on the altar of support.*
     
    Morrison
     
    On Saturday, June 30, 2012 12:54:25 PM UTC-4, JP wrote:

     

    Romain Guy <romainguy@android.com> Jun 30 02:18PM -0700  

    Let's recap:
    - Renderscript Graphics has always been hardware accelerated
    - Renderscript Compute is currently CPU bound but with the for_each
    construct it will take advantage of multiple cores immediately
    - Renderscript Compute was designed to run on the GPU and/or the CPU
    - Renderscript Compute avoids having to write JNI code and gives you
    architecture independent, high performance results
    - Renderscript Compute can, as of Android 4.1, benefit from SIMD
    optimizations (NEON on ARM)
     
    If you want to write apps that benefit from hardware acceleration you can
    either:
    - Use the Java OpenGL ES 1.x/2.x bindings
    - Use OpenGL ES 1.x/2.x from native code with the NDK (at the cost of
    having to target specific CPU architectures)
     
    For data processing you can:
    - Write normal Java code
    - Use the NDK/JNI
    - Use Renderscript Compute
     
    Renderscript Compute is likely to give you the best performance as well as
    portability.
     
    I recommend you watch Jeff Sharkey's "Doing More With Less" talk that he
    gave this year at Google I/O. He shows an example of Renderscript Compute
    for data processing.
     
     
     
    --
    Romain Guy
    Android framework engineer
    romainguy@android.com

     

    Mark Murphy <mmurphy@commonsware.com> Jun 30 05:45PM -0400  

    > - Renderscript Graphics has always been hardware accelerated
     
    The point is that, according to the 4.1 release notes, we should no
    longer use "Renderscript Graphics":
     
    https://developer.android.com/about/versions/android-4.1.html#Renderscript
     
    "Note: The experimental Renderscript graphics engine is now deprecated".
     
    The concerns are:
     
    1. Why were we not told that this was "experimental" at the time
    Renderscript Graphics was announced? I see no evidence on the Web that
    Renderscript Graphics was described as "experimental".
     
    2. If half a subsystem is now deprecated, why is that announcement
    buried in release notes, rather than being called out a bit more
    visibly?
     
    At the end of the day, Google can do whatever it wants to. Personally,
    I am just trying to figure out where the communications breakdowns
    occurred.
     
    Thanks!
     
    --
    Mark Murphy (a Commons Guy)
    http://commonsware.com | http://github.com/commonsguy
    http://commonsware.com/blog | http://twitter.com/commonsguy
     
    _The Busy Coder's Guide to Android Development_ Version 3.7 Available!

     

    phoku <mboehmer@fh-muenster.de> Jun 30 02:09PM -0700  

    When I add a link to a disclaimer in the developer console, will it be
    mandatory to read/agree for _all_ users, or is this feature only available
    in the latest version of the Play Market app and on latest Android
    versions?

     

    Romain Guy <romainguy@android.com> Jun 30 10:53AM -0700  

    You should never rely on private APIs. When they are removed like in this
    case there is no guarantee you will be offered an alternative

     

    sven <sven.spandau@googlemail.com> Jun 30 11:17AM -0700  

    Hi Romain,
     
    yes, I know that I should never rely on this. On the other hand there isn't
    really an alternative to the mentioned method and implementing the same
    behavior on top of the existing WebView would be a night mare -- if not
    impossible. Further on it was also used by some of the standard apps like
    the web browser.
     
    If there is no other way I will need to put the WebView inside a
    ScrollView, but -- at least in the past -- this brought a bad user
    experience as it wasn't possible to scroll diagonal as the ScrollView
    captured the vertical scroll events and the WebView the horizontal ones.
    Really bad :-(
     
    Best regards
     
    Sven

     

    Nobu Games <dev.nobu.games@gmail.com> Jun 30 11:48AM -0700  

    Can't you just create a layout with your title bar view first and the
    webview below? Or just let your title bar view hover on top of the webview
    and add a padding to the rendered HTML via JavaScript injection. Or you
    could inject a HTML-based titlebar with fixed positioning into the webview.
     
    I haven't seen that title bar in action, so I don't know whether I am
    missing something obvious here, but just by reading the API documentation
    for that method it sounds like you can get a simple workaround working for
    that.

     

    sven <sven.spandau@googlemail.com> Jun 30 12:09PM -0700  

    > Can't you just create a layout with your title bar view first and the webview below?
     
    This is exactly what I wanted to do in the past when I've started to create GoodNews: Intuitively I've created a ScrollView, added my title view and the WebView below. The problem with this is that the ScrollView and the WebView do not work together well. The user can either scroll vertically *or* horizontally but not both directions at once (diagonal). So if you as a user want to scroll to the bottom right corner of the view, then you need to scroll down at first, lift the finger for a moment and then scroll to the right -- not really what I as a user would expect.
     
    Just search at stackoverflow for "[android] +webview +scrollview" and you will find quite a few of questions related to this topic...
     
    > Or just let your title bar view hover on top of the webview and add a padding to the rendered HTML via JavaScript injection. Or you could inject a HTML-based titlebar with fixed positioning into the webview.
     
    Tried this in the past and it worked fine for HTML which I've provided on my own, but not if I load external WebSites (I am a Google Reader client, so I *need* to load external web pages.
     
    > I haven't seen that title bar in action, so I don't know whether I am missing something obvious here, but just by reading the API documentation for that method it sounds like you can get a simple workaround working for that.
     
    It should behave similar to the address bar of the standard browser: If you scroll down the website, the title bar should disappear and if you scroll back to the top it should reapear. Scrolling horizonally shouldn't affect the title bar at all -- to the user it should look as if it was fixed.
     
    This was exactly the behavior provided by the embedded title bar and if you look at the implementation then you will see that there is no possibility to implement the same just by deriving from WebView as it depends on a few private methods -- especially not in the Jelly Bean version of the WebView as it delegates all it's calls to the new ClassicWebView...

     

    Nobu Games <dev.nobu.games@gmail.com> Jun 30 12:51PM -0700  

    Okay, if the new WebView is still some Layout / ViewGroup you could hack
    the same functionality into it again by peeking at the WebView.java source<https://github.com/android/platform_frameworks_base/blob/master/core/java/android/webkit/WebView.java>
    :
     
    public void setEmbeddedTitleBar(View v) {
    if (mTitleBar == v) return;
    if (mTitleBar != null) {
    removeView(mTitleBar);
    }
    if (null != v) {
    addView(v, new AbsoluteLayout.LayoutParams(
    ViewGroup.LayoutParams.MATCH_PARENT,
    ViewGroup.LayoutParams.WRAP_CONTENT, 0, 0));
    }
    mTitleBar = v;
    }
     
     
    You could derive your own "CompatWebView" that overrides this method and
    checks the API level via Build.VERSION.SDK_INT<http://developer.android.com/reference/android/os/Build.VERSION.html#SDK_INT>and branch accordingly to your workaround.
     
    If that is neither wanted nor recommended by Google or just too shaky for
    your taste, another workaround comes to my mind that might not work as
    smoothly, but it's better than nothing:
     
    You could create an HTML page (as a string for example) with your header
    title on top and an iframe below which loads the actual URL. Only problem
    with that iframe is that you need to resize it according to the loaded
    content. I don't know how this interacts with the way WebView tries to fit
    in content or how pinch-to-zoom works with that. Another problem is that
    the title bar would also change its size when the user zooms in or out.

     

    sven <sven.spandau@googlemail.com> Jun 30 01:39PM -0700  

    I've already gave the iframe stuff a try in the past, but unfortunately
    exactly the calculation of the natural width of the iframe-content was the
    problem.
     
    I would definitely prefer the first option (extending WebView). But just
    take a look into the old (API Level 14) solution and search for "mTitleBar"
    or "getTitleHeight" and you will quickly recognized, that this is used in
    many places which are not reachable from within a derived class.
     
    At the moment it looks to me as if I need to create a fallback solution for
    API level 16 and above which will put the title and the WebView into a
    ScrollView. This will be the first time, that a newer android version will
    bring a worse user experience to my users :-(

     

    Nobu Games <dev.nobu.games@gmail.com> Jun 30 01:49PM -0700  

    On Saturday, June 30, 2012 3:39:12 PM UTC-5, sven wrote:
    > take a look into the old (API Level 14) solution and search for "mTitleBar"
    > or "getTitleHeight" and you will quickly recognized, that this is used in
    > many places which are not reachable from within a derived class.
     
    You would need to re-implement all of this in your own derivative. I'm not
    sure how far you can go with that, though. Maybe you just need to add your
    own custom view to the WebView and listen to touch events on the WebView to
    make it appear.

     

    brandall <benrandall76@gmail.com> Jun 30 01:19PM -0700  

    The full error also contains:
     
    android.app.RemoteServiceException: Bad notification for startForeground:
     
    I've read other similar posts here<http://stackoverflow.com/questions/3112008/android-java-lang-illegalargumentexception-contentintent-required-error-cause>,
    tried their suggestions and read their links, but a small number of users
    are still reporting this error.
     
    *Overview*
     
    An activity is started by an external application. This activity starts a
    custom speech recognition service. It *does not* use startForeground:
     
    this.startService(intent);
     
    The activity then calls finish();
     
    The service starts the custom speech recognition class and passes context
    to it in a constructor. On 'beginning of speech detected' I display the
    following notification:
     
    String notTitle = "Hello";
    String notificationText = "hello there";
     
    notificationManager = (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);
    myNotification = new Notification(
    android.R.drawable.ic_btn_speak_now, notTitle,
    System.currentTimeMillis());
    myNotification.flags |= Notification.FLAG_AUTO_CANCEL;
     
    Intent intent = new Intent();
    intent.setAction("com.android.settings.TTS_SETTINGS");
    intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0);
    myNotification.contentIntent = pendingIntent;
     
    myNotification.setLatestEventInfo(mContext, notTitle,
    notificationText, pendingIntent);
     
    notificationManager.notify(MY_NOTIFICATION_ID, myNotification);
     
    The notification has no requirement to do anything 'onClick' as it's cancelled as soon as the user stops talking. I was originally passing a 'null intent', however, after reading many posts, I added in the random intent/pendingIntent of displaying TTS Settings, just to rule this out as the problem.
     
    99% of my users don't have an issue with either the above code or passing a null intent. I need to solve this for the 1% though, as it's a very important part of my application.
     
    Any suggestions would be very much appreciated.

     

    Raghav Sood <raghavsood@gmail.com> Jun 30 10:02PM +0530  

    Why don't you just use in app purchases then?
     
     
    --
    Raghav Sood
    Please do not email private questions to me as I do not have time to answer
    them. Instead, post them to public forums where others and I can answer and
    benefit from them.
    http://www.appaholics.in/ - Founder
    http://www.apress.com/9781430239451 - Author
    +91 81 303 77248

     

    TreKing <trekingapp@gmail.com> Jun 30 11:41AM -0500  


    > Right, I have import/export features but only available in the plan paid
    > version :) that's why.
     
     
    So add the export part to the free version as well ...
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    James Black <planiturthian@gmail.com> Jun 30 03:08PM -0400  

    I went with import/export in both versions, but the paid version allows you
    to email the export file also, for example.
     
     
    --
    Resume & Projects: http://careers.stackoverflow.com/jamesblack
     
    "I know that you believe you understand what you think I said, but I'm not
    sure you realize that what you heard is not what I meant."
    - Robert McCloskey

     

    Jason Hsu <jhsu802701@gmail.com> Jun 30 09:48AM -0700  

    I just need the step-by-step procedure for getting from the *.zip file to a
    proper implementation in Eclipse.

     

    TreKing <trekingapp@gmail.com> Jun 30 12:46PM -0500  


    > I just need the step-by-step procedure for getting from the *.zip file to
    > a proper implementation in Eclipse.
     
     
    All that zip file contains is an Android project. If you don't know how to
    run that, you need to back to the "getting started" or whatever section of
    the docs.
     
    Again, if you explain the actual errors you are getting, you'll likely get
    more help. Asking for "step-by-step" anything usually falls on deaf ears.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Nobu Games <dev.nobu.games@gmail.com> Jun 30 11:01AM -0700  

    On Saturday, June 30, 2012 12:46:23 PM UTC-5, TreKing wrote:
     
    > Again, if you explain the actual errors you are getting, you'll likely get
    > more help. Asking for "step-by-step" anything usually falls on deaf ears.
     
    Unless I am stupid enough to respond :-D
     
    1. Unzip that file into your eclipse workspace folder or somewhere else
    2. Open Eclipse
    3. Click File -> Import -> General -> Import existing Projects into
    workspace
    4. Select root directory -> Browse -> Find the directory where you
    unzipped the project
    5. The "Projects" view should update and show that unzipped project.
    Click the check box left to its name
    6. Click Finish

     

    Giuseppe <porcelli.giuseppe@gmail.com> Jun 30 10:45AM -0700  

    I am using it from first IO day, so it work well.
     
    Il giorno venerdì 29 giugno 2012 11:54:51 UTC+2, Elad Nava ha scritto:

     

    TreKing <trekingapp@gmail.com> Jun 30 11:44AM -0500  

    A: "Help me!" is a terrible title for a post. Please use a title that give
    even a slight indication what your post is about. This will help you get
    help and will help others find the topic in the future if they search for
    it.
     
    B: Your question makes no sense.
    http://www.catb.org/~esr/faqs/smart-questions.html
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Jim Graham <spooky130u@gmail.com> Jun 30 11:52AM -0500  

    On Sat, Jun 30, 2012 at 11:44:32AM -0500, TreKing wrote:
    > even a slight indication what your post is about. This will help you get
    > help and will help others find the topic in the future if they search for
    > it.
     
    I'll second that. Posts with useless (or worse, empty) subject lines are
    clearly intended by the poster to be ignored ... and I'm happy to do
    exactly that (and I'm fairly certain I'm not alone in that).
     
    Later,
    --jim
     
    --
    THE SCORE: ME: 2 CANCER: 0
    73 DE N5IAL (/4) MiSTie #49997 < Running Mac OS X Lion >
    spooky130u@gmail.com ICBM/Hurricane: 30.44406N 86.59909W
     
    Do not look into waveguide with remaining eye.
     
    Android Apps Listing at http://www.jstrack.org/barcodes.html

     

    Jagadeesh <mjagadeeshbabu@gmail.com> Jun 30 09:58PM +0530  

    HI
    i Resolved this issue
     
     
     

     

    far m <faridfarahmand@gmail.com> Jun 27 11:14PM -0700  

    I an not sure what the problem is but when I try to install plug-ins
    Eclipse hang up! I am using Eclipse 4
    Any suggestions?

     

    far m <faridfarahmand@gmail.com> Jun 27 12:38PM -0700  

    So.... first of all I am very new to Android SDK....
    So far, this is what I have done....
    1- I Downloaded Eclipse 4.1.2 on my MacBook
     
    Mac OSX (Mac/Cocoa) (Supported Versions<http://www.eclipse.org/projects/project-plan.php?projectid=eclipse#target_environments>
    )
     
    2- I updated all the ADT packages
    3- When I opened Eclipse again to check for new software ..... I get this
    eror message: No Repository in file...
    At this point I am stuck and cannot do anything.
     
    Any suggestions what to do?
    Thanks,

     

You received this message because you are subscribed to the Google Group android-developers.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 12 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    Mystique <joven.chiew@gmail.com> Jun 30 02:01AM -0700  

    Hi,
     
    I have a Ads supported app and I am planning to release a paid version
    without Ads and extra features.
     
    My questions are how do I release the app so my user can purchase and use
    with losing the preferences and db?
    Can I package it with the same name and upload into Google Play as new app
    or how is it been normally done?
     
    Cheers.

     

    Fred Niggle <fred.niggle@googlemail.com> Jun 30 10:22AM +0100  

    as long as the .apk has the same name, i.e. com.my.app, then you wont lose
    the preferences and database.
     
    If the.apk is different then you will need to consider how to export the
    sharedprefs/db from the current version (an update), to the sdcard, and
    have an import function in the newer version.
     
    Hope this helps,
    Fred
     
     
    --
    Magnetic Door Alarm
    app<https://play.google.com/store/apps/details?id=com.nds.magneticdooralarm>is
    now available in Google Play

     

    Mystique <joven.chiew@gmail.com> Jun 30 03:08AM -0700  

    Hi Fred,
     
    That is good to know.
    So Google play don't care if 2 Apps has the same apk/com.my.app is that
    right?
     
    Thanks.
     
    On Saturday, 30 June 2012 17:22:37 UTC+8, Fred Niggle wrote:

     

    Fred Niggle <fred.niggle@googlemail.com> Jun 30 04:03PM +0100  

    Hello,
    I have never tried to publish to identical .apk's, but I do not think
    google play will not allow 2 identical app names.
     
    If I am wrong then I hope someone else will step in and correct me.
     
     
    --
    Magnetic Door Alarm
    app<https://play.google.com/store/apps/details?id=com.nds.magneticdooralarm>is
    now available in Google Play

     

    Raghav Sood <raghavsood@gmail.com> Jun 30 08:45PM +0530  

    Google Play will not allow you do upload two apps with the same package
    name. Due to this, there are only a few ways you can share the content.
     
    You can use Content Providers to serve it from the free app to the paid one.
     
    You can save it on the SD Card and allow everyone to read it.
     
    I *think* you can also do something with a shared user id, but I'm not sure
    on this one.
     
    Thanks
     
     
    --
    Raghav Sood
    Please do not email private questions to me as I do not have time to answer
    them. Instead, post them to public forums where others and I can answer and
    benefit from them.
    http://www.appaholics.in/ - Founder
    http://www.apress.com/9781430239451 - Author
    +91 81 303 77248

     

    RichardC <richard.critten@googlemail.com> Jun 30 08:34AM -0700  

    Have you considered using in-app-purchasing to turn off the ads and unlock
    the extra features?
     
     
     
    On Saturday, June 30, 2012 10:01:11 AM UTC+1, Mystique wrote:

     

    Mystique <joven.chiew@gmail.com> Jun 30 09:02AM -0700  

    Hi, yes I will consider in app purchase if that is the only option.
     
    So am I right to say some free and paid app actually release 2 versions
    which Google play see it as separate app and each app have their own data
    directory?
     
    On Saturday, 30 June 2012 23:34:56 UTC+8, RichardC wrote:

     

    James Black <planiturthian@gmail.com> Jun 30 12:11PM -0400  

    You can also allow them to export and import the data, to move from the
    free to paid version.

     

    Mystique <joven.chiew@gmail.com> Jun 30 09:17AM -0700  

    I was also thinking to write a simple app that generate hash value and
    write it in a file, user will purchase this app and my main app will look
    for this file and compare the hash value. Will this work? Does Google allow
    this?
     
    On Sunday, 1 July 2012 00:02:54 UTC+8, Mystique wrote:

     

    Mystique <joven.chiew@gmail.com> Jun 30 09:19AM -0700  

    Right, I have import/export features but only available in the plan paid
    version :) that's why.
     
    On Sunday, 1 July 2012 00:11:04 UTC+8, James Black wrote:

     

    Elad Nava <eladnava@gmail.com> Jun 30 08:43AM -0700  

    This code will send a GCM message to multiple registration IDs via CURL.
     
    If you receive an "*Unavailable*" error code when you try to send a GCM:
     
    *Generate a Browser API Key from the Google APIs Console*, and use it *instead
    of the server key* in the "Authorization" header. Once you do that, this
    error will go away.
     
    This is caused by a serious mistake in the GCM Documentation that states
    you should use a Server Key in the Authorization header (as written here<http://developer.android.com/guide/google/gcm/gs.html>
    )
     
    // Replace with real server API key from Google APIs
    $apiKey = "123456";
     
    // Replace with real client registration IDs
    $registrationIDs = array( "123", "456" );
     
    // Message to be sent
    $message = "x";
     
    // Set POST variables
    $url = 'https://android.googleapis.com/gcm/send';
     
    $fields = array(
    'registration_ids' => $registrationIDs,
    'data' => array( "message" => $message ),
    );
    $headers = array(
    'Authorization: key=' . $apiKey,
    'Content-Type: application/json'
    );
     
    // Open connection
    $ch = curl_init();
     
    // Set the url, number of POST vars, POST data
    curl_setopt( $ch, CURLOPT_URL, $url );
    curl_setopt( $ch, CURLOPT_POST, true );
    curl_setopt( $ch, CURLOPT_HTTPHEADER, $headers);
    curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
    curl_setopt( $ch, CURLOPT_POSTFIELDS, json_encode( $fields ) );
     
    // Execute post
    $result = curl_exec($ch);
     
    // Close connection
    curl_close($ch);
    echo $result;
     
    On Friday, June 29, 2012 5:22:02 AM UTC+3, RyanMC wrote:

     

    Raghav Sood <raghavsood@gmail.com> Jun 30 04:26PM +0530  

    Yes. And to tell you that, we need the LogCat from the crash and the
    appropriate code to go along with it.
     
    Thanks
     
    On Sat, Jun 30, 2012 at 11:25 AM, vaibs malviya
     
    --
    Raghav Sood
    Please do not email private questions to me as I do not have time to answer
    them. Instead, post them to public forums where others and I can answer and
    benefit from them.
    http://www.appaholics.in/ - Founder
    http://www.apress.com/9781430239451 - Author
    +91 81 303 77248

     

    vaibs malviya <vaibs.malviya25@gmail.com> Jun 30 05:32PM +0530  

    how can i check this cress in my PC on amulater.because i don't have 4.0
    and my client have 4.0.
    And when i search on net there is lot's of post on tabhost according to
    these problem.but there is no information about why is this happening.
    u got my point.
     

     

    "Harri Smått" <harism@gmail.com> Jun 30 05:49PM +0300  

    On Jun 30, 2012, at 3:02 PM, vaibs malviya wrote:
    > how can i check this cress in my PC on amulater.because i don't have 4.0 and my client have 4.0.
     
    What prevents you from installing ICS emulator and checking if the same problems occurs on it too?
     
    --
    H

     

    Chris Stratton <cs07024@gmail.com> Jun 30 06:35AM -0700  


    > I got s3c6410 Arm development Board. It has been ported with Android 2.3.
    > This board has SIM300 GSM modem.When i tried to connect to internet through
    > GPRS i found APN was missing.
     
    This sounds more appropriate for android-porting, as its an issue with
    the platform on non-standard hardware.
     
    It does not directly concern SDK application development, which is the
    topic of this group.

     

    sven <sven.spandau@googlemail.com> Jun 30 03:22AM -0700  

    Hi all,
     
    some of my users have already updated their Galaxy Nexus to Jelly Bean and these users are no longer able to use my app (GoodNews news reader and podcast player), as it uses the WebView.setEmbeddedTitleBar() method to inject the article title into the article view, so that it scrolls in a senseful manner. On Jelly Bean this beahviour produces the following exception:
     
    java.lang.NoSuchMethodException: setEmbeddedTitleBar [class android.view.View]
     
    I know that this method hasn't been a public API call (except for a short time in android 3.0), but it worked well since android 2. Unfortunately the Jelly Bean source code isn't available now, so that I can only guess.
     
    Can someone cofirm that this method is gone? Any ideas for alternatives?
     
    Thanks a lot
     
    Sven

     

    RichardC <richard.critten@googlemail.com> Jun 30 06:05AM -0700  

    Source for Android-16 is available via "SDK Manager".
     
    All I can tell you is:
    Android-15 WebView.java 388K
    Android-16 WebView.java 75K
     
    So more then a few changes.
     
    On Saturday, June 30, 2012 11:22:02 AM UTC+1, sven wrote:

     

    Narendra Singh Rathore <nsr.curious@gmail.com> Jun 30 06:05PM +0530  


    > hi
     
    > I am new to this android and i need to add image buttons in grid view by
    > parsing an xml.how to do this??
     
    Do the same as you have done in case of imageview, just replace it with
    imagebutton
    You don't have to put any more effort.

     

    Narendra Singh Rathore <nsr.curious@gmail.com> Jun 30 05:46PM +0530  

    rideDate never gets assigned and the other values seem to not be assigned
    > This is how I use the newRideValues collection.
    > new BikingLogsContentProvider().insert(CONTENT_URI, newRideValues);
    > Any ideas and suggestions would be very welcome.
     
    Sequence of contentValues doesn't matter. The thing which matters here is
    the pair of key and value.
    The value will always be inserted in the same column, with which you have
    associated it.

     

    Mark Murphy <mmurphy@commonsware.com> Jun 30 07:36AM -0400  

    On Sat, Jun 30, 2012 at 1:29 AM, Kumar Rangarajan
    > u a fair and reasonably consistent view of how it would perform on most
    > models ? If the intent is to understand the consumption pattern of ones
    > application, this is reasonably good enough right ?
     
    I certainly would not make that assumption. This gets to the heart of
    Ms. Hackborn's comment: per-component power measurement is tricky
    business without low-level hardware data collection (e.g., Qualcomm
    MDP). It's all just guesswork. Chipsets vary in power consumption,
    sometimes fairly widely, let alone differences in CPU and GPU.
     
    > (https://developer.qualcomm.com/mobile-development/development-devices/trepn-profiler),
    > but then as u mentioned it needs to be used with their expensive MDP
    > devices.
     
    That's odd. Trepn Profiler is built into the MDP firmware -- it isn't
    something you run on the development desktop or something. But, yes,
    the MDP is crazy expensive.
     
    --
    Mark Murphy (a Commons Guy)
    http://commonsware.com | http://github.com/commonsguy
    http://commonsware.com/blog | http://twitter.com/commonsguy
     
    _The Busy Coder's Guide to Android Development_ Version 3.7 Available!

     

    StSch <steffen.schliwinski@gmail.com> Jun 29 11:54PM -0700  

    I maybe should have said:
    Can I access attributes/member variables of my activity in my event
    listener? That is: Manipulate the date in my listener and have the updated
    data in my activity?
     
    Am Freitag, 29. Juni 2012 21:27:38 UTC+2 schrieb MagouyaWare:

     

    Doug Ponsford <d_ponsford@hotmail.com> Jun 27 09:29AM -0700  

    Hi, I'm a newbie that needs some help on getting the AVD running with
    my app. I've been developing C code for decades, but I have to admit
    the Eclipse/AVD setup has me stumped! I'm following the 'HelloWorld'
    tutorials on this website (and some others) and everything seems to be
    working OK, up to the point where I try to run it on the simulator.
    I'm not getting any warnings, the Eclipse build/run output window says
    that everything is installed OK and the AVD seems to startup and run
    OK. Eclipse says that my app is loding, but it never runs. All I get
    is the simulator window with "ANDROID" on the screen and the buttons
    on the righ-hand side.
     
    I've got Eclipse Indigo and r18 of the Android PlugIn (I tried to
    install Helios, but the Eclipse website directed me to Indigo!). Is
    Indigo OK for running the simulator, or do I specifically need
    Helios? I also have Java 1.7.
     
    The API level I have installed is Level 15 (v4.xxx of Android, I
    think). Don't know if I need a lower version to get my tutorial app
    to run, but level 15 is the only one I can select when setting up a
    device in the AVD manager.
     
    I've been trying to get this going for days, trying all sorts of
    switches and buttons, but to no avail. Before I start unistalling
    everything and reinstalling, is there anything I might be missing?
    Something that always trips up new starters maybe? Or do I need ot go
    back to scratch?
     
    Any help would be much appreciated.

     

You received this message because you are subscribed to the Google Group android-developers.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en