[android-developers] Re: help me to get android Map key
This should help you http://venomvendor.blogspot.in/2013/04/generating-api-key-for-google-mapsv2.html On Friday, 21 June 2013 21:15:18 UTC+5:30, mansur wrote: Hi, I am trying get android google Map key, where II have followed all the steps that mentioned herehttps://developers.google.com/maps/documentation/android/start. During the step: Creating an API Project when I tried to ON for *Google Maps Android API v2,* the service for 'Google Maps Android API Terms of Servicehttps://developers.google.com/maps/terms.', is not displaying the* terms and conditions page* for me. Note: I am trying to generate the debug certificate fingerprint and use it in my app for testing purpose. ** *Kindly help me to get google android key for testing purpose* ** Thanks and Regards, Mansursab -- -- 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] Use actionbar settings dropdown options to start new activity
How can I use the actionbar's settings dropdown menu's items to open a new acitivity? Is it the same way as we write to open new activity for menu or is it using ActionBar class. The app is working fine but the new activity is not starting. I have entered the activity in the manifest only with it's name attribute. What is the solution to this? -- -- 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] HTC One V getExternalStorageState
Hello, getExternalStorageState() and getExternalFilesDir(null) try to access the external SD card on HTC One V. But external SD card is not always given when you buy a phone. Is this standard? Doesn't google make it mandatory that external storage must be accessible on every Android phone? HTC One V has a quite big internal storage too, I don't get it why manufacturer assigned the (missing) SD card to getExternalStorageState() API. Anyone else having this issue? Or is it only with my HTC One 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 --- 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: HTC One V getExternalStorageState
Please, even if someone has One V and does NOT encounter this problem (i.e. internal storage is assigned to getExternalFilesDir), let me know. 2013. június 22., szombat 22:43:04 UTC+2 időpontban Tamás Kovács a következőt írta: Hello, getExternalStorageState() and getExternalFilesDir(null) try to access the external SD card on HTC One V. But external SD card is not always given when you buy a phone. Is this standard? Doesn't google make it mandatory that external storage must be accessible on every Android phone? HTC One V has a quite big internal storage too, I don't get it why manufacturer assigned the (missing) SD card to getExternalStorageState() API. Anyone else having this issue? Or is it only with my HTC One 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 --- 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: HTC One V getExternalStorageState
Is this yet another phone that has a large built-in memory partition -- *and* a microSD card? This has been a mess for years. Android APIs will return the large built-in memory partition as the external storage, and you're on your own trying to discover the path to microSD. https://groups.google.com/d/msg/android-developers/R4ymtcFu0O4/zxaVgnypKdwJ ( and many more messages if you search the group's archives ) -- K On Sunday, June 23, 2013 12:43:04 AM UTC+4, Tamás Kovács wrote: Hello, getExternalStorageState() and getExternalFilesDir(null) try to access the external SD card on HTC One V. But external SD card is not always given when you buy a phone. Is this standard? Doesn't google make it mandatory that external storage must be accessible on every Android phone? HTC One V has a quite big internal storage too, I don't get it why manufacturer assigned the (missing) SD card to getExternalStorageState() API. Anyone else having this issue? Or is it only with my HTC One 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 --- 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: HTC One V getExternalStorageState
Thanks for your reply. Unfortunately, my problem is exactly the opposite!! On this device, Android API returns the external SD card instead of the large in-built partition! And since SD card is not mandatory, it will not find it and my app needs it. 2013. június 23., vasárnap 0:07:46 UTC+2 időpontban Kostya Vasilyev a következőt írta: Is this yet another phone that has a large built-in memory partition -- *and* a microSD card? This has been a mess for years. Android APIs will return the large built-in memory partition as the external storage, and you're on your own trying to discover the path to microSD. https://groups.google.com/d/msg/android-developers/R4ymtcFu0O4/zxaVgnypKdwJ ( and many more messages if you search the group's archives ) -- K On Sunday, June 23, 2013 12:43:04 AM UTC+4, Tamás Kovács wrote: Hello, getExternalStorageState() and getExternalFilesDir(null) try to access the external SD card on HTC One V. But external SD card is not always given when you buy a phone. Is this standard? Doesn't google make it mandatory that external storage must be accessible on every Android phone? HTC One V has a quite big internal storage too, I don't get it why manufacturer assigned the (missing) SD card to getExternalStorageState() API. Anyone else having this issue? Or is it only with my HTC One 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 --- 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: HTC One V getExternalStorageState
On Sat, Jun 22, 2013 at 5:25 PM, Tamás Kovács falcon.firebre...@gmail.comwrote: And since SD card is not mandatory, it will not find it and my app needs it. So check that the external storage exists first. - 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.
Re: [android-developers] Re: HTC One V getExternalStorageState
Of course I do. My problem is that if the user has no SD card put to the optional slot, my app will not install (it needs APK Expansion from Google Play). This is because getExternalStorageState() and getExternalFilesDir() will not return the internal storage unfortunately, even though my app could install there. They return the optional CD card slot on HTC One V. 2013. június 23., vasárnap 0:32:40 UTC+2 időpontban TreKing a következőt írta: On Sat, Jun 22, 2013 at 5:25 PM, Tamás Kovács falcon.f...@gmail.comjavascript: wrote: And since SD card is not mandatory, it will not find it and my app needs it. So check that the external storage exists first. - 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.
Re: [android-developers] Re: HTC One V getExternalStorageState
External Storage != SD Card (read the docs) External Storage is the part of the Android file system mounted externally when you attach the phone to a computer (via USB) and enable file sharing. It does NOT need to be the SD Card. On Saturday, June 22, 2013 11:55:14 PM UTC+1, Tamás Kovács wrote: Of course I do. My problem is that if the user has no SD card put to the optional slot, my app will not install (it needs APK Expansion from Google Play). This is because getExternalStorageState() and getExternalFilesDir() will not return the internal storage unfortunately, even though my app could install there. They return the optional CD card slot on HTC One V. 2013. június 23., vasárnap 0:32:40 UTC+2 időpontban TreKing a következőt írta: On Sat, Jun 22, 2013 at 5:25 PM, Tamás Kovács falcon.f...@gmail.comwrote: And since SD card is not mandatory, it will not find it and my app needs it. So check that the external storage exists first. - 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.
Re: [android-developers] Re: HTC One V getExternalStorageState
You misinterpret the issue (read my posts again) Indeed, SD card is not equal to external storage. But it CAN be, if the manufacturer decides to return it when you call getExternalFilesDir or getExternalStorageState. This is exactly my problem: in case of HTC One V, the API considers the SD card as external storage (instead of using the internal for this purpose). Therefore, users who don't have an external SD card inserted into their HTC One V will not be able to install my application. Again, this is because HTC One V assigns the SD card to getExternalFilesDir. 2013. június 23., vasárnap 1:31:57 UTC+2 időpontban RichardC a következőt írta: External Storage != SD Card (read the docs) External Storage is the part of the Android file system mounted externally when you attach the phone to a computer (via USB) and enable file sharing. It does NOT need to be the SD Card. On Saturday, June 22, 2013 11:55:14 PM UTC+1, Tamás Kovács wrote: Of course I do. My problem is that if the user has no SD card put to the optional slot, my app will not install (it needs APK Expansion from Google Play). This is because getExternalStorageState() and getExternalFilesDir() will not return the internal storage unfortunately, even though my app could install there. They return the optional CD card slot on HTC One V. 2013. június 23., vasárnap 0:32:40 UTC+2 időpontban TreKing a következőt írta: On Sat, Jun 22, 2013 at 5:25 PM, Tamás Kovács falcon.f...@gmail.comwrote: And since SD card is not mandatory, it will not find it and my app needs it. So check that the external storage exists first. - 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.
Re: [android-developers] Socket Programing
Based on your client and server code, which is found here (copied wholesale): http://stackoverflow.com/questions/8045796/server-client-android-to-pc-communication-issue I think I can guess what u are looking for. You are looking for a piece of code that run on the server, which in your case is your PC, and an android Apps as the client. Correct? First, if u identify your PC IP address, and go to your Android device (via adb), and ping back at the PC IP, you can see that potentially they can talk. So setting up the client and server is very much like normal TCP/IPsocket programming: PC: running Java applet as TCP server. Android: your activity running as TCP client. My suggestion is that you should try a simple client-server on the PC first to familiarize with Java: http://systembash.com/content/a-simple-java-tcp-server-and-tcp-client/ Thanks. On Fri, Jun 21, 2013 at 8:46 PM, Ibrahim Sada ibrahim.in...@gmail.comwrote: package com.in2em.server; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; public class Server { public static void main(String[] args) { try { // First we create a server socket and bind it to port . ServerSocket myServerSocket = new ServerSocket(); // wait for an incoming connection... System.out.println(Server is waiting for an incoming connection on host= + InetAddress.getLocalHost().getCanonicalHostName() + port= + myServerSocket.getLocalPort()); Socket skt = myServerSocket.accept(); // ok, got a connection. Let's use java.io.* niceties to read and write from the connection. BufferedReader myInput = new BufferedReader(new InputStreamReader(skt.getInputStream())); PrintStream myOutput = new PrintStream(skt.getOutputStream()); // attempt to read input from the stream. String buf = myInput.readLine(); // if we got input, print it out and write a message back to the remote client.. if (buf != null) { System.out.println(Server read: [ + buf + ]); myOutput.print(got it); } // close the connection. skt.close(); System.out.println(Server is exiting); } catch (IOException ex) { ex.printStackTrace(); System.out.println(Whoops, something bad happened! I'm outta here.); } } } On 21 June 2013 18:16, Ibrahim Sada ibrahim.in...@gmail.com wrote: package com.in2em.clientactivity; import java.io.BufferedWriter; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.net.InetAddress; import java.net.Socket; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; public class ClientActivity extends Activity { /** Called when the activity is first created. */ private EditText serverIp; private Button connectPhones; private String serverIpAddress = 192.168.1.27; private boolean connected = false; private Handler handler = new Handler(); @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.client); // serverIp = (EditText) findViewById(R.id.server_ip); connectPhones = (Button) findViewById(R.id.connect_phones); connectPhones.setOnClickListener((android.view.View.OnClickListener) connectListener); } private OnClickListener connectListener = new OnClickListener() { @Override public void onClick(View v) { if (!connected) { // serverIpAddress = serverIp.getText().toString(); // if (!serverIpAddress.equals()) { Thread cThread = new Thread(new ClientThread()); cThread.start(); // } } } }; public class ClientThread implements Runnable { public void run() { try { InetAddress serverAddr = InetAddress.getByName(serverIpAddress); Log.d(ClientActivity, C: Connecting...); Socket socket = new Socket(serverAddr, ); while (connected) { try { Log.d(ClientActivity, C: Sending command.); PrintWriter out = new PrintWriter(new BufferedWriter(new
Re: [android-developers] How to support Redeem Code in Android App?
Yes, I wanted this feature. On Saturday, 22 June 2013 11:01:20 UTC+5:30, Michael Leung wrote: Do you mean you send the code to the users then they can download your app free. I don't think Google play has this function. On Sat, Jun 22, 2013 at 1:54 PM, ASB arjun...@gmail.com javascript:wrote: Hi Android Developers, I have recently created a Physics based app called *High School Physics*. This app helps the high school university students who are interested in physics to learn the concepts clearly without getting intimidated by the sheer amount of Mathematics involved in it. The app is published at https://play.google.com/** store/apps/details?id=com.asb.**full.highschoolphysicshttps://play.google.com/store/apps/details?id=com.asb.full.highschoolphysics Now coming to the problem, Currently this app follows a freemium model with IAP APIs, but I wanted something that Apple Store supports: *Redeem Coupons*. I want some reviewers to try the app and want to share the redeem coupon so that they can unlock it completely. Is it possible to have such feature in Android App? Are there any frameworks to support this? Regards, Arjun S Bharadwaj -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: 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 javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- Regards, Michael Leung http://www.itblogs.info - My IT Blog http://diary.skynovel.info - My Blog http://www.michaelleung.info - My Homepage -- -- 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] How to support Redeem Code in Android App?
We implemented this feature using In-App billing unmanaged items. It's a handy feature to let testers, reviewers and others get premium access by using a code in the app itself. We have a fairly extensive backend server system so it's not a burden. -John Coryat On Saturday, June 22, 2013 10:26:17 PM UTC-5, ASB wrote: Yes, I wanted this feature. On Saturday, 22 June 2013 11:01:20 UTC+5:30, Michael Leung wrote: Do you mean you send the code to the users then they can download your app free. I don't think Google play has this function. On Sat, Jun 22, 2013 at 1:54 PM, ASB arjun...@gmail.com wrote: Hi Android Developers, I have recently created a Physics based app called *High School Physics*. This app helps the high school university students who are interested in physics to learn the concepts clearly without getting intimidated by the sheer amount of Mathematics involved in it. The app is published at https://play.google.com/** store/apps/details?id=com.asb.**full.highschoolphysicshttps://play.google.com/store/apps/details?id=com.asb.full.highschoolphysics Now coming to the problem, Currently this app follows a freemium model with IAP APIs, but I wanted something that Apple Store supports: *Redeem Coupons*. I want some reviewers to try the app and want to share the redeem coupon so that they can unlock it completely. Is it possible to have such feature in Android App? Are there any frameworks to support this? Regards, Arjun S Bharadwaj -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@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. -- Regards, Michael Leung http://www.itblogs.info - My IT Blog http://diary.skynovel.info - My Blog http://www.michaelleung.info - My Homepage -- -- 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.