Android :: Target Platform Android Vs Google Api
Jul 17, 2010
I followed this tutorial: http://developer.android.com/resources/tutorials/views/hello-mapview.html
and it runs ok, except when I click on my icon in the map, the dialogue box does not come up. And the application stops.
I don't know what is google api; can someone explain it to me please? Does this mean that the code in above tutorial will not run on an android handset?
Here is my code:
CODE:.....................
View 1 Replies
Feb 22, 2010
Whenever I try to install the android platform on netbeans 6.8 and I select the appropriate folder, in the later step when I press next, i get this error: A platform target has to be selected - and there wont be anything to select. What does it mean?
View 2 Replies
View Related
Feb 23, 2010
I installed newst Android, JDK, Jer and eclipse. Than I tryed to build android project. But "build target" show "no target available". I looked at internet, they said I should run "Android SDK and AVD manager", I runed it but get follow message: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: No route to host: connect
I read this group's conversation that suggest to use http not https, I tried it but still can not run Available Packages.
View 2 Replies
View Related
Jul 1, 2010
I have developed two separate applications 1) android 2.1 that takes user input / registers , shared pref and stuff and 2) Google Maps GPS on target Google APIs 7. Now, I would like to embed the second project in first . That is, after the user registers it will bring up Maps and suggestions and stuff. How can I use both the targets (Apis ) together in a single App?
View 1 Replies
View Related
Oct 7, 2009
What are the differences between building for target 2 (no gmaps add on) and target 3 (with gmaps addon).
Could any one has the ant scripts to bulids for these targets.
I see 1.5 SDK does these though custom ant tasks rather than 1.1 ant scripts (this was more clear and apperant on how it does the build)
View 4 Replies
View Related
Sep 22, 2010
I'm configuring a new machine for Android development and moving my current project over. I did a fresh install of all the Android tools and SDKs, and under "build targets", the Google APIs' target supports Android 2.2. Of course I need 1.5 as the base build target. My project doesn't build when I select that because the Google Maps stuff from maps.jar isn't there. In fact, after I did my full install I can't find maps.jar anywhere on my new machine. Is this jar file still required for Google Maps integration, or is it history? I'm using Eclipse 3.5. I guess I'd presume there would be a "google apis" for Android 1.5 build target. I'm thinking my install must be hosed; but maybe it's my understanding.. :)
View 1 Replies
View Related
May 2, 2010
I was checking out the Google Maps Data API and I was wondering if I can follow their Java Development guide to use it on the Android platform? I want to display routes that I have created on Google Maps on the phone.
View 1 Replies
View Related
Jul 13, 2009
I am interested in developing things for google apps and android using python and java. I am new to both and was wondering if a environment set in windows or linux would be more productive for these tasks?
View 4 Replies
View Related
Sep 8, 2009
Snow Leopard has been published for several weeks, Eclipse also provide an 64bit Cocoa version on 3.5, but the Android SDK still only support the 32bit mode on Mac, why? It's emulator also still use QuickDraw to draw interface, maybe Google has forgotten us.
View 2 Replies
View Related
Nov 22, 2010
As an experiment, I would like to use the platform key of my custom built Android platform to sign an arbitrary APK, that is built via the NDK. What is the process to go about doing this?
View 2 Replies
View Related
Oct 21, 2010
1) What Android-compatible hardware platforms (boards, like "beagle board") can you recommend for hobby robotics? Where can I see a list of Android-friendly boards with support of serial (or parallel) connections?
We are going to move our Java ME robotics project (http:// www.RoboHobby.com) to Android platform, but what hardware to choose?
2) What can you say about support of serial connection on Android- based phones? Does it work in reality? As I remember, in the Java ME world not all cell phones manufacturers supported serial connections on their J2ME implementations. For example serial connections were supported on some models of Siemens and Sony-Ericson, but they were not supported on Nokia and Sumsung, etc.
What is going on with serial connection support in the Android World? Is this supported in reality? On which cell phones?
3) Is it possible to use on Android devices (boards) not BlueTooth/USB conection, but wired connection, like RS232 "COM" port on PC?
I see funny wordplay - Android as a Google project and Android as a human-like robot. :-)
-- http://www.RoboHobby.com - Java Robotics, Code Examples. PICkit2 tutorials, J2ME mobile phone Java as a robot's brain, KAP (Kite Aerial Photography)
View 3 Replies
View Related
Jun 29, 2010
I am working on a mobile app on the Android platform (and going forward for the iPhone) and am evaluating the Flurry Analytics and Google Analytics platforms for the app. Both platforms have SDKs for the Android and the iPhone and seem very similar in most ways.
View 3 Replies
View Related
Oct 30, 2009
Trying to set up my eclipse envirnment to actually be able to try some things out on android...
I've installed the sdk, put it in my path variable, installed the ADT, downloaded the "developer tools" from the eclpise menu..
But... Then I go to the command line, navigate to the tools folder of my sdk, and run "android create avd --target 2 --name mine"
and I get this "error":
Error: Target id is not valid. Use 'android.bat list targets' to get the target ids.
So, I of course happily run the 'android.bat list targets' and get the following message!
"Available Android Targets:"
That's it. There are no targets.... I open the AVD window in eclipse, there are no targets... I click "New" in that window, and a target is required, but the drop down is disabled because there are NO AVD TARGETS.
View 8 Replies
View Related
Jan 21, 2010
I'm really new at this. I'm following the book "Android" by O'Reilly press a little outdated, I'm using Pulsar for Mobile Java Developers. Build id: 20090920-1017 I go to File, New Project, Android, Android Project. I enter "Hello World" for Project Name. Then I get "An SDK Target must be specified." There is a check box but it says "no target specified". How do I get this resolved and how do I get to the command line?
View 4 Replies
View Related
Feb 21, 2010
I downloaded Android most new version and downloaded most new eclipse, I plugin Android into eclipse. But when I make new Android project
"build target" tab, show "no target available" who can tell me how can I get a target?
View 1 Replies
View Related
Jan 20, 2010
I'm trying to create an AVD, but I don't have any target ID's available. If I enter "android list targets" at the command prompt in the tools directory, I get an empty list.
View 2 Replies
View Related
Apr 14, 2009
Is it safe to use the 1.5 early look SDK to build production apps for 1.1 targets? I want to start developing a cupcake branch of my software, just wondering if I'll need to switch back to using the stable SDK for production builds...
View 2 Replies
View Related
May 3, 2010
While trying to create a new Android Project., Get a error - An SDK Target must be specified. The documentation states that - "Under Target, select an Android target to be used as the project's Build Target. The Build Target specifies which Android platform you'd like your application built against." However in my case The Build Target section of the open dialog does not contain any text field or select dropdown, so I am not able to specify anything.
View 11 Replies
View Related
Nov 25, 2009
My app targets 1.5, and runs fine on my phone (1.6), but to support droid, I need the package android.telephony.cdma from 2.0. Targeting 2.0 excludes the current devices running my app (including my own G1), but as it is now, I can't support the Droid.
View 8 Replies
View Related
Mar 17, 2010
I've been trying to make a new Android project in Eclipse. But whenever I try to do so, it won't let me select a build target. Here's a screenshot: http://twitpic.com/198od6
View 3 Replies
View Related
Jun 25, 2010
Just wondering which mobile device should i target first for my application after a bit googling i found Android dev phone 1 and android developer phone 2 but does this device have or support Android 2.1 ? Or can i target some other device like motorola droid for my development and testing ? What would be the pros and cons in this situation?
View 12 Replies
View Related
May 17, 2010
We want to build a smartphone app which uses geolocation, etc. and target the most important smartphones. Which OS would you support for a b2c application? I found a german statistic here: http://de.statista.com/statistik/daten/studie/150842/umfrage/prognostizierte-marktanteile-der-smartphone-betriebssysteme-in-2013/ which forecasts the smartphone usage for 2013. To summarize it lists the following OS, ordered by priority:
Symbian, Android, Blackberry (RIM), Windows Mobile, iPhone
Would you agree with this priority or should we start with the classical: iPhone/Android combo?
View 5 Replies
View Related
Nov 12, 2010
my goal is to target with a keyevent a specific application running either in foreground or background from a background service. I tried many solutions, but have not yet managed to do it. The few solutions tried (all from a background running service): With a broadcast, I tried to target the first application (for example the phone app) that would manage the key event
KeyEvent lKey1Up = new KeyEvent(KeyEvent.ACTION_UP,KeyEvent.KEYCODE_ENDCALL);
KeyEvent lKey1Dwn = new KeyEvent(KeyEvent.ACTION_DOWN,KeyEvent.KEYCODE_ENDCALL);
Intent lKey1UpIntent = new Intent(Intent.ACTION_MEDIA_BUTTON);
Intent lKey1DwnIntent = new Intent(Intent.ACTION_MEDIA_BUTTON);
lKey1UpIntent.putExtra(Intent.EXTRA_KEY_EVENT, lKey1Up);
lKey1DwnIntent.putExtra(Intent.EXTRA_KEY_EVENT, lKey1Dwn );
sendOrderedBroadcast(lKey1UpIntent, null);
sendOrderedBroadcast(lKey1DwnIntent, null);
=> Nothing happens with my foreground phone app when the broadcast is performed while I am in a phone call state (OFFHOOK). Indeed, I was nearly sure this would not work since I have no way to specificely target the phone app.............
View 1 Replies
View Related
Nov 18, 2010
I want to set in project properties build target 2.2 (api level 8) In the manifest.xml <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/> is declared. Did anybody tried, if any user (with min. Android 1.5) see application in the market? Could some other problems occur because of different SDK for building and in manifest?!
View 2 Replies
View Related
Sep 30, 2010
I have installed usb driver, selected the android device's debugging mode but i can't access the android device in the target android device's list.I am using htc wildfire as my android device. i chose the connection type of my device to my pc as Disk Drive.
View 1 Replies
View Related
Nov 21, 2009
I'd like to use FLAG_ACTIVITY_CLEAR_TOP to launch an activity in my app. It has one feature I don't want though - it restarts the target intent, instead of just resuming it. Example history stack, with activity D making the call to B with that flag:
A B C D
new stack
A B
But 'B' gets relaunched, its onCreate() method is called. Since B is already in the history stack, is there a way I can use this flag, but have it *not* recreate B, just onResume() it again? The reordering flags are kind of what I need too, but they won't pop C and D, just reshuffle the stack so B comes to the top, but I want C and D to go away.
View 5 Replies
View Related
Sep 14, 2010
From the Android SDK and AVD Manager it is possible to add an extra Add-on Site URL.
I'd like to have some starting point or documentation about developing and distributing add-ons so I can distribute an SDK for my own target device.
View 1 Replies
View Related
Mar 25, 2010
I am not able to select build target when i create new project in android eclipse on mac system.
I have installed eclipse-java-cocoa 32 bit version and ADT-0.96 version. This was a fresh installation and i also installed AVD and SDK Manager and have created 2 avd's.
I tried creating bash profile. Even then i am not able to select build target,,the targets are not visible at all. I have attached image to show how it looks in eclipse.
View 3 Replies
View Related
Feb 15, 2012
i recently installed eclipse 3.5.2, sdk platform andoid 1.6, api 4 revision 4 and google APIs by google inc. i also set the path for sdk. but everytime i tried clicking the new android project, the build target and project doesn't show up. the only thing that appears is the 'Project Name', 'the location', and the working set.
View 3 Replies
View Related
Jul 22, 2010
i have created an application XYZApp and put it in package/ apps directory of eclair source code and i have added one directory name XYZFrame in framework/base and XYZFrame dir have native code, jni and interfaces. These interface define in framework/base/XYZFrame/ Interfaces/ directory are imported and implemented in class of package/app/XYZApp. The XYZFrame is added in build/core/pathmap.mk and compiled. The compilation is done and apk for XYZApp is created. I installed the XYZApp.apk in to galaxy phone using adb. Now when i execute the XYZApp. apk on galaxy phone, i m getting an error (interfaces not found and fail to link). These interfaces are defined in framework/base/XYZFrame/Interfaces/. i think that framwork/base/XYZFrame/Interfaces are not available on phone Or problem is some thing else.
View 3 Replies
View Related