Gokul Kesavalu

Greenhorn
+ Follow
since Jan 08, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Gokul Kesavalu

Hi All,

I am doing Push Notification using javapns. My iPhone team will give me the device token. Whether the device token is App based or Device based. My requirement is to send Notification to multiple devices which uses the app.


Thanks & Regards,
Gokul.K
12 years ago
iOS
Hi,


Thanks for your reply. I am using JavaPNS. i have created payload and sent. Also i am getting successful transmission to apple push notification server. But it is not received in the iPhone. What will be the issue.
12 years ago
iOS
hi i have written a java class to send push notification to APNS.
But i am getting Caused by: java.net.ConnectException: Connection refused: connect exception. Please help me ti fix this. I have given the certificates, password correctly.

ApnsService service = APNS.newService().withCert("D:/iOS/Certificates.p12", "Karthik123")
.withSandboxDestination().build();
System.out.println("Service Created : "+service);
service.start();
System.out.println("Service started");

service.testConnection();
System.out.println("Connection success");
String payload = APNS.newPayload().alertBody(
"This is a sample Notification Message!").build();

System.out.println("Payload Created : "+payload);
String token = "b7ae2ef781d2b4406c9ebf6011ac733c95b59867";
service.push(token, payload);
12 years ago
iOS
Hi Guru, Thanks for the reply. Yes it return as Object. I have a pojo class for Application. How to set this in that Pojo so that i can retrieve from that. or any other modifications need to be done in query...
Hi everybody,


I am a newbie to Hibernate. I have two tables Application and ApplicationUser.

Application - fields(id(primary key),application-name,description,application_url,app_id)

ApplicationUser - fields(id(primary key),user_id,app_id,date_of_request, application_name,status)


I created a method as follows to retrieve data.



My POJO classes are as follows,


Application.java

ApplicationUser.java




But it shows me the following error.
java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to com.action.Application

But my query works fine in query browser. please help me to fix it out..
I have an apps built in Android 2.2. I need to port it for Samsung Galaxy S2. and its version is Android 2.3. Changing the version is done. But how can i fix up the screen resolution issues. Previously i developed for 240x320. Now it is 480 x 800. My question is from which folder the layout xml is readed. Samsung Galaxy S2 is small or normal or large or xlarge screen. Please answer me guys. Thanks in advance.


Thanks & Regards
Gokul.K
12 years ago
Hi Guys


Normally .apk file will be found in bin folder of the application. But we have developed an apps in Android 3.0 (Honeycomb). But i can't find the build file in that folder. How to get the build file in Android 3.0 to install it in some other emulator.


Thanks & Regards,
Gokul.K
12 years ago
Hi All,

Please suggest me how to create a custom Listview in Fragments for Tablet development (Android 3.0).

Please suggest some good links.


Thanks & Regards,
Gokul.K
12 years ago
Hi All,

I have an apps developed using Android 2.2. Now i upgraded to 3.0 (Honeycomb).

Previously i tested in HTC Wildfire which uses portrait mode.

Now i am porting the same apps into Motorola Xoom Tab which uses landscape mode.

I know how to port the app for both devices.

But the problem is screen orientation. If i run it in mobile it should be portrait mode and in tablet it should be landscape mode. How to achieve this.


Thanks & Regards,
Gokul.K
12 years ago
Thanks for your valuable suggestions guys. If any problem i will get back to you guys.
13 years ago
Hi,
I am having an application which comprises of auto-sign on feature. Before launching the main activity i need to check whether the user activated the feature or not. Please tell me how to do this. Also please help me how to save application private data in device with an example. thanks in advance.

With Regards
Gokul.K
13 years ago
I am having the list which has student personal details along with the register number. How to make register number field as a URL. While clicking the link, another activity (displaying mark list) should be called by passing the register number as parameter? Please help me.


With Regards
Gokul.K
13 years ago
hi Pramod. thanks for the reply. But i want to call the activity by using a link. How to create a link and then how to call an Activity using that. I know about Intents. Basically i will use Intents on Button clicks. But i want how to create a link and how to add intent to that. Can you explain me in detail. Thanks in advance.
13 years ago
Hi Folks. I am a newbie to Android development. My requirement is mentioned below.

I am having a Purchase order number.

I need to make the Purchase Order number as a Link.

If i click that Purchase Order number, it must goto another Activity which displays it full details by calling a method in that Activity by passing the Purchase order number as parameter.

Please help me to fix this..


Thanks in advance

Gokul.K

13 years ago
Hi,
Can anybody please provide ma an Hyperlink component in Android. Thanks in advance.

With Regards
Gokul.K
13 years ago