Android :: Unable To Resolve MapActivity To A Type?
Apr 26, 2010
I'm trying to use google maps on my android app but when i extend MapActivity instead of Activity in my activity file, there is an error that MapActivity cannot be resolved to a type...? I have <uses-permission android:name="android.permission.INTERNET"/> as a child of manifest and <uses-library android:name="com.google.android.maps" /> as a child of application too.....
Moreover, when i try to import com.google,android.maps.MapActivity, it says com.google cannot be resolved....
View 2 Replies
Sep 1, 2010
I have an application which has 11 different activities. One of these activities is an extension of MapActivity (it is a map for data visualization). To get to this activity the user must first travel through the launch activity, then 3 other activities.
The code to launch the MapActivity is:
CODE:..............
When this is executed I get the following output from the Log:
CODE:.......
I do have the target set to Google APIs, this is an app meant for Android 1.5, and specifies the minsdk to be level 3 in the manifest file. uses-library for maps is also in manifest file.
CODE:..........
I have been at this for almost 2 days now with no results. It seems that there are a lot of people having issues launching a MapActivity from other activities but there are no solutions anywhere.
View 2 Replies
View Related
Apr 16, 2010
I have a problem interacting with a Web View. I'm showing an html login form within a web view and I can't type inside of any of the input fields of the forms. I do can interact with the links, select boxes, buttons, etc.
Here is an example of my code. Basically I'm retrieving the web view from the xml and setting it a WebViewClient and a WebChromeClient. code...
View 1 Replies
View Related
Oct 11, 2010
I am having a problem in running Android unit test. I got this error when I tried to run a simple test.
Here's the log:
CODE:.........................
This error occurs for Android less than 2.2. It works fine for Android 2.2 emulator. Yet Android 2.2 emulator has a bug of sending a key twice even though we only press it one. Application to be tested runs on Android 2.2 platform.
View 1 Replies
View Related
Jun 14, 2010
I used a gridview in this app.
When i run it at Verison 1.6 or newer, it's OK. But i can not get this gridview in 1.5.
I always show this info and exception:
CODE:..............
This is the layout xml:
CODE:....................
View 1 Replies
View Related
Oct 6, 2010
Is anyone else having problems logging into facebook?
View 3 Replies
View Related
Jul 12, 2010
Since i upgraded to 2.2 on my AT&T nexus one i haven't been able to receive pics but i can send them. any suggestions?
View 8 Replies
View Related
Jun 7, 2010
I am not able to search for Skype or Handcent SMS on my Incredible what seems to be the problem?
View 11 Replies
View Related
Nov 23, 2010
Updated to 2.1 now i cant sync with SE!! Try to open the application and update from previous sync like in 1.6 does not want to know. Anyone else had that problem or know how to resolve it?
View 2 Replies
View Related
Oct 25, 2009
Headphones are in but they are not and because of this i am unable to make or receive calls without putting it on loud speaker and are unable to play music without headphones.... does anyone know how to resolve the issue?
View 15 Replies
View Related
May 27, 2010
Ive been trying to retrieve the current network type, but no success when i say network type: i refer to know this info:
if the type is: NETWORK_TYPE_IDEN or NETWORK_TYPE_UMTS.. and so on. i tried to use: NetworkInfo activeNetInfo = connectivityManager.getActiveNetworkInfo();NetworkInfo bonneting = connectivity Manager.getNetworkInfo i am doing this coz i wanna know if the current network is IDEN, or if the current network is connected through wifi any other suggestions will be welcome.
View 2 Replies
View Related
Jun 13, 2010
I moved to shape writer and I haven't looked back. when I have to tap-type in certain words that aren't in the SW dictionary yet, its a pain in the @ss. I talked a couple other people into "swyping" instead of tapping and they fought at first, now they two can't stand tap typing anymore.
View 11 Replies
View Related
Jun 4, 2010
I've already created XML using DOM in Android. Now I have a problem converting my Document data to String since transform factor is not available in Android. I need to FileOutputStream the Strings that came from the Document.
View 2 Replies
View Related
Oct 24, 2010
Anywho, I want to go into Gmail, compose a new email, and be able to select contacts (or even have the app provide a look-ahead list based on what I type). This is exactly how the Gmail app for my Blackberry 8830 worked so I don't understand why there seems to be less functionality no an Android phone. In any case, it seems that no matter what, all I can do is manually type in email addresses. Also, I know I can go into Contacts (People) and select a person's email. This brings up a menu option to email using Gmail or my Exchange email account. This in't good enough because all I can do is open a new email to one person this way. What if I want to email 10 people!?
View 1 Replies
View Related
Oct 21, 2010
I am trying to create an Android maps project. Everything was working fine until i added Salesforce classes into it. Now it doesn't even compile. It gives me: Type Conversion to Dalvik format failed: Unable to execute dex: null error.
I tried 1) Increasing memory in the .ini file. That didn't help. 2) Project -> Clean option. It cleans, builds again and then gives me the same error.
I am using Snow Leopard and i have the latest version of Android on my system. I just installed it last week. Plus, my eclipse is Ganymede. I even tried it with Galileo.
View 4 Replies
View Related
Jun 4, 2010
I have an HTC incredible and have tried everything to put music on it, the most recent program i am using is tunesync, which works great. However, whenever i transfer music i always get the message "unable to play this type of audio file" I have tried everything from making the files all mp3 format to using different programs to do the sync, but nothing will work.
View 3 Replies
View Related
Jul 21, 2010
I am no longer able to bring up the 4 choice usb-type menu that pops up when the usb cable is connected between the phone and my pc. Now after about a second delay the battery icon changes to the charging icon and the red LED lights up.
I have Disk Drive set as default with the "Ask Me" box checked (regarding USB connection type). The cable I have been using before and now is the one marked DICMUSB that came with the phone and plugs into the htc usb converter for drawing power from the wall. My pc also does not recognize the phones internal storage or pop up an error message.
I have not had this issue before, as I have been able to move mp3's from disk to phone-sdcard as well as change the boot animation. I thought maybe an app was causing the issue, but after uninstalling everything back to when I last hooked up the phone to my pc the problem still exists.
View 3 Replies
View Related
Jun 4, 2010
I have an HTC incredible and have tried everything to put music on it, the most recent program i am using is tunesync, which works great. However, whenever i transfer music i always get the message "unable to play this type of audio file" I have tried everything from making the files all mp3 format to using different programs to do the sync, but nothing will work.
View 1 Replies
View Related
Apr 28, 2010
I took out the 8GB SD card from my Blackberry Storm and put it the Incredible.
I had a bunch of music saved on my SD Card that I downloaded from VZW Music Media thing.
When I go to music on the Incredible and go over the song (it shows the picture of the album of the song)
it says "unable to play this type of audio"
View 10 Replies
View Related
Aug 19, 2009
I want to display my two point on maps. I saw many example but they are using MapActivity when i used MapActivity in my sdk which is 1.5. it seems it is not available in it. So is it true that it is not available in 1.5 API. So is there any other alternative for it. can i do it using the following code sniiipt. I can do it for one code snippt but i do not know how can i display two point.
CODE:.....................
View 7 Replies
View Related
Jul 20, 2010
After awhile of heavy SMS use if i open a message and go to type to respond the words i type do not show up on the screen. Id i minimize the keyboard it shows. If I expand it they go away.
View 1 Replies
View Related
Aug 25, 2010
I have a DROID using Android 2.2
I am attempting to get the simplest MapActivity to run on the device. (NetBeans latest and greatest using a Google Api build target.)
I have all the appropriate Manifest entries, the simplest OnCreate --- > all it does is setContextView() to the xml with a mapview in it.
View 4 Replies
View Related
Jun 17, 2009
I'm having problems getting a MapActivity to work on 1.5r2. As far as I can tell I've done everything I need to do, but what am I missing? The Google Maps key was generated on the Google Maps website using the Debug keystore at the location in my Android setup.
What does "Unable to resolve superclass of Lcom/bgies/truckerphonetest/DirectionActivity;" actually mean? As far as I can tell, the activity is setup properly.... At least it is setup exactly the same way I have other activities setup... with the exception that it's the only activity that has a mapView in it.
I can't run it either on my G1 or the emulator... so I assume it's something I am doing wrong. The project setup does have the Google APIs [Android 1.5], and the AVD for the emulator does show the target as Google APIs when I select it.
From my Android Manifest :
CODE:....................
View 2 Replies
View Related
May 22, 2009
I have a problem with firing an activity that extends MapActivity. When it gets called, it throws a java.lang.NoClassDefFoundError... not sure what this is supposed to mean. I think something goes wrong with the external implementation of the maps API (maps.jar). Has anyone come across that problem? Here's the srack trace:
CODE:....................
View 8 Replies
View Related
Mar 3, 2009
I want to add a MapActivity in an ActivtyGroup. As only single level inheritance is supported, my class can either extend from either MapActivity or ActivityGroup. As far as I know MapActivity is not a part of ActivityGroup. I want an activity to extend MapActivty as well be a part of an ActivityGroup.
View 2 Replies
View Related
Jan 7, 2010
I've got an app using MapActivity.onCreate() to initialize the map and show it on screen. Now I would like to add a menu to my app. From what I've found out I can't add a menu from MapActivity and need to use Activity (correct me if I'm wrong).
Now I have no idea how to "initialize" the map from my Activity-class.
And how would I have to fix the views, will I wrap my activity-layout around my Map-layout?
View 5 Replies
View Related
Jul 8, 2009
I have attached a mapview to my layout and have a it showing a compass and my current location, the problem I have is that there is no street map shown in the view, so basically I just see the compass and my current location over a blank grid.
View 3 Replies
View Related
Oct 7, 2009
Is it possible to use the terrainview in a MapActivity. The only way for now i could think to use the terrainview is using the browser- based version of Google Maps rather than using the native implementation, but that would not be my preferred way.
View 2 Replies
View Related
Nov 24, 2010
I have created a release keystore using the Eclipse IDE. I signed it using keytool and registered on Google Maps. I plugged in the key but my map doesn't show up. Maps show up properly when I use the key associated with my debug keystore. How can I diagnose this? I followed the same steps as i did with debug, for release.
UPDATE: Here is my manifest file:.................
View 2 Replies
View Related
May 6, 2010
I have a TabActivity that loads in 3 activity classes.In those Activity classes I have a button and an OnClickListener that tries to open a MapActivity class.I have searched to find an example of an Activity class launching a MapActivity class but cannot find one. If I swap out my MapActivity class with a Activity class it works.
View 2 Replies
View Related