[android-developers] Bad notification posted - Couldn't expand RemoteViews for: StatusBarNotification
Hey everyone, The requirement was to make a custom notification since the android's default notification only allows for an image. So I went through on how to attach a custom UI for notification when expanded, the ready answer was to create a custom view and pass to the notification manager and allowed from API level 16. So I did one and here the my layout xml code - filename: notification_custom_view_new: http://schemas.android.com/apk/res/android"android:layout_width="match_parent"android:layout_height="match_parent"android:background="@color/GhostWhite;> The way I referenced it in code: private RemoteViews assignRemote(Bitmap bitmap, String title, String message ){ RemoteViews expandedView = new RemoteViews(Application.getInstance(). getPackageName(), R.layout.notification_custom_view_new); expandedView.setTextViewText(R.id.title, title); expandedView.setTextViewText(R.id.message, message); expandedView. setImageViewBitmap(R.id.big_picture, bitmap); expandedView.setImageViewResource(R.id.big_icon, R.mipmap.ic_launcher); expandedView.setTextViewText(R.id.time, getOnlyHrsMin()); return expandedView; } assigning customview to notification manager: if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { notification.bigContentView = assignRemote(bitmap, title, message); } But this gave me error saying bad notification, I have identified over 15+ same question here on stackoverflow without a right answer.. Some suggest it to be a resource missing and hence the error. I am sure from my end none of the values are null nor resources missing errors are not there in my remote view that is passed. Any help will be appreciated and also I have tried for around a couple of days to track the error but nothing good seems to happen. Please help me! Screenshot attached for layout UI.. also find the NotificatioUtils and layout xml files attached for reference. Thanks DJphy -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/1cc8ccad-f636-4558-9be8-5a83d5598012%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. notification_custom_view_new.xml Description: XML document package com.goldadorn.main.dj.support.gcm; import android.app.ActivityManager; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.ComponentName; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import android.media.Ringtone; import android.media.RingtoneManager; import android.net.Uri; import android.os.Build; import android.support.v7.app.NotificationCompat; import android.text.Html; import android.text.TextUtils; import android.util.Log; import android.util.Patterns; import android.widget.RemoteViews; import com.goldadorn.main.R; import com.goldadorn.main.activities.Application; import com.goldadorn.main.dj.utils.Constants; import com.goldadorn.main.dj.utils.DateTimeUtils; import com.goldadorn.main.dj.utils.IntentKeys; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Calendar; import java.util.Date; import java.util.List; /** * Created by COMP on 2/25/2016. */ public class NotificationUtils { private static String TAG = NotificationUtils.class.getSimpleName(); private static Context mContext; public NotificationUtils() { } public NotificationUtils(Context mContext) { this.mContext = mContext; } public void showNotificationMessage(String title, String message, String timeStamp, Intent intent) { showNotificationMessage(title, message, timeStamp, intent, null); } public void showNotificationMessage(final String title, final String message, final String timeStamp, Intent intent, String imageUrl) { // Check for empty push message if (TextUtils.isEmpty(message)) return; // notification icon final int icon = R.mipmap.ic_launcher; intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP); intent.putExtra(IntentKeys.PUSH_NOTIFICATION_CALL, Constants.GCM_CALL); final PendingIntent
[android-developers] APK size weirdly got increased (increase upto 10 MB)
Hey Hi everyone, I am currently working on this project for my company. The initial/usual size of the apk before the weird thing happened was ~10MB This project uses two external libraries 1. KAndroid (company customised lib, not to worry) 2. PayU - Payment gateway for our app. Note: I am excluding all the libs from GRADLE dependency (assuming the libs thr are not contributing much to the apk size) But you can check the build.gradle as well I might wrong in assuming. Issue: # The entire resources folder is 2.56MB (size on disk) and 1.63MB(size) # The size of the APK suddenly, drastically and weirdly got increased by 10MB last week and now the size of the APK is ~20MB. # No extra libs have been added since 6 months back. The KAndroid lib was always there from the beginning, PayU sdk (payment gateway lib) was added months back. # The sdk PayU's build folder is around ~20MB, this could have been a suspect but it was added months back as I said and so the APK size must have been increased initially only and not in the last week link to my entire project on drive; please feel free to checkout: https://drive.google.com/open?id=0B-lDLHmPjFIwS0U0NVZnVTRPYjQ I could have linked to the same project at bitbucket but since last few days i haven't pushed the code yet... Sorry about the huge size of zip file on drive It will be a great help if someone can find me a solution. Awaiting your responses Thanks a ton -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/b2264f43-e044-4565-aea3-cf4a85139833%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] getdisplay width height and assign it to static int
I am new in developing. I want display width and height and assign it static integer. If this possible than how? -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Rotating an Android VideoView
You are right Justin... Regards, Darshan On Jan 10, 7:35 pm, Justin Buser justin.bu...@gmail.com wrote: So if I am correct you are saying that you want the video to be landscape and the player controls to be portrait while the phone is portrait oriented? On Jan 7, 12:41 am, Darshan cmb...@gmail.com wrote: My app's requirement is that it should display the Video in Landscape mode only even when the device's orientation is changed to Portrait leaving all other controls to be in sync with the device's orientation. Thats why I am looking for a way to rotate the VideoView alone. I am looking for a way to handle the below scenario: 1. Initially the device is in Portrait mode when the 'Play Video button is pressed. 2. The video will be fetched and prepared for display. 3. Now, when displaying the first frame, I need to rotate the video view so that the video gets displayed as in Landscape mode (note that the device is still in Portrait mode). 4. Once a way for achieving what is required in point 3) above is available, I can then need not worry on rotating the videoview on further device orientation changes. Hope I had clearly explained the scenario. Thanks, Darshan On Jan 7, 10:30 am, Darshan cmb...@gmail.com wrote: My app's requirement is that it should display the Video in Landscape mode only even when the device's orientation is changed to Portrait leaving all other controls to be in sync with the device's orientation. Thats why I am looking for a way to rotate the VideoView alone. --- Darshan On Jan 6, 10:06 pm, TreKing treking...@gmail.com wrote: On Thu, Jan 6, 2011 at 8:03 AM, Darshan cmb...@gmail.com wrote: But, what I want is to display the video in Landscape mode even when the device is in Portrait mode. All other UI elements (textview, an edittext field, a 'Play Video' Button etc.,) should be displayed in Portrait. Why even bother doing this? If you're not going to rotate the video, then there's no reason for the user to rotate their phone and thus no reason to rotate the controls. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Rotating an Android VideoView
Hi All, I have a Framelayout that contains a textview, an edittext field, a 'Play Video' Button and a VideoView. When entering a video url and hitting the 'Play Video' button, the VideoView will fetch and display the video. This is working fine as expected and the video gets displayed as per the device's orientation. But, what I want is to display the video in Landscape mode even when the device is in Portrait mode. All other UI elements (textview, an edittext field, a 'Play Video' Button etc.,) should be displayed in Portrait. Can anybody help me to achieve this programmatically? Is there is some function to rotate the VideoView alone? If yes, can you provide some sample code for achieving the video rotation? Thanks, Darshan -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Rotating an Android VideoView
My app's requirement is that it should display the Video in Landscape mode only even when the device's orientation is changed to Portrait leaving all other controls to be in sync with the device's orientation. Thats why I am looking for a way to rotate the VideoView alone. --- Darshan On Jan 6, 10:06 pm, TreKing treking...@gmail.com wrote: On Thu, Jan 6, 2011 at 8:03 AM, Darshan cmb...@gmail.com wrote: But, what I want is to display the video in Landscape mode even when the device is in Portrait mode. All other UI elements (textview, an edittext field, a 'Play Video' Button etc.,) should be displayed in Portrait. Why even bother doing this? If you're not going to rotate the video, then there's no reason for the user to rotate their phone and thus no reason to rotate the controls. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Rotating an Android VideoView
My app's requirement is that it should display the Video in Landscape mode only even when the device's orientation is changed to Portrait leaving all other controls to be in sync with the device's orientation. Thats why I am looking for a way to rotate the VideoView alone. I am looking for a way to handle the below scenario: 1. Initially the device is in Portrait mode when the 'Play Video button is pressed. 2. The video will be fetched and prepared for display. 3. Now, when displaying the first frame, I need to rotate the video view so that the video gets displayed as in Landscape mode (note that the device is still in Portrait mode). 4. Once a way for achieving what is required in point 3) above is available, I can then need not worry on rotating the videoview on further device orientation changes. Hope I had clearly explained the scenario. Thanks, Darshan On Jan 7, 10:30 am, Darshan cmb...@gmail.com wrote: My app's requirement is that it should display the Video in Landscape mode only even when the device's orientation is changed to Portrait leaving all other controls to be in sync with the device's orientation. Thats why I am looking for a way to rotate the VideoView alone. --- Darshan On Jan 6, 10:06 pm, TreKing treking...@gmail.com wrote: On Thu, Jan 6, 2011 at 8:03 AM, Darshan cmb...@gmail.com wrote: But, what I want is to display the video in Landscape mode even when the device is in Portrait mode. All other UI elements (textview, an edittext field, a 'Play Video' Button etc.,) should be displayed in Portrait. Why even bother doing this? If you're not going to rotate the video, then there's no reason for the user to rotate their phone and thus no reason to rotate the controls. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Problems in Downloading Videos and Images hand in hand
Hi All, I am currently working on a project, that requires video and images to be downloaded and displayed hand in hand. Here is the exact scenario: * 1. Parse an XML file for getting a video url. 2. Parse the same XML file for getting urls of some images associated with that video and the start time of each of those images. The start time specifies the time when the image should be displayed over the video. 3. Once the parsing is done, play the video and display the images associated it on top of that video meeting the following requirements: 1. Each of the image needs to be displayed based on its start time 2. All the images needs to be displayed before the video ends. For example, lets consider the following case: - video duration is 10 seconds - image X1's start time is 0 - image X2's start time is 5 In this case, we have to display the image X1 as soon as the video play starts (first frame displays), and display image X2 at the 5th second of the video. NOTE: Each of the image is around a few KBs only. I am able to achieve the functionality, if I start the video play after downloading all the images. But this introduces some noticeable delays in starting the video which is a problem. Trying to download the images using AsyncTask (or) using a new thread in order to avoid the delay in video start also doesn't seem to work as expected. In that case, the image download stalls and then continues only after the video ends. I am using a VideoView (attached to a FrameLayout, say F1) for playing the video and a RelativeLayout (attached to the same FrameLayout, F1) for displaying the images. Can anybody suggest me a solution for handling this scenario? Its very urgent as I have to meet some deadlines. Thanks, Darshan. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Issues with Playing 2 videos using HTML5 Video Element in Android
Hi All, I haven't received any responses for a long time. Does anybody know a solution for this issue? Darshan On Jul 29, 10:25 am, Darshan cmb...@gmail.com wrote: Hi All, Right now I am building a web page that plays videos using HTML5 video element. Here is the sample page: html head titleHTML5 Android Error Video Sample/title meta http-equiv=content-type content=text/html; charset=utf-8 script type=text/javascript //videoEndedListener function videoEndedListener() { var videoElement = document.getElementById('html5Player'); videoElement.removeEventListener('ended', videoEndedListener, false); videoElement.src=VIDEO_URL_2; videoElement.load(); videoElement.play(); alert(Playing 2nd Video); }; //addEndedListener -- function addEndedListener(){ var videoElement = document.getElementById('html5Player'); videoElement.addEventListener('ended', videoEndedListener, false); }; /script /head body onload=addEndedListener() video id=html5Player src=VIDEO_URL_1 autoplay width=480 height=320 poster=some_logo.gif onclick=this.play()/video /body /html In the above sample, I am trying to play 2 videos one after the other. Here is what I am experiencing in Android Emulator V2.2: *** 1. If VIDEO_URL_1 and VIDEO_URL_2 are valid mp4 urls, then both the videos gets played out in the order as expected. 2. If VIDEO_URL_1 is a valid mp4 url but VIDEO_URL_2 is a url pointing to a non-existing mp4 video, then the 1st video gets played out and the 2nd video ends up in Sorry this video cannot be played message as expected. 3. If VIDEO_URL_1 is a url pointing to a non-existing mp4 video but VIDEO_URL_2 is a valid mp4 url, then the 1st video ends up in Sorry this video cannot be played message as expected and the videoEndedListener() is also fired. The statements in videoEndedListener() gets executed successfully and the alert Playing 2nd Video is also thrown but the 2nd video never gets played out. Please let me know if I am doing something wrong. If not, please let me know a solution for this issue as I need it urgently. Thanks in advance. Darshan -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Max bitrate for mp4 files in Android
Hi All, I have 2 mp4 video files for playing in Android. Here is the information on both those files: mp4 File 1: Audio Codec: AAC Audio BitRate = 16000 Audio SampleRate = 16000 Audio SampleSize = 16 Video Codec: H264 Video BitRate = 114000 Video FrameRate = 15 Video Resolution = 176x132 Total BitRate = 16000 + 114000 = 13 mp4 File 2: Audio Codec: AAC Audio BitRate = 24000 Audio SampleRate = 22050 Audio SampleSize = 16 Video Codec: H264 Video BitRate = 36 Video FrameRate = 30 Video Resolution = 480x360 Total BitRate = 24000 + 36 = 384000 When playing mp4 File 1 (low bit rate) in Android Emulator 2.2 device, both audio and video gets played out successfully. But, when playing mp4 File 2 (high bit rate) in Android Emulator 2.2 device, only the audio gets played out successfully whereas the video doesn't get displayed. The progress bar shows the progressing of the video but the actual video is not visible. Only black screen is visible. But when trying to pull the progress bar, the video frame at that particular position gets displayed like an image. I am not sure of what the problem might be with the high bitrate video file. Does anybody know the reason for this issue? Are there any known problems in playing high bit rate videos in Android? What is the maximum recommended bit rate / frame rate values for the mp4 videos in Android? Will changing any of the above-mentioned parameters of mp4 File 2 fix this issue? Expecting some guidance at the earliest. Thanks and Regards, Darshan -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Issues with Playing 2 videos using HTML5 Video Element in Android
Hi All, Right now I am building a web page that plays videos using HTML5 video element. Here is the sample page: html head titleHTML5 Android Error Video Sample/title meta http-equiv=content-type content=text/html; charset=utf-8 script type=text/javascript //videoEndedListener function videoEndedListener() { var videoElement = document.getElementById('html5Player'); videoElement.removeEventListener('ended', videoEndedListener, false); videoElement.src=VIDEO_URL_2; videoElement.load(); videoElement.play(); alert(Playing 2nd Video); }; //addEndedListener -- function addEndedListener(){ var videoElement = document.getElementById('html5Player'); videoElement.addEventListener('ended', videoEndedListener, false); }; /script /head body onload=addEndedListener() video id=html5Player src=VIDEO_URL_1 autoplay width=480 height=320 poster=some_logo.gif onclick=this.play()/video /body /html In the above sample, I am trying to play 2 videos one after the other. Here is what I am experiencing in Android Emulator V2.2: *** 1. If VIDEO_URL_1 and VIDEO_URL_2 are valid mp4 urls, then both the videos gets played out in the order as expected. 2. If VIDEO_URL_1 is a valid mp4 url but VIDEO_URL_2 is a url pointing to a non-existing mp4 video, then the 1st video gets played out and the 2nd video ends up in Sorry this video cannot be played message as expected. 3. If VIDEO_URL_1 is a url pointing to a non-existing mp4 video but VIDEO_URL_2 is a valid mp4 url, then the 1st video ends up in Sorry this video cannot be played message as expected and the videoEndedListener() is also fired. The statements in videoEndedListener() gets executed successfully and the alert Playing 2nd Video is also thrown but the 2nd video never gets played out. Please let me know if I am doing something wrong. If not, please let me know a solution for this issue as I need it urgently. Thanks in advance. Darshan -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android eclair: playing videos
Hi, Can you please provide the details of the solution? Thanks, Darshan On May 19, 12:05 pm, petter havlenap...@gmail.com wrote: nevermind i solved it On May 6, 9:39 am, petter havlenap...@gmail.com wrote: Hi I have compiledandroideclairversion 2.1 on my htc sapphire 32A and everything works great up toplayingvideos. When I ranplayinga any video on device,androidplayer starts and I see only black screen. Sound is working properly, but something happens when bites from video are copied to share memory with kernel. In logcat I see this lines: E/copybit ( 73): copyBits failed (Invalid argument) D/copybit ( 73): 0: src={w=480, h=320, f=0, rect={0,0,480,320}} D/copybit ( 73): dst={w=480, h=320, f=0, rect={0,0,480,320}} D/copybit ( 73): flags=00020008 E/SurfaceFlinger( 73): GL error 0x0502 Please help somebody, I am already desperate. -- You received this message because you are subscribed to the Google Groups AndroidDevelopers group. To post to this group, send email toandroid-develop...@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups AndroidDevelopers group. To post to this group, send email toandroid-develop...@googlegroups.com To unsubscribe from this group, send email toandroid-developers+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Video Issues in Android Emulator
Hi, I am working on a video related application in Android. As a ground work for that, I tried playing some .3gp and .mp4 videos in the Android Emulator that is a part of the Android SDK V2.1. But I couldn't get them played successfully. Here is the environment information: * Desktop PC: --- Dell Optiplex 380 - Intel Core 2 Duo CPU E7500 @ 2.93GHz 1.58 GHz - 3.2 GB RAM Android Emulator - V2.1 configured with the following: --- Target: Android 2.1 (API Level 7) Skin: HVGA (default value) SD Card: 1024 M hw.sdCard: yes hw.lcd.density: 160 .3gp file used for testing: http://www.free-3gp-video.com/3gp/2006/03/15/do-beer-not-drugs.html (do-beer-not-drugs.3gp) (Transferred this file to emulator as per the steps in http://android-er.blogspot.com/2009/10/create-sd-card-in-android-emulator-and.html). Here is the behavior I noticed: * - When going to the Gallery, the file gets listed in the list of video files in the emulator with a play icon on it. - When clicking on the play button, the player opens and displays the first frame of the video. But after this, the progress bar or scrubber bar shows that the video is playing but the displayed content never gets updated (looks like a standstill). - When clicking on the progress bar while the video is playing, the video frame corresponding to the clicked position gets displayed. Anybody else noticed the same behavior? If yes, is there a solution to solve this problem? Please let me know if I am missing anything else in the setup. Thanks in advance. --- Darshan -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Error while consuming Axis2 based WEB SERVICE...
Hello , I am new to axis ,I have created a web servcie with couple of methods using axis2 and deployed it on tomcat.And am calling that web service from my android program with the help of ksoap.But wen i call a method which doesn't take any parameter am gettin fine reply from web service which i can able to see on my screen,But wen i call anothr method which takes a string argument am getting namespace exception on server WEB SERVICE CODE IS . == package Guru; public class DarshanSays { public String getMsg(String h) { return h+ ..the power of change is eVolution...; } public String getEmpty(String d)throws Exception { return empty string from tomcattt; } } //AND program is String soap_action=http://Guru/getEmpty;; String method_nm=getEmpty; String nmspc=http://Guru/;; String url7=http://192.168.10.182:8080/axis2/services/Friday;; SoapObject request = new SoapObject(url7,method_nm); /*sending method parameters with SoapObject */ request.newInstance(); request.addProperty(h,darshan.); // sending a parameter to a method SoapSerializationEnvelope envelope = newSoapSerializationEnvelope(SoapEnvelope.VER11); envelope.bodyOut=request; envelope.dotNet = true; envelope.encodingStyle = SoapSerializationEnvelope.XSD; envelope.dotNet=true; /*setting outputsoap object sending request */ envelope.setOutputSoapObject(request); /*HttpTransportSE object creating sending it url */ androidHttpTransport = new HttpTransportSE(url7); try { androidHttpTransport.debug=true; androidHttpTransport.call(nmspc,envelope); } catch(Exception e) { } //exception is throw. try { SoapPrimitive sp=(SoapPrimitive)envelope.getResponse(); String hh=sp.toString(); Log.d(reply from web ser,..+hh.toString()); //and erorr msg is **SoapFault - faultcode:'soapenv:Server' faultstring: 'namespace mismatch require http://Guru found 192.168.10.182:8080/axis2/services/ Friday' faultactor: 'null' detail: org.kxml2.kdom.n...@43d31390** ERROR IS coming only when am calling parameterized method. Please Help.. thanks Darshan V -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] I have problem in package resolution
Hello, I am a new bee to Android. I have Eclipse + ADT development environment. I am trying to start a new activity by clicking on a button on the existing activity. But package is not being resolved some how, here is my code... package com.darshan.demos; import android.app.Activity; import android.content.ComponentName; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class intentsTest extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Button button = (Button) findViewById(R.id.button); button.setOnClickListener(myNewActivity); } private OnClickListener myNewActivity = new OnClickListener() { public void onClick(View v) { Intent intent = new Intent(); ComponentName comp = new ComponentName(com.darshan.demos,com.darshan.demos.IntentsNew); intent.setComponent(comp); startActivity(intent); } }; } IntentsNew is the new activity that I want to start. The error is... Description Resource Path LocationType com.darshan.demos cannot be resolved to a type intentsTest.java iIntents/src/com/darshan/demos line 25 Java Problem com.darshan.demos.IntentsNew cannot be resolved intentsTest.javaiIntents/src/com/darshan/demos line 25 Java Problem -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Device Seeding Program for Top Android Market Developers
Maps and Jason: I asked about this a few days ago, and a few people have confirmed that they have received their Droids via FedEx from Brightpoint, just like the Nexus Ones. (The address Greg said his came from is about 2 blocks from the address listed on Brightpoint's website. I'm sure it's one of their warehouses. niko20 explicitly confirmed these details as well.) Greg, Tao, and niko20: Thanks for the info. Darshan On Mar 27, 1:19 pm, Jason arm...@gmail.com wrote: Was the shipper for the DROID someone other than brightpoint? On Mar 27, 12:23 pm, niko20 nikolatesl...@yahoo.com wrote: Damnit, got a DROID today in Madison WIum I already have a DROID. I doubt anyone is ever gonna wanna trade a Nexus one for this..lol - On Mar 27, 11:21 am, Greg Donald gdon...@gmail.com wrote: Droid, Nashville TN. -- Greg Donald destiney.com | gregdonald.com -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Device Seeding Program for Top Android Market Developers
Can someone who received a Droid in the US let us know who/where it was shipped from? Several people have mentioned that the Nexuses are coming from Brightpoint in Indiana, but I'm not sure if the Droids are coming from there or elsewhere. Thanks, Darshan On Mar 27, 9:21 am, Greg Donald gdon...@gmail.com wrote: Droid, Nashville TN. -- Greg Donald destiney.com | gregdonald.com -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Getting a complete list of android native drawables
I realize this thread has been dead for a couple of months, but I just composed a list of drawables from android.R.drawable. I left out all the NinePatch drawables; these are just the ones that might be suitable for use as icons. Anyway, here's the link: http://darshancomputing.com/android/1.5-drawables.html Darshan On Mar 19, 5:43 pm, Agus agus.sant...@gmail.com wrote: Does anyone has a complete list of native drawables listed on a webapage ? I don't want to do trial and error.. Any help is appreciated. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---