[android-developers] Re: receive sms application. need help.
Hello to start activity from a BroadcastReceiver in the onReceive(Context context, Intent intent) method do the following : Intent myIntent = new Intent(context, MyActivity.class); myIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(myIntent); Hope that Helps Regards On Monday, February 13, 2012 10:22:29 PM UTC+3, jitesh adnani wrote: ive been stuck on some problem when trying to handle incoming sms message and to toast them. have no idea how to get over the problem. please help. this is my main java file - SmsApp.java package com.android.project.smsapp; import android.app.Activity; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import com.android.project.smsapp.R; public class SmsApp extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Intent i = new Intent(this, Receiver.clss); startActivity(i); } } i also have a Receiver.java file package com.android.project.smsapp; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.telephony.SmsMessage; import android.widget.Toast; public class Receiver extends BroadcastReceiver{ @Override public void onReceive( Context context, Intent intent ) { // Get the SMS map from Intent Bundle extras = intent.getExtras(); String messages = ; if ( extras != null ) { // Get received SMS array Object[] smsExtra = (Object[]) extras.get(pdus); // Get ContentResolver object for pushing encrypted SMS to the incoming folder //ContentResolver contentResolver = context.getContentResolver(); for ( int i = 0; i smsExtra.length; ++i ) { SmsMessage sms = SmsMessage.createFromPdu((byte[])smsExtra[i]); String body = sms.getMessageBody().toString(); String address = sms.getOriginatingAddress(); messages += SMS from + address + :\n; messages += body + \n; // Here you can add any your code to work with incoming SMS // I added encrypting of all received SMS //putSmsToDatabase( contentResolver, sms ); } // Display SMS message Toast.makeText( context, messages, Toast.LENGTH_SHORT ).show(); } // WARNING!!! // If you uncomment the next line then received SMS will not be put to incoming. // Be careful! // this.abortBroadcast(); }} and the androidmanifst.xml is ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.android.project.smsapp android:versionCode=1 android:versionName=1.0 uses-sdk android:minSdkVersion=10 / uses-permission android:name=android.permission.RECEIVE_SMS/ application android:icon=@drawable/ic_launcher android:label=@string/app_name activity android:name=.SmsApp android:label=@string/app_name intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity activity android:name=.Receiver android:permission=android.permission.RECEIVE_SMS receiver android:name=.Receiver intent-filter action android:name=android.provider.Telephony.SMS_RECEIVED/ /intent-filter /receiver /activity /application /manifest the logcat is as follows -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Receive SMS
Hello Ehsan to receive from certain numbers , you have to do the following : 1- make a BroadcastReceiver for receiving SMS messages and declare it in the AndroidManifest.xml 2- in the onReceive(Context context, Intent intent) you take the incoming message by doing this Bundle bundle = intent.getExtras(); Object[] pdus = (Object[]) bundle.get(pdus); SmsMessage[] messages = new SmsMessage[pdus.length]; for (int i = 0; i messages.length; i++) { messages[i] = SmsMessage.createFromPdu((byte[]) pdus[i]); String number = messages[i].getOriginatingAddress(); // Now you check if the number is one of the certain numbers that you want to receive sms for } Hope that Helps Regards On Monday, August 6, 2012 7:23:07 AM UTC+3, Ehsan Sadeghi wrote: How can I receive from certain numbers and only for them my app is started and how doesn't messages that app receive appear in the messaging built in? -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Receive SMS
Hi, Call abortBroadcast() if you don't want the message to appear in the built-in messaging application. http://developer.android.com/reference/android/content/BroadcastReceiver.html#abortBroadcast() http://developer.android.com/reference/android/content/BroadcastReceiver.html#abortBroadcast%28%29 Hope this helps /Yaron On 06/05/2013 09:12 AM, amro alfares wrote: Hello Ehsan to receive from certain numbers , you have to do the following : 1- make a BroadcastReceiver for receiving SMS messages and declare it in the AndroidManifest.xml 2- in the onReceive(Context context, Intent intent) you take the incoming message by doing this Bundle bundle = intent.getExtras(); Object[] pdus = (Object[]) bundle.get(pdus); SmsMessage[] messages = new SmsMessage[pdus.length]; for (int i = 0; i messages.length; i++) { messages[i] = SmsMessage.createFromPdu((byte[]) pdus[i]); String number = messages[i].getOriginatingAddress(); // Now you check if the number is one of the certain numbers that you want to receive sms for } Hope that Helps Regards On Monday, August 6, 2012 7:23:07 AM UTC+3, Ehsan Sadeghi wrote: How can I receive from certain numbers and only for them my app is started and how doesn't messages that app receive appear in the messaging built in? -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- Yaron Reinharts Smart Drive Applications http://www.poncho.co.il/gateaway.php https://market.android.com/details?id=com.poncho.gsm.gate.activities -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: how to send a pdf file from android to wifi printer programatically?
Hi Hrishi, I am able to print pdf file successfully to printer using Google Cloud Print. I am curious to know - 1) how you were able to connect to wifi device (printer) 2) how you were able to print text ,html file n images (did you send send a file in html format to print or you are sending stream of bytes ) Thanks Regards, Priyanka On Wednesday, 30 November 2011 15:08:56 UTC+5:30, Hrishi wrote: Please bare if is repeated question... I am able to connect to wifi device (printer). Now i want to print a pdf file programatically using wifi connection. can someone tell me how to do it because i am not getting any way to do it. I am able to print text ,html file n images but pdf file not get printed in proper format what is the way to send pdf file to printer in proper format ... Is there any API available for printing pdf file ? Please suggest third party APIs.. Please help me !! Thanks in advance !!! -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] ICS udev rule
Hi, Environment: Pandaboard Android Version: 4.2.2 I would like to write udev rules to a propriety device i connect the the board. I looked at /etc/ for udev directory but didn't find it, Where i need to put my rule ? Can someone post an example? Thanks -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Simulate an incoming call from a test?
Hello from eclipse choose window open perspective and choose DDMS . the DDMS perspective open now again choose window show view and choose Devices the Devices window will open with alist of all the emulators that are open . click on the emulator that you want to test the call in . now again now again choose window show view and Emulator control now there is a section for Telephony Actions there you enter the Incoming number then you choose if you want it as a voice (call) or as SMS and there is a buttons for both call and hang for the call and send for the SMS Hope that helps Regards Amro alfares amro.alfa...@gmail.com On Tuesday, June 4, 2013 1:20:44 AM UTC+3, Larry Meadors wrote: I have a service that reacts to incoming calls that I'm trying to test. Is there a way to simulate an incoming call from an instrumentation test? Larry -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Hello. I am Japanese. Is it possible to divide View used using a conditional expression within a xml file?
Hello As far as i know this is not possible you can achieve that at run time but not in XML file Hope that helps Regards Amro Alfares On Tuesday, June 4, 2013 5:15:54 AM UTC+3, マキレット wrote: Hello. I am Japanese. Is it possible to divide View used using a conditional expression within a xml file? The boolean value used by a conditional expression wants then to use what the java side defines. Thank you for your consideration. -- -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Where to start for developing an Android Game?
Hi Guys ! I have three years android development experience , but no in game developemnt. I would like to start it, and create a game like Benji Bananas. Is it possible with AndEngine ? Am I right, when I say no openGl needed for this ? Thx, Cheers, On Tuesday, 11 September 2012 14:03:25 UTC+2, Dylan Wilson wrote: Take a look at LibGDX http://libgdx.badlogicgames.com/ or AndEnginehttp://www.andengine.org/. Many games have already been created using these. On Monday, 10 September 2012 02:22:51 UTC+10, Abhi wrote: Hi, I am new to game development. Where can I start, for developing a simple Android Game ? -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Problem with layout_above in conjunction with layout_alignBaseline
Thanks, Piren. Unfortunately none of that helps, as sometimes you really need things to work as they should. In my case it is A and B that are fixed, and C has to depend on them. I resorted to messing about with Font Metrics, working out manual displacements based on font size, which is pretty messy. Honestly I don’t see why this should be a dependency issue, when layout_alignBottom which does exactly the same thing (but without the vertical offset) works fine, C happily sits above B if B is aligned to A's bottom, rather than its baseline. However, that led me to find a little quirk, if you align B to A using simultaneous layout_alignBottom and layout_alignBaseline flags, then C’s positioning now works, it happily sits above B exactly as if just layout_alignBottom was being used, although B is still aligned to A’s baseline. The caveat is that C’s positioning is sligthty lower than normal; it behaves as if the B is aligned to A’s bottom, then C is positioned, and then B is realigned to A’s baseline, without C changing position. However I can get round that with some margin offsets, and at least it can be done via XML. On Tuesday, May 21, 2013 11:37:51 PM UTC+8, Piren wrote: I'm not too sure why this is happening... i'm guess that alignBaseline affects measuring differently and causes a cyclic dependency (Romain?) Try changing the relationships so you'll define A and B Below C instead, since C has a constant location anyhow. Also if your View hierarchy isnt too complex and wouldn't need to be refreshed too often, you can let yourself use more ViewGroups (use a linearlayout to divide the top and the bottom views)... Although that increases the amount of views you have and makes the rendering tree bigger, it will be easier for you to read the XML and understand the behavior and also prevent this weird behavior. On Tuesday, May 21, 2013 5:49:20 PM UTC+3, Dusk Jockeys Android Apps wrote: I have a layout issue which it seems should be simple to do in a RelativeLayout. I have a view A, and a view B which is aligned to A's baseline, and aligned to the right of the parent. B appears correctly. Then I want a view C to be directly above B, and also aligned to the right of the parent. However, C never appears. However, if I change B to be aligned to the *bottom* of A, as opposed to its *baseline*, then C appears. So it seems that layout_above doesn't like to act upon something that references another view via layout_alignBaseline, but is fine acting upon something that references another View via layout_alignBottom. Can anyone shed any light upon this? It seems like it is a common scenario that should work. See the following. ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android android:id=@+id/mainlayout android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=vertical TextView android:id=@+id/A android:layout_width=wrap_content android:layout_height=wrap_content android:text=A android:textColor=@android:color/white android:textSize=182dp / TextView android:id=@+id/B android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignBaseline=@id/A android:layout_alignParentRight=true android:text=B android:textColor=@android:color/white android:textSize=26dp / TextView android:id=@+id/C android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignParentRight=true android:layout_above=@id/B android:text=C never appears! android:textColor=@android:color/white android:textSize=20dp / /RelativeLayout Regards, James -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Problem with layout_above in conjunction with layout_alignBaseline
I've discovered a long time ago that when it comes to Android, not everything works as it should :) On Wednesday, June 5, 2013 1:28:18 PM UTC+3, Dusk Jockeys Android Apps wrote: Thanks, Piren. Unfortunately none of that helps, as sometimes you really need things to work as they should. In my case it is A and B that are fixed, and C has to depend on them. I resorted to messing about with Font Metrics, working out manual displacements based on font size, which is pretty messy. Honestly I don’t see why this should be a dependency issue, when layout_alignBottom which does exactly the same thing (but without the vertical offset) works fine, C happily sits above B if B is aligned to A's bottom, rather than its baseline. However, that led me to find a little quirk, if you align B to A using simultaneous layout_alignBottom and layout_alignBaseline flags, then C’s positioning now works, it happily sits above B exactly as if just layout_alignBottom was being used, although B is still aligned to A’s baseline. The caveat is that C’s positioning is sligthty lower than normal; it behaves as if the B is aligned to A’s bottom, then C is positioned, and then B is realigned to A’s baseline, without C changing position. However I can get round that with some margin offsets, and at least it can be done via XML. On Tuesday, May 21, 2013 11:37:51 PM UTC+8, Piren wrote: I'm not too sure why this is happening... i'm guess that alignBaseline affects measuring differently and causes a cyclic dependency (Romain?) Try changing the relationships so you'll define A and B Below C instead, since C has a constant location anyhow. Also if your View hierarchy isnt too complex and wouldn't need to be refreshed too often, you can let yourself use more ViewGroups (use a linearlayout to divide the top and the bottom views)... Although that increases the amount of views you have and makes the rendering tree bigger, it will be easier for you to read the XML and understand the behavior and also prevent this weird behavior. On Tuesday, May 21, 2013 5:49:20 PM UTC+3, Dusk Jockeys Android Apps wrote: I have a layout issue which it seems should be simple to do in a RelativeLayout. I have a view A, and a view B which is aligned to A's baseline, and aligned to the right of the parent. B appears correctly. Then I want a view C to be directly above B, and also aligned to the right of the parent. However, C never appears. However, if I change B to be aligned to the *bottom* of A, as opposed to its *baseline*, then C appears. So it seems that layout_above doesn't like to act upon something that references another view via layout_alignBaseline, but is fine acting upon something that references another View via layout_alignBottom. Can anyone shed any light upon this? It seems like it is a common scenario that should work. See the following. ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android= http://schemas.android.com/apk/res/android; android:id=@+id/mainlayout android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=vertical TextView android:id=@+id/A android:layout_width=wrap_content android:layout_height=wrap_content android:text=A android:textColor=@android:color/white android:textSize=182dp / TextView android:id=@+id/B android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignBaseline=@id/A android:layout_alignParentRight=true android:text=B android:textColor=@android:color/white android:textSize=26dp / TextView android:id=@+id/C android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignParentRight=true android:layout_above=@id/B android:text=C never appears! android:textColor=@android:color/white android:textSize=20dp / /RelativeLayout Regards, James -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Where to start for developing an Android Game?
AndEngine uses OpenGL under the hood, so yes, if you use that. Very few people write large parts of their games in raw GL without using a game engine, so yes, AndEngine is a popular Android game engine. Kris On Wed, Jun 5, 2013 at 6:01 AM, Károly Holczhauser holczhau...@gmail.comwrote: Hi Guys ! I have three years android development experience , but no in game developemnt. I would like to start it, and create a game like Benji Bananas. Is it possible with AndEngine ? Am I right, when I say no openGl needed for this ? Thx, Cheers, On Tuesday, 11 September 2012 14:03:25 UTC+2, Dylan Wilson wrote: Take a look at LibGDX http://libgdx.badlogicgames.com/ or AndEnginehttp://www.andengine.org/. Many games have already been created using these. On Monday, 10 September 2012 02:22:51 UTC+10, Abhi wrote: Hi, I am new to game development. Where can I start, for developing a simple Android Game ? -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Simulate an incoming call from a test?
That looks like they are trying to simulate an outgoing call - not an incoming call. Larry On Tue, Jun 4, 2013 at 7:33 AM, Kristopher Micinski krismicin...@gmail.com wrote: I'm not sure I understand, but... http://stackoverflow.com/questions/10784174/instrumentation-activitymonitor-not-monitoring-intent-action-call ? Kris On Tue, Jun 4, 2013 at 9:23 AM, Larry Meadors larry.mead...@gmail.com wrote: That's not from a test - if I were going to do that, it'd be easier to telnet to the emulator and send gsm call 1234567890. I am looking for a repeatable way to do this in code so I can write a test to verify that my app behaves correctly without clicking through all the steps manually (because that's labor-intensive, error-prone, and costly). Larry On Tue, Jun 4, 2013 at 7:06 AM, Marty Ballard marty...@gmail.com wrote: Here you go, I figured it worked this way as this is the same for testing sending an SMS. Launch a second emulator and get the console port number (such as 5554) from the first emulator. Click the phone app and enter that console port number and dial. On Monday, June 3, 2013 5:20:44 PM UTC-5, Larry Meadors wrote: I have a service that reacts to incoming calls that I'm trying to test. Is there a way to simulate an incoming call from an instrumentation test? Larry -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Simulate an incoming call from a test?
This is not done from a test so it's not automated. I'm looking for a way to write an instrumentation test that runs as part of my test suite and will simulate an incoming call. Doing it manually via DDMS or telnet requires manual testing. I am looking for a repeatable way to do this in code so I can write a test to verify that my app behaves correctly without clicking through all the steps manually (because that's labor-intensive, error-prone, and costly). Larry On Wed, Jun 5, 2013 at 3:00 AM, amro alfares amro.alfa...@gmail.com wrote: Hello from eclipse choose window open perspective and choose DDMS . the DDMS perspective open now again choose window show view and choose Devices the Devices window will open with alist of all the emulators that are open . click on the emulator that you want to test the call in . now again now again choose window show view and Emulator control now there is a section for Telephony Actions there you enter the Incoming number then you choose if you want it as a voice (call) or as SMS and there is a buttons for both call and hang for the call and send for the SMS Hope that helps Regards Amro alfares amro.alfa...@gmail.com On Tuesday, June 4, 2013 1:20:44 AM UTC+3, Larry Meadors wrote: I have a service that reacts to incoming calls that I'm trying to test. Is there a way to simulate an incoming call from an instrumentation test? Larry -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Simulate an incoming call from a test?
That's not true, I routinely build in test suites that do just this. Tons of my test scripts do things like telnet in and perform certain commands, so it's certainly possibly (even if not clean). So while I agree it's not as nice as instrumentation, it's certainly testable. That being said, I feel like you should be able to create a broadcast intent to handle an incoming call, can you not try the code I linked to and just change the action to suit your needs? (Presumably ACTION_ANSWER instead of CALL.) I would be surprised if that doesn't work, but haven't tested it. Kris On Wed, Jun 5, 2013 at 8:54 AM, Larry Meadors larry.mead...@gmail.comwrote: This is not done from a test so it's not automated. I'm looking for a way to write an instrumentation test that runs as part of my test suite and will simulate an incoming call. Doing it manually via DDMS or telnet requires manual testing. I am looking for a repeatable way to do this in code so I can write a test to verify that my app behaves correctly without clicking through all the steps manually (because that's labor-intensive, error-prone, and costly). Larry On Wed, Jun 5, 2013 at 3:00 AM, amro alfares amro.alfa...@gmail.com wrote: Hello from eclipse choose window open perspective and choose DDMS . the DDMS perspective open now again choose window show view and choose Devices the Devices window will open with alist of all the emulators that are open . click on the emulator that you want to test the call in . now again now again choose window show view and Emulator control now there is a section for Telephony Actions there you enter the Incoming number then you choose if you want it as a voice (call) or as SMS and there is a buttons for both call and hang for the call and send for the SMS Hope that helps Regards Amro alfares amro.alfa...@gmail.com On Tuesday, June 4, 2013 1:20:44 AM UTC+3, Larry Meadors wrote: I have a service that reacts to incoming calls that I'm trying to test. Is there a way to simulate an incoming call from an instrumentation test? Larry -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Simulate an incoming call from a test?
I'll try that today and let you know. On Jun 5, 2013 7:17 AM, Kristopher Micinski krismicin...@gmail.com wrote: That's not true, I routinely build in test suites that do just this. Tons of my test scripts do things like telnet in and perform certain commands, so it's certainly possibly (even if not clean). So while I agree it's not as nice as instrumentation, it's certainly testable. That being said, I feel like you should be able to create a broadcast intent to handle an incoming call, can you not try the code I linked to and just change the action to suit your needs? (Presumably ACTION_ANSWER instead of CALL.) I would be surprised if that doesn't work, but haven't tested it. Kris On Wed, Jun 5, 2013 at 8:54 AM, Larry Meadors larry.mead...@gmail.comwrote: This is not done from a test so it's not automated. I'm looking for a way to write an instrumentation test that runs as part of my test suite and will simulate an incoming call. Doing it manually via DDMS or telnet requires manual testing. I am looking for a repeatable way to do this in code so I can write a test to verify that my app behaves correctly without clicking through all the steps manually (because that's labor-intensive, error-prone, and costly). Larry On Wed, Jun 5, 2013 at 3:00 AM, amro alfares amro.alfa...@gmail.com wrote: Hello from eclipse choose window open perspective and choose DDMS . the DDMS perspective open now again choose window show view and choose Devices the Devices window will open with alist of all the emulators that are open . click on the emulator that you want to test the call in . now again now again choose window show view and Emulator control now there is a section for Telephony Actions there you enter the Incoming number then you choose if you want it as a voice (call) or as SMS and there is a buttons for both call and hang for the call and send for the SMS Hope that helps Regards Amro alfares amro.alfa...@gmail.com On Tuesday, June 4, 2013 1:20:44 AM UTC+3, Larry Meadors wrote: I have a service that reacts to incoming calls that I'm trying to test. Is there a way to simulate an incoming call from an instrumentation test? Larry -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Where to start for developing an Android Game?
I found the book Andengine for Game Development Cookbook by Jayme Schroeder and Brain Broyles to be quite useful. On Wed, Jun 5, 2013 at 4:41 AM, Kristopher Micinski krismicin...@gmail.comwrote: AndEngine uses OpenGL under the hood, so yes, if you use that. Very few people write large parts of their games in raw GL without using a game engine, so yes, AndEngine is a popular Android game engine. Kris On Wed, Jun 5, 2013 at 6:01 AM, Károly Holczhauser holczhau...@gmail.comwrote: Hi Guys ! I have three years android development experience , but no in game developemnt. I would like to start it, and create a game like Benji Bananas. Is it possible with AndEngine ? Am I right, when I say no openGl needed for this ? Thx, Cheers, On Tuesday, 11 September 2012 14:03:25 UTC+2, Dylan Wilson wrote: Take a look at LibGDX http://libgdx.badlogicgames.com/ or AndEnginehttp://www.andengine.org/. Many games have already been created using these. On Monday, 10 September 2012 02:22:51 UTC+10, Abhi wrote: Hi, I am new to game development. Where can I start, for developing a simple Android Game ? -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Top Developer?
The funny thing about this is that the makers of Locale, Two FortyFour Am, are top developer with only 4 apps, 3 of them having 1k-5k downloads (probably a total of 5K for the 3 of them) and Locale being 50-100k paid app, not being the first result on the search for Locale. Which will get a total revenue of around 350K judging by the numbers ( guessing even less, probably around 200K) and total downloads around 70k. Which is ok, but nothing special, Locale is not even the first app to show up in the search and we beat them in almost every category. So yeah...Google... On Friday, June 22, 2012 10:34:48 PM UTC+2, Robert Nekic wrote: Is there a process for being considered for the Top Developer designation on Google Play? The only reference to it that I can find is here ( http://support.google.com/googleplay/android-developer/bin/answer.py?hl=enanswer=1295940) and all it says on the matter is they are chosen by the Google Play team. Does one simply hope to accidentally catch the eye of someone on the team or is there a nomination process or what? -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: WebView numeric keyboard from HTML
I don't know if this will help in your case or not, but I found this after doing some searching on google: http://stackoverflow.com/questions/8333117/is-there-a-way-to-have-a-masked-numeric-input-field Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, May 22, 2013 at 3:09 AM, user123 ivanschu...@gmail.com wrote: Any update on this? I have input fields in webview with type=number but still get normal soft keyboard - showing letters first. Am Freitag, 14. Januar 2011 15:14:39 UTC+1 schrieb linhadiretalipe: Hi, I have a input in a WebView and I would like to know how can I call keyboard with only numeric buttons? tks, -- Filipe B. da S. Ferreira -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Top Developer?
The funny thing about this is that the makers of Locale, Two FortyFour Am, are top developer with only 4 apps, 3 of them having 1k-5k downloads (probably a total of 5K for the 3 of them) and Locale being 50-100k paid app, not being the first result on the search for Locale. Which will get a total revenue of around 350K judging by the numbers ( guessing even less, probably around 200K) and total downloads around 70k. Which is ok, but nothing special, Locale is not even the first app to show up in the search and we beat them in almost every category. Maybe because they won ADC1. Pent -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Create an app to store a list of values locally on the phone/device
Here are the steps I would take: 1. Read up on how SQLite database work in Android 2. Implement your database 3. Read up on how to create a listview (probably using a CursorAdapter) 4. Implement your listview Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, May 22, 2013 at 11:42 AM, bob b...@coolfone.comze.com wrote: It sounds like the Notepad sample is very similar to what you are looking for: https://lh4.googleusercontent.com/-q5ckV96UK3E/UZ0DgFUyrjI/Ahc/kGZGbYZv4r4/s1600/notepad2.png Thanks. On Wednesday, May 22, 2013 10:31:34 AM UTC-5, Dan Cha wrote: Ive looked around and found only a few apps kinda close to what im trying to do and few good examples on how to successfully setup SQL lite or whatever database to tie to the app to store the values on the phone/device. What im trying to make is a very simple app for now that is just a long list of entries so that my daughter can reference it as she needs. So for this first version i want to setup a local db that will be stored with the app on the phone/device. Setup a simple entry form with 1 or 2 fields, submit and now you have a list. Maybe give the ability to search or sort the list as it will grow into over hundred entries. Can anyone offer a good site or online example of setting up such a app, not looking for someont to do it, just a sample site that shows how to link a db to your app so that values can be stored. thank you -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Android Permissions: Where are they described?
On the Google Play webpage for every application there is a permission section. Almost all of these applications uses some standard terminology to describe their permissions like READ PHONE STATUS AND IDENTITY, SEND SMS ,FULL INTERNET ACCESS etc. However on the Android Developer's page ( http://developer.android.com/reference/android/Manifest.permission.html) the permissions are listed as constants and their descriptions but not the standard terminology found at the Google Play webpage of the application. For eg.There is a String Internet with the description Allows applications to open network sockets but not the FULL INTERNET ACCESS permission which is generally used for this description. Is there some link which provides a mapping of the permission constants to these standard permission notation? Thanks! -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] geofencing api-share geofence
once i made a geofence can i share it with another user? suppose I created a geofence...can another user with proximity see it and get notified? can i send him/share info in the same fence. regards, joseph. -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Android Permissions: Where are they described?
There is not, afaik. To get that, I think you would need to just look at what Google Play puts out. The only thing of which I'm aware is just the Android documentation. Kris On Wed, Jun 5, 2013 at 2:02 PM, Ishan Sharma ishansharma...@gmail.comwrote: On the Google Play webpage for every application there is a permission section. Almost all of these applications uses some standard terminology to describe their permissions like READ PHONE STATUS AND IDENTITY, SEND SMS,FULL INTERNET ACCESS etc. However on the Android Developer's page ( http://developer.android.com/reference/android/Manifest.permission.html) the permissions are listed as constants and their descriptions but not the standard terminology found at the Google Play webpage of the application. For eg.There is a String Internet with the description Allows applications to open network sockets but not the FULL INTERNET ACCESS permission which is generally used for this description. Is there some link which provides a mapping of the permission constants to these standard permission notation? Thanks! -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Android Permissions: Where are they described?
Kristopher Micinski wrote: There is not, afaik. To get that, I think you would need to just look at what Google Play puts out. The only thing of which I'm aware is just the Android documentation. Ishan Sharma wrote: On the Google Play webpage for every application there is a permission section. Almost all of these applications uses some standard terminology to describe their permissions like READ PHONE STATUS AND IDENTITY, SEND SMS,FULL INTERNET ACCESS etc. However on the Android Developer's page (http://developer.android.com/reference/android/Manifest.permission.html ) the permissions are listed as constants and their descriptions but not the standard terminology found at the Google Play webpage of the application. For eg.There is a String Internet with the description Allows applications to open network sockets but not the FULL INTERNET Be aware that case counts. The constant in 'Manifest.permission' is ' INTERNET', not 'Internet'. ACCESS permission which is generally used for this description. generally? Claims of generality need substantiation. Is there some link which provides a mapping of the permission constants to these standard permission notation? Are they actually standard? Or is just Play documenting them to the same level as the Javadocs, using informal language simply to explain? If anything, I would defer to the Javadocs as standard. -- Lew -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Android Permissions: Where are they described?
You can get more information about any permissions (without the need of any permission) programmatically via the PackageManager and few other classes. I wrote last year this application: https://play.google.com/store/apps/details?id=org.quet.android.po (free no ads) which might help you (just long press a permission to access the full details of it). -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Android Permissions: Where are they described?
I guess the broader point is, why care about what the permission means in terms of its text description, is there a broader reason this question is being asked? Kris On Wed, Jun 5, 2013 at 4:21 PM, Aladin Q aladin.q...@gmail.com wrote: You can get more information about any permissions (without the need of any permission) programmatically via the PackageManager and few other classes. I wrote last year this application: https://play.google.com/store/apps/details?id=org.quet.android.po (free no ads) which might help you (just long press a permission to access the full details of it). -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Could not find class 'com.google.android.maps.GeoPoint', referenced from method
I'm getting the following error just from one user of my App it works fine from Emulator and my SG2 and various other phone except for one user. I cannot understand why I have the uses-library in my Application manifest uses-library android:name=com.google.android.maps android:required=true/ logcat: W/dalvikvm( 1978): VFY: unable to resolve new-instance 522 (Lcom/google/android/maps/GeoPoint;) in Lid/wilsononline/gcadroid/gcadroid$loadNearby; D/dalvikvm( 1978): VFY: replacing opcode 0x22 at 0x006b D/dalvikvm( 1978): DexOpt: unable to opt direct call 0x0de1 at 0x7d in Lid/wilsononline/gcadroid/gcadroid$loadNearby;.init W/dalvikvm( 1978): VFY: unable to find class referenced in signature (Lcom/google/android/maps/GeoPoint;) W/dalvikvm( 1978): VFY: unable to find class referenced in signature (Lcom/google/android/maps/GeoPoint;) W/dalvikvm( 1978): VFY: unable to find class referenced in signature (Lcom/google/android/maps/GeoPoint;) I/dalvikvm( 1978): Could not find method com.google.android.maps.GeoPoint.getLatitudeE6, referenced from method id.wilsononline.gcadroid.gaLoadNearbyCaches.startLoadCaches W/dalvikvm( 1978): VFY: unable to resolve virtual method 3554: Lcom/google/android/maps/GeoPoint;.getLatitudeE6 ()I D/dalvikvm( 1978): VFY: replacing opcode 0x6e at 0x0004 Any pointers I'd be grateful Paul -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Could not find class 'com.google.android.maps.GeoPoint', referenced from method
On Wed, Jun 5, 2013 at 7:21 PM, Paul Wilson pwilson...@gmail.com wrote: I cannot understand why Because crazy shit happens in the Android wild. Just ignore it. I even get errors about my own classes that I wrote for the app itself not being found. It's not worth pursuing. - 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: geofencing api-share geofence
JossieKat wrote: once i [sic] made a geofence can i share it with another user? suppose I created a geofence...can another user with proximity see it and get notified? can i send him/share info in the same fence. About ten minutes of search engine work turned up this link: https://developer.android.com/training/location/geofencing.html which is the fundamental instruction for this. It describes a way you can share Geofence data. I find that the Web site for Android developers is an excellent Web site for Android developers to get such answers. -- Lew -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.